Difference between revisions of "User:Ctag/storagesign"

From Makers Local 256
Jump to: navigation, search
(Created page)
 
m (References: added links)
Line 38: Line 38:
 
[http://playground.arduino.cc/Learning/ArduinoSleepCode Arduino Sleep Code]
 
[http://playground.arduino.cc/Learning/ArduinoSleepCode Arduino Sleep Code]
  
=== ATmega328 Pinout ===
+
=== etc ===
  
[http://foros.giltesa.com/otros/arduino/fc/docs/pinout/uno.jpg http://foros.giltesa.com/otros/arduino/fc/docs/pinout/uno.jpg]
+
[http://arduino.stackexchange.com/questions/4039/is-setup-and-loop-provided-for-convenience loop() and setup() vs main()]
 +
 
 +
[http://foros.giltesa.com/otros/arduino/fc/docs/pinout/uno.jpg Arduino/ATmega pinout]

Revision as of 15:32, 21 February 2016

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