Cheap PSoC Enables Electrochemistry Research

You may think electrochemistry sounds like an esoteric field where lab-coated scientists labor away over sophisticated instruments and publish papers that only other electrochemists could love. And you’d be right, but only partially, because electrochemistry touches almost everything in modern life. For proof of that look no further than your nearest pocket, assuming that’s where you keep your smartphone and the electrochemical cell that powers it.

Electrochemistry is the study of the electrical properties of chemical reactions and does indeed need sophisticated instrumentation. That doesn’t mean the instruments have to break the grant budget, though, as [Kyle Lopin] shows with this dead-simple potentiostat built with one chip and one capacitor. A potentiostat controls the voltage on an electrode in an electrochemical cell. Such cells have three electrodes — a working electrode, a reference electrode, and a counter electrode. The flow of electrons between these electrodes and through the solutions under study reveal important properties about the reduction and oxidation states of the reaction. Rather than connect his cell to an expensive potentiostat, [Kyle] used a Cypress programmable system-on-chip development board to do everything. All that’s needed is to plug the PSoC into a USB port for programming, connect the electrodes to GPIO pins, and optionally add a 100 nF capacitor to improve the onboard DAC’s accuracy. The video below covers the whole process, albeit with a barely audible voiceover.

Still not sure about electrochemistry? Check out this 2018 Hackaday Prize entry that uses the electrochemistry of life to bring cell phones back to life.

Continue reading “Cheap PSoC Enables Electrochemistry Research”

Custom Gaming Keypad Developed with PSoC and Fusion 360

There was a time when building something yourself probably meant it didn’t look very much like a commercial product. That’s not always a bad thing. We’ve seen many custom builds that are nearly works of art. We’ve also seen plenty of builds that are–ahem–let’s say were “hacker chic”.

[AlexanderBrevig] decided to take on a project using a PSoC development board he picked up. In particular, he wanted to build a custom game keypad. He prototyped a number of switches with the board and got the firmware working so that the device looks like a USB HID keyboard.

Continue reading “Custom Gaming Keypad Developed with PSoC and Fusion 360”

PSoC VGA on a $10 Development Board

We’ve always found the Cypress PSoC an interesting beast. It’s a CPU with functional blocks that you can configure to build various I/O devices, including incorporating FPGA logic using Verilog. [MiguelVP] has an excellent multi-part project that produces VGA output from a PSoC. So far it just generates a fixed pattern, but a frame buffer is in the works, and there is plenty of detail about how to configure the PSoC for the task.

Although the PSoC has some analog capability, [MiguelVP] uses a cheap R2R DAC and VGA connector to interface to the VGA monitor. You can get the same PSoC board the project uses for about $10. The software, unfortunately, is Windows-only, so be prepared to fire up a virtual machine if you run Linux or Mac. Our own [Bil Herd] did a video introduction to PSoC that you can watch after the break.

Continue reading “PSoC VGA on a $10 Development Board”

Hacking Cheap Chinese PID Temperature Controllers

[Harvs] hacked a cheap PID controller he found on eBay to improve its performance. The controller originally used a K-type thermocouple but lacked cold junction compensation. As thermocouples only provide a differential measurement between the measurement junction and cold junction, this meant the controller was assuming the cold junction was at room temperature, and would in many cases be significantly inaccurate. The system also used a no-name brand Chinese microcontroller making firmware hacks impractical.

[Harvs] decided that even with cold junction compensation a K-type thermocouple wasn’t ideal for his application anyway, and designed a replacement PCB to interface to the display and power supply. The new PCB is based around a Cypress PsoC (a popular choice for its great analog functionality) with a DS18B20 temperature sensor. At the lower temperature ranges [Harvs] is interested in the DS18B20 is far more accurate and easy to use than the thermocouple.

Though the project hasn’t been updated recently, [Harvs] was planning on adding an ESP8266 for remote monitoring and control. Great work [Harvs]!

Thanks to Peter for the tip.

LayerOne Hardware Hacking Village

Go to DEFCON and you’ll stand in line for five hours to get a fancy electronic badge you’ll be showing to your grandchildren some day. Yes, at DEFCON, you buy your hacker cred. LayerOne is not so kind to the technically inept. At LayerOne, you are given a PCB, bag of parts, and are told to earn your hacker cred by soldering tiny QFP and SOT-23 chips by hand. The Hardware Hacking Village at LayerOne was packed with people eagerly assembling their badge, or badges depending on how cool they are.

The badges are designed by [charlie x] of null space labs, one of the many local hackerspaces around the area. The design and construction of these badges were documented on the LayerOne Badge project on hackaday.io, and they’re probably best con badges we’ve ever seen.

There are two badges being distributed around LayerOne. The first is an extremely blinkey badge with a Cypress PSoC4 controlling 22 individually addressable RGB LEDs. Most conference attendees received a bare PCB and a bag of parts – the PCB will get you in the door, but if you want your nerd cred, you’ll have to assemble your own badge.

There are still a few interesting features for this badge, including an ESP8266 module that will listen to UDP packets and drive the LEDs. Yes, a random person on the same WiFi AP can control the LEDs of the entire conference event. The badges can also be chained together with just three wires, but so far no one has done this.

vocore
The Speaker and Staff badge, based on a VoCore

The second badge – for speakers and staff – is exceptionally more powerful. It’s a Linux box on a badge with two Ethernet connectors running OpenWRT. For a con badge, it’s incredibly powerful, but this isn’t the most computationally complex badge that has ever been at a LayerOne conference. For last year’s badge, [charlie] put together a badge with an FPGA, SAM7 microcontroller, SD card, and OLED display. They were mining Bitcons on these badges.

The Hardware Hacking Village was loaded up with a dozen or so Metcal soldering irons, binocular microscopes, and enough solder, wick, and flux to allow everyone to solder their badge together. Everyone who attempted it actually completed their badge, and stories of badge hacking competitions at other cons were filled with tales of people sprinkling components on random solder pads. Imagine: a conference where people are technically adept. Amazing.

Cypress Launches $5 ARM Dev Board

We do love new development boards at Hackaday, and it’s always nice to see companies providing cheap tools for their products. For those needing a cheap ARM solution, Cypress has just released a PSoC based board that’ll cost you less than $5.

There’s two main ICs on the development board. The first is the target: an ARM Cortex M0+ based PSoC 4 MCU. The second is a CY7C65211 USB bridge. This device is communicates with the target’s built in bootloader for flashing code.

The bridge can also be configured to talk UART, GPIO, I2C or SPI.  If you need a USB to serial converter, this part of the board could be worth $5 alone.

The PSoC 4 target happens to be similar to the one our own [Bil Herd] used in his Introduction to PSoC video. If you’re looking to get into PSoC, [Bil] provides a good introduction to what makes these chips unique, and how to get started.

TIQ Probe is More Logical than Most

 

We had [Mark] on our “dance card” for people to find at Maker Faire. But before we could track him down he bumped into us holding the TIQ Probe in one hand and a testing box in the other. TIQ is conceived in the form factor of a traditional logic probe but thanks to the Cypress PSoC 5LP inside it’s much, much smarter than the decades-old bench tools. Sure, it can tell you if that uC pin is a 1 or a 0, but it can also detect what type of signal it’s probing and has built-in protection for over-voltage.

The point of the tool is to bridge the gap between things which would be measured with a DMM and those measured with a proper Oscilloscope. We think he did a pretty good job of including the things that someone just starting out without expensive bench equipment might want. For instance, you can set it to trigger on common data protocols like i2c, and use the probe itself as a rudimentary pulse generator.

The bulk of the details on the probe can be found on its Kickstarter page (which has just a few days left). You may also be interested in his company page. We’re curious about the insides of the test rig he was hauling around. [Mark] is a regular reader so hopefully he’ll leave a comment below with the details of that black box.