Adafruit
Is this not the cutest little display for the Raspberry Pi? It features a 2.8" display with 320x240 16-bit color pixels and a capacitive touch overlay. That's right, instead of a resistive touchscreen, which requires a fingernail or stylus, you can now use a fingerpad.
The screen looks much nicer, with a black bezel and glass overlay.
This updated design fits perfectly onto the Pi Zero, Pi 3, Pi 2 or Model A , B ! (Any Pi with a 2x20 connector) Not for use with an old Pi 1 with 2x13 connector. This version also has all 40 pins GPIO pins brought out so you can connect a 40-pin GPIO cable underneath.
The display and touchscreen uses the hardware I2C Pins (SDA & SCL), SPI pins (SCK, MOSI, MISO, CE0) as well as GPIO #25 and #24. All other GPIO are unused and you can still share the I2C pins with sensors, LED drivers, etc. Since we had a tiny bit of space, there's 4 slim tactile switches wired to four GPIOs, that you can use if you want to make a basic user interface. For example, you can use one as a power on/off button.
Use it for console access or easily pop up X11 onto the PiTFT for a mini monitor, although its rather small at 320x240. Instead, we recommend using PyGame or other SDL-drawing programs to write onto the frame buffer.
Raspberry Pi computer and enclosure not included! As of July 22nd, 2015 this display comes fully assembled with tactile switches too
TECHNICAL DETAILS
- Screen Dimensions: 50mm x 69mm x 4mm / 2" x 2.7" x 0.16"
- PCB Dimensions: 56mm x 85mm x 11mm / 2.2" x 3.3" x 0.4"
- Weight: 47g
Datasheets, EagleCAD PCB files, Fritzing object and more in the tutorial!
The ADDR pin is broken out so you can connect two of these DACs on one I2C bus, just tie the ADDR pin of one high to keep it from conflicting. Also included is a 6-pin header, for use in a breadboard. Works with both 3.3V or 5V logic.
Some nice extras with this chip: for chips that have 3.4Mbps Fast Mode I2C (Arduino's don't) you can update the Vout at ~200 KHz. There's an EEPROM so if you write the output voltage, you can 'store it' so if the device is power cycled it will restore that voltage. The output voltage is rail-to-rail and proportional to the power pin so if you run it from 3.3V, the output range is 0-3.3V. If you run it from 5V the output range is 0-5V.
Adafruit have an easy-to-use Arduino library and tutorial with a triangle-wave and sine-wave output example that can be used with any 'duino or ported to any microcontroller with I2C host. Wiring it up is easy - connect VDD to your microcontroller power pin (3-5V), GND to ground, SDA to I2C Data (on the Arduino Uno, this is A4 on the Mega it is 20 and on the Leonardo digital 2), SCL to I2C Clock(on the Arduino Uno, this is A5 on the Mega it is 21 and on the Leonardo digital 3) and listen on VOUT.
TECHNICAL DETAILS
- Datasheet, Fritzing, and EagleCAD PCB files available in the product tutorial
- This board/chip uses I2C 7-bit address between 0x62-0x63, selectable with jumpers
What's in the box?
1 x Adafruit MCP4725
- 1