[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

[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

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...
[Weatherstation] – Part III – The Arduino code

[Weatherstation] Part II — the hardware

This is part II of the weather station. Part I shows the LaTeX code for the scales. Part III talks about the arduino code. This the step by step build-up. You need to get at teabag containment, I got a wooden one, which has four compartments. I used thin plywood and...

BubbleSort vs. HeapSort on BlinkyTape

How to visually show the speed difference between BubbleSort and HeapSort? I used the BlinkyTape and implemented it in Processing (aka Java) with the help from BlinkyTape library. The 60 LEDs where stored in an ArrayList of the class, which contains the position on...