Thumbnail that say The Hacklet

Hacklet #12 – Last Minute Hackaday Prize Submissions

12

If hackers and engineers are notorious for anything, it’s for procrastinating. Many of us wait until the absolute last-minute to get things done. The Hackaday Prize has proved to be no exception to that. Anyone watching the newest projects could see the entries fly in the last few days. Let’s take a quick look at a few.

handuino

[Cyrus Tabrizi] submitted Handuino just a few short hours before the deadline. Handuino is an Arduino based human interface device. You can use it to control anything from R/C cars to 3D printers, to robots to Drones. Input is through the joystick, switches, and buttons, and output through the on-board 2.2″ LCD. Projects can interface to the Handuino via a USB port, or an XBEE radio. Nice Work [Cyrus].

bionicYoSelf

[txyz.info] wants to make us more human than human with Bionic Yourself, an implantable device to make you a bionic superhero. [txyz] plans to use sensors such as an electromagnetic field sensor, accelerometers, and Electromyography (EMG) muscle activity detectors. The idea is to not only sense the implanted wearer, but the world around them. The wearer can then use an embedded Bluetooth radio to send commands. The entire system runs on the Arduino platform, so updating your firmware will be easy. Not everyone has a charging port, so [txyz] has included wireless battery charging in the system.

HAD-alarm-clock[Laurens Weyn] wants to wake us all up with Overtime: the internet connected alarm clock. Overtime is a Raspberry PI powered clock with a tower of 7 segment displays. The prototype displays were sourced from an old exchange rate sign. Overtime does all the normal clock things, such as display the time, and date. It even allows you to set and clear alarms. The display is incredible – there are enough pixels there to play Tetris. Overtime is currently running on an Arduino Mega, but [Laurens] plans to move to a Raspberry PI and hook into the internet for information such as Google calender events.

We’re going to cut things a bit short this week. Your work is done (for now) but for the Hackaday staff, the work is just beginning. We’re already on task, reviewing the entries, and picking which submissions will move on to the next round. Good luck to everyone who entered.

As always, See you in next week’s Hacklet. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Sparkfun Ships 2000 MicroViews Without Bootloaders

microview-fail

Everyone has a bad day right? Monday was a particularly bad day for the folks at Sparkfun. Customer support tickets started piling up, leading to the discovery that they had shipped out as many as 1,934 MicroViews without bootloaders.

MicroView is the tiny OLED enabled, Arduino based, microcontroller system which had a wildly successful Kickstarter campaign earlier this year. [Marcus Schappi], the project creator, partnered up with SparkFun to get the MicroViews manufactured and shipped out to backers. This wasn’t a decision made on a whim, Sparkfun had proven themselves by fulfilling over 11,000 Makey Makey boards to backers of that campaign.

Rather than downplay the issue, Sparkfun CEO [Nathan Seidle] has taken to the company blog to explain what happened, how it happened, and what they’re going to do to make it right for their customers. This positions them as the subject of our Fail of the Week column where we commiserate instead of criticize.

First things first, anyone who receives an affected MicroView is getting a second working unit shipped out by the beginning of November. Furthermore, the bootloaderless units can be brought to life relatively easily. [Nate] provided a hex file with the correct bootloader. Anyone with an Atmel AVR In-System Programming (ISP) programmer and a steady hand can bring their MicroView to life. Several users have already done just that. The bootloader only has to be flashed via ISP once. After that, the MicroView will communicate via USB to a host PC. Sparkfun will publish a full tutorial in a few weeks.

Click past the break to read the rest of the story.

Continue reading “Sparkfun Ships 2000 MicroViews Without Bootloaders”

When Worlds Collide: 68008 Bootstrapped By An Arduino Uno

68008-ardu

[Peter Bjornx] brings classic microprocessors and modern microcontrollers together with his Arduino bootstrapped 68008 computer. The Motorola 68008 is the 8-bit external bus version of the well-known 68000 (or 68k) microprocessor. A friend gave [Peter] one of these chips, so he built a simple computer around it.

This isn’t one of those clean retrocomputers with every connection carefully planned out and wire wrapped. [Peter’s] created a true hack – a working 68k system on a breadboard created with whatever he had on hand at the time. The real gem of this system is the ROM. [Peter] replaced an EPROM chip with an Arduino.

In the not-so-good-old-days, microprocessors (and many microcontrollers) ran from an external ROM chip. This often was a UV-erasable EPROM. Carefully compiled code was burned into the EPROM with a device programmer. If the code wasn’t perfect, the EPROM had to be pulled and placed under a UV lamp for 20 minutes or so to erase it before it was time to try again. EPROM emulators were available, but they were way too expensive for the hobbyist.

Thankfully those days are far behind us now with the advent of EEPROM and then Flash. [Peter] didn’t want to revisit the past either, so he wrote a simple Arduino sketch which allowed it to act as an EPROM emulator, including address logging via the serial port.

The design still caused [Peter] some headaches, though. His major problem was a classic 68k issue, /DTACK timing. /DTACK or Data Transfer Acknowledge is one of several bus control signals used by the 68k. When the 68k performs a read from the data bus, it waits for /DTACK before it transfers data. The Arduino was too slow to release /DTACK in this case, which caused the 68k to think every read was immediately completed. There is a much clearer explanation of the 68k bus cycles on this Big Mess O Wires page. [Peter’s] solution was simple – a D flip-flop connected to the address strobe took care of the timing issues.

It took quite a bit of tinkering, but the system eventually worked. Peter was able to run the 68008 from its reset vector into a simple loop using the Arduino. It’s only fitting that the 68k program loaded by the Arduino was an LED blinker, everyone’s favorite hardware Hello World.

Thanks [Robert!]

Lost PLA Casting With A Little Help From Your Microwave

lost-pla

[Julia and Mason] have been perfecting their microwave-based lost PLA casting technique over at Hackaday.io. As the name implies, lost PLA is similar to lost wax casting techniques. We’ve covered lost PLA before, but it always involved forges. [Julia and Mason] have moved the entire process over to a pair of microwaves.

Building on the work of the FOSScar project, the pair needed a way to burn the PLA out of a mold with a microwave. The trick is to use a susceptor. Susceptors convert the microwave’s RF energy into thermal energy exactly where it is needed. If you’ve ever nuked a hot pocket, the crisping sleeve is lined with susceptor material. After trying several materials, [Julia and Mason] settled on a mixture of silicon carbide, sugar, water, and alcohol for their susceptor.

The actual technique is pretty simple. A part printed in PLA is coated with susceptor. The part is then placed in a mold made of plaster of paris and perlite. The entire mold is cooked in an unmodified household microwave to burn out the PLA.

A second microwave with a top emitter is used to melt down aluminum, which is then poured into the prepared mold. When the metal cools, the mold is broken away to reveal a part ready to be machined.

We think this is a heck of a lot of work for a single part. Sometimes you really need a metal piece, though. Until metal 3D printing becomes cheap enough for everyone to do at home, this will work pretty well.

TFT LCDs Hit Warp Speed With Teensy 3.1

[Paul Stoffregen], known as father of the Teensy, has leveraged the Teensy 3.1’s hardware to obtain some serious speed gains with SPI driven TFT LCDs. Low cost serial TFT LCDs have become commonplace these days. Many of us have used Adafruit’s TFT LCD library  to drive these displays on an Arduino. The Adafruit library gives us a simple API to work with these LCDs, and saves us from having to learn the intricacies of various driver chips.

[Paul] has turbocharged the library by using hardware available on Teensy 3.1’s 32 Freescale Kinetis K20 microcontroller. The first bump is raw speed. The Arduino’s ATmega328 can drive the SPI bus at 8MHz, while the Teensy’s Kinetis can ramp things up to 24MHz.

Speed isn’t everything though. [Paul] also used the Freescale’s 4 level FIFO to buffer transfers. By using a “Write first, then block until the FIFO isn’t full” algorithm, [Paul] ensured that new data always gets to the LCD as fast as possible.

Another huge bump was SPI chip select. The Kinetis can drive up to 5 SPI chip select pins from hardware. The ATmega328 doesn’t support chip selects. so they must be implemented with GPIO pins, which takes even more time.

The final result is rather impressive. Click past the break to see the ATmega based Arduno race against the Kinetis K20 powered Teensy 3.1.

Paul’s library is open source and available on Github.

Continue reading “TFT LCDs Hit Warp Speed With Teensy 3.1”

Thumbnail that say The Hacklet

Hacklet #11- Cameras

11

We preempt this week’s Hacklet to bring you an important announcement.

Hackaday.io got some major upgrades this week. Have you checked out The Feed lately? The Feed has been tweaked, tuned, and optimized, to show you activity on your projects, and from the hackers and projects you follow.

We’ve also rolled out Lists! Lists give you quick links to some of .io’s most exciting projects. The lists are curated by Hackaday staff. We’re just getting started on this feature, so there are only a few categories so far. Expect to see more in the coming days.

Have a suggestion for a list category? Want to see a new feature?  Let us know!

Now back to your regularly scheduled Hacklet

There are plenty of cameras on Hackaday.io, from complex machine vision systems to pinhole cameras. We’re concentrating on the cameras whose primary mission is to create an image. It might be for art, for social documentation, or just a snapshot with friends.

pinstax[theschlem] starts us off with Pinstax, a 3D Printed Instant Pinhole Camera. [theschlem] is using a commercial instant film camera back (the back for a cheap Diana F+) and 3D printing his own pinhole and shutter. He’s run into some trouble as Fuji’s instant film is fast, like ISO 800 fast. 3 stops of neutral density have come to the rescue in the form of an ND8 filter. Pinstax’s pinhole is currently 0.30mm in diameter. That translates to just about f/167. Nice!

largeformat

Next up is [Jimmy C Alzen] and his Large Format Camera. Like many large format professional cameras, [Jimmy’s] camera is designed around a mechanically scanned linear sensor. In this case, a TAOS TSL1412S. An Arduino Due runs the show, converting the analog output from the sensor to digital values, stepping the motor, and displaying images in progress on an LCD. Similar to other mechanically scanned cameras, this is no speed demon. Images in full sunlight take 2 minutes. Low light images can take up to an hour to acquire.

democracy[Jason’s] Democracycam aims to use open source hardware to document protests – even if the camera is confiscated. A Raspberry Pi, Pi Cam module, and a 2.8″ LCD touchscreen make up the brunt of the hardware of the camera. Snapping an image saves it to the SD card, and uses forban to upload the images to any local peers. The code is in python, and easy to work with. [Jason] hopes to add a “panic mode” which causes the camera to constantly take and upload images – just in case the owner can’t.

digiholgaThe venerable Raspberry Pi also helps out in [Kimondo’s] Digital Holga 120d. [Kimondo’s] fit a Raspberry Pi model A, and a Pi camera, into a Holga 120D case. He used the Slice of pi prototype board to add a GPIO for the shutter release button, a 4 position mode switch, and an optocoupler for a remote release. [Kimondo] even added a filter ring so he can replicate all those instagram-terrific filters in hardware. All he needs is to add a LiPo battery cell or two, a voltage regulator, and a micro USB socket for a fully portable solution.

openreflex

Finally, we have [LeoM’s] OpenReflex rework. OpenReflex is an open source 3D printed Single Lens Reflex (SLR) 35mm film camera. Ok, not every part is 3D printed. You still need a lens, a ground glass screen, and some other assorted parts. OpenReflex avoids the use of a pentaprism by utilizing a top screen, similar to many classic twin lens reflex cameras. OpenReflex is pretty good now, but [Leo] is working to make it easier to build and use. We may just have to break out those rolls of Kodachrome we’ve been saving for a sunny day.

That’s it for this week’s Hacklet! Until next week keep that film rolling and those solid state image sensors acquiring. We’ll keep bringing you the best of Hackaday.io!

DIY Custom Molded Earbud Roundup

Headphones have become ubiquitous these days. Thanks to the iPod and the smartphone, it’s become commonplace to see someone wearing a pair of earbud style headphones. Earbuds aren’t always comfortable though. On some people they are too loose. On others, the fit is so tight that they cause pain.To that end, we’ve found a few great solutions for this problem.

[cptnpiccard] has documented his custom molded Sugru earbuds in an Imgur gallery. He’s molded a pair of standard earbuds into a cast of his ear. He uses them both for hearing protection and tunes while skydiving. Sugru’s FAQ states that while the cured material is safe for skin contact (and in ear use) some people are sensitive to the uncured material.

While discussing his project on Reddit, a few users chimed in and mentioned they’ve made custom molded earbuds using Radians custom earplug kits. The Radians material hardens up in only 10 minutes, which beats waiting an hour for Sugru.

The absolute top of the food chain has to be building your own triple driver in ear monitors, which is exactly what [marozie] has done. Professional custom molded monitors can cost over $1000, which puts them in the realm of professional musicians and audiophiles. [marozie] discovered that mouser stocks quite a few transducers from Knowles. These tiny speakers don’t come cheap, though; you can spend upwards of $70 just for a single driver.

[marozie] took a cast of his ear using an earmold impression kit. He used this cast to create a mold. From there it was a matter of pouring resin over his carefully constructed driver circuits and audio tubes. The resulting monitors look and sound incredible.

It goes without saying that making custom in ear monitors involves putting chemicals into you ears. The custom earmold kits come with tiny dams to keep the mold material from going in too far and causing damage. This is one of those few places where we recommend following the instructions. Click past the break to see a demo video of the ear molding process.

Continue reading “DIY Custom Molded Earbud Roundup”