ECE 4180 Lab4
Lab4 - Wifi IoT device This lab implements a wifi controlled Moto. Users can start, stop a Moto via web page. I am still trying to set up the speed control. Speed control is not working now. It will work later.
List of mbed components and peripherals used
- 1. Ethernethttps://developer.mbed.org/cookbook/Ethernet-RJ45 (RJ-45 jack on a breakout board)
- 2. Motos with H-bridge.
- 3. Http server(https://developer.mbed.org/compiler/#nav:/HTTPServerExample/HTTPServerExample.cpp;)
The Interface between web page and mbed can be found here https://developer.mbed.org/cookbook/Interfacing-using-JavaScript. I can not read pin values by function xxx.read(), I will figure out why I can not get value from xxx.read();
Code is available here:
Import program4180_Lab4
ECE4180 lab4
Wifi will be implemented later to instead ethernet. For ethernet is much more stable than wifi. I am working in finding a better way to control moto, web page is not very stable. It crashes sometime.
A short demo video here: you can see when click start button, moto begins to run, when click stop, moto stops.
Please log in to post comments.