Display QR Codes on Your Dot One + TFT LCD Module

Keep forgetting your WiFi credentials? Need to display easily accessible information. Never let this happen with a Dot One and a TFT Module.

IntermediateFull instructions provided1 hour9,898
Display QR Codes on Your Dot One + TFT LCD Module

Things used in this project

Hardware components

Wia Dot One
Wia Dot One
×1
Wia Micro USB Cable
Wia Micro USB Cable
×1
Wia TFT LCD Screen Module
Wia TFT LCD Screen Module
×1

Software apps and online services

Wia
Wia
Qr Code Generator
Lcd Image Converter

Story

Read more

Code

Main Code

C/C++
Paste this Code into the Wia Code editor and paste the qr code data inside the 'qrcode' variable
#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h>
#include <SPI.h>

#define TFT_RST -1
#define TFT_CS 16
#define TFT_DC 17

Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST);

const unsigned char qrcode [] PROGMEM = {
//---------------------------------------------------------------
//---------------------------------------------------------------
//INPUT YOUR QR CODE DATA HERE
//---------------------------------------------------------------
//---------------------------------------------------------------
};


void setup() {
  WiFi.begin();
  delay(2500);
  tft.initR(INITR_144GREENTAB);
}

void loop() {
	tft.setRotation(1);
	tft.fillScreen(ST7735_BLACK);
  tft.drawBitmap(0,0,qrcode,128,128,ST7735_WHITE);
  delay(10000);
} 

Credits

Szymon Masternak

Szymon Masternak

6 projects • 5 followers
Adam O' Ceallaigh

Adam O' Ceallaigh

20 projects • 8 followers
Andrew Berry

Andrew Berry

25 projects • 11 followers
Spivey

Spivey

82 projects • 59 followers
Tourist in a Tutu || US Born || Melbourne/Mexico/California Raised || New Yorker at ❤️ || SF to Dublin to be COO of Wia the best IoT startup

Comments