input devices
This week: measure something, add a sensor to a microcontroller board that you've designed and read it.
I use my modified version of Satshakit to do this week's input learning.
While both tests work great, I managed to lost the code for the first test. So I only put up the code for the analog 4051 reading.
I also modified the SatshaKit by Daniele Ingrassia, and add FTDI connection pins for easy programming to use in this week.
SatshaKit FTDI Ver. Board File!!!
The modified Satshakit, Satshakit FTDI ver.
The png image for milling.
Left: 328P Arduino / Middle: original SatshaKit / Right: My modified Satshakit FTDI ver.
The cupper tapes act as both decoration and wires for the circuit.
Leds produce touch feed back for the user outside the door.
Simple 3D printed servo adaptor for the lock, no screws needed by utilizing the original lock bracket as a clamp.
For my final project, I need to read 12 potentiometers at once and use the data to determine the angle of each joints on my quadropod.
The mega328p mcu only have 6 analog pins and I need twelve. After some research, I learned that I can use 4051 IC as analog multiplexer and increase the amount of my analog pins.
Reading analog input from 4051 turns out much easier than expect. To make data easier to use, I also map the data read into 0~300, the moveable angle of my motors.