This project utilizes the MOTG WiFi-ESP with a gen4 display module. It is written using the ViSi Environment. This project uses a gen4-uLCD-32DT in conjunction with the MOTG. In order to utilize it, the display module sends AT commands to the MOTG through the UART pins.
This project acts as an access point and a TCP Server. It will wait until a toggle command is sent via TCP connection. Once received, the project will simply toggle the state of the UserLED displayed on the screen.
How it Works- gen4 - uLCD - 32DT
- AC2 or AC1 Interface Board
- MOTG WiFi - ESP
- gen4 - Interface Board
- uUSB - PA5
- 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.
Step 4: Comp’n Load- 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.
Comments