3 ms·
i do embedded programming as a hobby for high power rocketry ( altimeters, orientation sensors and, someday, control, and other stuff ). Micropython is great fo
by chasd00 4y ago
i do embedded programming as a hobby for high power rocketry ( altimeters, orientation sensors and, someday, control, and other stuff ). Micropython is great for what I do and the repl is especially handy (i just start a screen session and there it is). I've tried lots of different boards but settled on the stm32 Feather from Adafruit. Adafruit's circuit python is really handy because they have a lot of drivers already written for common sensors and other things. Heh it was a bit of a shock when i realized in embedded programming you read need to read a datasheet and write your own device drivers.
I originally tried C using hardware debuggers and the whole 9 yards. It just took too long to get the toolchain setup and all the init required to get to a blinking LED (the helloworld of embedded). I also tried platformIO which looks very very cool but my boards weren't 100% supported. Next was the stm32 ide which helps you get a lot of the low level config off the ground but it still seemed the long way around. I also tried some of the hardware OS's like FreeRTOS but, again, not my cup of tea and "operating system" means something very different in the embedded world than what i'm use to.
i have a pi zero w and it really has my ears up too because i can run the same micropython there, can ssh to it directly, has a file system, runs linux etc. I have a really convenient pwm control board with an i2c interface so the non-realtime operating system on the pi zero isn't so much of an issue for what i do.