Skip to content

Bus Arrival Alarm based on ARM mbed WIZwiki-W7500

This project is the real-time bus arrival alarm device based on WIZnet WIZwiki-W7500 mbed IoT platform board. It includes two types display.

WIZnet

Published June 01, 2023

Original author: Eric JungOriginal source (new tab)

Bus Arrival Alarm based on ARM mbed WIZwiki-W7500

Components

Hardware components

Project description

Introduction

This device project for busy people in the morning. Perhaps, you could be more freely checking bus arrival without mobile phone by this device.

Step 1: Concept

Step 1: Concept
 

Step 2: Parts

For this project, 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)
 
 
 
Seeed Studio Grove - Base Shield v2 
 
1 / 5 • Seeed Studio Grove – Base Shield v2
 

Step 3: Hardware Configuration

Step 3: Hardware Configuration
 

Step 4: Used Libraries

This project based on ARM mbed platform (with libraries at mbed)

  • HTTP client
  • NTP client
  • Grove OLED display 96×96
  • Grove 4-digit display
Step 4: Used Libraries
 

Step 5: Get the Bus Arrival Informations

 
 
 
Step 5: Get the Bus Arrival Informations
 
1 / 6
 
  • 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?serviceKey=test

 

Step #4 URL Example: Bus arrival information request (key, routeID, stationID)

http://openapi.gbis.go.kr/ws/rest/busarrivalservice?serviceKey=test&routeId=234000069&stationId=234000302

Step 6: Import the Project on mbed Web Compiler

Visit follow link; mbed project repository

https://developer.mbed.org/users/hkjung/code/Real-time_Bus_Arrival_Alarm/

Press ‘Import this Program‘ button in Repository toolbox

Step 6: Import the Project on mbed Web Compiler
 

Step 7: Build and Run

Writing firmware into WIZwiki-W7500 and RUN!

Enjoy it!

Step 7: Build and Run
 
Step 7: Build and Run

Documents

  • Real-time Bus Arrival Alarm: main.cpp

  • Bus Arrival Alarm - Hardware configuration

Comments

Comments