[Arduino] Multitasking example clock

Multitasking example clock Instead of using the delay() function we use the millis() to find the right point in time to trigger the next steps. The idea is to have four thing to display: a display for the 1/100s of a second we use a filling circle, which alternates...

[Arduino] DiY digital compass

DIY digital compass How to find your way? We are going to build a DiY digital compass with the help of an Adafruit Neopixel LED ring and a HMC6352 compass module. Both are driven by an Arduino Uno The Parts 1x Arduino Uno 1x Breadboard 1x Sparkfun Compass Module...

Clap Trap for Arduino

I hacked a little sound trapping setup with a spark fun microphone and a LED on the Arduino Uno. Connect the LED to GND and Pin 13. And the microphone VCC to 5V, GND and the AUD to A0. The program triggers when a +/- threshold from the average is peaking. Have fun,...
[Weatherstation] – Part III – The Arduino code

[Weatherstation] – Part III – The Arduino code

The ideas is to translate the measurements from the sensors into movement of the servos. The sparkfun weather shield gives us: Temperature Humidity Ambient light atmospheric pressure I collect the data every 10 seconds and do an average between the last ten values to...