Showing posts with label key pressed. Show all posts
Showing posts with label key pressed. Show all posts

Monday, October 17, 2011

Piezo buzzer controlled via keyboard

It's possible tu use the same Processing code of the Project 1 to control a piezo buzzer. We have to connect the devices like the image below and use the keyboard to obtain four different sounds on key pressed.

More details available on Project 2 page.

Arduino
Processing

Wednesday, October 12, 2011

Keyboard controlled leds

With this simple scheme we set the board to turn on four leds using an intarface written in Processing.
We will be able to turn on a led using the arrows keys of the keyboard, but just on key pressed. When we release the key the led turn off.
For more details on this project go to Project 1.