Friday Hack Chat: High Speed Data Acquisition

For this week’s Hack Chat, we’re going to be talking all about High-Speed Data Acquisition. If you’ve ever needed to shove voltages, currents, logic signals, temperature, pressure, or sound into a computer, you’ve used a DAQ. If you’ve ever needed to acquire a signal at a very high speed, you’ve probably paid a lot of money for that piece of equipment.

Our guest for this week’s Hack Chat will be [Kumar Abhishek], engineering student, Hackaday Prize finalist, and creator of the very, very cool Beaglelogic, a logic analyzer for the BeagleBone. The interesting bit about the Beaglelogic is its utilization of the Programmable Real-Time Units (PRUs) found in every BeagleBone.

These PRUs are basically DMA machines, shuttling bits back and forth between memory and GPIOs. This year, [Kumar] turned the Beaglelogic cape into the Beaglelogic Standalone, a device based on the Octavo Systems OSD3358 (the ‘BeagleBone On A Chip‘) that gives those Saleae logic analyzers a run for their money.

In this Hack Chat, we’ll be discussing the PRUs found in various iterations of the BeagleBoard, how the Beaglelogic performs its data acquisition, and how programming the PRUs is actually accomplished. If you have a question for [Kumar], leave a comment on the Hack Chat page

join-hack-chatOur Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. Usually, our Hack Chats go down at noon, PDT, Friday. This one is different. Because [Kumar] is in India, we’ll be running this Hack Chat at 9:30a PST, Friday, November 17th. What time is that in India, and what time is that where you live? Who cares! Here’s a time zone converter!

Click that speech bubble to the left, and you’ll be taken directly to the Hack Chat group on Hackaday.io.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about.

We’re also looking for new Hack Chat guests! If you’ve built something cool, you’re working on an interesting project, or you’re about to introduce a really cool product, hit us up! Email our wonderful community managers, and we’ll see if we can slot you in.

Rewire Your Own Brushless Motors

Hackaday likes the idea of fine-tuning existing hardware rather than buying new stuff. [fishpepper] wrote up a tutorial on rewinding brushless motors, using the Racerstar BR1103B as the example. The BR1103B comes in 8000 Kv and 10000 Kv sizes,  but [fishpepper] wanted to rewind the stock motor and make 6500 Kv and 4500 Kv varieties — or as close to it as he could get.

Kv is the ratio of the motor’s RPM to the voltage that’s required to get it there. This naturally depends on the magnet coils that it uses. The tutorial goes into theory with the difference between Wye-terminated and Star-terminated winding schemes, and how to compute the number of winds to achieve what voltage — for his project he ended up going with 12 turns, yielding 6700 Kv and 17 turns for 4700 Kv. His tutorial assumes the same gauge wire as the Racerstar.

Just as important as the theory, however, the tutorial also covers the physical process of opening up the motor and unwinding the copper wire, cleaning the glue off the stator, and then rewinding to get the required stats.

[fishpepper]’s handle has graced Hackaday before: he created what he calls the world’s lightest brushless FPV quadcopter. In addition to motors and drones, he also rocks a mean fidget spinner.

 

Visual 3D Print Finishing Guide

With 3D printers now dropping to record low prices, more and more people are getting on the additive manufacturing bandwagon. As a long time believer in consumer-level desktop 3D printing, this is a very exciting time for me; the creativity coming out of places like Thingiverse or the 3D printing communities on Reddit is absolutely incredible. But the realist in me knows that despite what slick promotional material from the manufacturers may lead you to believe, these aren’t Star Trek-level replicators. What comes out of these machines is often riddled with imperfections (from small to soul crushing), and can require considerable cleanup work before they start to look like finished pieces.

If all you hope to get out of your 3D printer are some decent toy boats and some low-poly Pokemon, then have no fear. Even the most finicky of cheap printers can pump those out all day. But if you’re looking to build display pieces, cosplay props, or even prototypes that are worth showing to investors, you’ve got some work cut out for you.

With time, patience, and a few commercial products, you can accomplish the ultimate goal: turning a 3D printed object into something that doesn’t look like it was 3D printed. For the purposes of this demonstration I’ll be creating a replica of the mobile emitter used by the “Emergency Medical Hologram” in Star Trek: Voyager. I can neither confirm nor deny I selected this example due to the fact that I’m currently re-watching Voyager on Netflix. Let’s make it look good.

Continue reading “Visual 3D Print Finishing Guide”

Homebrew SNES Mini Aims For Historical Accuracy

While “normies” are out fighting in the aisles of Walmart to snap up one of the official “Classic Mini” consoles that Nintendo lets slip out onto the market every once and awhile, hackers have been perfecting their own miniature versions of these classic gaming systems. The “Classic Mini” line is admittedly a very cool way to capitalize on nostalgic masses who have now found themselves at the age where they have disposable income, but the value proposition is kind of weak. Rather than being stuck with the handful of generation-limited games that Nintendo packed into the official products, these homebrew consoles can play thousands of ROMs from systems that stretch across multiple generations and manufacturers.

But for those old enough to remember playing on one of these systems when they first came out, these modern reincarnations always lack a certain something. It never feels quite right. That vaguely uncomfortable feeling is exactly what [ElBartoME] is aiming to eliminate with his very slick miniature SNES build. His 3D printed case doesn’t just nail the aesthetics of the original (PAL) console, but the system also uses real SNES controllers in addition to NFC “cartridges” to load different ROMs.

The project’s page on Thingiverse has all the wiring diagrams and kernel configuration info to get the internal Raspberry Pi 3 to read an original SNES controller via the GPIO pins. He also gives a full rundown on the hardware and software required to get the NFC-enabled cartridges working with EmulationStation to launch the appropriate game when inserted. Though he does admit this is quite a bit trickier than the controller setup.

[ElBartoME] has put a video up on YouTube that shows him inserting his mock cartridges and navigating the menus with an original SNES controller. If it wasn’t for the fact that the console is the size of a smartphone and the on-screen display is generations beyond what the SNES could pull off, you’d think he was playing on the real thing.

We’ve seen some incredibly impressive emulation boxes based on the Raspberry Pi, and builds which tried to embrace original hardware components, but this particular project may represent the best of both worlds.

Continue reading “Homebrew SNES Mini Aims For Historical Accuracy”

Automated Chamber Passes Just The Right Gas

It sounds like an overly complicated method a supervillain would use to slowly and painfully eliminate enemies — a chamber with variable oxygen concentration. This automated environmental chamber isn’t for torturing suave MI6 agents, though; rather, it enables cancer research more-or-less on the cheap.

Tasked with building something to let his lab simulate the variable oxygen microenvironments found in some kinds of tumors, [RyanM415] first chose a standard lab incubator as a chamber to mix room air with bottled nitrogen. With a requirement to quickly vary the oxygen concentration from the normal 21% down to zero, he found that the large incubator took far too long to equilibrate, and so he switched to a small acrylic box. Equipped with a mixing fan, the smaller chamber quickly adjusts to setpoints, with an oxygen sensor providing feedback and controlling the gas valves via a pair of Arduinos. It’s quite a contraption, with floating ball flowmeters and stepper-actuated variable gas valves, but the results are impressive. If it weren’t for the $2000 oxygen sensor, [RyanM145] would have brought the whole project in for $500, but at least the lab can use the sensor elsewhere.

Modern biology and chemistry labs are target-rich environments for hacked instrumentation. From DIY incubators to cheap electrophoresis rigs, we’ve got you covered.

Continue reading “Automated Chamber Passes Just The Right Gas”

This Weekend: Vintage Computer Festival Zurich

This weekend, November 18th and 19th, the greatest vintage computer conference in Europe is going down. It’s the Vintage Computer Festival Europe, and if you’re around Zurich this weekend, we highly recommend that you check it out.

On deck for this year’s VCF Europe is an incredible amount of amazing retrotechnology. A demonstration of high-resolution graphics without using computer memory will be found in a few Tektronix storage tube terminals (their Wikipedia entry is phenomenal, by the way). There will be a few Olivetti microcomputers on display demonstrating Italy’s contribution to the computer revolution. A PDP 6 will be recreated, and a 1964 IBM 360/30 will be revived. There will be discussions on using logarithms as a basis for computers. [Oscar], creator of the PiDP-8/I will be bringing his latest project, an exquisite miniature recreation of a PDP-11/70, with a molded enclosure and purple toggle switches.

This is a retrocomputer conference where an Apple I is the least interesting computer on display, an extremely difficult feat to pull off. VCFe will be held at Rote Fabrik in Zurich, and tickets are five units of the local currency per day. You can check out the festival on Twitter, Google+, and the main website.

Build One, Get Two: CPLD And STM32 Development On A Single Board

Programmable logic devices have claimed their place in the hobbyist world, with more and more projects showing up that feature either a CPLD or their bigger sibling, the FPGA. That place is rightfully earned — creating your own, custom digital circuitry not only adds flexibility, but opens up a whole new world of opportunities. However, this new realm can be overwhelming and scary at the same time. A great way to ease into this is combining the programmable logic with a general purpose MCU system that you already know and are comfortable with. [Just4Fun] did just that with the CPLD Fun Board, a development board connecting an Arduino compatible STM32F103 Cortex-M3 controller to an Altera MAX II CPLD.

The PCB itself has some standard development board equipment routed to the CPLD: LEDs, buttons, a seven-segment display, and additional GPIO. The rest of the CPLD’s pins are going straight to the STM32 and its SPI, I2C and UART pins. Let’s say you want to create your own SPI device. With the CPLD Fun Board, you can utilize all the pre-existing libraries on the STM32 and fully focus on the programmable logic part. Better yet, every connection from MCU to CPLD has its own pin header connection to attach your favorite measurement device for debugging. And in case you’re wondering — yes, you can attach external hardware to those connectors by setting either MCU or CPLD pins to Hi-Z.

The downside of all this is the need for proprietary design software and a dedicated programmer for the CPLD, which sadly is the everyday reality with programmable logic devices. [Just4Fun] did a great job though writing up a detailed step-by-step tutorial about setting up the environment and getting started with the board, but there are also other tutorials on getting started with CPLDs out there, in case you crave more.