This project utilizes the MOTG WiFi-ESP with a gen4 display module. It is written using the Designer Environment.
This project uses a gen4-uLCD-32DT in conjunction with MOTG. In order to utilize it, the display module sends AT commands to the MOTG through the UART pins.
This project sends pseudo-random numbers to a ThingSpeak channel approximately every 30 seconds. The project needs to be connected to a wireless access point that provides internet connectivity. It starts a TCP connection with ThingSpeak and send the data to the channel.
- 30 - way FCC cables
- miniUSB cable
- The FCC cable provides the connections between the gen4 display and gen4-MOTG-AC2.
- The gen4-MOTG-AC2 handles the necessary connections from the MOTG to the display module.
- The pins PA2 and PA3 of the Diablo16 display are used as RX and TX respectively. These pins connect to the TX and RX of the ESP8266.
- PA4 of the display is connected to the RESET pin of the ESP8266.
- Before programming your gen4 display, you have to connect the gen4-MOTG-AC2 to a gen4 - Interface Board using another FCC cable. The gen4 - Interface Board should be connected to a gen4-PA which connects to your computer via a miniUSB cable.
- Download the project file here.
- For this project to work properly, you need to set the access point of your router.
- Click on the “Build Copy/Load” button.
Note: This step could be skipped. However, compiling is essential for debugging purposes.
- Connect the display to the PC using uUSB-PA5 and a mini USB cable. Make sure that you are connected to the right port. Red Button indicates that the device is not connected, Blue Button indicates that the device is connected to the right port.
Now click on the “Comp’nLoad” button.
As shown below, the display module displays details of the processes it performs and the ThingSpeak Channel is updated accordingly.
Did you replicate this project? Share it!I made one
Love this project? Think it could be improved? Tell us what you think!