Menu
The traditional way of programming microcontrollers, such as Arduino boards, requires proper understanding and skills for compiling source code, loading the compiled program to the board, and remote debugging of the program. These methods are not friendly for most K-12 students and teachers. The objective of this session is to introduce a block-based interactive approach to get started that simplifies the programming of Arduino boards, thus enabling a broader spectrum of students and teachers to learn STEM-related concepts with physical devices. Then, make a smooth transition to program Arduino using C/C++ code which can be automatically generated from block-based code.
(3 min) Brief introduction to the C-STEM Center.
(2 min) Brief introduction to Arduino boards.
(5 min) Interact with an Arduino board through RoboBlocky, ChDuino, a graphic user interface of controlling the Arduino board.
(3 min) Learn how to load the pre-compiled firmware came with ChDuino to the Arduino board;
(2 min) Learn how to interactively manipulate the pins on the board through ChDuino.
(13 min) Project: Blink an LED,
(5 min) Learn how to build a simple circuit with an LED;
(2 min) Learn how to check the correctness of the circuit through ChDuino;
(6 min )Learn how to program the Arduino board to blink the LED using Ch, a C/C++ interpreter. The C/C++ code can be automatically generated.
(20 min) Project: Direction Bots,
(1 min) Brief introduce the Linkbot, an educational modular robot;
(5 min) Learn how to connect and program a Linkbot robot;
(5 min) Learn how to expand the previous LED circuit by adding a push button;
(6 min) Learn how to program to get the status of the push button from the Arduino board and change the direction of the robot.
(3 min) Learn how to do the same thing with a simulated robot.
(2 min) Summary
Research Papers:
https://proceedings.asmedigitalcollection.asme.org/proceeding.aspx?articleid=2484038
https://ieeexplore.ieee.org/abstract/document/7587191/
https://onlinelibrary.wiley.com/doi/abs/10.1002/cae.21854
Participants can register in advance for a free account here: https://roboblocky.com/signup.php
Instructions and links to download Linkbot Labs can be found here: https://roboblocky.com/download/
Related exhibitors: | UC Davis C-STEM Center for Integrated Computing and STEM Education |