Upgrading An Old Lantern

[Shockwaver] stumbled across some old kerosene lanterns, and decided he also stumbled across his next project. He decided to leave the kerosene out, and in its place used some RGB LEDs to bring the lanterns back to life. This is quite an upgrade. Considering the burning kerosene will only put out a few colors of light, the astute reader will have realized the RGB array has the ability put out over 16 million colors.

After some initial testing, he settled on a 24 LED circle array powered by an ATtiny85. The FastLED library helped him keep the code within the tight memory requirements. [Shockwaver] was not used to working with the such a small amount of memory, but after some fiddling he was able to make it work in the end, using 8,126 bytes.

The source can be found on his github page. Be sure to check out the video below to see the RGB lantern in action.

Continue reading “Upgrading An Old Lantern”

Intense Brushless DC Stage Brings More E-Bike Power

[ZombieSS] wrote in to share the latest iteration of his new open hardware Brushless DC motor high power output stage posted on the Endless-sphere forums. The thread is a gold mine of useful information on designing, building and debugging high power electronics and the whole thing is worth reading. This includes the story of issues he faced with common mode noise picked up by the probe leads on his Rigol, which sidetracked the project for a while.

ebikeWe’ve covered various ebike hacks before, but the guys at endless sphere appear to be developing a number of solid open hardware designs in this area. This includes the Lebowski controller which [ZombieSS] used in conjunction with his design.

He has installed the controller and output stage on his electric bike, and you can see one of the first test runs in the video below. We look forward to hearing more from the awesome hackers at Endless sphere!

Continue reading “Intense Brushless DC Stage Brings More E-Bike Power”

Collabatorium On Wednesday

Our next Collabatorium is just around the corner. On Wednesday we’ll open up the Hacker Channel for another action-packed discussion on what you’re building. Show your work, see what others are doing, ask for help, offer your skills, and more. It all begins at 19:00 CET (UTC+2).

All are welcome but you need to be added as a collaborator on the Hackaday Prize Hacker Channel. Go there now and click the “Request to join this project” link on the bottom of the left sidebar.

We had a blast last week with a huge mass of hackers hanging out in our virtual hackerspace. This week we’re changing up the time zones so that hackers in different parts of the world may take part. If you’re in Europe, this should be late enough that the work day done. Make sure to drop in and represent the hacker community in your part of the world. See you on Wednesday!

The 2015 Hackaday Prize is sponsored by:

On-Demand Paper Clips

3D Printers are great for printing out parts or items you need, but can they really help if you run out of paper clips? Yes, the all important and extremely overlooked bent metal fastener can put a serious damper on your day if not readily available. There is a solution to this problem, it’s called the Paper Clip Maximizer 1.0. The only consequence of using such a machine may be the destruction of mankind.

The machine takes a spool of wire and methodically bends it into a paper clip shape. Just like an extruder on a 3D Printer, there is a knurled drive wheel with a spring-loaded bearing pinching the wire. This drive wheel is powered by an RC servo that has been modified for continuous rotation. After the drive mechanism, the wire passes through a sturdy guide block. Upon exit, the wire finds the bending head, also powered by a servo. There is a bearing on the end of the bending head that is used to bend the wire around the guide block. After making several bends to form the paper clip, the bending head swings around to cut off the newly manufactured clip with an abrasive wheel. Unfortunately, this part of the process doesn’t work well. The cutoff wheel motor is powered directly by the Arduino that controls the entire machine, the power output of which is not enough to easily cut the wire. It can also leave a sharp burr on the cut wire which is not a great feature for paper clips to have. But we just see these as future fodder for hacking sessions!

Continue reading “On-Demand Paper Clips”

Hackaday Prize Entry: It’s Like Apple Pay, But For Receipts

There’s Apple Pay, Samsung Pay, Google Wallet, and a host of other ways to pay for stuff with your phone. What about receipts, though? Do you really need to carry around little bits of paper to prove to incredulous friends you have, indeed, bought a donut? The proof is back home, in the file. Under D, for donut.

[Hisham] is working on a very interesting system for the Hackaday Prize. It’s effectively the the opposite side of every point of sale transaction that Apple Pay, Samsung Pay, and Google Wallet are working on. Instead of handling payment, [Hisham]’s Aelph handles receipts.

[Hisham]’s project is hardware, with a small device that plugs into a point of sale terminal. This device transmits a receipt to the Aleph app (or a third party app), and uploads a PDF copy of the receipt to a server. Other than a small hardware box, there’s no additional software required for a POS terminal. For retailers, it’s as easy as plugging in a box, and for consumers, it’s as easy as downloading an app.

The hardware was prototyped on a TI LaunchPad featuring a TIVA C microcontroller. This, along with the NFC eval kit give Aleph more than enough power to connect to a company LAN and spit out a few PDFs. You can check out one of [Hisham]’s demo videos below.

There are a lot of benefits to a electronic receipts; if you ever need a receipt, odds are you’ll scan it anyway – a dead tree receipt is just inefficient. There’s also some nasty chemicals in thermal receipt paper. You only need to Google ‘BPA receipt’ for that evidence. Either way, it’s a great idea, and we long for the day that our wallets aren’t stuffed to Costanzaesque proportions, and a time where we won’t need a scanner to complete an expense report.

The 2015 Hackaday Prize is sponsored by:

Continue reading “Hackaday Prize Entry: It’s Like Apple Pay, But For Receipts”

Doom on Raspberry Pi

Writing Doom For The Raspberry Pi

We’ve all seen Doom played on the Raspberry Pi before… but this isn’t a port of the game. No, this was a school project at the Imperial College of London — writing the game in bare assembly. They wrote it from scratch.

bare metal doom thumbnail
Complete with a custom home made controller connected directly to the GPIO pins!

Yep. There’s not even an operating system on the Pi. It’s 9800 lines of bare metal ARM assembly. If that doesn’t hurt your brain we dunno what does!

They are using the official textures from the game, and it’s not quite a perfect replica — but it’s pretty darn close.

Part of the project was to build an emulator to make it easier to test the game, but it didn’t work out the greatest — so most of the actual game development was performed on the actual hardware. Yikes!

Stick around after the break to see Doom in all its former glory. Top notch work guys!

Continue reading “Writing Doom For The Raspberry Pi”

UController Code Profiler Debugs Your Microcontroller

When working on digital circuits that operate at high frequencies it helps to have some special tools on hand. Things like oscilloscopes and logic analyzers are priceless when something isn’t working right. Another great tool would be this hardware-based profiler that [Mike] came up with while he was working on another project.

The profiler connects to USB and shows up as a serial port. Normally [Mike] used a set of LEDs to get information about how his microcontrollers work, but for this project that wasn’t enough. The uController Code Profiler can provide the main loop running time, time functions and sections of code, keep track of variables, and a few other tasks as well, all with nanosecond resolution.

The source code isn’t provided but a hex file is available, along with a schematic and an include file, if you want to try this one out on your next project. Like this homemade logic analyzer, this could be a powerful tool in your microcontroller arsenal. Simply include the file with various pieces of your code to get it up and running!