2-day Beginner Workshop:
Robot Control - Firmware

Date: January 16 (Monday) & 20 (Friday), 2023

Time: 2:30 – 4:30 pm

Venue: Makerspace A, Tam Wing Fan Innovation Wing One, HKU

2-day Beginner Workshop:
Robot Control - Firmware

Firmware is the software program in MCU (micro controller unit) to control the actuators such as servos and motors, and sensors of a robot. It is a challenge to develop a good firmware as MCU is not powerful as computer CPU. As MCU program runs in single thread model, programming techniques are required to efficiently coordinate each module (sensor or actuator) to avoid them from blocking each other. In this two-day workshop, you would be learning the essential knowledge on writing firmware and apply what you learn to write the firmware for a wheel driven robot – WheeBot.

This workshop consists of two sessions for beginners to learn robot firmware.  Each session will take up 2 hours:

January 16 (Day 1): 

  • programming platform setup
  • pwm control motors
  • pwm control LED
  • pwm control Servo
  • interrupt handling
  • programming motor encoder
  • multitask programming techniques

January 20 (Day 2): 

  • using ultrasonic distance sensor
  • using OLED display module
  • using IMU to detect robot orientation
  • using Bluetooth and WiFi for communication in MCU
  • introduction to RealTime OS(RTOS) for multitask programming

Date: January 16 (Monday) and 20 (Friday), 2023

Time: 2:30 – 4:30 pm

Venue: Makerspace A, Tam Wing Fan Innovation Wing One, HKU

Instructor: Mr David Lee

A limited quota of 10 will be offered on first-come-first-served basis.

Eligibility: All HKU Engineering Students and InnoHub members, preferably with C/C++ programming knowledge.