by mat brandy | Feb 8, 2016 | Arduino
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...
by mat brandy | Jan 31, 2016 | Arduino
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...
by mat brandy | Jan 11, 2016 | 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,...
by mat brandy | Jan 8, 2015 | Arduino
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...
by mat brandy | Jan 5, 2015 | Arduino
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...
by mat brandy | Dec 31, 2014 | Arduino, Mac
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...
Recent Comments