Posts with «arduino» label

Hacklet #10 Cryptography and Reverse Engineering

In honor of DEFCON, this week we’re looking at some cryptography and reverse engineering projects over at Hackaday.io

Every hacker loves a hardware puzzle, and [Tom] has created a tool to make those puzzles. His Hardware Reverse Engineering Learning Platform consists of a shield with two ATmega328 chips and an I2C EEPROM. The two Atmel chips share a data bus and I2C lines. Right in the middle of all this is an ST Morpho connector, which allows an ST Nucleo board to act as a sniffer. The platform allows anyone to create a reverse engineering challenge!

To successfully reverse engineer a board, it sure helps to have good tools. [coflynn] is giving that to us in spaces with The ChipWhisperer. ChipWhisperer is an open source security research platform. The heart of the system is a Xilinx Spartan 6 FPGA. The FPGA allows very high speed operations for things like VCC and clock glitching. ChipWhisperer is an entire ecosystem of boards – from LNA blocks to field probes. The entire system is controlled from an easy to use GUI. The end result is a powerful tool for hardware attacks.

On the Encryption side of the house, we start by keeping the Feds at bay. The [Sector67] hackerspace has collectively created NSA AWAY. NSA AWAY is a simple method of sending secure messages over an insecure medium – such as email. A one-time use pad is stored on two SD cards, which are used by two Android devices. The message sender uses an Android device to encrypt the message. On the receive side, the message can be decoded simply by pointing an android device’s camera at the encrypted data. So easy, even a grandparent could do it!

Next up is [Josh's] Bury it under the noise floor. “Bury it” is an education for cryptography in general, and stenographic software in particular. [Josh] explains how to use AES-256 encryption, password hashing, and other common techniques. He then introduces stenography  by showing how to hide an encrypted message inside an image. Anyone who participated in Hackaday’s ARG build up to The Hackaday Prize will recognize this technique.

[yago] gives us encrypted voice communications with his ZRTP Hardphone. The hardphone implements the ZRTP, a protocol for encrypted voice over IP communications. The protocol is implemented by a Raspberry Pi using a couple of USB sound cards. User interface is a 16×2 Line character LCD, a membrane keypad, and of course a phone handset. Don’t forget that you need to build two units,or  whoever you’re trying to call will  be rather confused!

Finally we have the Mooltipass. Developed right here on Hackaday by [Mathieu Stephan] and the community at large, Mooltipass is a secure password storage system. All your passwords can be stored fully AES-256 encrypted, with a Smart Card key. Under the hood, Mooltipass uses an Arduino compatible ATmega32U4 microcontroller. UI is through a OLED screen and touch controls.

 

 

That’s it for this week! Be sure to check out next week’s Hacklet, when we bring you more of the best from Hackaday.io!

 

 

 


Filed under: Hackaday Columns

A game controller that’s mondo customizable with Lego and Android

Strange Meadowlark’s Lego/Arduino Game Controller is a collection of off the shelf parts and surplus that fit together perfectly.

Read more on MAKE

MAKE » Arduino 08 Aug 15:01

EDM Duo Epoch Rises Creates LED Wall as Awesome as Their Music

  When most think of electronic dance music (EDM), flashy lights are sure to come to mind. Electronic music duo Epoch Rises went a step further and designed an interactive LED panel that responds to music as it’s played. Get your old school rave bracelets out of the freezer – […]

Read more on MAKE

MAKE » Arduino 07 Aug 19:01

Never Forget to Set an Alarm. Because This Alarm Clock Sets Itself!

Built with the Arduino Yún and using Temboo's online services, the SMART Alarm Clock automatically sets alarms based on Google Calendar events. And if you act quick and design an enclosure for this project you could win a Maker's Notebook!

Read more on MAKE

The Arduino Yun Shield

A few years ago, the most common method to put an Arduino project on the web was to add a small router loaded up with OpenWrt, wire up a serial connection, and use this router as a bridge to the Internet. This odd arrangement was possibly because the existing Arduino Ethernet and WiFi shields were too expensive or not capable enough, but either way the Arduino crew took notice and released the Arduino Yun: an Arduino with an SoC running Linux with an Ethernet port. It’s pretty much the same thing as an Arduino wired up to a router, with the added bonus of having tons of libraries available.

Since the Yun is basically a SoC grafted onto an Arduino, we’re surprised we haven’t seen something like this before. It’s an Arduino shield that adds a Linux SoC, WiFi, Ethernet, and USB Host to any Arduino board from the Uno, to the Duemilanove and Mega. It is basically identical to the Arduino Yun, and like the Yun it’s completely open for anyone to remix, share, and reuse.

The Yun shield found on the Dragino website features a small SoC running OpenWrt, separated from the rest of the Arduino board with a serial connection. The Linux side of the stack features a 400MHz AR9331 (the same processor as the Yun), 16 MB of Flash, and 64 MB of RAM for running a built-in web server and sending all the sensor data an Arduino can gather up to the cloud (Yun, by the way, means cloud).

All the hardware files are available on the Yun shield repo, with the Dragino HE module being the most difficult part to source.


Filed under: Arduino Hacks, hardware

Coin Slot Activated Projections

Youtube may have started monetizing digital videos long ago, but now the folks at Red Paper Heart have come up with a new way to monetize the digital moving image with their prototype for a coin activated projection.

Read more on MAKE

Want to Get Your Hands on the Arduino Zero Before Everyone Else?

If you want to get your hands on the new Arduino Zero months before everyone else, now is your opportunity as Arduino are offering a limited batch of 20 developer boards for beta testing.

Read more on MAKE

The Fridge Hacking Guide by BrewPi

The team behind BrewPi are at it again! This time they have created an online guide showing how to convert a min-fridge into a Raspberry Pi & Arduino controlled fermentation chamber. In it, they describe 3 possible options:

  • Option 1: Make a simple switched power cord, without hacking into the fridge electronics.
  • Option 2: Make a switched power cord, but also override or remove the thermostat.
  • Option 3: Rip out the thermostat and fully integrate the SSRs into your fridge (which is what [Koen] and [Elco] did).

First things first though. They had to clean the fridge. And depending on they got it or how long it has been unplugged for, the inside might have been pretty rank and disgusting from mold growing out of every corner. This took a good hour or so to clean properly lest the brewing process get infected with external grossness. This is all worth it because a well-controlled fermentation chamber results in a superior batch of beer.

With cleaning behind them the team added some temperature sensors to measure the beer and fridge levels. [Koen] and [Elco] suggest using the OneWire distribution board that comes with their BrewPi kit for this. Then, the cables were routed through the fridge and take control of the compressor.

Because [Koen] and [Elco] decided to go with the SSR method, the good news was: they didn’t need to hack into the start relay, and just left it as it is. But, they did need to gain access to the compressor and make a few changes. For one, the two SSR’s will be added with one of the AC terminals connected to LIVE (brown) and the other to the heater and the compressor.

No matter which method is chosen though, the end product will allow anyone to monitor and easily control the temperature range of your micro-brew, along with being able to log data and produce web-embedded graphs like the one shown below. It works by using the Arduino attached to run the temperature control algorithm autonomously. And, the Raspberry Pi adds stability.


Filed under: Beer Hacks

Repurposed Laptop Batteries With a Twist

Lithium ion batteries are becoming more and more common these days, but some of the larger capacity batteries can still carry a pretty hefty price tag. After finding Acer’s motherboard schematics online and doing a little reverse-engineering, [Tiziano] has found a way to reuse batteries from his dead laptop, not only saving the batteries from the landfill but also cutting costs on future projects.

These types of batteries have been used for many things in the past, but what makes this project different is that [Tiziano] is able to monitor the status of the batteries and charge them using I2C with an Arduino and a separate power supply, freeing the batteries from the bonds of the now-useless laptop.

With this level of communication between the microcontroller and the battery pack, there is little chance of the batteries catching on fire when they’re used in another project. Since the Arduino can also monitor the current amount of charge in the batteries, there is also a reduced risk that they will be damaged from under- or over-charging.

This wasn’t just as simple as hooking up the positive and negative leads of a power supply to the battery. [Tiziano] also had to model the internal resistance of the motherboard that the battery expects to see, and get the supply voltage just right so the battery’s safety protocols wouldn’t kick in to prevent them from charging. After a few other hurdles were jumped, [Tiziano] now has a large capacity lithium ion battery at his disposal for any future projects.


Filed under: laptops hacks

Solar Powered Lawn Mower Cuts the Grass So You Don’t Have To

It takes a lot of power and energy to keep grass levels down to an appropriate level; especially when it’s hot out. If cool glasses of lemonade aren’t around, the task at hand may not be completed any time soon causing the unkempt blades of green (or yellow) vegetation outside to continue their path of growth towards the sun.

Instead of braving the oven-like temperatures which will inevitably drench the person in sweat, this solar powered robot has been created ready to take on the job. With the heart of an Arduino, this device shaves down the grass on a regular basis, rather than only chopping down the material when it gets too long. This helps to save electricity since the mower is only dealing with young and soft plants whose heads are easily lopped off without much effort.

Internally, the robot’s circuitry interfaces with an underground wiring system that defines the cutting zones within the lawn, and proves to be a simple, accurate, and reliable approach to directing the robot where to go. If the device travels under a shaded area, a battery kicks in supplying energy to the engine. When sunlight is available, that same battery accumulates the electricity, storing it for later.

There is also an interesting mechanism in place that allows the controller to detect if the wheels are moving properly or if one or more of them have locked up. This is done by using a reed sensor that has been added near the rear-pivoting wheel which is then operated by a small magnet that is inserted into that same wheel.

Obstacle recognition is accomplished in the front by an ultrasonic sensor that is connected to the I2C BUS. A brushless motor, used in the field of aeromodelling, was coupled into a cutting blade. With everything set up, the solar powered lawn mower is ready to be unleashed into the outside world of unsuspecting, growing plants.

Now sit back, relax, and let the robot do the work for you.

For more grass cutting related hacks, be sure to check out this remote-controlled lawn mower, and this monster truck lawn tractor that can go through water.


Filed under: tool hacks