Wireless Encryption Between Galileo And A MSP430

[Mark] recently finished his latest project, where he encrypts wireless communications between the new Intel Galileo and a Texas Instruments MSP430. The wireless interfaces used are the very common nRF24L01+ 2.4GHz transceivers, that had a direct line of sight 15 feet range during [Mark]’s tests. In his demonstration, the MSP430 sends an encrypted block of data representing the state of six of its pins configured as inputs. This message is then received by a sketch running on the Galileo and stored in shared memory. A python script then wakes up and is in charge of decrypting the message. The encryption is done using AES-128bits in Electronic Codebook mode (ECB) and semaphores are used to prevent simultaneous accesses to the received data. As it is the first project using an Intel Galileo we received, don’t hesitate to send us a tip if you found other ones.

A Cortex M4 Based Platform With ETH, USB, BT And Many On-board Peripherals

Here is a very time consuming project that I worked on during last summer: an ARM Cortex M4 based platform with plenty of communication interfaces and on-board peripherals. The particular project for which this board has been developed is not really HaD material (one of my father’s funny ideas) so I’ll only describe the platform itself. The microcontroller used in the project is the ATSAM4E16C from Atmel, which has 1Mbyte of flash and 128Kbytes of SRAM. It integrates an Ethernet MAC, a USB 2.0 Full-speed controller, a sophisticated Analog to Digital Converter and a Digital to Analog Converter (among others).

Here is a list of the different components present on the board so you can get a better idea of what the platform can do: a microphone with its amplifier, a capacitive touch sensor, two unipolar stepper motors controllers, two mosfets, a microSD card connector, a Bluetooth to serial bridge, a linear motor controller and finally a battery retainer for backup power. You can have a look at a simple demonstration video I made, embedded after the break. The firmware was made in C and uses the Atmel Software Framework. The project is obviously open hardware (Kicad) and open software.

Continue reading “A Cortex M4 Based Platform With ETH, USB, BT And Many On-board Peripherals”

Hacking A Flip Dot Display

While casually lurking on a famous auction website, [TeddyDesTodes] found the gem shown in the above picture and reverse engineered it. This is a flip dot display, the Brose Vollmatrix compact to be precise. It consists of a grid of small metal discs that are black on one side and yellow on the other, set into a black background. With power applied, the disc flips to show the other side. The disc is attached to an axle which also carries a small permanent magnet. Positioned close to the magnet is a solenoid. By pulsing the solenoid coil with the appropriate electrical polarity, the magnet will align itself with the magnetic field, also turning the disc.

After carrying the 25kg display from his post office to home, [TeddyDesTodes] opened it and discovered that the main control board was using two RS422 transceivers. So he fired up his bus pirate, started to sniff the traffic and noticed that several commands were repeatedly sent. [TeddyDesTodes] stopped the transmission, sent these particular commands and had the good surprise to see some dots flipped. From there, displaying something was a piece of cake.

If this is familiar to you it may be because it was shared in one of the Trinket Contest Updates. But the background details were just so much fun we think this deserves a full feature of it’s own. Do you agree?

Duo Basic: An All-Logic Chip Educational Computer

DUO

Way back before the days of microcomputers, a few very lucky students first got their hands wet with microcomputer trainers. These simple devices used common logic chips, lights, and switches to perform calculations; basically, a very small and simple computer. [Jack] has just released his DUO Basic 8-bit educational computer, a computer designed entirely around logic chips just as was done in the olden days.

The entire computer except for a single EEPROM giving the computer 256 bytes of ROM, three registers, and two instructions (condition jmp and add). This allows for simple programs to be written just by flipping switches and hitting buttons – it doesn’t get much more ‘bare metal’ than that.

[Jack] has an online assembler and emulator for the DUO Basic along with a few example assembly programs. Of course, all the schematics and block diagrams are available on his site, along with a nice introductory video, shown below.

Continue reading “Duo Basic: An All-Logic Chip Educational Computer”

Making A Solid-state Relay With I2C Interface

As [Mic] often got requests to make high-power switching boards, he recently finally gave in and designed the one shown above based around a solid-state relay. Some of our readers that already play with mains power know that switching should normally occur when the voltage crosses zero volts. The ‘TRIAC BLOC’ is able to do so, which also allows mains frequency measurement. [Mic] then tuned to the internal oscillator of his ATtiny microcontroller with this 50Hz by adjusting its OSCCAL register value, so the switching command can be sent at the ideal moment. Zero crossing detection is implemented by feeding the mains into an AC optocoupler. [Mic] discovered that the optocoupler diodes are not identical, so he had to adjust his firmware to account for the time differences.

All the resources are available on github, we would be interested to hear your detailed analysis of the circuit implemented with the passives R3/C1/L1/R8/C3.

Hackaday Interview With Amal Graafstra, Creator Of XNT Implant Chip

Near Field Communication (NFC) enabled devices are starting to appear in our everyday lives. Shown in the picture above is the xNT (fundraiser warning), a 2mm x 12mm fully NFC Type 2 compliant 13.56MHz RFID tag encased in a cylindrical Schott 8625 bioglass ampule. It was created by [Amal Graafstra], who therefore aims to produce the world’s first NFC compliant RFID implant. The chip used is the NTAG203, which is (for the sake of simplicity) a 144bytes EEPROM with different protection features.

We can only start thinking of the different possibilities this chip will create in the near future, but also wonder which precedent this may set for future NFC enabled humans. Embedded after the break is the presentation video of xNT but also an interview I conducted with [Amal Graafstra], who has already been living for 8 years with RFID tags in each hand.

Continue reading “Hackaday Interview With Amal Graafstra, Creator Of XNT Implant Chip”

Weightless, The Internet Of Things Chip, Becomes Less Vaporware

weightless

Several months ago, we caught wind of Weightless, a $2 chip that will run for 10 years on a AA battery and communicate to a Weightless base station 10 Km away. Yes, this is the fabled Internet of Things chip that will allow sensors of every type to communicate with servers around the world. It looks like Weightless is becoming less and less vaporware, as evidenced by the Weightless SIG hardware roadmap; Weightless modules might be in the hands of makers and designers in just a few short months.

Weightless is an extremely low-cost wireless module that operates in the radio spectrum previously occupied by analog broadcast television. This is a great place for the Internet of Things, as signals in this spectrum have a lot of range and the ability to go through walls. These signals are sent to a Weightless base station where they are then sent over the Internet to servers around the world.

The Weightless SIG has been hard at work producing new silicon, with the third generation of chips heading for volume production next month. The only thing this chip requires is a battery and an antenna, making Weightless integration for new designs and projects a snap.

There’s one thing Weightless is not, and that’s a free, high-speed connection to the Internet with a $2 adapter. Weightless is designed for sensors that only transmit a kilobyte or so a day – medical sensors, irrigation control, and other relatively boring things. There’s a summary video from the recent 2013 Weightless SIG Summit going over all this information below.

Continue reading “Weightless, The Internet Of Things Chip, Becomes Less Vaporware”