Author Archives: Brian Benchoff

ESP Gets FCC and CE

via Hackaday » hardware

The ESP8266 Internet of Things module is the latest and greatest thing to come out of China. It’s ideal for turning plastic Minecraft blocks into Minecraft servers, making your toilet tweet, or for some bizarre home automation scheme. This WiFi module is not, however, certified by the FCC. The chipset, on the other hand, is.

Having a single module that’s able to run code, act as a UART to WiFi transceiver, peek and poke a few GPIOs, all priced at about $4 is a game changer, and all your favorite silicon companies are freaking out wondering how they’re going to beat the ESP8266. Now the chipset is FCC certified, the first step to turning these modules into products.

This announcement does come with a few caveats: the chipset is certified, not the module. Each version of the module must be certified by itself, and there are versions that will never be certified by the FCC. Right now, we’re looking at the ESP8266-06, -07, -08, and -12 modules – the ones with a metal shield – as being the only ones that could potentially pass an FCC cert. Yes, those modules already have an FCC logo on them, but you’re looking at something sold for under $5 in China, here.

Anyone wanting to build a product with the ESP will, of course, also need to certify it with the FCC. This announcement hasn’t broken down any walls, but it has cracked a window.


Filed under: hardware

Clap On! A Breadboard

via Hackaday » hardware

The Clapper™ is a miracle of the 1980s, turning lights and TVs on and off with the simple clap of the hands, and engraving itself into the collective human unconsciousness with a little jingle that implores – nay, commands – you to Clap On! and Clap Off! [Rutuvij] and [Ayush] bought a clap switch kit, but like so many kits, this one was impossible to understand; building the circuit was out of the question, let alone understanding the circuit. They made their own version of the circuit, and figured out a way to explain how the circuit works.

While not the most important component, the most obvious component inside a Clapper is a microphone. [Rutuvij] and [Ayush] are using a small electret microphone connected to an amplifier block, in this case a single transistor.

The signal from the microphone is then sent to the part of the circuit that will turn a load on and off. For this, [Rutuvij] and [Ayush] are using a bistable multivibrator, or as it’s called in the world of digital logic and Minecraft circuits, an S-R flip-flop. This flip-flop needs two inputs; one to store the value and another to erase the stored value. For that, the guys are using two more transistors. The first time the circuit senses a clap, it stores the value in the flip-flop. The next time a clap is sensed, the circuit is reset.

Output is as simple as a LED and a buzzer, but one you have that, connecting a relay is a piece of cake. That’s the complete circuit of a clapper using five transistors, something that just can’t be done with other builds centered around a 555 timer chip.


Filed under: hardware

Using Cell Phone Screens with any HDMI Interface

via Hackaday » » hardware

3898291408351694409

Thanks to the worldwide proliferation of smartphones, tiny high-resolution displays are common and cheap. Interfacing these displays with anything besides a phone has been a problem. [twl] has a board that does just that, converting HDMI to something these displays can understand, and providing a framebuffer so these displays can be written to through small microcontrollers.

[twl] is using a rather large FPGA to handle all the conversion from HDMI to the DSI the display understands. He’s using an Xilinx Spartan-6-SLX9, one of the most hobbyist friendly devices that is able to be hand soldered. Also on the board is a little bit of SDRAM for a framebuffer, HDMI input, and a power supply for the LCD and its backlight.

On the things [twl] has in his ‘to-do’ list, porting Doom to run on a cellphone display is obviously right at the top. He also wants to test the drawing commands for the Arduino side of his board, allowing any board with the suffix ~’ino to paint graphics and text on small, cheap, high-resolution displays. That’s a capability that just doesn’t exist with products twice [twl]‘s projected BOM, and we can’t wait to see what he comes up with.

You can check out the demo video of [twl]‘s board displaying the output of a Raspberry Pi below. If you look very closely, you’ll notice the boot/default screen for the display adapter is the Hackaday Jolly Wrencher.


Filed under: FPGA, hardware

Reverse Engineering a Blu-ray Drive for Laser Graffiti

via Hackaday » » hardware

Coastermelt

There’s a whole lot of interesting mechanics, optics, and electronics inside a Blu-ray drive, and [scanlime] a.k.a. [Micah Scott] thinks those bits can be reused for some interesting project. [Micah] is reverse engineering one of these drives, with the goal of turning it into a source of cheap, open source holograms and laser installations – something these devices were never meant to do. This means reverse engineering the 3 CPUs inside an external Blu-ray drive, making sense of the firmware, and making this drive do whatever [Micah] wants.

When the idea of reverse engineering a Blu-ray drive struck [Micah], she hopped on Amazon and found the most popular drive out there. It turns out, this is an excellent drive to reverse engineer – there are multiple firmware updates for this drive, an excellent source for the raw data that would be required to reverse engineer it.

[Micah]‘s first effort to reverse engineer the drive seems a little bit odd; she turned the firmware image into a black and white graphic. Figuring out exactly what’s happening in the firmware with that is a fool’s errand, but by looking at the pure black and pure white parts of the graphic, [Micah] was able guess where the bootloader was, and how the firmware image is segmented. In other parts of the code, [Micah] saw thing vertical lines she recognized as ARM code. In another section, thin horizontal black bands revealed code for an 8051. These lines are only a product of how each architecture accesses code, and really only something [Micah] recognizes from doing this a few times before.

The current state of the project is a backdoor that is able to upload new firmware to the drive. It’s in no way a complete project; only the memory for the ARM processor is running new code, and [Micah] still has no idea what’s going on inside some of the other chips. Still, it’s a start, and the beginning of an open source firmware for a Blu-ray drive.

While [Micah] want’s to use these Blu-ray drives for laser graffiti, there are a number of other slightly more useful reasons for the build. With a DVD drive, you can hold a red blood cell in suspension, or use the laser inside to make graphene. Video below.


Filed under: hardware

An SDK for the ESP8266 WiFi Chip

via Hackaday » » hardware

ESP The ESP8266 is a chip that turned a lot of heads recently, stuffing a WiFi radio, TCP/IP stack, and all the required bits to get a microcontroller on the Internet into a tiny, $5 module. It’s an interesting chip, not only because it’s a UART to WiFi module, allowing nearly anything to get on the Internet for $5, but because there’s a user-programmable microcontroller in this board. If only we had an SDK or a few libraries…

The ESP8266 SDK is finally here. A complete SDK for the ESP8266 was just posted to the Expressif forums, along with a VirtualBox image with Ubuntu that includes GCC for the LX106 core used in this module.

Included in the SDK are sources for an SSL, JSON, and lwIP library, making this a solution for pretty much everything you would need to do with an Internet of Things thing. As far as LX106 core is concerned, there’s example code for using the spare pins on this board as GPIOs, I2C and SPI busses, and a UART.

This turns the ESP8266 into something much better than a UART to WiFi module; now you can create a Internet of Things thing with just $5 in hardware. We’d love to see some examples, so put those up on hackaday.io and send them in to the tip line.


Filed under: hardware

FTDI Screws Up, Backs Down

via Hackaday » » hardware

ftdi-explosion

A few days ago we learned chip maker FTDI was doing some rather shady things with a new driver released on Windows Update. The new driver worked perfectly for real FTDI chips, but for counterfeit chips – and there are a lot of them – the USB PID was set to 0, rendering them inoperable with any computer. Now, a few days later, we know exactly what happened, and FTDI is backing down; the driver has been removed from Windows Update, and an updated driver will be released next week. A PC won’t be able to communicate with a counterfeit chip with the new driver, but at least it won’t soft-brick the chip.

Microsoft has since released a statement and rolled back two versions of the FTDI driver to prevent counterfeit chips from being bricked. The affected versions of the FTDI driver are 2.11.0 and 2.12.0, released on August 26, 2014. The latest version of the driver that does not have this chip bricking functionality is 2.10.0.0, released on January 27th. If you’re affected by the latest driver, rolling back the driver through the Device Manager to 2.10.0.0 will prevent counterfeit chips from being bricked. You might want to find a copy of the 2.10.0 driver; this will likely be the last version of the FTDI driver to work with counterfeit chips.

Thanks to the efforts of [marcan] over on the EEVblog forums, we know exactly how the earlier FTDI driver worked to brick counterfeit devices:

ftdi_evil

[marcan] disassembled the FTDI driver and found the source of the brick and some clever coding. The coding exploits  differences found in the silicon of counterfeit chips compared to the legit ones. In the small snippet of code decompiled by [marcan], the FTDI driver does nothing for legit chips, but writes 0 and value to make the EEPROM checksum match to counterfeit chips. It’s an extremely clever bit of code, but also clear evidence FTDI is intentionally bricking counterfeit devices.

A new FTDI driver, presumably one that will tell you a chip is fake without bricking it, will be released next week. While not an ideal outcome for everyone, at least the problem of drivers intentionally bricking devices is behind us.


Filed under: hardware, news

Watch That Windows Update: FTDI Drivers Are Killing Fake Chips

via Hackaday » » hardware

ftdi-explosion

The FTDI FT232 chip is found in thousands of electronic baubles, from Arduinos to test equipment, and more than a few bits of consumer electronics. It’s a simple chip, converting USB to a serial port, but very useful and probably one of the most cloned pieces of silicon on Earth. Thanks to a recent Windows update, all those fake FTDI chips are at risk of being bricked. This isn’t a case where fake FTDI chips won’t work if plugged into a machine running the newest FTDI driver; the latest driver bricks the fake chips, rendering them inoperable with any computer.

Reports of problems with FTDI chips surfaced early this month, with an explanation of the behavior showing up in an EEVblog forum thread. The new driver for these chips from FTDI, delivered through a recent Windows update, reprograms the USB PID to 0, something Windows, Linux, and OS X don’t like. This renders the chip inaccessible from any OS, effectively bricking any device that happens to have one of these fake FTDI serial chips.

Because the FTDI USB to UART chip is so incredibly common,  the market is flooded with clones and counterfeits. it’s very hard to tell the difference between the real and fake versions by looking at the package, but a look at the silicon reveals vast differences. The new driver for the FT232 exploits these differences, reprogramming it so it won’t work with existing drivers. It’s a bold strategy to cut down on silicon counterfeiters on the part of FTDI. A reasonable company would go after the manufacturers of fake chips, not the consumers who are most likely unaware they have a fake chip.

The workaround for this driver update is to download the FT232 config tool from the FTDI website on a WinXP or Linux box, change the PID of the fake chip, and never using the new driver on a modern Windows system. There will surely be an automated tool to fix these chips automatically, but until then, take a good look at what Windows Update is installing – it’s very hard to tell if your devices have a fake FTDI chip by just looking at them.


Filed under: hardware, news

Apollo, the Everything Board

via Hackaday » » hardware

The best projects have a great story behind them, and the Apollo from Carbon Origins is no exception. A few years ago, the people at Carbon Origins were in school, working on a high power rocketry project.

Rocketry, of course, requires a ton of sensors in a very small and light package. The team built the precursor to Apollo, a board with a 9-axis IMU, GPS, temperature, pressure, humidity, light (UV and IR) sensors, WiFi, Bluetooth, SD card logging, a microphone, an OLED, and a trackball. This board understandably turned out to be really cool, and now it’s become the main focus of Carbon Origins.

There are more than a few ways to put together an ARM board with a bunch of sensors, and the Apollo is extremely well designed; all the LEDs are on PWM pins, as they should be, and there was a significant amount of time spent with thermal design. See that plated edge on the board? That’s for keeping the sensors cool.

The Apollo will eventually make its way to one of the crowdfunding sites, but we have no idea when that will happen. Carbon Origins is presenting at CES at the beginning of the year, so it’ll probably hit the Internet sometime around the beginning of next year. The retail price is expected to be somewhere around $200 – a little expensive, but not for what you’re getting.


Filed under: hardware, Microcontrollers

Bluetooth Thingies at Maker Faire

via Hackaday » » hardware

In case you haven’t noticed, one of the more popular themes for new dev boards is Bluetooth. Slap a Bluetooth 4.0 module on a board, and you really have something: just about every phone out there has it, and the Low Energy label is great for battery-powered Internets of Things.

Most of these boards fall a little short. It’s one thing to throw a Bluetooth module on a board, but building the software to interact with this board is another matter entirely. Revealing Hour Creations is bucking that trend with their Tah board. Basically, it’s your standard Arduino compatible board with a btle module. What they’ve done is add the software for iOS and Android that makes building stuff easy.

Putting Bluetooth on a single board is one thing, but how about putting Bluetooth on everything. SAM Labs showed off their system of things at Maker Faire with LEDs, buttons, fans, motors, sensors, and just about every electrical component you can imagine.

All of these little boards come with a Bluetooth module and a battery. The software for the system is a graphical interface that allows you to draw virtual wires between everything. Connect a button to a LED in the software, and the LED will light up when the button is pressed. Move your mouse around the computer, and the button will turn on a motor when it’s pressed.

There are a few APIs that also come packaged into the programming environment – at the booth, you could open a fridge (filled with cool drinks that didn’t cost five dollars, a surprise for the faire) and it would post a tweet.


Filed under: hardware

Freescale and Texas Instruments Goodies and World Maker Faire

via Hackaday » » hardware

Freescale was very kind to Hackaday at Maker Faire this weekend, showing off a few boards and answering a few questions about why old Motorola application notes aren’t available on the Internet.

The Hummingboard from SolidRun comes in an oddly familiar form factor to anyone who has ever handled a Raspberry Pi. It also has an interesting feature: the CPU is on a small module, allowing anyone to upgrade the chipset to something significantly more powerful. In the top of the line configuration, it has a two core iMX6 CPU with a Gig of RAM, LVDS output, and Gigabit Ethernet. All the complex bits for this board are on a single module, allowing anyone to take the module and put it in another project, a la the Intel Edison.

Also in the Freescale booth was the pcDuino, a dual core ARM Cortex A7 with Ethernet, WiFi, and a SATA, with Arduino form factor pinouts. It’s a somewhat niche product, but being able to stack shields on something comparable to a Raspi or BeagleBone is a nice feature.

[Trey German] from Texas Instruments showed off some very cool stuff, including a quadcopter board for a Launchpad microcontroller. This isn’t a board with an IMU and a few servo outputs; this is the whole shebang with a frame, motors, and props. The frame was cut from some odd composite that’s usually used for road signs, and even though it wasn’t flying at the Faire (nothing was flying, by the way), it’s pretty light for a quad made at a board house.

Also from TI was their CC3200 dev board. This is a single chip with an ARM Cortex M4 and a WiFi radio that we’ve seen before. The CC3200 runs TI’s Wiring/Arduino inspired development environment Energia, and at about $30 for the CC3200 Launchpad board, it’s an easy and cheap way to build an Internet of Things thing.


Filed under: Featured, hardware

A Proof of Concept Project for the ESP8266

via Hackaday » » hardware

weather

It’s hardly been a month since we first heard of the impossibly cheap WiFi adapter for micros, the ESP8266. Since then orders have slowly been flowing out of ports in China and onto the workbenches of tinkerers around the world. Finally, we have a working project using this module. It might only be a display to show the current weather conditions, but it’s a start, and only a hint of what this module can do.

Since the ESP8266 found its way into the storefronts of the usual distributors, a lot of effort has gone into translating the datasheets both on hackaday.io and the nurdspace wiki. The module does respond to simple AT commands, and with the right bit of code it’s possible to pull a few bits of data off of the Internet.

The code requests data from openweathermap.org and displays the current temperature, pressure, and humidity on a small TFT display. The entire thing is powered by just an Arduino, so for anyone wanting a cheap way to put an Arduino project on the Internet, there ‘ya go.


Filed under: Arduino Hacks, hardware

Afroman Demonstrates Boost Converters

via Hackaday » » hardware

boosIf you need to regulate your power input down to a reasonable voltage for a project, you reach for a switching regulator, or failing that, an inefficient linear regulator. What if you need to boost the voltage inside a project? It’s boost converter time, and Afrotechmods is here to show you how they work.

In its simplest form, a boost converter can be built from only an inductor, a diode, a capacitor, and a transistor. By switching the transistor on and off with varying duty cycles, energy is stored in the inductor, and then sent straight to the capacitor. Calculating the values for the duty cycle, frequency, inductor, and the other various parts of a boost converter means a whole bunch of math, but following the recommended layout in the datasheets for boost and switching converters is generally good enough.

boostconverter

[Afroman]‘s example circuit for this tutorial is a simple boost converter built around an LT1370 switching regulator. In addition to that there’s also a small regulator, diode, a few big caps and resistors, and a pot for the feedback pin. This is all you need to build a simple boost converter, and the pot tied to the feedback pin varies the duty cycle of the regulator, changing the output voltage.

It’s an extremely efficient way to boost voltage, measured by [Afroman] at over 80%. It’s also exceptionally easy to build, with just a handful of parts soldered directly onto a piece of perfboard.

Video below.


Filed under: hardware, parts

A Breakout Board for a Flir Lepton

via Hackaday » » hardware

leptonThermal imaging cameras are all the rage now, and one of the best IR cameras out there is Flir’s Lepton module. It’s the sensor in the FLIR ONE, a thermal imaging camera add-on for an iPhone. Somewhat surprisingly, Flir is allowing anyone to purchase this module, and that means a whole bunch of robotics and other various electronics projects. Here’s a breakout board for Flir’s Lepton.

Electron artisan [Mike] recently got his hands on a FLIR ONE, and doing what he does best, ripped the thing apart and built the world’s smallest thermal imaging camera. Compared to professional models, the resolution isn’t that great, but this module only costs about $250. Just try to find a higher resolution thermal imager that’s cheaper.

With this breakout board, you’ll obviously need a Lepton module. There’s a group buy going on right now, with each module costing just under $260.

The Lepton module is controlled over I2C, but the process of actually grabbing images happens over SPI. The images are a bit too large to be processed with all but the beefiest Arduinos, but if you’re thinking of making Predator vision with a Raspi, BeagleBone, or a larger ARM board, this is just the ticket.

You can check out some video made with the Lepton module below.

This is also project number 3000 on hackaday.io. That’s pretty cool and worthy of mention.


Filed under: hardware

Hands On with the Intel Edison

via Hackaday » » hardware

Edison

Yesterday the tech world resounded with the astonishing news that Apple can’t run a CMS, rotary encoders were invented just for the Apple Watch, and Intel’s Developer Forum was scheduled well in advance of the Apple media circus. Intel’s smallest computer yet, the Edison, was also announced. Very few people without an Intel employee badge have one of these cool little devices, and lucky for us one of them put up a hands-on review.

With a lot of comments asking what the Edison is good for, [Dimitri] tells us the Edison isn’t meant to be only a dev board. A better comparison would be something like the Raspberry Pi compute module – a small board that product designers can build a device around. This, of course, is not news and should come as a surprise to no one. The 70-pin connector used in the Edison isn’t rated for high-frequency insertions, anyway.

Stock up on level shifters

Compared to even a Raspberry Pi, or even an Arduino Mega, the Arduino breakout board for the Edison is huge. The reason for this is a huge number of level shifters. Where Arduinos can chug right along at 3.3V and 5V, and a Pi uses the somewhat more uncommon (at least for the hobbyist market) 3.3V logic, most of the Edison runs at 1.8V.  All the user-configurable pins on the smaller breakout are 1.8V logic. Someone reading this will fry their Edison, so don’t say we didn’t warn you.

Performance

[Dimitri] was keen to get an idea of how powerful the Edison is. There’s a pretty good chip in there – an Atom Z34XX – that’s underclocked at 500MHz. Still, despite this apparent performance limitation, a few benchmarks reveal the Edison can work at up to 615 MIPS. That’s about twice the performance of the Raspberry Pi B+, and real-world tests of doing FFT along with OpenCV tracking makes [Dimitri] happy. Power consumption? At a medium load, the Edison draws about 200 mA. A lot of number crunching and blasting bits out of the radios increases that to a maximum of 500 mA. Not exactly low power, but very good in terms of performance per Watt.

Wireless

There are two radios on the Edison, one for Bluetooth Low Energy, and another for a/b/g/n WiFi (yes, it supports access mode). The on-chip antenna is acceptable, but for sending signals to the conference room down the hall, you might want to connect an external antenna.

Linux, Programming, and Arduino

Linux on the Edison isn’t a friendly Debian-derived installation like the Raspberry Pi. Instead, Intel is using Yocto, specifically designed for embedded environments. It’s not quite a distribution but instead a build system. There is no apt-get. Right now, this might be seen as a limitation, but enterprising kernel wizards have ported Debian to the Intel Galileo. Full Linux support is coming, but probably not (officially) from Intel.

Edison launched with an Arduino breakout board, but the Arduino compatibility is literally only a facade. Intel reengineered the Arduino IDE so it writes files instead of toggling pins. This means any programming language that can write a file is able to blink a LED with an Edison. It’s only a matter of preference, but if your idea of embedded development is a single chip and a C compiler, you’re better off using an ATMega and a UART.

Closing thoughts

This isn’t a Raspi killer, a Beaglebone killer, a TI CC3200 killer, or an ESP8266 killer. It’s an x86 board, with WiFi, Bluetooth and Linux that can toggle a few pins. It’s something different. Different is good. That means there are more choices.


Filed under: hardware

More WiFi Modules for IoT Madness

via Hackaday » » hardware

IoT

The last year has brought us CC3000 WiFi module from TI, and recently the improved CC3200 that includes an integrated microcontroller. The Chinese design houses have gotten the hint, putting out the exceptionally cheap ESP8266, a serial to WiFi bridge that also includes a microcontroller to handle the TCP/IP stack and the software side of an 802.11 connection. Now there’s another dedicated WiFi module. It’s called the MT7681, and it’s exactly what you would expect given the competition: a programmable module with the ability to connect to a WiFi network.

Like TI’s CC3200, and the ESP8266, the MT7681 can be connected to any microcontroller over a serial connection, making it a serial to WiFi bridge. This module also contains a user-programmable microcontroller, meaning you don’t need to connect an Arduino to blink a few pins; UART, SPI, and a few GPIO pins are right on the board. The module also includes an SDK and gnu compiler, so development of custom code running on this module should be easier than some of the other alternatives.

You can pick up one of the MT7681 modules through the usual channels, but there’s an Indiegogo campaign based in China that takes this module and builds a ‘dock’ around it. The dock has a relay, temperature/humidity sensor, a few GPIO pins, and a USB serial connection for use as an Internet of Things base station.

For anyone looking for a little more computational horsepower, there’s also a few mentions and press releases announcing another module, the MT7688, This is a very small (12mm by 12mm) module running Linux with 256 MB of RAM and 802.11n support. This module hasn’t even hit the market yet, but we’ll be on the lookout for when it will be released.

Thanks [uhrheber] for sending this one in.


Filed under: hardware, parts