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.
[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]!
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.
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.
SMD solder stencil for the LEDs
A hot plate was available for those who were not cool enough to solder 22 smd LEDs
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.
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.
[Anthony Pray] had his car stereo stolen. When thinking about replacing it he realized the he and his wife never used it for anything other than an Auxiliary connection to play songs from their cellphones. So instead of buying a head unit he pulled an unused home audio amplifier out of a dark corner of his house and wired it to the car speakers. Problem solved, except that the under-dash installation meant the only volume control is on the phone playing the audio. He decided to build a wireless audio controller that would let him send commands to the phone without quite as much distraction from the road.
The device you see above is his creation. What a beauty. But seriously, it’s so random and hacked together how can you not love it? And, it works!
The frame is made from plastic coat hangers, and the wheel is an old RC control knob. There’s even a play/pause feature built from the clicking properties of a retractable ball-point pen. A Cypress PSoC board reads the knob and pen positions, then pushes commands via a Bluetooth module in order to control the phone. He recorded a testing video (after the break) which gives you a better look at the functionality of this setup. Continue reading “The Rube-Goldberg of car audio”→