Feed on
Posts
Comments

Tag Archive 'LED'

Welcome to Part 5, in this part we’ll talk about enabling brown out detection to our Standalone Temperature Logger as a safety mechanism. The information below about brown out detection is also available as a video explanation, I recommend viewing the video whilst reading below.

Before we do anything let’s take a look at the ATtiny85’s datasheet, we want to check what voltage range works on.

(more…)

Read Full Post »

Fun with 8×8 LED Matrix

I’ve finally got around to wiring up my 8×8 LED Matrix and now it’s time for some fun with it. Though out playing with this I’ve learnt about shift registers and how we can use them along with a transistor array chip.

First things first, have a read and look through the Arduino’s ShiftOut guide as they are very well put together (keep re-reading it if it doesn’t make sense): http://www.arduino.cc/en/Tutorial/ShiftOut

To summarise the guide:

  • A shift register allows you to have 8 outputs while only using 3 pins on the Arduino
  • You send a byte to the shift register which has 8 bits (e.g. 10010000)
  • You can combine shift registers so instead of having only 8 outputs you can have 16 when using 2, 24 when using 3, and so on
  • When combining shift registers, instead of sending out the 8 bits to the first register and 8 to the second register it’s actually reversed, so the first 8 bits you send are actually for the second register and the next 8 bits go to the first register

(more…)

Read Full Post »