Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gcormier committed Mar 31, 2018
1 parent 0eca576 commit c5c2e7e
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<img src="https://github.com/gcormier/megadesk/blob/master/PCB%20and%20Housing.png" width=50%/>

<img src="https://github.com/gcormier/megadesk/blob/master/megadesk_front.png" width=25%/> <img src="https://github.com/gcormier/megadesk/blob/master/megadesk_rear.png" width=25%/>

# megadesk
Custom Arduino-based Bekant controller. Design goals were to have it fit in the original housing and use as many stock parts as possible, be completely independant of the existing controller, as well as store any number of memory positions.

<img src="https://github.com/gcormier/megadesk/blob/master/PCB%20and%20Housing.png" width=25%/>

<img src="https://github.com/gcormier/megadesk/blob/master/megadesk_front.png" width=20%/> <img src="https://github.com/gcormier/megadesk/blob/master/megadesk_rear.png" width=20%/>

## Video
Unfortunately the beeps aren't captured well in the video unless you turn up the volume.
<a href = "https://youtu.be/1j8Z5ZEFkNs"><img src = "http://img.youtube.com/vi/1j8Z5ZEFkNs/mqdefault.jpg" /></a>
Expand All @@ -13,24 +13,11 @@ Unfortunately the beeps aren't captured well in the video unless you turn up the
* Plugging in any connectors backwards can probably damage your desk. Be very careful when working on your circuit.
* The power supply is 24V, and raises higher when motors are in operation! (Between 35-37V) This can generate a decent amount of heat for the linear regulators. Make sure to use genuine parts, and check the heat output before putting it back inside the casing and attaching it to your wooden tabletop. Ensure to spec the main filtering capacitor appropriately.

## Atmega Fuses
Don't forget to set fuses on your board for the appropriate oscillator.

Prototyping - ATMega 328p - 8Mhz internal `avrdude -c usbtiny -p m328p -U lfuse:w:0xe2:m`

PCB - ATTiny 841 - 8Mhz internal `avrdude -c usbtiny -p t841 -U lfuse:w:0xe2:m`

## Current
16mA on the Atmega 328P, 3mA on the MCP2003B.

# Operation
* Use up/down buttons as per factory module (long press/hold)
* To store in a memory slot, push the up button a certain number of times, but long-hold the last press until you hear some beeps corresponding to the memory position that has been saved.
* To recall a saved position N, push the up button N times.

## Todo
* Switching regulator might reduce heat slightly, but unsure if it can fit and keep the cost down versus linear regulator.

# BOM
If you want to be picky you can pick out the voltage rating for individual components based on their function. Otherwise, pick a general value with enough safety margin.

Expand Down Expand Up @@ -63,4 +50,16 @@ The piezo buzzer is pricey, but worth it for the audible feedback.
| A30642-ND | 1586315-1 | 3 | Crimp pins | |

## Cable
If you want to create your own cable, the connector is a 4.2mm pitch (0.165"), AMP VAL-U-LOK by TE Coonectivity. This is available from DigiKey with part number A112430-ND or A112983-ND. I'm not sure on the difference between them to be honest. Don't forget the crimp pins - A30642-ND. Otherwise, the existing cable can be unsoldered from the board. Red is positive (24VDC), white is negative, blue is LIN.
If you want to create your own cable, the connector is a 4.2mm pitch (0.165"), AMP VAL-U-LOK by TE Coonectivity. This is available from DigiKey with part number A112430-ND or A112983-ND. I'm not sure on the difference between them to be honest. Don't forget the crimp pins - A30642-ND. Otherwise, the existing cable can be unsoldered from the board. Red is positive (24VDC), white is negative, blue is LIN.

# Misc

## Atmega Fuses
Don't forget to set fuses on your board for the appropriate oscillator.

Prototyping - ATMega 328p - 8Mhz internal `avrdude -c usbtiny -p m328p -U lfuse:w:0xe2:m`

PCB - ATTiny 841 - 8Mhz internal `avrdude -c usbtiny -p t841 -U lfuse:w:0xe2:m`

## Current Measurements
16mA on the Atmega 328P, 3mA on the MCP2003B.

0 comments on commit c5c2e7e

Please sign in to comment.