Skip to content

Open-source Bekant controller board

License

Notifications You must be signed in to change notification settings

scubafly/megadesk

Repository files navigation

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.

Video

Unfortunately the beeps aren't captured well in the video unless you turn up the volume.

Warnings

  • 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.

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.

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.

The piezo buzzer is pricey, but worth it for the audible feedback.

Digikey Part Number Quantity Description Package
497-1203-1-ND L78M05CDT 1 500ma 5V regulator, 35V maximum TO252-3 / DPAK2
497-1211-1-ND L78M12CDT 1 500ma 12V regulator, 35V maximum TO252-3 / DPAK2
1N4148WXTPMSCT-ND 1N4148WX 2 1N4148 Diode SOD-323
ATTINY841-SSU-ND ATTINY841-SSU 1 ATTINY841 SOIC-14
MCP2003B-E/SN-ND MCP2003B-E/SN 1 MCP2003B LIN Interface SOIC-8
A100308CT-ND 1-84981-0 1 FFC FPC TOP 10POS 1MM
1 220pF Ceramic 1206
1 0.1uF Ceramic 1206
2 0.1uF Electrolytic 4mm
1 0.33uF Ceramic 50V 1206
1 10uF Electrolytic 5mm
1 1k Resistor 1206
2 2.2k Resistor 1206
1 4.7k Resistor 1206
668-1572-1-ND SMT-1141-T-5-R 1 Low profile SMD Piezo (optional)
1 500ohm or 1k resistor for Piezo volume (optional) 1206
1 2.54mm 2x6 Pin Header (ICSP)
1 2.54mm 1x3 Pin Header - Right Angle
1 2.54mm 1x3 Female Housing
3 Crimp terminals for female housing
A112430-ND 1586106-3 1 TE Connectivity AMP Connectors VAL-U-LOCK
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.

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.

About

Open-source Bekant controller board

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 85.8%
  • C++ 12.6%
  • Other 1.6%