Original tutorial posted at https://e2e.ti.com/group/launchyourdesign/m/tivaarmmicrocontrollerprojects/666222
Internet of Things (IoT) with ESP8266 WiFi Module
In present work, I aim to control servo motor as an Internet of Things(IoT) so i use ESP8266 , which is the low cost wifi module (approx. 3$), to establish connection between Tiva LaunchPad(as a client) and Computer(as a server) via internet with Transmission Control Protocol (TCP). I use Java application to create server to control servo on the PC side of the project. One can see the Java Application in below video.
Servo Motor: Micro Servo 3.7G (approx. 1.5$)
WiFi Module: ESP8266 (approx. 3$)
Source Code: IoT.rar incudes both Java(as a Server) and Code Composer Studio(as Client) codes.
Setup & Pin Configuration
* First link the VCC pin to CH_PD pin via shortcut
ESP8266 Pin versus Tiva Launchpad
VCC -> 3.3V, GND -> GND, RXD -> PB1, RST -> PD0, TXD -> PB0.
To control servo please link the servo signal pin to PC5(pin)
Selcuk Cakmak
Comments