True Random Number Generator For A True Hacker

How can you generate random bits? Some people think it’s not easy, others will tell you that it’s pretty damn hard, and then there are those who wonder if it is possible at all. Of course, it is easy to create a very long pseudorandom sequence in software, but even the best PRNG (Pseudorandom Number Generator) needs a good random seed, as we don’t want to get the same sequence each time we switch on the unit, do we? That’s why we need a TRNG (True Random Number Generator), but that requires special hardware.

Some high-end microprocessors are equipped with an internal hardware TRNG, but it is, unfortunately, not true for most low-cost microcontrollers. There are a couple of tricks hackers use to compensate. They usually start the internal free running counter and fetch its contents when some external event occurs (user presses a button, or so). This works, but not without disadvantages. First, there is the danger of “locking” those two events, as a timer period may be some derivative of input scan routine timing. Second, the free running time (between switching on and the moment the unit requests a random number) is often too short, resulting in the seed being too close to the sequence start, and thus predictable. In some cases even, there is no external input before the unit needs a random seed!

Despite what has already been discussed, microcontrollers do have a source of true randomness inside them. While it might not be good enough for crypto applications, it still generates high enough entropy for amusement games, simulations, art gadgets, etc.

Continue reading “True Random Number Generator For A True Hacker”

maplemaker mini v2 3d printer

MapleMaker 3D Printer Is As Printable As They Get

The term RepRap is fairly common and gets thrown around too often when generally talking about DIY 3D Printers. We must remember that the intent of the RepRap project “…is about making self-replicating machines…” and of course “…making them freely available for the benefit of everyone…“.

[MiniMadRyan] has recently designed a printer that could be considered the embodiment of the RepRap philosophy. He’s calling it the MapleMaker Mini V2. An extremely high percentage of the parts required to build this printer are, in fact, printable themselves. The frame pieces are printed, all of which can be printed on the printer thanks to the 6x8x6 inches print volume. The overall design is aesthetically pleasing, resembling that of a Lulzbot Mini.

The MapleMaker Mini V2 is self-replicating. The other part of the RepRap goal is to be free to the community. The design files are available on YouMagine and the assembly manual is better than those provided by most commercial companies. So if you’re looking to build a printer, be sure to add this one to your short list!

 

RF scanner

Easy Way To Listen To Cube Sats

[Bill Meara] has discovered an easy way to listen to amateur “cube-sat” satellites using a cheap SDR Dongle.

The DVB-T SDR Dongle comes in at a whopping thirteen bucks, and the highly sophisticated antenna (pdf) is made from a bit of copper wire and uses aluminum wire for the ground plane.

Once he had everything hooked up, [Bill] went to the Heavens Above website to see when satellites would be passing over him. He was able to lock onto the Prism Satellite, and then a couple other cube-sats that were launched from Russia and Istanbul.

Continue reading “Easy Way To Listen To Cube Sats”

Hackaday Prize Entry: An SD Card Arduino

About a year ago, Intel announced they’d be launching a new platform stuffed into an SD card. Imagine – an entire computer packaged into an SD card, with nine whole pins for power and I/O. Cooler heads prevailed, the Intel Edison was launched, but the idea stuck; why can’t you fit an Arduino in an SD card?

[kodera2t] found out there’s no real reason why you can’t put a small microcontroller inside an SD card. For his Hackaday Prize entry, he created the SDuino, and it’s exactly what it says on the tin: an ATMega328p stuffed into a microSD adapter.

Unlike the other microcontroller stuffed in an SD card platform — the Electric Imp, [kodera] is, for the most part, respecting the standard pinout for SD cards. The MISO and MOSI signals are reversed, of course, one of the grounds on the SD pinout is tied to an analog input pin on the microcontroller, and the chip select on the SD pinout is ignored completely. Other than that, it’s the closest you’re going to get to an SD card with a microcontroller.


The 2015 Hackaday Prize is sponsored by:

RC Lawn Mower

Electric Lawn Mower Converted To RC Control

Not too many people like pushing a lawn mower around the yard, but unfortunately, it is a necessary chore. Anti-push-mower advocate [imadethis2014] decided to (as his moniker suggests) make a solution to his pushing-problem. He was a fan of radio controlled devices so it made sense to convert his mower to RC!

The mower itself is powered by an off the shelf battery and has a 21-inch deck. The stock wheels and handle were removed and replaced with a new extruded aluminum frame. Out back are a pair of used electric wheelchair motors sourced from eBay. These drive motors are mounted to the new frame via a pair of aluminum brackets that [imadethis2014] designed and cut out on his Shakepoko CNC machine. Since both rear drive wheels work independent of each other, a pair of swiveling casters up front allow the mower to turn.

A large car-sized battery box houses the two smaller wheel chair batteries as well as the motor control and RC electronics. Check out the video after the break, the mower seems to do fairly well. [imadethis2014] admits he needs some new wheels as the current ones don’t get a lot of traction on the grass. He’s also thinking of adding GPS for automated mowing but isn’t quite there yet.

Continue reading “Electric Lawn Mower Converted To RC Control”

Hackaday Links Column Banner

Hackaday Links: June 28, 2015

The iBookGuy is using CPU heatsinks to cool microwave dinners. It’s an old Pentium II heatsink and a modern fan, cobbled together into a device that can quickly and effectively cool down a microwave dinner. I have several heatsinks from some old Xeon servers in my kitchen, but I don’t use them to cool food; I use them to defrost food. It’s very effective, and now I need to get some data on how effective it is.

[juangarcia] is working on a 3D printable PipBoy – the one in the upcoming Fallout 4. The extra special edition of Fallout 4 include a PipBoy that works with your cellphone, but if you want one before November, 3D printing is the way to go.

[Collin] over at Adafruit is teaching Oscilloscope Basics. Note the use of the square wave output to teach how to use the controls. Also note the old-school DS1052E; the Rigol 1054Z is now the de facto ‘My First Oscilloscope’

[Donovan] has one of those V212 toy quadcopters. The remote has a switch that controls a bunch of lights on the quad. This switch can be repurposed to control a small camera. All it takes is some wire, an optocoupler, and a bit of solder. Very cool. Video here.

I go to a lot of events where hackers, devs, and engineers spend hours banging away on their laptops. The most popular brand? Apple. The second most popular brand for savvy consumers of electronics? Lenovo, specifically ThinkPad X- and T-series laptops (W-series are too big, and do you really need a workstation graphics card for writing some node app?). They’re great computers, classic works of design, and now there might be a ThinkPad Classic. With a blue Enter key, 7-row keyboard, a multi-color logo, ThinkLights, a bunch of status LEDs, and that weird rubberized paint, it’s a modern realization of what makes a ThinkPad great. Go comment on that Lenovo blog post; the designer is actually listening. Now if we could just get a retina display in a MacBook Air (the one with ports), or get manufacturers to stop shipping displays with worse than 1080 resolution…

Need a fan guard? Know OpenSCAD? Good. Now you have all the fan guards you could ever want. Thanks [fridgefire] for sending this one in.

What You See Is What You (Laser) Cut

WYSIWYG editors revolutionized content management systems, will WYSIWYC interfaces do the same for laser cutters? Unlikely, but we still appreciate the concepts shown here. Chalkaat uses computer vision to trace lines drawn in ink with the cutting power of a laser.

At its core, you simply draw on your work piece with a colored marker and the camera system will ensure the laser traces this line exactly. There is even a proof of concept here for different behavior based on different line color, and the technique is not limited to white paper but can also identify and cut printed materials.

This is a spin on [Anirudh’s] first version which used computer vision with a projector to create a virtual interface for a laser cutter. This time around we can think of a few different uses for this. The obvious is the ability for anyone to use a laser cutter by drawing their designs by hand. Imagine introducing grade-school children to this type of technology by having them draw paper puppets and scenery in advance and have it cut in shop class for use in art projects.

A red arrow indicates cut line, but a pink arrow is used for indicating positioning on a work piece. The example shows a design from a cellphone etched next to a positioning marker. But we could see this used to position expensive things (like a Macbook) for etching. We also think the red marker could be used to make slight adjustments to cut pieces by scribing a work piece with the marker and having the laser cut it away.

This concept is a product of [Nitesh Kadyan] and [Anirudh Sharma] at the Fluid Interfaces group at the MIT Media Lab and is something we could see being built into future laser cutter models. What do you think?

Continue reading “What You See Is What You (Laser) Cut”