Search results

"tag:"tech""


Title and summary Date/time
21
Don't delay()
It's very common for Arduino sketches to use the delay() library routine to control timing when performing time-related operations such as LED animations. Unfortunately delay() is toxic if you need to do more than one thing at once - for example ...
01-Feb-2011
21:23:03
22
Updated Makefile.master
If you have been using my Makefile for Arduino sketches I've been updating it regularly with bug fixes and improvements. The latest version includes: Arduino bin directory, avrdude config file and avrdude path made configurable. Single-file sketches ...
23-Jan-2011
12:22:56
23
Optiboot on Arduino Pro Mini
The newer Arduino boards such as the Uno include a new bootloader that takes up about 1/4 of the size of the old one. That means some extra memory can be freed up for applications. The new bootloader is known as Optiboot, and the site says "Compatible ...
21-Jan-2011
14:17:50
24
Radio-controlled HL1606 strips
Well, I've finally finished the design and implementation of the radio-controlled LED strips I've been asked to make for The Travelling Light Circus. It's taken far longer than I expected, but I've learned an immense amount in the process. The ...
15-Jan-2011
18:07:19
25
mmmmm...mbed on OpenSolaris
A while back, Bob from hacman mentioned that there was a competition running for the mbed microcontroller, and that to encourage people to enter the organisers were giving away mbeds for free, so I filled in the web application form and promptly forgot ...
19-Oct-2010
22:34:00
26
Waiting for O(1)
Due to a misconfiguration the notification emails from my blog weren't reaching me, so I missed a couple of interesting comments on my earlier HL1606-related posts. The ones from Dan from over at Waiting for O(1) were particularly interesting, and he's ...
19-Oct-2010
18:14:11
27
Facebook lives up to my worst expectations
In January 2008 I made this prediction: it would be far more effective to use a Facebook application to harvest personal information whilst apparently offering a useful service, and then use the data elsewhere and/or at some time after the application ...
18-Oct-2010
20:26:35
28
Switch debouncing, the hard and the soft way
I'm using a quadrature encoder for my LED lights project, to allow the controller to select the pattern that is to be displayed. The encoder consists of two parts, a momentary push button switch activated by pushing the shaft down, and a rotary encoder, ...
23-Sep-2010
22:15:00
29
Updated Makefile.master
If you have been using my Makefile for Arduino sketches I've been updating it regularly with bug fixes and improvements, the latest being automated header file dependency checking. You can find the current version of the Makefile.master here.
12-Sep-2010
21:39:00
30
PROGMEM and GCC bug 34734
The Atmel AVR CPUs that are used in the Arduino boards aren't the familiar Von Neumann architecture machines we are all familiar with, where there is a "flat" address space that's shared between both code and data. Instead they are Harvard Architecture, ...
05-Sep-2010
21:50:00
31
SparkFun are less than electrifying
As part of my LED strip project I needed a 7-segment display capable of displaying two or more digits. I could have built something myself, but I'm short of time as it is so the SparkFun kelly green seven-segment serial display seemed like a good ...
28-Aug-2010
20:10:57
32
A very simple Arduino task manager
The LED chain project I'm working on requires that the AVR microcontroller handles several different tasks: Read a rotary encoder and switch Drive a seven-segment display Drive a radio Drive four LED strips each containing twenty LEDs Provide logic to ...
20-Jul-2010
19:07:00
33
Characterising the 7805
As the LED strips are going to be mobile, I needed to find a way of powering them. After some investigation, the 7.2 volt NiMH battery packs used by radio controlled cars seemed like a good choice - they are high capacity, relatively cheap and readily ...
30-Jun-2010
17:54:00
34
Configuring NetBeans to use as an Arduino IDE
As I've said in an earlier post, I very quickly found the Arduino IDE to be way too primitive for serious use, so I decided to switch to using NetBeans as an alternative. First step was to create a Makefile, once I had that done I needed to configure ...
22-Jun-2010
20:09:00
35
AVR SPI gotcha
I've had all sorts of problems getting a SPI radio device to work for the last few days - I wasn't using the default /SS pin to select the slave as I was reusing some code from another program that already used the default /SS pin for a different device. ...
13-Jun-2010
22:30:00
36
A Makefile for Arduino Sketches
When I started tinkering with Arduinos I started out with the standard Arduino IDE. It's great for getting started quickly but for more complex work, such as those involving libraries shared between Sketches, it quickly becomes limiting. What I wanted ...
04-Jun-2010
16:19:00
37
mod-rewrite equivalent for Tomcat
I've migrated and merged my old blogs.sun.com and bleaklow.com blogs into this new one, using Pebble. As a result, there are a number of links out there on the interwebs to bleaklow.com that are now broken, as everything has moved around - google's ...
02-Jun-2010
18:15:00
38
Bidirectional patterns with the HL1606
Most of the videos on YouTube of the HL1606 being driven with an Arduino have patterns that start of the controller end of the strip and propagate to the far end, for example this one. I'm driving patterns in two directions, and even outwards from the ...
28-May-2010
18:54:00
39
How the HL1606 REALLY works
I've explained in my last two Arduino posts how I got the HL1606 working with the Arduino's SPI support and hardware timers. If you haven't already read them, I suggest you read at least the first post before this one, otherwise what follows won't make ...
27-May-2010
08:45:00
40
Driving the HL1606 using the Arduino's hardware support
In my last Arduino post I explained the basics of how the HL1606 works, if you haven't already read that I suggest you read it first. The google code library that drives the HL1606 does so by bit banging the control lines. That's both slower and more ...
26-May-2010
23:00:00