4 ms·
Loved the article, but loved even more to learn about MicroPython. As an amateur programmer that has never actually physically handled hobby micro-controller t
by glaberficken 7y ago
Loved the article, but loved even more to learn about MicroPython.
As an amateur programmer that has never actually physically handled hobby micro-controller type boards, but has read a lot about them, it was amazing to be able to try out the emulator at https://micropython.org/unicorn/ https://micropython.org/unicorn/
Make the leds blink, see how servo control works etc, all in the browser without having to actually buy any hardware! I had never seen anything like this.
Would love if others could point me to more advanced emulators of hardware micro controllers (if there is such a thing!)
- Legogris 7y agoNot exactly what you're asking for, but you may enjoy Shenzhen I/O and other titles from Zachtronics: http://www.zachtronics.com/shenzhen-io/ http://www.zachtronics.com/shenzhen-io/
- glaberficken 7y agoyeah good tip =) i already knew them but thanks anyway!
- leggomylibro 7y agoMicroPython is fantastic for education and rapid prototyping with hardware - definitely try it out! It can be difficult to make complex long-running applications because of post-GC memory fragmentation and frequent dynamic allocations by the VM, but the Python syntax makes it all worthwhile. It also has a supportive and friendly community where it's easy to get support, and the official 'PyBoards' are great. MakeCode is also similar to what you describe - check out Adafruit's Blockly/JS simulator: https://makecode.adafruit.com/ https://makecode.adafruit.com/ Note that CircuitPython is Adafruit's fork which focuses more on education than industrial prototyping. So even within the embedded Python ecosystem, you have options. Embedded development is so easy these days, it is just fantastic. The barrier to entry, in both cost and complexity, is so low now that just about anyone can apply physical automation to the problems that they see in their life and community. I'm excited to see what emerges in the next couple of decades.
- m-ee 7y agoWe've made some pretty capable hardware at my job on top of the pyboard/micropython. We've outgrown it in certain cases but it's really powerful being able to build something for potential critical business needs (like one off testing platforms) without spending weeks rewriting drivers.
- glaberficken 7y agoThanks for the Adafruit tip. My 9yo daughter is learning scratch, so the block based programming is going to be great to try out with her.
- coupdejarnac 7y agoHardware is so cheap and accessible these days, just get an Arduino board. There are lots of kits available with sensors and actuators, and it's all so easy to use it's like building with Legos.
- stinos 7y agoIf you've never tried Python including a REPL for whatever project you'd use Arduino for it's definitely worth giving a shot. Different kind of game than C.
- Dontrememberit 7y agoToday an esp32 is more bang for your buck. 80mhz dual core, has wifi and bluetooth, and so on Edit: and you can program it with the arduino IDE