Sunday, March 2, 2014 - 22:00Making OLEDs In The Kitchen Sink
When [Ian] first set out to create a homebrew OLED, he found chemical suppliers that wouldn’t take his money, manufacturers that wouldn’t talk to him, and researchers that would actively discourage him. Luckily for us, he powered through all these obstructions and created his own organic LED.
Since at least one conductor in an OLED must be transparent, [Ian] settled on ITO – indium tin oxide – for the anode. This clear coating is deposited on glass, allowing it to conduct electricity and you can buy it through a few interesting suppliers. For the cathode, [Ian] is using a gallium-indium-tin eutectic, an alloy with a very low melting point that allowed him to deposit a small puddle in his OLED stack.
With the anode and cathode taken care of, the only thing left was the actual LED. For this, [Ian] had some success with MEH-PPV, a polymer that is capable of electroluminescence. On top of this is a film of PEDOT:PPS, another polymer that serves to block electrons.
The resulting yellow-green blob of an OLED actually works, and is at least as good as some of the other homebrew semiconductor illumination projects we’ve seen around here. This is only a start, though, and [Ian] plans on putting a whole lot more time into his explorations of organic LEDs.
Filed under: chemistry hacks
Sunday, March 2, 2014 - 19:00Reverse Engineering Candle Flicker LEDs, Again
Flickering candle LEDs are seemingly everywhere these days, and like all fads, someone has to take a very close look at the engineering behind them.
[cpldcpu] had earlier taken a look at the controller chip in these candle flicker LEDs by measuring the current used and developing a statistical model of how these LEDs flicker. That’s math, of course, and much more fun can be had by decapsulating one of these flicker LED controller chips. It’s not very advanced tech; the LED controller is using a 1 or 2um process and a pair of RC oscillators, but it appears there could be a hardware random number generator in the silicon of this chip.
Earlier, [Cpldcpu] had taken a look at the tiny controller in these flickering LEDs and determined they used a linear feedback shift register to generate pseudorandom LED intensities. The new teardown seems to confirm that a linear feedback shift register is being used to drive the flickering LED.
Custom chips are only one way to skin a cat, or flicker a LED, and PICatout used the the tiniest PIC microcontroller (French, translation) to create his own flickering LED. Seems like making a few custom flickering LED throwies shouldn’t be too hard.
Filed under: led hacks
Sunday, March 2, 2014 - 16:00This Desktop Air Conditioner Is Really Cool!
[Mike] works in a 50+ year old building with unreliable air conditioning. It often reaches 80°F inside during the summer, and he once measured it at 98°F. Rather than burn sick days, he became the envy of the office when he built this awesome desktop air conditioner.
The problem with knocking holes in the office walls and installing window units is that they must vent heat somewhere. [Mike] has overcome adversity and harnessed the power of the heatsink, only in reverse. His desktop a/c unit is made from two 28oz cans plus a 20oz can for the ice bucket. [Mike] used a side-vented CPU fan, which is vital to his design. He secured the heatsink to the base of one 28oz can with a self-tapping screw. This can is the upper chamber. [Mike] made a base from the other 28oz can, drilling holes for the CPU fan wires, the power cord, and a sweet light-up rocker switch. He used Gorilla Glue to affix the CPU fan to the base can.
Hot, stale office air is drawn through the ice in the 20oz can, which is nestled in aluminum foil to maximize heat transfer to the heatsink. The heat in the air gets absorbed by the heatsink, and the CPU fan kicks out cool air in 20-30 seconds.
Filed under: lifehacks
Sunday, March 2, 2014 - 13:00Software USB On The STM8
Thanks to V-USB, software-based USB is all the rage now, with a lot of uses for very small and low power microcontrollers.[ZiB] wondered if it would be possible to implement a USB controller on the STM8 microcontroller (Google translation) in software and succeeded.
The STM8 is a bit of a change from the usual 8-bit micros we see like AVRs and PICs. [ZiB] chose the STM8S103F3, although any chip in the STM8 family will work with this project when a 12MHz crystal is attached.
The code isn’t quite there yet, but [ZiB] has proven a software-based USB implementation on the STM8 is possible. All the code is available for download (comments in Russian) and a video demoing the project available below. If anyone cares to translate this project to English, we’ll post a link to your work here.
Filed under: Microcontrollers
Sunday, March 2, 2014 - 10:00Microcontroller Speech Synthesis Lets Your Project Be Heard
[Aditya] had a project that called for spoken output. He admits that he could have built a PC-based solution, but he found that adding speech by using a microcontroller was not only a cheap and portable alternative, it was also a fun and easy build.
His design uses an ATMega128. Many microcontrollers would work, but his major requirements were PWM generation and plenty of memory to store the file(s). The output is cleaned up in a simple low pass filter before going to the 8Ω speaker.
[Aditya] lays his tracks in WAV format and then compresses it to 8-bit/8kHz. He found a C++ function that converts the track data into a huge arrays and then digitizes it. He uses two timers, one to generate the waveform and second one to time the square wave. [Aditya] has a zip of samples available on his site that will speak the digits 0-9.
Filed under: Microcontrollers
Sunday, March 2, 2014 - 07:00Turning A Tiny CRT Into A Monitor
[GK] picked up a few tiny 2″ CRTs a while back and for the longest time they’ve been sitting in a box somewhere in the lab. The itch to build something with these old tubes has finally been scratched, with a beautiful circuit with Manhattan style construction.
[GK] has a bit of a fetish for old oscilloscopes, and since he’s using an old ‘scope tube, the design was rather simple for him; there aren’t any schematics here, just what he could put together off the top of his head.
Still, some of [GK]‘s earlier projects helped him along the way in turning this CRT into a monitor. The high voltage came from a variable output PSU he had originally designed for photomultiplier tubes. Since this is a monochrome display, the chrominance was discarded with an old Sony Y/C module found in a part drawer.
It’s a great piece of work that, in the words of someone we highly respect is, “worth more than a gazillion lame Hackaday posts where someone connected an Arduino to something, or left a breadboard in a supposedly “finished” project.” Love ya, [Mike].
Filed under: hardware
Sunday, March 2, 2014 - 04:00Photosphere’ing Made Easy and Cheap
Android phones have a cool function called Photo Sphere — unfortunately, unless you’re very steady and can manipulate the phone around its camera’s axis… the results aren’t that amazing. Unless you make a cheap 360 degree panorama head for your tripod that is!
[Oliver Krohn] designed this super simple adapter which you can mount on any tripod. It’s a U-shaped bent piece of aluminum, a bottle cap with a 1/4-20 nut, a thick piece of wire, and a cellphone case. The wire is bent with a notch to sit just below the camera’s lens on the cellphone — it is also placed directly above the tripods panning axis. This puts the nodal point in the perfect place, which allows for a great photo sphere every time.
To see how it works (and the amazing results!) stick around for the following video.
Looking to record video in 360 degrees? You’re going to need a second camera…
Sunday, March 2, 2014 - 01:00Hackaday Retro Edition: AppleTalk
If you do a survey of what makes and models of classic computers manage to pull off a Retro Success by loading our Web 1.0 retro site, you’ll notice a disproportionate number of classic Macintosh computers, the cute, small all-in-one boxes with a nine-inch black or white screen. Part of this is the nigh indestructible nature of these boxes, and part of this is the networking built into every classic Mac – AppleTalk.
The physical connections for AppleTalk is just a small breakout box with two Mini-DIN connectors (or RJ11 phone jacks for PhoneNet) attached to one of the serial ports on the Mac. This isn’t just a null modem connection, though. An AppleTalk network can support up to 32 nodes, file transfer, networked printers, and in later updates booting an Apple IIGS from a networked drive. Whenever you have a few classic Macs in one room, an AppleTalk network is bound to appear at some point, especially considering the limitations of an 800kB disk drive for sneakernetting and the fact the AppleTalk software is supplied with every version of the operating system.
[Chris] had an old dual disk Macintosh SE he had brought back from the dead, but his modern expectations of Internet On Every Computer meant this cute little compy was severely lacking. Yes, SCSI to Ethernet adapters exist, but they’re surprisingly expensive. Modems are right out because of landlines. How did he solve this problem? With AppleTalk, of course.
After picking up a pair of PhoneNet adapters, [Chris] plugged one into a PowerPC mac running OS 9. MacTCP, the Apple TCP/IP control panel for classic Mac operating systems, is able to encapsulate IP traffic into AppleTalk Packets. After turning the PowerPC mac into a router, [Chris] managed to get his all-in-one SE on the internet.
The only problem with this setup is the browser. NCSA Mosaic doesn’t have the ability to send traffic to a proxy server, but another classic Mac browser, MacWeb 2.0c does. This allowed him to load up our retro site using forgotten and long unsupported technologies.
If you have an old computer sitting around, try to load our retro site with it. Take a few pictures, and we’ll put it up in one of our Retro Roundups
Filed under: classic hacks
Saturday, March 1, 2014 - 22:00Pocket Dart/Spitball Gun for Wet/Dry Combat
What can you do with needles, disposable syringes, superglue, cotton swabs, and scissors? If you answered ‘get hassled by TSA agents’, you’d be right, but you could also do what [Mski] did and make a pocket dart gun!
[Mski] used a 10mL syringe and a clear BiC pen body. He glued the pen barrel to the needle adapter on the syringe to make the chamber. He made the darts by cutting cotton swabs in half and inserting glue-covered needles. If you’ve never cut a cotton swab in half, they are hollow inside. What he has there are actually straight pins, which are cheaper than needles and come in larger quantities. The good news is you can make a bandolier of darts without breaking the bank.
Load your gun by shoving spitballs and/or darts up the chamber with a thin wooden stick, like a bamboo skewer. If you use your wife’s knitting needle, we recommend putting it back where you found it.
Do you prefer flaming projectiles and find clothespins easier to come by? Are you a hemophiliac or needle-phobic? Make this mini matchstick gun instead.
Filed under: misc hacks
Saturday, March 1, 2014 - 19:00Atmel Announces SmartConnect WiFi Modules
This week we talked with Atmel about their new WiFi solutions targeting Internet of Things applications. Back in 2012, Atmel acquired Ozmo, a company focused on point-to-point WiFi solutions using WiFi Direct. These devices are known as SmartDirect, and have been available for some time.
Atmel has just announced a new product line: SmartConnect. This moves beyond the point-to-point nature of WiFi Direct, and enables connections to standard access points. The SmartConnect series is designed for embedding in low cost devices that need to connect to a network.
The first devices in the SmartConnect line will be modules based on two chips: an Atmel SAMD21 Cortex-M0+ microcontroller and an Ozmo 3000 WiFi System on Chip. There’s also an on-board antenna and RF shielding can. It’s a drop in WiFi module, which is certified by the FCC. You can hook up your microcontroller to this device over SPI, and have a fully certified design that supports WiFi.
There’s two ways to use the module. The first is as an add-on, which is similar to existing modules. A host microcontroller communicates with the module over SPI and utilizes its command set. The second method uses the module as a standalone device, with application code running on the internal SAMD21 microcontroller. Atmel has said that the standalone option will only be available on a case to case basis, but we’re hoping this opens up to everyone. If the Arduino toolchain could target this microcontroller, it could be a great development platform for cheap WiFi devices.
At first glance, this module looks very similar to other WiFi modules, including the CC3000 which we’ve discussed in the past. However there are some notable differences. One major feature is the built in support for TLS and HTTPS, which makes it easier to build devices with secure connections. This is critical when deploying devices that are connected over the internet.
Atmel is claiming improvements in power management as well. The module can run straight from a battery at 1.8 V to 3.3 V without external regulation, and has a deep sleep current of 5 nA. Obviously the operating power will be much higher, but this will greatly assist devices that sporadically connect to the internet. They also hinted at the pricing, saying the modules will come close to halving the current price of similar WiFi solutions. SmartConnect is targeting a launch date of June 15, so we hope to learn more this summer.
We’re always excited to see better connectivity solutions. If Atmel comes through with a device allowing for cheaper and more secure WiFi modules, it will be a great part for building Internet of Things devices. With a projected 50 billion IoT devices by 2020, we expect to see a lot of progress in this space from silicon companies trying to grab market share.
Saturday, March 1, 2014 - 16:00Stop Motion Water Droplets
The folks at Physalia studio were asked by a company called IdN to produce a little bit of video with a logo. After tossing a few ideas around, they hit upon the concept of projecting the IdN logo inside a falling water droplet. CGI would never get this idea right, so the finished product is the result of stop-motion animation created inside several thousand falling drops of water.
Taking a picture of a falling water droplet was relatively easy; a small drip, a laser pointer and photodiode, and a flash trigger were all that was needed to freeze a drop of water in time. The impressive part of the build is a motion control system for the camera. This system moves the camera along the vertical axis very slowly, capturing one water droplet at a time.
Behind the droplet is a an animation that’s seemingly inspired by a Rorschach test, ending on the IdN logo. The frames for these animations were printed out and placed inside the test chamber/studio upside down to account for the optical effects of a sphere of water.
The end result is a product of over 20,000 pictures taken, all edited down into a single 30-second shot. An amazing amount of work for such a short video but as you can see in the videos below, it’s well worth the effort.
Filed under: digital cameras hacks
Saturday, March 1, 2014 - 13:00The Credit Card Sized GameBoy
Think you’ve seen every possible type of Arduino based hand held video game? [Kevin] managed to coax something new out of the theme with a very clever credit card sized console that uses some very interesting construction techniques.
The inspiration for this project began when [Kevin] dropped an SMD resistor into a drill hole on a PCB. This resistor fell right through the hole, giving him the idea creating a PCB with milled cutouts made to fit SMD components. With a little experimentation, [Kevin] found he could fit a TQFP32 ATMega328p - the same microcontroller in the Arduino – in a custom square cutout. The rest of the components including a CR2016 battery and OLED display use the same trick.
The rest of the design involved taking Adafruit and Sparkfun breakout boards, and modifying the individual circuits until something broke. Then, off to Eagle to create a PCB.
[Kevin]‘s experiment in extremely unusual PCB design worked, resulting in a credit-card sized “Game Boy” that’s only 1.6 millimeters thick. The controls are capacitive touch sensors and he already has an easter egg hidden in the code; enter the Konami code and the Hackaday logo pops up to the tune of [Rick Astley]‘s magnum opus.
Now [Kevin] is in a bit of a bind. He’d like to take this prototype and turn it into a crowd sourced campaign. In our opinion, this “Game Boy in a wallet” would probably do well on a site like Tindie, but any sort of large scale manufacturing is going to be a rather large pain. If you have any wishes, advice, of complaints for [Kevin] he’s got a few links at the bottom of his project page.
Saturday, March 1, 2014 - 10:00Design Your Own Processor With Verilog
Designing a computer from scratch is one of the holy grails of hardware design. For programmable logic, designing your own processor is a huge accomplishment. That’s exactly what [zhemao] has done. He created EZ8, an 8 bit processor is written in Verilog. EZ8 has a 3 stage pipeline, which makes design very interesting. Instruction set pipelines have been used in processors for many years. They speed up operation by allowing the processor to execute more than one instruction in parallel. The idea is similar to washing, drying and folding laundry. Most people pipeline their laundry. One load is in the washer, another in the dryer, and a third is being folded. Pipelines aren’t a free lunch though – there are hazards. If one instruction requires the result of an instruction which is still being executed in parallel, there’s a problem. In our laundry analogy this would be like having one sock on the folding table while its mate is still in the dryer. The folding operation must wait for the drying operation to complete before the socks can be paired. This is exactly how assemblers handle the situation – they insert NOPs between known hazard instructions.
[zhemao] didn’t just give us a processor and no support though. He also included an assembler written in OCaml, and an emulator written in C. Several test assembly programs are also up on [zhemao's] github repo to verify operation. [zhemao] has tested his processor with Altera Cyclone 5 series FPGAs, but it should be possible to port it to other FPGA manufacturers. If you want more information, [zhemao] also has a discussion going on in the ECE subreddit.
[Thanks for the tip LongHornEngineer!]
[Image courtesy of intel]
Filed under: FPGA
Saturday, March 1, 2014 - 07:00The Catweazle Mini: A Super Small ARM Based Embedded Platform
There has been a recent trend in miniaturizing embedded platforms. [Jan] wrote in to tell us about his very tiny ARM based embedded platform, the Catweazle Mini. Who knew that an ARM based system could be so simple and so small?!?
With the success of the Trinket and Femtoduino (miniature Arduino compatible boards) and many other KickStarter campaigns, it is only natural for there to be a mini platform based on the ARM architecture. Built around the NXP LPC810 ARM Cortex M0+ MCU at 30MHz (which only costs slightly more than $1, by the way), this small embedded platform packs some pretty impressive processing power. The board contains a simple linear regulator, and can be programmed via UART. [Jan's] development environment of choice is the mbed compiler, which is free and requires no installation. If you need some help getting started Adafruit has a nice guide for the LPC810.
Do you need some more processing power for your next wearable project? Be sure to use the Catweazle Mini.
Filed under: Microcontrollers
Saturday, March 1, 2014 - 04:00Smart Thermostats for an Old Club House
[Michael] is a Scout Leader in the Netherlands, where they have a great clubhouse—a “Landhuis.” The only problem? It’s old, and it’s not an efficient place to heat!
The building currently has two furnaces to cope with its many nooks and crannies, with individual thermostats in each of the five rooms. If a thermostat was activated in one of the rooms, it would control a valve in the furnace responsible for that room. Depending on which valve the furnace is attached to, a furnace would start. As you can imagine, this is an extremely inefficient system if you are heating two different rooms (and using two different furnaces!) It’s all on or off with no in-between.
As true scouts, they try to adhere to the simple principle of “why buy it when you can build it?” Commercial systems are expensive, and besides, they needed a project to work on! They’ve designed a smart(er) system using an Arduino Mega 2560 with five DS18B20 temperature sensors set up in each room, and even threw together a nice enclosure for it! They’ve included the source code on GitHub (in Dutch), so if you’re interested in setting up something similar you can check it out.
[Michael] will be around in the comments section, so if you have any feedback or questions, let him know!
Filed under: Arduino Hacks
Saturday, March 1, 2014 - 01:00PCB Antenna Reference Designs
Have you ever built a wireless project and weren’t sure how to make one of those awesome (and cheap!) PCB antennas? ”What low-cost solutions does our Antenna Board #referencedesign contain?” said Texas Instruments (TI) recently via Twitter. This older reference design contains some comprehensive designs for sub-1 GHz and 2.4 GHz antennas.
While TI’s documentation can be difficult to navigate, there are many hidden gems, and this is one of them. While TI created these designs for use with their wireless products, they will work on any device which utilizes the same wireless base frequency. For example, you could use any of the 2.4 GHz antennas with any Bluetooth, WiFi (2.4 GHz), or Bluetooth Low Energy chips. Simply open up their Antenna Selection Quick Guide document and navigate to the specific design for whichever antenna you would like to build.
For a more detailed overview of what goes into designing and testing a PCB antenna, check out this hack which we featured back in 2010. With the internet of things coming into its own, wireless projects will become more and more prolific, making PCB antennas more important than ever.
Filed under: wireless hacks
Friday, February 28, 2014 - 22:00Raspberry Pi GPU Goes Open Source! $10,000 Bounty For Quake 3
One of the thorns in the side of the Raspberry Pi crowd has been the closed source GPU. Today that all changes. [Eben Upton] reports that Broadcom is opening the source to the VideoCore® IV 3D graphics subsystem. In Broadcom’s own words:
The VideoCore driver stack, which includes a complete standards-compliant compiler for the OpenGL® ES Shading Language, is provided under a 3-clause BSD license; the source release is accompanied by complete register-level documentation for the graphics engine
Full documentation is available on Broadcom’s support site. To celebrate this, The Raspberry Pi Foundation is offering $10,000 to the first person to run Quake III at a playable frame rate on Raspberry Pi with open source drivers. The competition is worldwide. Full rules available here.
This release doesn’t cover everything, as there are still parts of the Pi’s BCM2835 which are hiding behind the blob files. However, it is a very big step for open source. Congrats to the Raspberry Pi Team, and good luck to all the entrants.
Filed under: news
Friday, February 28, 2014 - 19:00Computers Playing Flappy Bird. Skynet Imminent. Humans Flapping Arms.
After viral popularity, developer rage quits, and crazy eBay auctions, the world at large is just about done with Flappy Bird. Here at Hackaday, we can’t let it go without showcasing two more hacks. The first is the one that we’ve all been waiting for: a robot that will play the damn game for us. Your eyes don’t deceive you in that title image. The Flappy Bird bot is up to 147 points and going strong. [Shi Xuekun] and [Liu Yang], two hackers from China, have taken full responsibility for this hack. They used OpenCV with a webcam on Ubuntu to determine the position of both the bird and the pipes. Once positions are known, the computer calculates the next move. When it’s time to flap, a signal is sent to an Arduino Mega 2560. The genius of this hack is the actuator. Most servos or motors would have been too slow for this application. [Shi] and [Liu] used the Arduino and a motor driver to activate a hard drive voice coil. The voice coil was fast enough to touch the screen at exactly the right time, but not so powerful as to smash their tablet.
If you would like to make flapping a bit more of a physical affair, [Jérémie] created Flappy Bird with Kinect. He wrote a quick Processing sketch which uses the Microsoft Kinect to look for humans flapping their arms. If flapping is detected, a command is sent to an Android tablet. [Jérémie] initially wanted to use Android Debug Bridge (ADB) to send the touch commands, but found it was too laggy for this sort of hardcore gaming. The workaround is to use a serial connected Arduino as a mouse. The Processing sketch sends a ‘#’ to the Arduino via serial. The Arduino then sends a mouse click to the computer, which is running hidclient. Hidclient finally sends Bluetooth mouse clicks to the tablet. Admittedly, this is a bit of a Rube Goldberg approach, but it does add an Arduino to a Flappy Bird hack, which we think is a perfect pairing.
Friday, February 28, 2014 - 16:00Can’t Stand Your Noisy Fan? Here’s a Plan, Man
[Brian] adores his GW Instek GPC-1850D power supply, but it’s annoyingly loud and disruptive to his audio projects. The thing works great, so he decided to regulate the fan’s speed based on usage level to save his sanity.
Once [Brian] got under the hood, he found that it actually has four separate heatsinks: one for the bridge rectifiers and one for each power transistor on the three output channels. The heatsinks are electrically and thermally isolated from each other and change temperature based on the channel being used.
[Brian] and his associates had several Microchip MCP9803 temperature sensors kicking around the lab from previous projects, so they put one on each heatsink. The great thing about these is their address selection pins which let all four of them sit together on the I²C bus to Arduinoville. Each sensor is insulated and clamped to its heatsink with a piece of meccano and a dab of thermal paste.
[Brian] used an Arduino Mini and built the circuit on stripboard. The fan runs at 24V, so he’s sharing that with the Arduino through a 7805. He controls the speed of the fan with PWM from the Arduino fed through a MOSFET. The Arduino reads from each sensor and determines which one is hottest. [Brian] wanted the fan to run at all times, so he set a base speed of 20%. When the heatsinks reach 30°C/86°F, the fan speed is increased to 40%. After that, the speed increases at 5°C/9°F intervals until it reaches max speed at 65°C/149°F.
Filed under: Arduino Hacks
Friday, February 28, 2014 - 13:00Homebrew Phase Laser Rangefinder
Just when you thought ARM micros couldn’t get any cooler, another project comes along to blow you away. [Ilia] created a phase laser rangefinder (.ru, Google translatitron) using nothing but a laser diode, a pair of magnifying glasses, a few components and an STM32F4 Discovery dev board.
The theory behind this build is using a laser’s phase to determine how far away an object is. By modulating the laser diode’s output at a few hundred Mhz, the reflection from the laser can be compared, giving a fairly reasonable estimate of how far away the target is. This method has a few drawbacks; once the reflection is more than 360 degrees out of phase, the distance ‘loops around’ to being right in front of the detector.
The laser diode used does not have any modulation, of course, but by using an STM32F4 ARM chip, [Ilia]was able to modulate the amplitude of the laser with the help of a driver board hacked out of a 74HC04 chip and a few resistors. Not ideal, but it works.
The receiver for the unit uses a photodiode feeding into the same microcontroller. With an impressive amount of DMA and PLL wizardry (the STM32F4 is really cool, you know), the phase of both the transmission and reflection can be compared, giving a distance measurement.
It’s all an impressive amount of work with a hacked together set of optics, a cheap dev board, and a few components just lying around. For any sort of application in a robot or sensor suite this project would fall apart. As a demonstration of the theory of phase laser rangefinding, though, its top notch.
You can check out a video of [Ilia]‘s rangefinder below. Be sure to full screen it and check out the distance measurement on the LCD. It’s pretty impressive.
Thanks [Володимир] for the link.
Filed under: laser hacks