Categories
circuit tips

Atmel ICE header adapter

The Atmel ICE is a fantastic tool for programming and debugging AVR and Atmel ARM chips. However, the included cable has a connector with a pin pitch of only 1.27mm. I made a header adapter to make this Atmel ICE more useful for normal spaced 2.54mm connectors.

Atmel ICE with header adapter

Categories
software

Online random number generator for AVR microcontroller

This is an online random number generator for an AVR microcontroller, you can use it to include some randomness in your project.

guaranteed random numbers
When using these static random numbers in more than one AVR controller, they all got the same random numbers, however all oscillators differ somewhat in speed over time and thus multiple AVR controllers using the same random number table do really seem random. The effect is the biggest when using the internal RC oscillator because from AVR to AVR the speed differs the most.

Categories
circuit

Random timer circuit using a Attiny24A

This random timer circuit is based on a Atmel ATTINY24 avr driving one power relay. You can use this circuit to switch on and off other circuits randomly. For example, when using this circuit on a model railroad you can turn on and off parts of the animated or moving scenery to create a more dynamic view.

attiny24 random timer circuit prototype

This circuit was designed to be used on a modular model railroad. This model railroad contains different flashing light on ambulances, police cars and fire engines. These lights are on all the time, with this circuit I hope to keep visitors of a model railroad exposition more interested while watching all the action.

Categories
circuit

Tiny DCC decoder for leds

This tiny DCC decoder has been made to drive 8 leds. Instead of using a more expensive turnout decoder this may be a nice alternative.

Categories
circuit

Attiny13 blue double led dice

Here a video of a blue version of the double led dice. Want to build it yourself? Click here fore more information.

Attiny13a charlieplexed double blue led dice

Categories
circuit

Attiny13 green double led dice

Try making a double led dice with 14 leds driven only by 4 available pins of an Atmel Attiny13a. I did it, and it worked. See the result in this video.

Attiny13a charlieplexed double green led dice