Wednesday, August 26, 2020

Wi-Fi Networks Scanning Using ESP8266 With SPI TFT Display

TFT display module is widely available from online stores. The programming interface could make from scratch with Arduino ready to use libraries. It has many examples included.

The esp8266 IoT module is a low cost development platform with Arduino compatible.

In this example I use an esp8266 IoT module to scan all nearby WiFi networks, and display them on a ST7735 1.8" 128x160 SPI LCD module. It is very low cost from online store.

Wi-Fi Networks Scanning Using ESP8266 With SPI TFT Display
A Wi-Fi Scanning Using My Home Router


I use hardware SPI of esp8266. But it will need more control pins such as D/C, CS and Reset pin.

Wi-Fi Networks Scanning Using ESP8266 With SPI TFT Display
A 1.8 inches SPI 128x160 TFT LCD

 

Connect  the TFT LCD the esp8266 to module as below:



  1. GND to GND
  2. VCC and BLK to Vin(+5V)
  3. D/C to D1
  4. CS   to D8
  5. RST to D2
  6. CLK to D5 (HSCLK)
  7. DIN  to D7 (HMOSI)

The programming requires ucblib library for TFT from github. You can install it via Arduino library manager.

Wi-Fi Networks Scanning Using ESP8266 With SPI TFT Display
esp8266 and TFT display connections diagram





Arduino Source Code:


 

No comments:

Post a Comment

Labels

ADC (10) Analog (14) Arduino (12) Atmega16 (19) Audio (2) AVR (20) Charger (1) Cortex-M0 (1) Counter (10) CPLD (25) Digital I/O (22) Display (34) EEPROM (2) Environment Sensor (1) esp8266 (2) Experiment Board (10) I2C (4) Interrupt (7) LCD (1) LDmicro (29) measurement and instrumentation (7) Microchip Studio (3) MikroC (1) One-Shot (3) OpAmp (1) PCB (31) PIC16 Microcontrollers (16) PIC16F877A (2) PIC16F887 MikroC (22) PLC (35) PWM (11) Regulator (1) RTC (2) Sensor (8) Shift Registers (5) SPI (5) Timer (34) UART (2) ultra-sonic sensor (1) USB (1) VHDL (21) xc8 (1) XC95108 (9) XC9536 (15) XC9572 (1) Xilinx (23) Xilinx ISE (22)