User:Ctag/storagesign

From Makers Local 256
< User:Ctag
Revision as of 15:32, 21 February 2016 by Ctag (Talk | contribs)

Jump to: navigation, search

Overview

I love working with microcontrollers, and have an interest in low-power things. To get some more practice working with atmega328's I'm going to build a small LED matrix that will label my member storage at the shop.

To begin I'll write the code as an Arduino sketch, then pivot pieces to more traditional C firmware as I learn about them.

Parts List

  • Sure Electronics 32x8 LED Matrix
    • I'm pretty sure the LED boards on this thing can handle both red and green, but it's not wired up to work :-/
    • Can output 16 levels of PWM based brightness. Need to investigate library to see if individual pixels can be set.
    • Need to look at what can be merged between the Adafruit library and the one I'm using.
  • HC SR501 PIR sensor
    • Detects human activity by the infrared we emit.
    • Outputs 3.3V high for detected movement. Ground for standby.
    • More information
  • ATmega328P
  • Breadboarding supplies
    • 16MHz crystal
    • 2x 22pF Capacitors

References

Libraries

Gauravmm HT1632 Github

Interrupts

nongnu AVR interrupts guide Washington.edu interrupts&timers guide Arduino interrupts guide Another Arduino interrupts guide

Low Power Mode

Arduino Sleep Code

etc

loop() and setup() vs main()

Arduino/ATmega pinout