Skip to content

karczex/lego-macropad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What?

Simple toy project which shows that you may build "mechanical keyboard" out of bunch of Lego bricks and 10cm of Ethernet wire.

Why?

I had Arduino Nano, cable and bag of Lego bricks laying around. Isn't it enough?

How to build?

Lego part

Switch

Flat Lego bricks are springy. So it's possible to wind up wire on it and build mechanical switch similar to one on the picture.

Electronics

Wiring

Linux part

Build as any CMake based project:

mkdir build
cd build
cmake ..
make

Arduino part

For now, you have to open lego_button sketch in Arduino IDE and upload it to your Arduino Nano. CMake support is not done yet.

How to run?

Connect Arduino Nano to USB and type

cat /dev/ttyUSB0 | ./macropad

About

Arduino nano based macropad buit out of Lego bricks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published