Introduction: Head Gear
Full color display works amazing for words and simple graphics without any SD card storage needed. This is an easy project. Just connect the wires and upload the code!
I used this for a music festival (Pickathon in Portland, OR) to show which bands where playing on which stages....
Step 1: Solder It and Program It
The connection details are on PJRC's site:
- connect power to both teensy VIN and Display VCC ( 3.6 to 5.5 volts)
- connect ground to ground
- connect display pin CS to teensy pin 10
- connect display pin reset to teensy pin 3.3v
- connect display pin D/C to teensy pin 9
- connect display pin SDI to teensy pin 11
- connect display pin SCK to teensy pin 13
- connect display pin SDO to teensy pin 12
- connect display pin LED to power via 100 ohm resistor (or use a transistor describes below)
It instructs you to put a 100 ohm resistor inline between the 3.7v and LED backlight.
I also put a transistor and output a PWM so that I could vary the brightness and power of the backlight. This is not necessary but full power the LED backlight drew ~100ma and the teensy microcontroller used around 40ma....so by sending a PWM signal and turning the LED down (as it only has to be 1/2 brightness at night) you can reduce the total power to ~80ma for everything (controller and display) which equals longer battery life. Here are two transistor tutorials:
I didn't have a proper battery connection for the battery so I used another uController I had laying around (the gemma)...It is the small round thing the battery plugged into in the picture. Here is a proper connector: https://www.sparkfun.com/products/9749
I used a 2000 ma power supply and it never went out after 8 hours of constant ON time.
You could also use the Teensy micro usb connector and plug the thing right into a small backup USB power supply: http://www.amazon.com/s/ref=nb_sb_noss_2?url=searc...
The arduino library has an example graphics test that you can build your sign from:
Go to the download as ZIP button and put the library in your Arduino Libraries folder, restart Arduino, and open the example graphics sketch.
Step 2: Going Further...
You can add more graphics and video by using and SD card to store the data.
You could also put an excelerometer on the hat so you could display graphics based on your motion. You could add a microphone and do a simple equalizer to the color display. You could add a real-time clock and do real-time schedule updates. This is fairly easy to do on the teensy.
We have a be nice policy.
Please be positive and constructive.