Beyond Control: The Basics Of Control Systems

Control systems are exactly what you think they are: systems designed to control something. Perhaps a better way to put it is systems design control the behavior of something. The term “control systems” does an excellent job of being vague and most of us (originally) don’t think too much about it until its brought to our attention or we crash a robotic armature into itself and investigate how that horrifying event was allowed to happened. Usually during this investigation our internal dialog has a loop running that goes something like: “why the hell will the system allow me to manipulate it in a self-destructive way!?!”

What I found was my own ignorance, I hadn’t implemented a proper control system. One could make a case claiming that I hadn’t taken ANY control system into account whatsoever. I jumped in too deep, too fast (sound familiar?) and paid the price of crashing a rotating arm into another part of the system. Luckily, a friend stepped in and repaired the arm for me and metaphorically pointed to a large neon sign on the wall and said “you can’t ignore this”. He walked over to pull the chain dangling beneath the sign, the high voltage energized the gas in the tubes blinding me with the now unavoidably obvious words: Control Systems.

Continue reading “Beyond Control: The Basics Of Control Systems”

Prototype Sodium Ion Batteries In 18650 Cells

French researchers have announced a prototype of an 18650 sodium-ion battery. If you’ve bought a powerful LED flashlight, a rechargeable battery pack, or a–ahem–stronger than usual LASER pointer, you’ve probably run into 18650 batteries. You often find these inside laptop batteries and –famously– the Tesla electric vehicle runs on a few thousand of these cells. The number might seem like a strange choice, but it maps to the cell size (18 mm in diameter and 65 mm long).

The batteries usually use lithium-ion technology. However, lithium isn’t the only possible choice for rechargeable cells. Lithium has a lot of advantages. It has a high working voltage, and it is lightweight. It does, however, have one major disadvantage: it is a relatively rare element. It is possible to make sodium-ion batteries, although there are some design tradeoffs. But sodium is much more abundant than lithium, which makes up about 0.06% of the Earth’s crust compared to sodium’s 2.6%). Better still, sea water is full of sodium chloride (which we call salt) that you can use to create sodium.

Continue reading “Prototype Sodium Ion Batteries In 18650 Cells”

Hackaday Dictionary: Bluetooth Low Energy

Bluetooth is one of the mainstays of the mobile gadget world, allowing mobile devices to communicate easily over short distances. It’s how your wireless headset talks to your cell phone without the complexity and power requirements of WIFi. In particular, the Bluetooth Low Energy (BLE) component is interesting for those who build portable gadgets, because it requires a very small amount of power. Continue reading “Hackaday Dictionary: Bluetooth Low Energy”

Amazon Dash Button Pwn3d

If you haven’t heard about the Amazon dash button yet we’re glad you quit watching cat videos and have joined us. Just to get you up to speed: the Amazon dash button is a small wireless device that lets your lazy ass order more laundry soap by pushing the “dash button” which should be affixed to something near your washing machine. The pushing of the button will set in motion the gut wrenching process that we used to know as “buying things we ran out of” but thanks to Amazon we can now just cover our entire lives with an assortment of buttons that take zero credentials to physically push. We can’t see that being a problem whatsoever.

Needless to say we as a community set out to find an actual use for these fantastic little devices. [maximus64] has done quite a nice job at enabling this hardware in a most usable way. Most of the hacks we have seen for the dash button remove the physical push button and add a sensor of some kind. Replacing the button with a sensor still uses the WiFi connection to send data from the button to the cloud. Instead of the button ordering more <<product>> from Amazon, a sensor might trigger the dash to increment a counter on your website letting you know that your dog went through the doggy door +1 more times.

[maximus64] has the dash button working in the reverse manner by porting the Broadcom IoT WICED SDK to the button. He is using the dash button as a receiver and when [maximus64] sends the “all good” signal from his laptop to the dash button his garage door opens which you can see in the video after the break. We find this extremely more useful than the dash button’s original intended use. [maximus64] has instructions in the readme.md file of the github repo so that you too can hack your dash button in this way.

Continue reading “Amazon Dash Button Pwn3d”

Audio Effects On The Intel Edison

With the ability to run a full Linux operating system, the Intel Edison board has more than enough computing power for real-time digital audio processing. [Navin] used the Atom based module to build Effecter: a digital effects processor.

Effecter is written in C, and makes use of two libraries. The MRAA library from Intel provides an API for accessing the I/O ports on the Edison module. PortAudio is the library used for capturing and playing back audio samples.

F9GW4Y4IGQFYP23.MEDIUMTo allow for audio input and output, a sound card is needed. A cheap USB sound card takes care of this, since the Edison does not have built-in hardware for audio. The Edison itself is mounted on the Edison Arduino Breakout Board, and combined with a Grove shield from Seeed. Using the Grove system, a button, potentiometer, and LCD were added for control.

The code is available on Github, and is pretty easy to follow. PortAudio calls the audioCallback function in effecter.cc when it needs samples to play. This function takes samples from the input buffer, runs them through an effect’s function, and spits the resulting samples into the output buffer. All of the effect code can be found in the ‘effects’ folder.

You can check out a demo Effecter applying effects to a keyboard after the break. If you want to build your own, an Instructable gives all the steps.

Continue reading “Audio Effects On The Intel Edison”

The Biggest Super Hexagon Fan

For those who haven’t addicted themselves to Super Hexagon yet, it’s pretty… addicting, to say the least. Normally this 80’s arcade-style game would run in a browser but some of the people at Club de Jaqueo in Buenos Aires decided to cram all of that into an Arduino. They didn’t stop there, though, and thought that it would work best with a POV display.

To navigate the intricate maze of blending a POV display with a fast-paced game like this, the group turned to the trusty Arduino Micro. After some frustration in the original idea, they realized that the game is perfectly suited for a POV display since it’s almost circular. The POV shouldn’t take up too much of the processing power of the Arduino, so most of the clock cycles can be used for playing the game. They couldn’t keep the original name anymore due to the lack of hexagon shape (and presumably copyrights and other legal hurdles), but the style of the original is well-preserved.

The group demonstrated their setup this past weekend, and the results are impressive judging by the video below. They’ve also released their source code and schematics as well, in case you have an old fan (or maybe even a bicycle?) lying around that is just begging to be turned into a mini-arcade game.

Continue reading “The Biggest Super Hexagon Fan”

UV Laser Projector Shines With Glow-in-the-Dark Vinyl

Mirror galvanometers were originally developed in the 17th century to precisely measure very small changes in current. Unlike other instruments of the day, a mirror galvanometer could clearly show minute current variations by translating tiny movements of the mirror into large movements of the light reflected off of the mirror. Before clean electrical amplification became possible, this was the best means of measuring tiny differences in current. True mirror galvanometers are very sensitive instruments, but hobby servos can be used as a low-fidelity alternative, like with this project on Hackaday.io created by [robives].

Using a mirror galvanometer is by far the most common technique for laser projection shows – it’s really the only way to move the laser’s beam quickly enough to create the visual illusion of a solid line in real time. A mirror galvanometer works by using coils to attract magnets attached to the mirror, allowing the angle of the mirror to change when current is applied to the coils. This movement is extremely small, but is amplified by the distance to the projection surface, meaning the laser’s beam can move huge distances in an instance. If you’ve ever seen a laser show, it almost certainly used this technique. But driving galvos requires a beefy DAC, so we can’t blame [robives] for wanting to keep it digital.

[robives’s] project side-steps the need for galvanometers by using glow-in-the-dark vinyl and a UV laser. The result is a laser beam trail which lasts much longer, which means that solid lines are visible without the need for high-speed galvos. A build like this lets you experiment with laser projections without dealing with sensitive mirror galvos, and instead use components that you probably already have sitting on your workbench.

Continue reading “UV Laser Projector Shines With Glow-in-the-Dark Vinyl”