OLED display 128 × 64 (SSD1306) with TinkerPie
A sharp little screen for readings, menus and drawings.
| Type | Displays and lights |
|---|---|
| Connect to | SENSOR port · 0x3C |
| Gives | 8 lines of text, graphics |
| Simulator | Yes: a control appears under the simulated board |
How to wire it
OLED and LCD go into a SENSOR port (I2C). The 4-digit display and LED strips use one or two signal pins.
Code
In blocks: Accessories category in TinkerPie Studio. As code:
// JavaScript
oled.showText('Hello', 0)
oled.showNumber(42, 1)
oled.bar(30, 100, 3)
// Arduino C++
oled::showText("Hello", 0)
oled::showNumber(42, 1)
oled::bar(30, 100, 3)
Projects with the OLED display 128 × 64 (SSD1306)
Weather station on OLEDA DHT11 measures temperature and humidity; an OLED screen shows them with a bar.Sensor projectsLight meterA BH1750 measures light in lux, shown big on an OLED screen with a bar.Sensor projects