/robotArm

Digging into the Embassy Rust framework to program a Pico to drive a little robot arm.

Primary LanguageRust

Robot Arm

I'm on a journey to drive an EEZYbotARM with Rust. I have no idea what I'm doing. I'm learning electronics, rust, and the Embassy framework at the same time. This is probably not the best way to learn.

If you want to follow along, you'll need a Pi Pico and a Debug Probe (or second Pico flashed to operate as one).

I picked the EEZYbotARM MK1 because it is made with the cheapest servos you can find and I happened to have 5 of them already. This is fine for me because I'm just looking for a platform to throw code at. There are more robust robot arms out there if that's what you're looking for.

Programming the pico

Cargo is set up such that cargo build will automatically upload your compiled code to the pico so long as it and the Debug Probe are connected. If either are absent, it won't work.

Next Actions

  • learn how to drive a servo with embassy
  • I'll use PWM, but will I use it directly or is there a lib/crate/utility to simplify the process?
  • learn how to serve up a web interface on the pico w
  • learn more about OTA firmware updates
  • write code to move a servo based on the potentiometer values