That ESP8266 module looks like it should do the job and I like the fact that Core Electronics is selling it.
The display is a 2.8 inch TFT touch shield for Arduino and the barcode is P1651 according to the box. See attached photo for what is on the shield itself. I won’t be using the micro SD card so pin 4 won’t be needed.
The touch screen capability is not essential for this project. Either resistive or capacitive is a bonus.
On the shield it indicated that pins 8, 9 and 10 are required (4 as well if using the micro SD card). However the Adafruit documentation says that pins 11, 12 and 13 are also needed for resistive mode and that for capacitive mode SDA and SDL are needed. The documentation says that SDA is also known as A4 and SDL as A5 so I gather I need to avoid capacitive mode to be sure that I can use A4 and A5 for my purposes without erractic results.
"TFT Screen Pins
Digital #13 or ICSP SCLK - This is the hardware SPI clock pin. By default its digital #13. By cutting a jumper and
soldering another on the back, you can move this line from #13 to the ICSP clock pin. This pin is used for the TFT,
microSD and resistive touch screen data clock
Digital #12 or ICSP MISO - This is the hardware SPI master-in-slave-out pin. By default its digital #12. By cutting a
jumper and soldering another on the back, you can move this line from #12 to the ICSP MISO pin. This pin is used
for the TFT, microSD and resistive touch screen data
Digital #11 or ICSP MOSI - This is the hardware SPI master-out-slave-in pin. By default its digital #11. By cutting a
jumper and soldering another on the back, you can move this line from #11 to the ICSP MOSI pin. This pin is used
for the TFT, microSD and resistive touch screen data
Digital #10 - This is the TFT CS (chip select pin). It’s used by the Arduino to tell the TFT that it wants to
send/receive data from the TFT only
Digital #9 - This is the TFT DC (data/command select) pin. It’s used by the Arduino to tell the TFT whether it wants
to send data or commands
Resistive Touch Controller Pins
Digital #13 or ICSP SCLK - This is the hardware SPI clock pin. By default its digital #13. By cutting a jumper and
soldering another on the back, you can move this line from #13 to the ICSP clock pin. This pin is used for the TFT,
microSD and resistive touch screen data clock
Digital #12 or ICSP MISO - This is the hardware SPI master-in-slave-out pin. By default its digital #12. By cutting a
jumper and soldering another on the back, you can move this line from #12 to the ICSP MISO pin. This pin is used
for the TFT, microSD and resistive touch screen data
Digital #11 or ICSP MOSI - This is the hardware SPI master-out-slave-in pin. By default its digital #11. By cutting a
jumper and soldering another on the back, you can move this line from #11 to the ICSP MOSI pin. This pin is used
for the TFT, microSD and resistive touch screen data
Digital #8 - This is the STMPE610 Resistive Touch CS (chip select pin). It’s used by the Arduino to tell the
Resistive controller that it wants to send/receive data from the STMPE610 only
Capacitive Touch Pins
SDA - This is the I2C data pin used by the FT6206 capacitive touch controller chip. It can be shared with other
I2C devices. On UNO’s this pin is also known as Analog 4.
SCL - This is the I2C clock pin used by the FT6206 capacitive touch controller chip. It can be shared with other
I2C devices. On UNO’s this pin is also known as Analog 5."
I must be able to use 3 analogue pins (eg A0, A1 and A2) for the voltage and current sensors.
I would like to mimic the warning and power LEDs on my BMS (battery management system) controller as the BMS will be in an enclosure. The voltage at the BMS LED connection point is about 2 volts when the LED is on and zero otherwise. Provided I use resistive display mode A3, A4 and A5 are available to measure the voltage at the 2 connection points. I can then use the display rather than actual LEDs to mimic the BMS LEDs.
The Freetronic documentation for the Wi-Fi shield implies that only pins D2 and D3 are used:
- “Configure the serial jumpers near the top right of the shield to suit the pins your Arduino will use for communication with the ESP-01 module. The module ships with jumpers in a default position as shown above to connect the module’s TX line to Arduino pin D2, and the module’s RX line to Arduino pin D3. This means your Arduino will need to transmit on D3 (to the module’s RX line) and receive on D2 from the module’s TX line.”*
So it seems that the Wi-Fi shield should coexist with the display shield in resistive mode and my usage of pins A0 to A5. However I’ve been caught before with conflicts so figure I should check before construction rather than risk rebuilding later.
Regards
John