How to Directly Program an Inexpensive ESP8266 WiFi Module

The ESP8266 is the answer to “I want something with Wifi.” Surprisingly, there are a number of engineers and hobbyists who have not heard of this chip or have heard of it but don’t really understand what it is. It’s basically the answer to everything IoT to so many engineering problems that have plagued the hobbyist and commercial world alike.

The chip is a processor with integrated RAM, some ROM, and a WiFi radio, and the only external components you will need are 4 capacitors, a crystal and an external flash! It’s CHEAP, like $4/ea cheap! Or $5 if you want it on a nice, convenient carrier board that includes all these components. The power consumption is reasonable (~200mA)1, the range is insane ~300m2 without directional equipment, and a PCB trace antenna and ~4km if you want to be ridiculous.

One place thing that more people need to know about is how to program directly for this chip. Too many times projects use it as a crutch via the AT commands. Read on and find out how to hello world with just this chip.

Continue reading “How to Directly Program an Inexpensive ESP8266 WiFi Module”

Beating DRM to Extend the Life of an Anti-Aging Therapy Light Mask

It’s becoming more common to see DRM cropping up in an increasing number of hardware products nowadays. Quite often, its used to prevent the use of unauthorized consumables and some may argue that it helps prevent counterfeiting and help shore up revenues. But it’s a totally different matter when DRM is used to severely limit the operational life of a product. When [travis] wrote in about the run time limitation on an “Illumimask” light therapy device, we first had to look up what that device was. Apparently, these are anti-acne or anti-aging light therapy masks that use red and blue LEDs to kill skin bacteria, stimulate skin cells and reduce blemishes. While these claims most likely may not hold water, the device itself is cheap enough not to hurt you at $30 a pop.

The trouble is, it is limited to 30 daily uses of 15 minutes each, totaling just 7 1/2 hours, effectively lasting you a month. At the end of which, you just discard the device and get a new one. That seems like a ridiculous waste of a perfectly fine, functional device whose LED’s can last at least 30,000 to 40,000 hours. [travis]’s wife [Bebefuzz] was obviously pissed at this situation. So she did a simple hack to bypass the microcontroller that imposed the goofy restrictions. In [travis]’s own words “Not a crazy-technical hack…. but a very functional one to bypass a manufacturer’s ‘WTF'”. It involved soldering a slide switch across the circuit terminals that the micro-controller uses to monitor the LED current (likely). Unfortunately, this also breaks the 15 minute timer measurement, so she now has to manually switch off the device at the end of the 15 minute therapy cycle.

To check out more DRM hacks, check out these we covered earlier, from Coffee Makers to 3D printer filaments to Cat Litter boxes and even furniture.

Instrumentation Amplifiers and How to Measure Miniscule Change

These days there a large number of sensors and analog circuits that are “controller friendly” meaning that their output signal is easily interfaced to the built-in Analog to Digital Convertors (ADCs) often found in today’s micro-controllers. This means that the signals typically are already amplified, often filtered, and corrected for offset and linearity. But when faced with very low level signals, or signals buried in a larger signal an Instrumentation Amplifier may be what’s needed. The qualities of an Instrumentation Amplifier include:

  • A differential amplifier with high impedance and low bias current on both inputs.
  • Low noise and low drift when amplifying very small signals.
  • The ability to reject a voltage that is present on both inputs, referred to as Common Mode Rejection Ratio (CMRR)

Continue reading “Instrumentation Amplifiers and How to Measure Miniscule Change”

Dirt Cheap Motor Balancing and Vibration Analysis

Ever the enterprising hacker and discerning tool aficionado, [Chris] knows the importance of “feel”. As a general rule, cheap tools will shake in your hand because the motors are not well-balanced. He wanted a way to quantify said feel on the cheap, and made a video describing how he was able to determine the damping of a drill using a few items most people have lying around: an earbud, a neodymium magnet, scrap steel, and Audacity.

He’s affixed the body of the drill to a cantilevered piece of scrap steel secured in a vise. The neodymium magnet stuck to the steel interrupts the magnetic field in the earbud, which is held in place with a third hand tool. [Chris] taped the drill’s trigger down and controls its speed a variac. First, [Chris] finds the natural frequency of the system using Audacity’s plot spectrum, and then gets the drill to run at the same speed to induce wobbling at different nodes. As he explains, one need not even use software to show the vibration nodes—a laser attached to the system and aimed at a phosphorescent target will plot the sine wave.

Just for fun, he severely unbalances the drill to find the frequencies at which the system will shake itself apart. Check it out after the break.

Continue reading “Dirt Cheap Motor Balancing and Vibration Analysis”

Cheap, dirty and perfect V-Groove Foam Cutter

If the only tool you have is a hammer, everything looks like a nail. Conversely, if you have the right tool for every job, it makes the difference between pro and amateur. [ftregan] needs to cut perfect V-grooves in foam for many of his projects, especially building RC planes. He wasn’t too satisfied with the results using his Xacto knife. And a proper tool was going to set him back by almost $25, but following that example he built his own version of the tool for much less.

Two pieces of wood cut at a 45 degree angle are held between two flat support pieces. A pair of regular shaving blades form the cutting elements. While it looks simple, it’s important to get the angles and blade directions correct. A central wooden wedge holds the two blades in place. He also added a small guide marker that let’s you cut precise straight grooves. [ftregan] built the tool to allow cutting 6mm thick foam but given that it’s so quick and cheap to build, we guess it’s easy to make a few of these to allow cutting different thicknesses of foam. We’re sure that many of you will find different or better ways of doing this, but considering [ftregan] spent just 15 minutes cooking this up, it’s not too bad, especially since the results are mighty good.

Another method of cutting foam is with hot wire. Check out this DIY Foam Cutter that we featured earlier.

Design & Build Part 2: Multi-Band, Phasing SSB, and SDR

 

Amateur radio is the ultimate hacker’s hobby. You can design, build, and put on the air your own high power transceivers. And with this homemade gear you are able to reach out directly, not relying on any infrastructure whatsoever, to connect with people all over the world. It is a thrilling experience to communicate with that long distance station using equipment you created, where you know at that instant what every single transistor is doing as you key down the mic.

In a previous post I described how SSB radio equipment worked and provided an example of a single-band 20m SSB transceiver. In this post I will discuss a multi-band SSB transceiver, an entire homemade amateur station including amplifiers, and conclude with software defined radio (SDR) that you can make in one weekend.

Continue reading “Design & Build Part 2: Multi-Band, Phasing SSB, and SDR”

Low-Voltage Tesla Coil Uses a Relay Instead of a Spark Gap

[Teodor] writes in with a unique Tesla coil he designed and built. Unlike most Tesla coils, [Teodor]’s design is able to run with a fairly low input voltage because it doesn’t use a static spark gap like most Tesla coils. Instead, his coil uses a relay in place of a spark gap.

[Teodor] built his coil using leftover components from his old school, making good use of some parts that might have otherwise been thrown away. The most critical component of his circuit, the relay, is just a standard normally-closed relay that is rated at 20A. [Teodor] wired the relay so that it energizes its own coil whenever it is shut. This causes the relay to briefly open every time the coil is energized, creating a resonant circuit. The resonant circuit charges a tank capacitor and places it in series with the primary coil inductor every time the relay closes, forming the tank circuit of his design.

With [Teodor]’s design, the resonant frequency of the secondary is nearly identical to that of the primary. This creates a significant voltage boost, helping produce very high voltages from such a low input voltage. The only downside to this design that [Teodor] recently discovered is that the relay contacts get red-hot after a few minutes of operation. Not optimal, but it still works! Check out [Teodor]’s writeup for more details and instructions on how to build your own.