Arduino Robot Functions Ideas
All these functions are possible using DFRobot Romeo V2. Feel free to suggest a better board or function wish-list items. Digital Pins: Blink LEDs Adjust LED brigthness with PWM Motor: PWM speed and direction control Servo: Pan & Tilt Object grabber Buzzer / Speaker: Play a short tune Sing a song…
Play Mario Bros theme song on Arduino and 2 piezo buzzer / speakers in Stereo Harmonies
Here is the code! Go get it, Luigi! Orignal work by John Harrison that the following code was based on: http://cratel.wichita.edu/blogs/engr101fall2010/2010/11/29/2-voices-simultaneously-on-1-arduino/ // 2 voices on 1 Arduino // demo by John Harrison // Nov 28, 2011 // public domain // Modified by Dipto Pratyaksa // Added Mario tunes by Dipto…
Simultaneous sounds on Arduino – Melody, harmony, chords
After a long research LinuxCircle team found this neat piece of code to play notes on two speakers simultaneously. This is very usefull when you want to add ornaments to the songs, such as harmony and chords. The problems with the current tone() function is that it only plays one…
The complete Arduino Sketch for DFRobot Romeo motors, servo, LEDs, sound, and obstacle sensors
The beauty about DFRobot Romeo V2 is its completeness. The code exposes the board’s capabilities to: Travel (forward, reverse, left, right, forward left, forward right, reverse left, reverse left) Blink LEDs ‘Sing’ songs through buzzer Detect obstacles and respond to it Tilt web cam servo Response to buttons and Read…
Playing Mario Bros Tunes on Arduino with a Piezo Buzzer
Arduino Uno diagram This is a very useful note on how to play tunes with your Arduino-compatible devices. 1. Connect your Piezo Buzzer red cable (+) in Arduino digital pin #3 and black cable (-) into ground pin. 2. Set the Led in pin #13 to blink. This will blink…