Programming PIC32

For a while I wanted to get back into making some projects with microcontrollers.

Last time I touched any microcontroller code was a few years back when I tried to make a heating regulator for a friend with Arduino Nano. My friend was interested in programming, he would come over at night and we hacked on this little thing for some time. We bumped into some problems with the power supply as it would not behave properly when we used a random old DC adapter. Life happened and we lost interest before it could actually be tested. Maybe we were just debugging too late at night, there was some whiskey involved, so who knows.

Anyhoo, recently I wanted to try out embedded rust. After some looking around, PIC32MX series sounded like a good choice for a project I have in mind (more on that later). It has with enough number of IO pins and in built USB support and is a way overkill for blinking a LED. This post is for the noobs like me to get started with PIC32 and rust. Disclaimer: This is my first attempt to program a Microcontroller outside of Arduino boards. I have huge gaps in my knowledge abut how these things work. I’m always open to suggestions and discussion, please reply to the threads on reddit, twitter or email me. (If I can stay motivated to learn, I may post more stuff here later).

There are PIC32 development boards like this but I went the bare chip route. It was a less convenient solution but it provides more opportunities to learn tinker. To get started you need a few components and of course a PIC32 microcontroller (at least one).

Full Version

I recommend getting an inexpensive hobby electronics starter kit that provides a bunch of components like resistors,capacitors and LEDs etc.