Gearshift Display for a Rally Car

racer

[Andrea] was helping out a local rally racing team with their car and was asked to create a device that would display the current gear on a big, bright display. Of course, a device like this already exists, but the team didn’t want to invest the significant resources into a ready-made product. Instead, [Andrea] was tasked with creating one.

The device is basically a pot attached to the gear shifter, but in testing, [Andrea] ran into a problem; between reverse and 5th gear, the shifter would turn 360 degrees, meaning these gears were indistinguishable.

The solution to this problem was a calibration procedure for when the driver starts the car. By setting a jumper, the driver puts the car into all gears, sorting out the reading and storing the analog values in the microcontroller’s EEPROM.

Halloween Hack Night at Pololu

dollCloseup

Have some servos and an Arduino lying around? It isn’t too late to get your freaky on! Last night, tech enthusiasts of Las Vegas gathered at Pololu Robotics to show off their hacks for a Halloween flavored edition of their bi-monthly robot club. These projects created by those in the community as well as the Pololu engineers themselves are fun and have a relatively short list of materials. So, if the examples below give you some inspiration, this is permission to Macgyver something together before your big Halloween party tonight…

roboFingersImpatient Severed Fingers – [Amanda] came up with a cute use for some mini servos and a zombie hand prop. The five severed fingers were attached to one end of a plastic rod. The other end was mounted to each of five servos which were laid out in the appropriate hand shape and attached to a fixed base. An Arduino running a basic sweep sketch animated the motors at slightly staggered intervals, creating a nice rolling effect. Even with the moving parts exposed this prop would be awesome to have on display, or set the ambiance with its continuous tapping…

deltaSpectorAngry Spectral Delta – [Nathan Bryant] made an actual costume for his delta robot from Robot Army. By attaching a small plastic skull to the end effector and draping a tattered piece of fabric over the rest of the mechanism he effectively transformed the delta into a little ghost with a sassy personality. The head swiftly bobbed about, all while staying parallel to the table… until it intermittently came unhinged and hung limply, which was a nice added effect!

 

exorcismBabyRobotic Exorcism Baby – This doll could turn its half skeleton, half baby face 180 degrees and then laugh at your fear. By attaching two servo motors together, [Jeremy] was able to create a pan and tilt mechanism which acted as the baby’s contorting neck and chattering jaw. The micro controller sending commands to the motors was hidden modestly under her dress.

 

shadowBoxStabby Animated Cardboard Shadowbox - Among the animatronic devices seen at the event was a shadowbox made by [Brandon] hidden in a dark conference room nearby. When one happened to walk past the seemingly unoccupied space, they’d glimpse the silhouette of an arm stabbing downward with a knife through a windowsill. Being lured in for further investigation you’d find that the shadow was being cast by some colored LEDs through a charmingly simple device. A cutout made from recycled card stock was attached to a single servo. This whole mechanism itself rocked back and forth slightly as the motor moved, which wasn’t intentional but added some realism to the motion of the stabby arm.

There were many interesting projects present last night ranging from remote-controlled skeletal arms to other reactive devices ready to deliver a scare. If you’re interested in knowing more, those made by the Pololu crew are documented on their blog. Since video does these projects better justice, you can check out a compilation of clips here:

[Read more...]

The R2D2-‘O-Lantern Reddit Doesn’t Want You To See

unnamed The people here at Hackaday aren’t dedicating their entire lives to moderating comments and sending press releases to the circular file; some of us actually have jobs and hobbies. [James Hobson] works at a projector company that was having a pumpkin carving contest today. He came up with the best possible use of a pumpkin projector – a R2D2-‘o-lantern that plays the message from [Leia] to [Obi-Wan Kenobi]. [James] submitted this to reddit, but one of the mods deleted it. We’re much cooler than a few mods and their little empire, so we’re putting it up here.

Instead of a knife, [James] used a rather interesting method for carving a pumpkin – a laser cutter. By maxing out the Z height of his laser cutter, he was able to cut a perfect R2D2 graphic on the surface of a pumpkin. No, [James] isn’t removing any of the pumpkin’s skin after the lasering is done, but the result still looks great when backlit.

Inside the pumpkin is a projector playing the famous distress message made from the captured Tantive IV. It’s not entirely accurate – [James] put the projector behind R2’s radar eye and not the holographic projectors, and to project [Leia] in mid-air he would need something like this, Still, it’s a great project we expect to see cloned a year or so from now.

Scare off Squirrels and Tweet about It with the Jack-O’-Lantern Warning System

Pumpkin with a motion detector to deter squirrels[Stephpalm] had carved a pumpkin for the first time in two decades. Unfortunately, the neighborhood squirrels were all too pleased with her work and devoured it. Her original goal for the jack-o’-lantern was to have its lights controlled over the internet. These hungry critters inspired another project instead – The Jack-’o’-Lantern Squirrel Early Warning System. There have been hacks that have dealt with pesky squirrels before, such as a trap and an automatic water turret, but they didn’t have the ability to post to social media like this system does.

The system consists of a Spark Core, a passive infrared (PIR) sensor, and a piezo buzzer. When the motion sensor is triggered the buzzer sounds, scaring away any peckish creatures lurking nearby. [Stephpalm] used an NPN transistor and 1k-Ohm resistor to provide enough current to drive the buzzer. All of these components were connected using jumper wires and a breadboard that sits on top of the pumpkin. As a nod to her original idea, [stephpalm] then created “Pumpkin Watch Code” and loaded it into the Core. It posts preset messages to a Twitter account every 45 minutes of inactivity or whenever a pesky squirrel is detected. The messages can be personalized for anyone who wants to make one of these themselves.

We wonder if it would be better to place the breadboard inside the jack-o’-lantern and carve out a couple of holes on top for the PIR sensor’s wires to come out of. That would offer some protection from the elements and prevent it from getting knocked over. We think this project could be adapted for many other uses. After the break, see a video of the system in action!

[Read more...]

Reverse Engineering the D-Link WPS Pin Algorithm

sub_4D56F8

A router with WPS requires a PIN to allow other devices to connect, and this PIN should be unique to every router and not derived from other easily accessible data found on the router. When [Craig] took a look at the firmware of a D-Link DIR-810L 802.11ac router, he found exactly the opposite; the WPS PIN was easily decipherable because it was generated entirely from the router’s MAC address and could be reverse engineered by sniffing WiFi.

When [Craig] was taking a look at the disassembled firmware from his router, he noticed a bit of code that accessed the NVRAM used for storing device-specific information like a serial number. This bit of code wasn’t retrieving a WPS pin, but the WAN MAC address instead. Instead of being unique to each device and opaque to every other bit of data on the router, the WPS pin was simply generated (with a bit of math) from the MAC address. This means anyone upstream of the router can easily derive the WPS pin of the router, and essentially gives everyone the keys to the castle of this router.

A few years ago, it was discovered the WPS pin was extremely insecure anyway, able to be brute-forced in a matter of minutes. There are patches router manufacturers could apply to detect these brute force attacks, closing that vulnerability. [Craig]‘s code, though, demonstrates that a very large number of D-Link routers effectively broadcast their WPS PIN to the world. To make things even worse, the BSSID found in every wireless frame is also derived from the WAN MAC address. [Craig] has literally broken WPS on a huge number of D-Link routers, thanks to a single engineer that decided to generate the WPS PIN from the MAC address.

[Craig] has an incomplete list of routers that are confirmed affected on his site, along with a list of confirmed unaffected routers.

Hacklet 21 – Halloween Hacks Part 2

21

We asked, you listened! Last weeks Hacklet ended with a call for more Halloween themed projects on Hackaday.io. Some great hackers uploaded awesome projects, and this week’s Hacklet is all about featuring them. Every one of our featured projects was uploaded to Hackaday.io within the last 7 days.

masseffect2Mass Effect meets Daft Punk in [TwystNeko's] 5-Day SpeedBuild Mass Effect Armor.  As the name implies, [TwystNeko] built the armor in just 5 days. Ethylene-vinyl acetate (EVA) foam was used to make most of the costume. Usually EVA foam needs to be sealed. To save time, [TwystNeko] skipped that step, and just brushed on some gold acrylic paint.  The actual cuts were based on an online template [TwystNeko] found. To top the armor off, [TwystNeko] used a custom built Daft Punk Guy Manuel helmet. Nice!

 

rat[Griff] wins for the creepiest project this week with Rat Bristlebot. Taking a page from the Evil Mad Scientist Labs book, [Griff] built a standard bristlebot based on a toothbrush and a vibrating pager motor. He topped off the bristlebot with a small rubber rat body from the party store. The rat did make the ‘bot move a bit slower, but it still was plenty entertaining for his son. [Griff] plans to use a CdS cell to make the rat appear to scamper when room lights are turned on. Scurrying rats will have us running for the hills for sure!

pumpkin[MagicWolfi] was created Pumpkin-O-Chain to light up Halloween around the house. This build was inspired by [Jeri Ellsworth's] motion sensing barbot dress from 2011. Pumpkin-O-Chain uses the a similar RC delay line with 74HC14 inverters to make the LEDs switch on in sequence. He wanted the delay to be a bit longer than [Jeri's] though, so he switched to 100K ohm resistors in this build. The result is a nice effect which is triggered when someone passes the PIR motion sensor.

pumpkinlite[Petri] got tired of his Jack-o’-lantern candles burning out, so he built his own Pumpkin Light. The light made its debut last year with a Teensy 2.0++ running the show. This year, [Petri] decided to go low power and switched to an MSP430 processor on one of TI’s launchpad boards. With plenty of outputs available on the Teensy and the MSP430, [Petri] figured he might as well use and RGB LED. The new improved Jack-o’-lantern can run for hours with no risk of fire.

We ccuth2an’t end this week without mentioning [Griff's] updated Crochet Cthulhu Mask. We featured the mask in last week’s Hacklet, and called  [Griff] out for an update. Well, the final project is up, and it looks great! We’re sure [Griff's] son will be raking in the candy this year!

It’s time for trick-or-treating, which means we have to end this episode of The Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Dual-mode Avalanche and RF Random Number Generator

OneRNG Open-Source Random Number Generator

[Paul] designed a new open-hardware RNG (random number generator) that includes two sources of entropy in a small package. The first source of entropy is a typical avalanche diode circuit, which is formed by a pair of transistors. This circuit creates high-speed random pulses which are sampled by the onboard microcontroller.

What makes this design unique is a second entropy source: a CC2531 RF receiver. The RF receiver continuously skips around channels in the 2.5Ghz band and measures the RF signal level. The least-significant bit of the signal level is captured and used as a source of entropy. The firmware can be configured to use either source of entropy individually, or to combine both. The firmware also supports optionally whitening the entropy byte stream, which evens out the number of 1’s and 0’s without reducing entropy.

The OneRNG uses the USB-CDC profile, so it shows up as a virtual serial port in most modern operating systems. With the rngd daemon and a bit of configuration, the OneRNG can feed the system entropy source in Linux. [Paul] also has a good writeup about the theory behind the entropy generator which includes images of his schematic. Firmware, drivers, and hardware design files are open-source and are available for download.

Follow

Get every new post delivered to your Inbox.

Join 98,471 other followers