---
title: "Bus Arrival Alarm based on ARM mbed WIZwiki-W7500"
url: "https://maker.wiznet.io/WIZnet/projects/bus-arrival-alarm-based-on-arm-mbed-wizwiki-w7500/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/bus-arrival-alarm-based-on-arm-mbed-wizwiki-w7500/md"
type: "UCC: User Created Content"
author: "Eric Jung"
author_url: "https://www.hackster.io/ericjung/bus-arrival-alarm-based-on-arm-mbed-wizwiki-w7500-a16ee5"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Eric Jung"
original_url: "https://www.hackster.io/ericjung/bus-arrival-alarm-based-on-arm-mbed-wizwiki-w7500-a16ee5"
published: "2023-06-01"
language: "en"
hardware: ["WIZnet WIZwiki-W7500"]
likes: 0
views: 184
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# 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.

Original author: Eric Jung (source: https://www.hackster.io/ericjung/bus-arrival-alarm-based-on-arm-mbed-wizwiki-w7500-a16ee5)

## Components

- **WIZnet WIZwiki-W7500** x 1 ([docs](https://docs.wiznet.io/Product/Mbed-WIZwiki-Platform/wizwiki-w7500))

## Documents and links

- [Real-time Bus Arrival Alarm: main.cpp](http://maker.wiznet.io/wp-content/uploads/2020/09/real_time_bus_arrival_alarm__main_cpp.c) (code)
- [Bus Arrival Alarm - Hardware configuration](http://maker.wiznet.io/wp-content/uploads/2020/09/1_hw_configuration.png) (schematics)

## Article

### 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

![](https://hackster.imgix.net/uploads/image/file/67312/F1DL30GIDR825R4.MEDIUM.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

### Step 2: Parts

For this project, 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…](http://wizwiki.net/wiki/doku.php?id=products:wizwiki_w7500:start)

- Seeed Studio Grove Devices
  - **Grove OLED Display 96×96**
  - **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)**

![Seeed Studio Grove - Base Shield v2](https://hackster.imgix.net/uploads/image/file/67543/Grove_Base_Shield_v2_no_transparency.png?auto=compress%2Cformat&w=740&h=555&fit=max)

1 / 5 • Seeed Studio Grove – Base Shield v2

### Step 3: Hardware Configuration

![](https://hackster.imgix.net/uploads/image/file/67318/FLJ9E98IDR8293D.LARGE.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

### 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

![](https://hackster.imgix.net/uploads/image/file/67319/F12FFZFIDR8297U.LARGE.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

### Step 5: Get the Bus Arrival Informations

![](https://hackster.imgix.net/uploads/image/file/67322/F7R7VVVIDR82C6W.LARGE.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

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

- *Note: MAC address is the unique ID for your network device. It must be modified as your MAC.*

- *Link: Handbook – mbed Compiler Getting Started *

- <https://developer.mbed.org/handbook/mbed-Compiler-Getting-Started>

![](https://hackster.imgix.net/uploads/image/file/67326/F9UHNI7IDR82EIW.LARGE.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

### Step 7: Build and Run

Writing firmware into WIZwiki-W7500 and RUN!

- *Link: How to write the firmware into WIZwiki-W7500 *

- Please refer to the ‘**Using the CMSIS-DAP (Drag and Drop)’ – very easy!**

- <http://wizwiki.net/wiki/doku.php?id=products:wizwiki_w7500:start_getting_started:write_firmware>

Enjoy it!

![](https://hackster.imgix.net/uploads/image/file/67545/Bus_arrival_alarm_whole_parts.jpg?auto=compress%2Cformat&w=740&h=555&fit=max)

![](https://hackster.imgix.net/uploads/image/file/67546/4_operation_mode.png?auto=compress%2Cformat&w=740&h=555&fit=max)

---

Source: https://maker.wiznet.io/WIZnet/projects/bus-arrival-alarm-based-on-arm-mbed-wizwiki-w7500/
