I did it, I finally found some down time to update JOS to work with current libraries from Adafruit. Below is a link to the new code on Github. A few notes to look at are listed below.
First, this is code for the Touch Shield, but it can easily be changed to the breakout board, and don’t forget to uncomment the ‘#define USE_ADAFRUIT_SHIELD_PINOUT’ line in Adafruit_TFTLCD.h file.
Also, this sketch has pin 3 setup as the backlight on the shield. This way you have PWM control over the backlight. You can accomplish this by cutting the VCC trace and soldering the PIN3 jumper on the back of the shield. You can read more on how to do that here.
This sketch has EEPROM settings, if you have not used them before, the values will be zero and need to be set. There are notes about this in the sketch on lines 92 & 93.
A note on using ICSP: – The Square Inch is designed to accept an FTDI connection for programming. Because of this, a .1µF capacitor is between the reset line of the ATmega328P and the pin labeled DTR. This is so when you load new sketches on the Square Inch, it will reset automatically via the DTR line on the FTDI adapter. When you use ICSP, you need to bypass this capacitor! Otherwise it will not work. The programming board I used in the video had the capacitor bypassed with solder (pictured below). There is also a via to the right of the capacitor that leads to the reset line. This can be shorted to the DTR pin to accomplish the same task, as I did to program the assembled boards. Continue reading Programming the Square Inch – TQFP Jig
Hi peeps, I have been wanting to make a small GPS device (GPS receiver and some sort of screen) that I could carry around for a while now, but I didn’t want it to be too big, so I made this. Mission accomplished.
So I’m going up to NY in a few days, and I wanted a new and exciting way to talk with the TSA folks, so I figured this would work. (kidding) If only Hollywood had not trained everyone to think a gadget with a few wires and a flashing red LED, that they didn’t understand, was a bomb.. ugh. (not kidding)
*UPDATE – there is a set on Flickr for this with teardown pictures.
I have been working more with 3.3 volt projects lately and wanted to make programming them with an FTDI adapter as easy as possible. Sure you can switch most FTDI adapters from 3.3 to 5 volts (the FT232RL chip has a built in 3.3 output as well as logic level selection), but it involves scratching a jumper wire and soldering pads. This isn’t bad to do once, but to go back and forth is time consuming and rough on the boards.
So, I made my own FTDI adapter with an easily changed jumper for voltage selection. I also added a power LED to let me know that it’s plugged in and ready to go, threw in some RX and TX indicator LED’s and all required caps (read the data sheet), and mini SB jack. I ordered the boards from OHSPark.com, and as always, they were great.