Posts with «micropython» label

Arduino Brings A MicroPython IDE

Both Arduino and MicroPython are giants when it comes to the electronics education area, and each one of them represents something you can’t pass up on as an educator. Arduino offers you a broad ecosystem of cheap hardware with a beginner-friendly IDE, helped by forum posts explaining every single problem that you could and will stumble upon. MicroPython, on the other hand, offers a powerful programming environment ripe for experimentation, and doesn’t unleash a machine gun fire of triangle brackets if you try to parse JSON slightly incorrectly. They look like a match made in heaven, and today, from heaven descends the Arduino Lab for MicroPython.

This is not an Arduino IDE extension – it’s a separate Arduino IDE-shaped app that does MicroPython editing and uploads code to your board from a friendly environment. It works over a serial port, and as such, the venerable ESP8266-based boards shouldn’t be be left out – it even offers file manager capabilities! Arduino states that this is an experimental effort – it doesn’t yet have syntax checks, for instance, and no promises are made. That said, it already is a wonderful MicroPython IDE for beginner purposes, and absolutely a move in the right direction. Want to try? Download it here, there’s even a Linux build!

High-level languages let you build projects faster – perfect fit for someone getting into microcontrollers. Hopefully, what follows is a MicroPython library manager and repository! We’ve first tried out MicroPython in 2016, and it’s come a long way since then – we’ve seen quite a few beginner-friendly MicroPython intros, from a gaming handheld programming course, to a bipedal robot programming MicroPython exploration. And, of course, you can bring your C libraries with you.

Jean-Luc PYcARD is a Pocketable Python Development Platform

It’s a good thing that a ridiculous pun and a screenprint of Jean-Luc Picard on the bottom of the board is enough to qualify for the 2017 Hackaday Sci-Fi Contest, because [bobricius]’s Python-plus-Arduino card and environmental sensor potpourri is very cool.

The PCB design itself is great. It’s got a gigantic LED array, cutout for a wrist strap, and an onboard USB plug so you can program it just by sticking it in your computer; it shows up as a USB mass storage device when you plug it in. The files that show up on the “drive” are Micropython code that you can edit, save, and then run directly on the device. You can hardly beat that for convenience.

And there’s a full complement of sensors: not one but two temperature and humidity sensors, including our recent favorite BME280, which also reads barometric pressure. (We suspect that makes it a tri-corder.) There’s a real-time clock, a buzzer, and some buttons. Want to add more sensors? I2C ports are broken out for your convenience.

Besides having Star Trek flair, this board would give the various educational platforms a run for their money: Micro:bit, we’re looking at you. Very cool indeed!


Filed under: Microcontrollers

Pico-Kubik Quadruped Fits in the Palm of your Hand

Most of the legged robots we see here are of the hexapod variety, and with good reason. Hexapods are very stable and can easily move even if one or more of the legs has been disabled. [Radomir] has taken this a step farther and has become somewhat of an expert on the more technically difficult quadruped robot, building smaller and smaller ones each time. He has been hard at work on his latest four-legged creation called the Pico-Kubik, and this one will fit in the palm of your hand.

The Pico-Kubik runs Micropython on a VoCore board, which allows for it to have a small software footprint to complement its small hardware footprint. It accomplishes the latter primarily through the use of HK-282A Ultra-Micro Servos, an Arduino Pro Mini, and a tiny lithium ion battery. It’s still a work in progress, but the robot can already crawl across the tabletop.

This isn’t [Radomir]’s first time at the tiny quadruped rodeo, either. He has already built the Nano-Kubik and the µKubik, all of which followed the first (aptly-named) Kubik quadruped. Based on the use of SI prefixes, we can only assume the next one will be the hella-Kubik!


Filed under: robots hacks