Search results

"tag:"avr""


Title and summary Date/time
1
Driving the WS2811 at 800KHz with a 16MHz AVR
Recently some of the folks at the Manchester Hackspace did a bulk-order of WS8211 LED pixels. These are available from several vendors on aliexpress.com (search for "WS2811 5050 RGB") and they combine a 5050 RGB LED with a WS2811 driver chip. The WS2811 ...
02-Dec-2012
20:52:00
2
Sensor smoothing and optimised maths on the Arduino
As part of my attempt to load as much as possible onto an Arduino, I added a LIS302DL accelerometer into the mix and used the Y axis output to drive a strip of LEDs via a couple of TLC5916 LED drivers. I was sampling the accelerometer every 10msec and ...
20-Jun-2012
08:36:17
3
AVR performance monitoring using the OpenBench Logic Sniffer
Now I've ditched the Arduino platform I wondered just how much 'juice' I could squeeze out of a 16Mhz ATMega328P, as used in the Arduino Duemilanove. According to Atmel it should be capable of around 16 MIPS, which puts it ahead of a 1985-vintage Intel ...
06-Jun-2012
22:24:00
4
Why I'm ditching the Arduino software platform
I'm getting set up for my next project and decided to update my development environment. I've finally decided to entirely ditch the Arduino software environment and just use the boards. I stopped using the Arduino IDE some time ago, but now I'm going ...
29-Feb-2012
20:50:00
5
ATMega registers and memory ranges
The AVR family has a reasonably complex register and memory architecture, with: Multiple address spaces Registers that can be accessed directly and via the memory address space Register pairs that are used as memory indexes Restrictions on which ...
10-Apr-2011
17:28:50
6
As it says, "Beautiful light performance"
Well, we did our first performance with the LED strips on Wednesday at Islington Mill in Manchester,and I'm relieved to say they worked flawlessly, even after one of the wheels was dropped just before the performance started! The lighting in the venue ...
11-Mar-2011
23:01:00
7
Connecting a HL1606 strip to an ATmega
I've been left a comment asking how the HL1606 strips are connected up to an Arduino. The wiring is really pretty simple, but depends on exactly which ATmega version you have, as the hardware SPI pins vary from MCU to MCU. The following assumes it's a ...
09-Mar-2011
23:29:00
8
I'm wheely pleased...
Last night I met up with Andy and Colin of The Travelling Light Circus at MadLab to finally finish off some the LED strips that I've been working on for so long. The original plan was for them to be worn, which would have meant splitting the 4 20-LED ...
03-Mar-2011
08:46:00
9
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
10
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
11
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
12
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
13
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
14
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
15
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
16
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
17
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
18
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
19
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
20
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