Bus Arrival Alarm Based on ARM Mbed WIZwiki-W7500
by Eric.Hyungki.Jung in Circuits > Microcontrollers
969 Views, 13 Favorites, 0 Comments
Bus Arrival Alarm Based on ARM Mbed WIZwiki-W7500
Hi, Everyone.
I introduce my mbed project. I've making real-time bus arrival alarm device based on WIZnet WIZwiki-W7500 mbed IoT platform board. This device project for busy people in the morning. Perhaps, you could be more freely checking bus arrival without mobile phone by this device.
* This project made by korean. If you live in foreign country, you may need to be modified for Bus information system in yours.
Concept
Parts
For this instructables, you'll need next things.
- WIZnet WIZwiki-W7500 IoT Platform board
- W7500 MCU embedded, 32-bit ARM® Cortex™-M0 core with Hardwired TCP/IP
- ARM mbed official platform board
- for more details, refer to the http://wizwiki.net/wiki/doku.php?id=products:wizwi...
- Seeed Studio Grove Devices
- Grove OLED Display 96x96
- Grove 4-Digit Display
- Grove Buzzer
- Grove Base Shield v2 and Connectors
- for more details, refer to the http://www.seeedstudio.com/wiki/Grove_System
- A Computer connecting to Internet
- ARM mbed platform provided Web compiler (IDE)
Hardware Configuration
Used Libraries
- mbed / Ethernet
- HTTP client
- NTP client
- Grove OLED display 96x96
- Grove 4-digit display
Get the Bus Arrival Informations
- Note: These steps for using GBIS (Gyeonggi Bus Information System) in Korea.
Following next steps.
- Check and get the Bus number and station(bus stop) number you need.
- Get the Bus base information using openAPI (refer to below URL example)
- Lookup the matched route ID and station ID in route / station database using bus number and station number.
- Get the Bus arrival information using openAPI (refer to below URL example)
- Done
Step #2 URL Example: Bus base information request (key)
http://openapi.gbis.go.kr/ws/rest/baseinfoservice?...
Step #4 URL Example: Bus arrival information request (key, routeID, stationID)
Import the Project on Mbed Web Compiler
Visit follow link; mbed project repository
https://developer.mbed.org/users/hkjung/code/Real-...
Press 'Import this Program' button in Repository toolbox
- Note: MAC address is the unique ID for your network device. It must be modified as your MAC.
Build and Run
Enjoy it!