CircuitPython Slithers Into 100th Board — The OHS 2020 Badge

CircuitPython reached a major milestone last week as it welcomed its 100th board into the fold: the wristwatch form factored badge designed for the 10th annual Open Source Hardware Summit, which takes place March 13th in New York City. Although CircuitPython — an open source derivative of MicroPython — was born at Adafruit, more than half of the boards on this list were produced outside of the company. That just goes to show the strength of the community in support of the snake.

The OSHW 2020 badge joins a litany of familiar boards happy to drop you into a Python interpreter. Among them there’s the Adafruit Feather ecosystem, the ItsyBitsy, specialized boards like the Edge Badge that was in some goodie bags at Supercon, and the CircuitPlayground — that Swiss army knife of sensors which now comes in a Bluetooth version. The first 100 boards were rounded out in strong fashion with [Joey Castillo]’s OpenBook e-reader and the Teensy 4.0. Continue reading “CircuitPython Slithers Into 100th Board — The OHS 2020 Badge”

CircuitPython Now Working On Teensy 4.0

Python is often touted as a great language for beginner coders to learn. Until recently, however, it simply wasn’t a viable choice in the embedded space. That’s begun to change with projects like CircuitPython, and now it’s available on the Teensy 4.0!

This milestone is thanks in part to [arturo182], who did the ground work of getting CircuitPython to run on the iMX RT series of microcontrollers. This was built upon by [tannewt], who is the lead in charge of the CircuitPython project.

There are some bugs to work out; currently, the project is in a very early stage of development. [Paul Stoffregen], who heads Teensy development, has already pointed out that there needs to be allowance for the 4096 byte recovery partition in the Teensy 4.0’s storage, for example. Development continues at a rapid pace, and those with ideas about where the project should go can weigh in online.

It’s an exciting development, which brings easy Python development to one of the more powerful embedded development platforms on the market. We look forward to seeing many more projects take advantage of the power of the Teensy 4.0 moving forward. If you’re eager to see what can be done with CircuitPython, be sure to check out projects we’ve featured before. Video after the break.

Continue reading “CircuitPython Now Working On Teensy 4.0”

DIY CircuitPython Brain Snakes Into Small Spaces

Whether you’re new to electronics and programming, or you were bit-banging bare metal long before hair metal, CircuitPython is a great tool for getting a project up and working without all the fuss. The boards show up as mass storage devices, and programming consists of editing the Python file and saving it back to the board.

The only hard part about CircuitPython is trying to cram those official boards into small projects. [Kevin Neubauer] got tired of making his own board every time and came up with a slim system-on-module that has all the core functionality of CircuitPython. CircuitBrains Deluxe has regular holes for using headers, but also has castellated pads so he can solder these modules directly to a larger project PCB. [Kevin] says these are still in the testing and cost-optimization phase, but we would totally buy a few of them.

[Kevin] probably has a programming method for this module in mind already. But if you find yourself mystified by castellated pads, take a look at this pogo pin programmer built for ESP8266s. If your problem is pitch-related, maybe you can save the day with a breakout board.

Thanks to [Drew Fustini] for the tip!

CircuitPython Sculpture Clock Adds Character To Any Desk

We can probably all relate to the origin story of this one. [Alex] was working on a bigger, more involved clock project when this cute little desk clock idea caught his mind’s eye. Who wouldn’t want a clock with character and a little bit of an attitude?

This little guy’s brain is an ItsyBitsy M0 Express, and he gets his time data from an Adalogger FeatherWing RTC. Those antennae aren’t just for looks – [Alex] chose the ItsyBitsy because it can easily do capacitive touch out of the box without extra components. In the brief demo after the break, [Alex] shows how touching them triggers either an animated face or a still face before switching to the clock face.

We love functional circuit sculptures, especially ones with this much character. [Alex] was inspired by [Mohit Bhoite]’s breathtaking circuit sculptures and seems to follow his great example of laying it all out on paper first. Incidentally, our last HackChat before Supercon starred [Mohit] and his circuit sculptures. Missed it? Read the transcript here.

Continue reading “CircuitPython Sculpture Clock Adds Character To Any Desk”

Building An Open Hardware EBook Reader

On the whole, hackers aren’t overly fond of other people telling them what they can and cannot do with the hardware or software they’ve purchased. Unfortunately, it’s becoming more and more difficult to avoid DRM and other Draconian rules and limitations as time goes on. Digital “eBooks” and the devices that are used to view them are often the subject of such scrutiny, which is why [Joey Castillo] has made it his mission to develop a open hardware eReader that truly belongs to the user.

[Joey] has been working on what he calls the “The Open Book Project” for a few months now, and he’s just recently announced that the first reader has been successfully assembled and powered up. As is usually the case, a few hardware issues were identified with this initial prototype. But it sounds like the device was largely functional, and only a few relatively minor tweaks to the board layout and components should be necessary before the hardware is ready for the masses.

An earlier prototype, using the Adafruit Feather

If you’re feeling a bit of déjà vu seeing this, don’t worry. The Open Book Project has taken a somewhat circuitous path to get to this first prototype, and [Joey] had previously developed and built the “eBook Feather Wing”. While they look very similar, that earlier incarnation required an Adafruit Feather to operate and was used to help refine the firmware and design concepts that would go into the final hardware.

The Open Book is powered by a ATSAMD51N19A processor with a GD25Q16 2MB flash chip to hold the CircuitPython code, and a microSD slot to store the actual book files. It also features support for audio output via a standard 3.5 mm headset jack, an RGB status LED, and expansion ports that tap into the I2C interface for adding whatever other hardware you can dream up.

One of the most interesting aspects of this Creative Commons licensed reader is the extensive self documentation [Joey] has included on the silkscreen. Every major component on the back of the PCB has a small description of its purpose and in some cases even a breakdown of the pin assignments. The idea being that it not only makes the device easier to assemble and debug, but that it can also explain to the curious user what everything on the board does and why it’s necessary. It’s a concept that makes perfect sense given the goals of the Open Book Project, and something that we frankly would love to see more of.

[Marc Juul] presented his work on a FOSS operating system for older-model Kindles at HOPE XII as a way to avoid Orwellian monitoring of the user’s reading habits, so it’s interesting to see somebody take this idea to the next level with completely libre reader hardware. Unfortunately none of this addresses the limited availability of DRM-free eBooks, but one step at a time.

Pew Pew In The Palm Of Your Hand

It’s often said that “getting there is half the fun”, and we think that can be just as true when building hardware as it is during the roadtrip to your favorite hacker con. Many of us enjoy the process of planning, designing, and building a new gadget as much as playing with it when it’s done. We get the impression [Radomir Dopieralski] feels the same way, as he’s currently working on yet another iteration of his PewPew project.

For the uninitiated, [Radomir] has already created a number of devices in the PewPew line, which are designed to make programming games on “bare metal” easier and more approachable for newcomers by using CircuitPython.

The original version was a shield for the Adafruit Feather, which eventually evolved into a standalone device. The latest version, called the M4, includes many niceties such as a large TFT screen and an acrylic enclosure. It’s also switched over to the iconic Game Boy layout, to really drive home that classic gaming feel.

As [Radomir] explains, previous versions of the PewPew were designed to be as cheap and easy to manufacture as possible, since they were to be used in game programming workshops. But outside of that environment, they left a little something to be desired. With the M4, he’s created something that’s much closer to a traditional game system. In that respect it’s a bit like the Arduboy: you can still use it to learn game development, but it’s also appealing enough that you might just play other people’s games on it instead.

A Friendly Reminder That You Might Be In Danger

Product recalls are one of those things that most people don’t pay attention to until things get really bad. If it’s serious enough for somebody to get hurt or even die, then the media will pick it up, but most of the time they simply pass by in silence. In fact, there’s a decent chance that you own a recalled product and don’t even know it. After all, it’s not like anyone is actually watching the latest product recalls in real-time.

Well actually, there might be one guy. [Andrew Kleindolph] has created a cute and cuddly gadget using CircuitPython on the Adafruit PyPortal to display the latest release from the United States Consumer Product Safety Commission (USCPSC). In a wonderfully ironic touch, the child’s unicorn boot that the device lives in is itself a recalled product; apparently kids could pull off the “horn” and choke on it.

The PyPortal is basically built for this kind of thing, allowing you to easily whip up a display that will scrape data from whatever online source you’re willing to write the code for. All [Andrew] had to do was pair it with a battery so the boot could go mobile occasionally (we’re told they’re made for walkin’), and design some 3D printed accoutrements such as a screen bezel and charging port.

As these recalls (thankfully) don’t come out quite so fast that you need it to update more than once or twice a week, it seems like this could also be an excellent application for an Internet-connected e-ink display.