Next Weekend: Beginner Solar Workshop

Next week, Hackaday is hosting a workshop for all you hackers ready to harness the power of the sun. We’re doing a Beginner Solar Workshop at Noisebridge in San Francisco. You’re invited to join us on July 7th, we’ll provide the soldering irons.

The instructor for this workshop will be [Matt Arcidy], avid Hackaday reader and member of Noisebridge. He’s contributed to the incredible Noisebridge Gaming Archivists Live Arcade Cabinet, given talks on electronic components for the Arduino ecosystem, and now he’s hosting a workshop on the basics of solar charging.

This workshop will cover the theory of solar charging, how solar cells convert light into electricity, when and where this technology is appropriate, and the safe handling of lithium-ion batteries. At the end of the workshop, every attendee will have built a system that captures power from the sun and charges a battery, ready to be used in any future projects.

This is a big deal. Right now, the Hackaday Prize is in the middle of its third challenge, the Power Harvesting Module Challenge. This is a big part of the prize, and already there are some fascinating projects which harvest electricity from stomach acid, and even the gravitational potential of the Earth. Of course, some of those are more practical than others, and we’re really interested to see where this Power Harvesting Challenge goes and what great projects will be created.

Tiny Printers Get Color Mixing

Last weekend was the inaugural East Coast RepRap Festival in beautiful Bel Air, Maryland. Like it’s related con, the Midwest RepRap Festival, ERRF is held in the middle of nowhere, surrounded by farms, and is filled with only people who want to be there. It is the anti-Maker Faire; only the people who have cool stuff to show off, awesome prints, and the latest technology come to these RepRap Fests. This was the first ERRF, and we’re looking forward to next year, where it will surely be bigger and better.

One of the stand-out presenters at ERRF didn’t have a big printer. It didn’t have normal stepper motors. There weren’t Benchies or Marvins or whatever the standard test print is these days. [James] is showing off tiny printers. Half-scale printers. What’s half the size of a NEMA 17 stepper motor? A NEMA 8, apparently, something that isn’t actually a NEMA spec, and the two companies that make NEMA 8s have different bolt hole patterns. This is fun.

If these printers look familiar, you’re right. A few years ago at the New York Maker Faire, we checked out these tiny little printers, and they do, surprisingly, print. There are a lot of tricks to make a half-size printer, but the most impressive by far is the tiny control board. This tiny little board is just 2.5 by 1.5 inches — much smaller than the standard RAMPS or RAMBO you’d expect on a DIY printer. On the board are five stepper drivers, support for two heaters, headers for OLEDs and Graphic LCDs, and a switching regulator. It’s a feat of microelectronics that’s impressive and necessary for a half-size printer.

Since we last saw these tiny printers, [James] has been hard at work expanding what is possible with tiny printers. The most impressive feat from this year’s ERRF was a color-mixing printer built around the same electronics as the tiny printers. The setup uses normal-size stepper motors (can’t blame him) and a diamond-style hotend to theoretically print in three colors. If you’ve ever wanted a tiny printer, this is how you do it, and I assure you, they’re very, very cute.

Improving Indoor Navigation Of Robots With IR

If the booths at CES are to be believed, the future is full of home robots: everything from humanoid robots on wheels to Alexas duct taped to a Roomba. Back in reality, home robots really aren’t a thing yet. There’s an obvious reason for this: getting around a house is hard. A robot might actually need legs to get up and down stairs, and GPS simply doesn’t exist indoors, at least to the accuracy needed. How on Earth does a robot even navigate indoors?

This project for the Hackaday Prize solves the problem of indoor navigation, and it does it in an amazingly clever way. This is using QR codes for navigation, but not just any QR codes. They’re QR codes read by an infrared camera, and painted on the walls and ceilings with a special IR sensitive paint that’s invisible to the human eye. It’s navigation for robotic vision, and it’s a fantastic idea.

The basic idea behind this project is to use an IR camera — or basically any webcam with the IR blocking filter removed — and a massive amount of IR LEDs to illuminate any target. So far, the proof of concept works. A computer can easily read QR codes, and if paint is invisible to the human eye but visible to an IR camera, the entire project is merely a matter of implementation.

There have been a number of projects that try to add indoor navigation to robots. Some of them use LIDAR, some use computer vision and SLAM. These are computationally expensive. Some even use wireless beacons to navigate indoors like the SubPos Ranger from the 2016 Hackaday Prize. Using IR and QR codes is just so simple and hacker-friendly, and we think it’s fantastic.

Controlling Robotics Visually

The world — and the Hackaday Prize — is filled with educational robots. These are small, wheeled robots loaded up with sensors, actuators, a few motor drivers, and some sort of system that is easy to program. The idea behind these educational robots is to give students an easy-to-use platform to test out code, learn inverse kinematics, and realize odometry is a lot harder than you think it is. Give these kids some time and patience, and you’ll have a fleet of Battlebots at the end of the semester, if the teacher is cool.

But there’s a problem with all educational robots. The programming. For someone just starting out in robotics club, being able to code isn’t a guarantee. You need an easy to use programming interface. This project for the Hackaday Prize gives all students a great visual programming interface. It’s basically like the first generation of Lego Mindstorms, only you don’t need a weird IR tower attached to a serial port.

Of course you can’t program a robot without a board, and this project brings it in spades. The brain for this platform is built on an ARM microcontroller, has Bluetooth, supports up to six DC motors, twelve analog inputs, PWM and serial ports, and all the ports are color-coded for kids who can’t read so good.

This is a visual programming environment, though, and with that, you get a fancy IDE filled with loops that wrap around commands, IO access that’s in easy to read blocks, and control software that gives students a dashboard filled with buttons and odometers and the video feed from the camera. It’s a great Hackaday Prize entry, and an excellent way to introduce kids to robotics.

Adding Smarts To Dumb Brushed Motors

A big part of the Hackaday Prize this year is robotics modules, and already we’ve seen a lot of projects adding intelligence to motors. Whether that’s current sensing, RPM feedback, PID control, or adding an encoder, motors are getting smart. Usually, though, we’re talking about fancy brushless motors or steppers. The humble DC brushed motor is again left out in the cold.

This project is aiming to fix that. It’s a smart motor driver for dumb DC brushed motors. You know, the motors you can buy for pennies. The motors that are the cheapest way to add movement to any project. Those motors.

The Smart Motor Driver for Robotics allows a DC brushed motor to be controlled by a host microcontroller over I2C, and sends back the speed and direction of the motor. PID is implemented, and the motor can maintain its own speed, independently of a lot of difficult control on the host system.

The guts of this motor controller are made of a PIC 12F microcontroller, a H-bridge motor driver, a Hall-effect sensor, and a neat magnetic encoder disc. Ultimately, this project will simply bolt onto the back of a cheap brushed motor and give it the same capabilities as a fancy servo or stepper. It’s never going to have the same torque or power handling as a beefy NEMA 17 stepper, but sometimes you don’t need that, and a simple brushed motor will do. A great project, and an excellent entry for the Hackaday Prize.

SiFive Releases Smaller, Lower Power RISC-V Cores

Today, SiFive has released two new cores designed for the lower end of computing. This adds to the company’s existing portfolio of microcontrollers and SoCs based on the Open RISC-V ISA. Over the last two years, SiFive has introduced a number of cores based on the RISC-V ISA, an Open Architecture ISA that gives anyone to design and develop a microcontroller or microprocessor platform. These two new cores fill out the low-power end of SiFive’s core portfolio.

The two new cores included in the announcement are the SiFive E20 and E21, both meant for low-power applications, and according to SiFive presentations, they’re along the lines of an ARM Cortex-M0+ and ARM Cortex-M4. This is a core — it’s not a chip yet — but since the introduction of SiFive’s first microcontrollers, many companies have jumped on the RISC-V bandwagon. Western Digital, for example, has committed to using the RISC-V architecture in SoCs and as controllers for hard drive, SSDs, and NASes.

The first chip from SiFive was the HiFive 1, which was based on the SiFive E31 CPU. We got our hands on the HiFive 1 early last year, and it is a beast. With the standard complement of benchmarks, in terms of raw power, it’s approximately twice as fast as the Teensy 3.6, based on the Kinetis K66, a 180 MHz ARM Cortex-M4F. The SiFive E31 is about 1.5 times as fast as the Teensy 3.6 on a pure calculations per clock basis. This is remarkable because the Teensy 3.6 is our go-to standard for when you want to toggle pins really really fast with a cheap, readily available microcontroller platform.

But sometimes you don’t need the fastest or best microcontroller. To that end, SiFive is looking toward a lower-power microcontroller based on the RISC-V core. The new offerings are built on the E2 Core IP series, with two standard cores. The E21 core provides mainstream performance for microcontrollers, and the E20 core is the most power-efficient core offered by SiFive. In effect, the E21 core is a replacement for the ARM Cortex-M3 and Cortex-M4, while the E20 is a replacement for the ARM Cortex-M0+.

Just a few months ago, SiFive released a gigantic, multicore, Linux-capable processor called the HiFive Unleashed. With support for DDR4 and Gigabit Ethernet, this chip would be more at home in a desktop than an Internet of Things thing. The most popular engine ever produced isn’t a seven-liter turbo diesel, it’s whatever goes into a Honda econobox; likewise, many more low-power microcontrollers like the Cortex-M0 and -M3 are sold than the newer, more powerful, and more expensive chips. Even though it’s not as exciting as a new workstation CPU, the world needs microcontrollers, and the more Open, the better.

Hackaday Links Column Banner

Hackaday Links: June 24, 2018

What do you do if you’re laying out a PCB, and you need to jump over a trace, but don’t want to use a via? The usual trick is using a zero Ohm resistor to make a bridge over a PCB trace. Zero Ohm resistors — otherwise known as ‘wire’ — are a handy tool for PCB designers who have backed themselves into a corner and don’t mind putting another reel on the pick and place machine. Here’s a new product from Keystone that is basically wire on a tape and reel. It’s designed to jump traces on a PCB where SMD zero ohm resistors and through-hole jumpers aren’t possible. I suppose you could also use it as a test point. They’re designed for high current applications, but before we get to that, let’s consider how much power is dissipated into a zero ohm resistor.

By the way, as of this writing, Mouser is showing 1,595 for Keystone’s 5100TR PCB jumpers in stock. They come on a reel of 1,000, and a full reel will cost you $280. This is significantly more expensive than any SMD zero ohm resistor, and it means someone bought four hundred of them. The electronic components industry is weird and you will never understand it.

There’s a new product from ODROID, and you want it. The ODROID-GO is a Game Boy and Sega Master System emulator running on an ESP-32, has a fantastic injection molded case, and looks phenomenal.  You can buy it now for $32. Does this sound familiar? Yes, a few months ago, the PocketSprite was released. The PocketSprite is the tiniest Game Boy ever, and a project [Sprite_TM] introduced to the world at the 2016 Hackaday Superconference.

This week, the speaker schedules for two awesome cons were announced. The first is HOPE, at the Hotel Penn on July 20th. Highlights of this year? [Mitch Altman] is talking about DSP, [Chelsea Manning] will be on stage, someone is talking about HAARP (have fun with the conspiracy theorists), and someone is presenting an argument that [Snowden] is an ideological turd. The speaker schedule for DEF CON was also announced. The main takeaway: god bless the CFP board for reigning in all the blockchain talks, the Nintendo Switch was broken wide open this year, but there’s only a talk on the 3DS, and there’s more than enough talks on election hacking, even though that was a success of propaganda instead of balaclava-wearing hackers.

The C.H.I.P. is no more, or at least that’s the rumor we’re running with until we get some official confirmation. When it was introduced, the C.H.I.P. was a Linux system on a chip with complete register documentation. It appears the end of C.H.I.P. is upon us, but have no fear: there’s a community building the PocketC.H.I.P., or the C.H.I.PBeagle. It’s a single board computer based around the OSD3358 from Octavo, the same system found in the PocketBeagle. Source in KiCAD, and people are working on it. Thanks [smerrett79] for the tip.