Week 6: Embedded
Programming
Flashing the Quentorres Board
Following the tutorials on the FabAcademy site, I was able to download the Arduino IDE and use the software to flash the control code to the Quentorres board. I also reviewed some tutorials on programming an arduino pico (linked below) and followed the tutorial for using the Earl Philhower rp2040 board control to Arduino.
Then, I loaded the sample code provided by the FabAcademy repository for an LED output pattern. When I tried pushing it to the board it gave me an error message that it could not reach the board. I had to follow a procedure of holding down the two buttons on the Xiao board to activate a hard disk mode connection with my computer and then when I tried to push the code again it gave me a different error message.
I realized that I had skipped the instructions on selecting the proper port for the arduino to use to connect to the board. I clicked Tools, Port, and selected the proper serial port. When I tried pushing the code again, it worked! When I pushed and released the button, one led would flash.
I edited the code with an additional led light flash from another LED on the quentorres board. When I pushed the code, it would flash in a sequence one after the other.
Resources Used
Fab Academy LED control Arduino Code
Once the code was loaded on the Quentorres board, I restarted it and the led light pattern would display after I pressed and released the button.
Output LED Pattern:
Files
Download Arduino Sketch
Copyright 2024 Thomas Pupo - Creative Commons Attribution Non Commercial
Source code hosted at fabcloud/fabacademy/2024/thomas-pupo