For many projects that require control of air pressure, the usual option is to hook up a pump, maybe with a motor controller to turn it on and off, and work with that. If one’s requirements can’t be filled by that level of equipment and control, then it’s time to look at commercial regulators. [Craig Watson] did exactly that, but found the results as disappointing as they were expensive. He found that commercial offerings — especially at low pressures — tended to leak air, occasionally reported incorrect pressures, and in general just weren’t very precise. Out of a sense of necessity he set out to design his own electronically controlled, closed-loop pressure regulator. The metal block is a custom manifold with valve hardware mounted onto it, and the PCB mounted on top holds the control system. The project logs have some great pictures and details of the prototyping and fabrication process.
This project was the result of [Craig]’s work on a microfluidics control system, conceived because he discovered that much of the equipment involved in these useful systems is prohibitively expensive for small labs or individuals. In the course of developing the electronic pressure regulator, he realized it could have applications beyond microfluidics control, and created it as a modular device that can easily be integrated into other systems and handle either positive or negative pressure. It’s especially well-suited for anything with low air requirements and a limited supply, but with a need for precise control.
The basic mechanical build involves a wooden frame, fitted with a rowing setup built around a modified bicycle wheel. The wheel has vanes attached, made of what appears to be cut sections of PVC pipe. These act essentially as dampers, using the air to create the resistance for the rower to work against.
The wheel is instrumented with a chopper wheel and an IR optical switch, which measures the rotational speed of the wheel during rowing. This signal is fed into an ATMega328 which runs the calculations on the rower’s performance. It’s all fed to a Nokia 5110 screen for display, which makes a lovely throwback for those that remember the brick fondly.
Named Heartwatch, the device is a DIY smartwatch build with a bunch of exciting features. Heart monitoring is taken care of by the MAX30102 sensor which integrates all the hardware to sense heart rate and oxygen saturation into a single tiny plastic package. There’s then an assortment of accelerometers, gyros and even a color LCD to display all the wonderful information.
It’s all wrapped up in a 3D printed case, with an ATMEGA1284 running the show. The project just goes to show how much can be achieved with an 8-bit processor – there’s not always a need to run a high-powered ARM chip for an embedded project.
If you’re really interested in aircraft and flying, there are many ways to explore that interest. There are models of a wide range of sizes and complexities that are powered and remote-controlled, and even some small lightweight aircraft that can get you airborne yourself for a minimum of expense. If you’re lucky enough to have your own proper airplane, though, and you’re really into open source projects, you can also replace your airplane’s avionics kit with your own open source one.
Avionics are the electronics that control and monitor the aircraft, and they’re a significant part of the aircraft’s ability to fly properly. This avionics package from [j-omega] (who can also be found on hackaday.io) will fit onto a small aircraft engine and monitor things like oil temperature, RPM, coolant temperature, and a wide array of other features of the engine. It’s based on an ATmega microcontroller, and has open-source schematics for the entire project and instructions for building it yourself. Right now it doesn’t seem like the firmware is available on the GitHub page yet, but will hopefully be posted soon for anyone who’s interested in an open-source avionics package like this.
What’s a hacker to do to profess his love for his dearest beloved? [Nitesh Kadyan] built his lady-love this awesome LED pendant – the LED BLE Hearty Necklace Badge.
The hardware is pretty vanilla by today’s hacker standards. An ATMega328p does most of the heavy lifting. An HM-11 BLE module provides connection to an Android mobile app. Two 74HC595 shift registers drive 16 columns of red LEDs and a ULN2803 sinks current from the 8 rows. The power section consists of a charger for the 320mAh LiPo and an LDO for the BLE module. All the parts are SMD with the passives mostly being 0603, including the 128 LEDs.
[Nitesh] didn’t get a stencil made for his first batch of boards, so all the parts were painstakingly soldered manually and not in a reflow oven. And on his first board, he ended up soldering all of the LED’s the wrong way around. Kudos to him for his doggedness and patience.
The Arduino code on the ATmega is also quite straightforward. All characters are stored as eight bytes each in program memory and occupy 8×8 pixels on the matrix. The bytes to be displayed are stored in a buffer and the columns are left shifted fast enough for the marquee text effect. The Android app is built by modifying a demo BLE app provided by Google. The firmware, Android app, and the KiCAD design files are all hosted on his Github repository.
[Nitesh] is now building a larger batch of these badges to bring them to hillhacks – the annual hacker-con for making and hacking in the Himalayas. Scheduled for later this month, you’ll have to sign up on the mailing list for details and if you’d like to snag one of these badges. To make it more interesting, [Nitesh] has added two games to the code – Tetris and Snakes. Hopefully, this will spur others to create more games for the badge, such as Pong.
As an electrical engineering student, [Brandon Rice] had the full suite of electronics tools you’d expect. Cramming them all into a dorm room was doable — but cramped — a labour to square everything away from his desk’s top when he had to work on something else. To make it easier on himself, he built himself a portable electronics workstation inside the dimensions of a briefcase.
Built from scratch, the workstation includes a list of features that should have you salivating by the end. Instead of messing with a bunch of cables, on-board power is supplied by a dismantled 24V, 6A power brick, using a buck converter and ATmega to regulate and display the voltage, with power running directly to 12V and 5V lines of a breadboard in the middle of the workstation. A wealth of components are stored in two dozen 3d printed 1″ capsules setting them in loops pinned to the lid.
Since Microchip acquired Atmel, the fields of battle have fallen silent. The Crusaders have returned home, or have been driven into the sea. The great microcontroller holy war is over.
As with any acquisition, there is bound to be some crossover between two product lines. Both Atmel’s AVR platform and Microchip’s PICs have their adherents, and now we’re beginning to see some crossover in the weird and wonderful circuitry and design that goes into your favorite microcontroller, whatever that might be. The newest part from Microchip is an ATMega with a feature usually found in PICs. This is a Core Independent Peripheral. What is it? Well, it’s kinda like a CPLD stuck in a chip, and it’s going to be in the new Arduino board.
The ATMega4809 is the latest in a long line of ATMegas, and has the features you would usually expect as the latest 8-bit AVR. It runs at 20MHz, has 48 K of Flash, 6 K of SRAM, and comes in a 48-pin QFN and TQFP packages. So far, everything is what you would expect. What’s the new hotness? It’s a Core Independent Peripheral in the form of Configurable Custom Logic (CCL) that offloads simple tasks to hardware instead of mucking around in software.
So, what can you do with Configurable Custom Logic? There’s an application note for that. The CCL is effectively a look-up table with three inputs. These inputs can be connected to I/O pins, driven from the analog comparator, timer, UART, SPI bus, or driven from internal events. The look-up table can be configured as a three-input logic gate, and the output of the gate heads out to the rest of the microcontroller die. Basically, it’s a tiny bit of programmable glue logic. In the application note, Microchip provided an example of debouncing a switch using the CCL. It’s a simple enough example, and it’ll work, but there are a whole host of opportunities and possibilities here.
Additionally, the ATMega4809, “has been selected to be the on-board microcontroller of a next-generation Arduino board” according to the press release I received. We’re looking forward to that new hardware, and of course a few libraries that make use of this tiny bit of custom programmable logic.