A few hacks to make bread boarding easier…
1. Hacking the power buses
The power buses on a breadboard are constructed in multiple pieces. To get continuity down the length of the bus Continue reading “8 Breadboard Hacks” »
A few hacks to make bread boarding easier…
The power buses on a breadboard are constructed in multiple pieces. To get continuity down the length of the bus Continue reading “8 Breadboard Hacks” »
Back in February, we wrote a post on Analogue to Digital Conversion. Many people mentioned that it was a bit light and they would like a more advanced tutorial. Well here it is…
Continue reading “Analogue to Digital Conversion Interrupts on an ATmega168A” »
EEPROM (Electrically Erasable Programmable Read Only Memory) Is non-volatile memory, meaning it persists after power is removed. The ATmega168 microcontroller has 512 bytes of EEPROM which can be used to store system parameters and small amounts of data. This tutorial shows you how to read and write EEPROM.
Continue reading “Reading and writing Atmega168 EEPROM” »
Recently a friend asked me, “What do I buy if I’m just starting out with embedded systems and want to learn?”. I told him a breadboard solution would be best and started rattling off all the bits that he would need. Then I got thinking, what if we made this a kit? So here it is…
This tutorial will teach you how to use external and pin change interrupts on an AVR microcontroller. I will be using an ATmega168. The general principles apply to other AVR microcontrollers, but the specific vary greatly.
Imagine your are sitting at your computer, reading this post. The phone rings and you answer it. After you hang up the phone (it was a telemarketer trying to sell you a timeshare), you get back to the awesomeness of the post, picking up where you left off.
Microcontroller interrupts are just like that.
This tutorial will teach you how to use the I/O ports on an AVR microcontroller. I will be using an Atmega8 but the general principles apply to any AVR microcontroller.
The Atmega8 has 23 I/O ports which are organised into 3 groups:
This tutorial shows you how to control 16 LEDs with just 3 control lines. We do this by daisy chaining 74HC595 shift registers
The 74HC595 shift register has an 8 bit storage register and an 8 bit shift register. Data is written to the shift register serially, then latched onto the storage register. The storage register then controls 8 output lines. Continue reading “Introduction to 74HC595 shift register – Controlling 16 LEDs” »
Mechanical switches do not make or break a connection cleanly due to microscopic conditions on the contact surface. This is referred to as “Switch Bounce” and can cause problems in digital circuits. In this tutorial we will build a circuit that demonstrates this problem, then modify it slightly to resolve it.
We will be reusing the circuit from the ATmega8 breadboard circuit tutorial. Continue reading “Debouncing a switch” »
Breadboards are invaluable for experimenting with electronic circuits. They allow you to created temporary circuits that can be easy changed. This tutorial explains the basics of how breadboards work and how to use them.
A typical breadboard consists of 100′s of holes called tiepoints. These tiepoints are aligned on a 0.1″ (2.54mm) grid. The board consists of 2 main sections
The tiepoints in the prototyping area are typically arranged in groups of 5 which are connected together. Continue reading “Breadboards – 101” »