Saturday, June 7, 2014

1.44" TFT LCD Display 128x128

Pins: 

   TFT   |     AVR
LED         3V3 (or PWM)
SCK         SCL pin
SDA         MOSI pin
A0(DC/RS)   whatever
RESET       whatever
CS          whatever
GND         GND
VCC (J2)    3V3


Sumotoy developped his library with a chinese TFT who had an offset (see his notes). Mine didn't have such offset and when using his library, my screen displayed 32 lines of garbage:



To correct this the header must be changed: either create a new type of screen (along with the already coded __144_RED_PCB__ and __22_RED_PCB__) with an __OFFSET of 0, or change the __OFFSET value inside the #if defined(__144_RED_PCB__) to 0.




Friday, June 6, 2014

AVR pins

Pins of some ICs
Best pictures are from the MCUdude's cores: https://github.com/MCUdude

ATtiny13: https://github.com/MCUdude/MicroCore


ATmega328 variants: https://github.com/MCUdude/MiniCore

ATmega8535 variants: https://github.com/MCUdude/MightyCore

ATmega640 variants: https://github.com/MCUdude/MegaCore






Thursday, May 29, 2014

4 * 7 segments

Pins:
1Segment E
2Segment D
3Decimal point
4Segment C
5Segment G
6Digit 4
7Segment B
8Digit 3
9Digit 2
10Segment F
11Segment A
12Digit 1


LCD screen HD44780

Charset: