Quantcast
Viewing all articles
Browse latest Browse all 20

Day 26 of 30DaysOfCreativity - prototyping the controls

Today I hooked up the RGB led, the buttons and the potentionmeter to my breadboard arduino. I run the ATMega328P with a 20Mhz crystal and 3.3V which works pretty well. All my problems with I2C stability have disappeared now. The potentiometer is hooked to A0, the buttons are on D9 to D14 and the RGB led is connected to D6, D7 and D8. If the I2C master sends 1,2 or 3 the led color is changed, otherwise the slave sends the value of the potentiometer and the state of the buttons.

Image may be NSFW.
Clik here to view.
wired breadboard arduio


Viewing all articles
Browse latest Browse all 20

Trending Articles