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

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

0_concept.png

Parts

wizwiki-w7500_resize.png
Grove_-_oled_display_96x96.jpg
Grove_-_4_digit_display.jpg
Grove_-_piezo_buzzer_and_Grove_connector_resize.jpg
Grove_Base_Shield_v2_no_transparency.png

For this instructables, you'll need next things.

  • WIZnet WIZwiki-W7500 IoT Platform board
  • Seeed Studio Grove Devices
  • A Computer connecting to Internet
    • ARM mbed platform provided Web compiler (IDE)

Hardware Configuration

1_hw_configuration.png

Used Libraries

2_used_lib.png
  • mbed / Ethernet
  • HTTP client
  • NTP client
  • Grove OLED display 96x96
  • Grove 4-digit display

Get the Bus Arrival Informations

gbis_main.png
gbis_main_kor.png
gbis_기반정보조회.png
gbis_기반정보조회_결과.png
gbis_버스도착정보_항목조회_결과.png
3_get_bus_arrial_info.png

  • Note: These steps for using GBIS (Gyeonggi Bus Information System) in Korea.


Following next steps.

  1. Check and get the Bus number and station(bus stop) number you need.
  2. Get the Bus base information using openAPI (refer to below URL example)
  3. Lookup the matched route ID and station ID in route / station database using bus number and station number.
  4. Get the Bus arrival information using openAPI (refer to below URL example)
  5. 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)

http://openapi.gbis.go.kr/ws/rest/busarrivalservic...

Import the Project on Mbed Web Compiler

5_mbed.png

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

Bus_arrival_alarm_whole_parts.jpg
4_operation_mode.png

Enjoy it!