Simplifying Basic LED Effects

There was a time when having a blinking blue LED on a project was all you needed to be one of the cool kids. But now you need something more complex. LEDs should not just snap on, they should fade in and out. And blinking? Today’s hotness is breathing LEDs. If that’s the kind of project you want, you should check out [jandelgado’s] jled library.

At first glance, an Arduino library for LED control might seem superfluous, but if you are interested in nice effects, the coding for them can be a bit onerous. If you don’t mind stopping everything while you fade an LED on (or off) then sure, you just write a loop and it is a few lines of code. But if you want to have it happen while other things continue to execute, it is a little different. The library makes it very simple and it is also nicely documented.

Continue reading “Simplifying Basic LED Effects”

Cigar Box Synth Is A Fun Time

It’s fair to say that the groovebox market has exploded. Store shelves are overflowing with the umpteenth releases from KORG’s Volca line and the latest Pocket Operators. These devices often feature a wide array of tones in an enticingly compact and attractive package, but is it possible to build something similar at home? As [lonesoulsurfer] relates, it certainly is.

The Cigar Box Synth is, well… a synth, built in a cigar box. Based upon a 555 & 556 timer, and a 4017 decade counter, it provides a wealth of beepy goodness all crammed into a neat wooden package. We dig the cigar box form factor, as it’s a readily available wooden box often finished in an attractive way, and readily reworkable for all kinds of projects.

Sound is controlled with three master potentiometers, and there are four separate potentiometers to set the note for each of the four steps in the sequence. While its melodic abilities are limited to just four notes, it’s certainly something fun to play with and can act as a great jumping off point for further electronic experimentation in this area.

It takes us back to our guide on building DIY logic-based synthesizers – read on!

ESP8266 Uses LiFi To Get On WiFi

Connecting your shiny new ESP8266 to WiFi can be as simple or as complicated as you please. Most people decide to manually add it. Some people find clever ways to make the bloody thing connect itself. [Eduardo Zola] transfers his WiFi password using the flashing light of a smartphone screen.

A simple photo-resistor and a bit of tinkering allows him to easily send credentials — or any data really — to his ESP8266, through the power of LiFi. Short for Light Fidelity, LiFi transmits data using light with on and off states representing digital values. It can use visible light, or reach into either the ultraviolet or infra-red radiation if need be. For the nitty-gritty details on the subject, check out our primer on LiFi.

 A flashing LCD screen and a photo-resistor barely make the cut for a one-way LiFi system, but [Eduardo Zola] makes it work. The approach is to build a resitor divider and watch an input pin on the ESP for changes.

The trick is to keep ambient light out of the mix. The test sensor shown here places the LDR in a black cap, but [Eduardo] 3D-Printed a slick little enclosure for his reverse flashlight so it fits flush with the phone screen. One click and about half a minute of a flashing screen later, and the Wi-Fi credentials are transferred. This circuit could really be added onto any project, for short data transfers. With a bit more work on the sensor circuit, speed could be improved with the limiting factor being the timing on the phone screen itself.

Since the ESP8266 has its own WiFi connection, it’s likely you’ll use that for data transfer once the LiFi gets it onto the network. But any situation where you don’t have a full user input or a network connection could benefit from this. Pull out that old scrolling LED matrix project and add this as a way to push new messages to the device!
Continue reading “ESP8266 Uses LiFi To Get On WiFi”

VCF East 2018: Cactus, Retro Because It Wants To Be

Among the rows of digital dinosaurs, one blinking front panel stood out. It certainly looked the part of a retro computer; with banks of blinking LEDs and multicolored paddle switches. But upon closer inspection, the laser cut wooden front panel betrays the fact that this machine is an impostor. It may have the appearance of a machine from the heady days where home computers looked like they could have doubled as a prop on the bridge of Kirk’s Enterprise, but it’s actually a product of much more modern provenance.

It’s called the Cactus, a love letter to the homebrew microcomputers of the 1970’s, designed and built by somebody at least 20 years too young to have experienced them the first time around. Alexander Pierson created the Cactus not because he had fond memories of putting together an Altair 8800 in 1975, but because he’s fascinated with the retro computer experience: the look of the front panel, the satisfying clunk of era-appropriate switches, and the idea that the computer’s inner workings aren’t an abstract black box but rather something you can interact with and study. Judging by all the attention the Cactus got at VCF East XIII, he’s not the only one.

Let’s take a look at everything Alexander poured into this retrocomputer build.

Continue reading “VCF East 2018: Cactus, Retro Because It Wants To Be”

Friday Hack Chat: All About The Hackaday Prize

Right now we’re neck deep in the Hackaday Prize. What’s the Hackaday Prize? It’s the Academy Awards of hardware creation, or at least that’s what we’re calling it until we get a cease and desist from the Academy of Motion Picture Arts and Sciences.

Already we’ve seen over eight hundred entries in the Hackaday Prize, and there are still months to go. We’re already through the Open Hardware Design Challenge, and twenty fantastic projects from that are moving onto the final round. Yesterday, we announced the winners of the Robotics Module challenge, and again we were blown away. These are the greatest bits of hardware anywhere, and we couldn’t have imagined anything more awesome.

For this week’s Hack Chat, we’re going to be talking all about The Hackaday Prize. This is your chance to be a hardware hero and finally get some recognition for what you’ve been working on. Right now, we’re in the Power Harvesting Challenge in this year’s Hackaday Prize, and we want to see what you can come up with that will get energy from solar, thermal, wind, or random electromagnetic energy. This is your time to shine, and we can’t wait to see what you come up with.

Of course, you might have a few questions on what it takes to make a successful Hackaday Prize entry. For this week’s Hack Chat, we’re going to sit down with [Stephen Tranovich], the person coordinating this year’s Prize, to see what makes a successful entry. This is your chance to find out what it takes to become the next great hardware hacker, and it’s all going down this Friday in the Hack Chat.

Some of the things we’ll be talking about in this week’s Hack Chat:

  • What makes a winning entry?
  • How can you get publicity for your project?
  • Want to bounce your project ideas off the community?
  • What’s the story behind the seed funding confusion from this year?

You are, of course, encouraged to add your own questions to the discussion. You can do that by leaving a comment on the Hack Chat Event Page and we’ll put that in the queue for the Hack Chat discussion.join-hack-chat

Our Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This week is just like any other, and we’ll be gathering ’round our video terminals at noon, Pacific, on Friday, June 15th.  Here’s a clock counting down the time until the Hack Chat starts.

Click that speech bubble to the right, 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.

Rescuing K-9

Fans of the long-running and ever-fantastic British TV show Dr. Who will no doubt hold a soft spot in their hearts for the Doctor’s little robot companion. No, not one of his many human sidekicks, we’re talking about K-9, the angular dog-like android that burst onto British screens back in 1977.

There were a number of original [K-9] props made by the BBC, and these were eventually sold by the corporation. One found its way to Abertay University, and it was there that [Gary Taylor], a computer science student found it. Sadly the years had not been kind to the robotic mutt, in particular water from a roof leak had damaged its internals beyond repair. With little more than the fibreglass shell to work with, he set out to rebuild K-9 and make the task the subject of his dissertation.

The original robo-dog was little more than a 1970s remote-controlled car, but its upgrades bring it firmly into the 21st century. At its heart is the inevitable Raspberry Pi 3, coupled with an Arduino mega 2560 that handles motor control and interfacing to an array of ultrasonic sensors. The Pi’s Bluetooth radio talks to an app on an Android phone, that serves as the K-9’s controller. All of which makes for an impressive upgrade, but we hope has disturbed as little of the original prop work as possible

Not everyone is lucky enough to find an original K-9, but for those destined for classic BBC prop disappointment there is always the possibility that you could build your own.

Hair-Raising Tales Of Electrostatic Generators

We tend to think of electricity as part of the modern world. However, Thales of Mietus recorded information about static electricity around 585 BC.  This Greek philosopher found that rubbing amber with fur would cause the amber to attract lightweight objects like feathers. Interestingly enough, a few hundred years later, the aeolipile — a crude steam engine sometimes called Hero’s engine — appeared. If the ancients had put the two ideas together, they could have invented the topic of this post: electrostatic generators. As far as we know, they didn’t.

It would be 1663 before Otto von Guericke experimented with a sulfur globe rubbed by hand. This led to Isaac Newton suggesting glass globes and a host of other improvements from other contributors ranging from a woolen pad to a collector electrode. By 1746, William Watson had a machine consisting of multiple glass globes, a sword, and a gun barrel. Continue reading “Hair-Raising Tales Of Electrostatic Generators”