Embedded Programming
Sometime by Week 8...
Blinking the MCUs
Seeeduino SAMD21
This was again, fairly straightforward, having gone through a similar initial process with the ATTinys and the RP2040.
I followed the guide on Seeed Studio's own site for the large part.
Software Installation from the guide.
-
The Board url was added into the Arduino IDE preferences.
-
The SamD21 Board was installed.
-
Select the correct board from the list of boards.
-
Load up the Blink program from Neil's page.
Hello for SamD21
The SamD21 does not have any onboard NeoPixels, etc, so I got it to work with the Hello sketch and left it there for now.
WaveShare One
I had ordered both, the WaveShare Zero and the WaveShare One initially, before the Seeeduino XIAO versions became available. I have not been able to get the Zero to work, however, the One seems to be working fine.
-
I started off at WaveShare's own RP2040 One Wiki
-
I don't remember which came first, the XIAO or the WaveShare, but I had the RP2040 boards already installed, so I just had to select the right one.
-
And I ran the same Blink program on this as well. I (eventually) changed the LED pin number to the correct one before things finally worked.
I had initial hiccups on two points.
-
I didn't have a USB female cable, and plugging it into the USB port of the laptop directly was an option, but it wasn't too convenient when you wanted to move the board around, take pictures, check connections, etc.
(With the WaveShare Zero not working, I think I had also given up on the One until I could gather the rest of the supplies and have another go at it) -
I wasn't assigning the correct pin number for the onboard LED and so it wasn't functioning as expected initially, which made me go around an check everything else as well since this was a new and untested board. While it is clearly stated on the pin diagram, it took me going through a forum post to notice that the Pin number was actually 16 and not 12 like the XIAO RP2040. In hindsight, this was a silly mistake, but yeah.
Apart from that, the process was fairly standard and easy once I got everything lined up and actually went at it (even though it took me till Week 8 to get around to it)