PolaPi-Zero For Surprisingly Good Instant Photos

The ‘Pola’ in the PolaPi is a giveaway for what this Hackaday.io project is. This polaroid-like camera, created by [Muth], is a sort of black and white, blast from the past mixed with modern 3D printing. It is based on a Raspberry-pi Zero with a camera module, a Sharp memory LCD for viewing the image, and a Nano thermal printer to print the actual photo. Throw in some buttons, a battery and a slick 3D printed case and you have your own PolaPi.

polapi-frontRight now it’s already on the second iteration as [Muth]s gave the first prototype to some lucky person. As he had to rebuild the whole camera from scratch, he took advantage of what he learned in the first prototype and improved on it. The camera has a ‘live’ 20fps rate on the LCD and you can take your photo, review it, and if you like the shot, print it. The printed photo is surprisingly good, check it out in the video after the break.

Currently the software is being actively developed and the latest version has, among other things, a slit-scan mode. For those who don’t know, slit-scan photography is a technique that can create some crazy warped and psychedelic effects (in this case, as psychedelic as a black and white photo can be).

We know you want one for yourself. If you don’t want to spend the time installing and configuring your RPi Zero, [Muth] kindly shared an SD card image with everything ready.

Continue reading “PolaPi-Zero For Surprisingly Good Instant Photos”

Zooids — Swarm User Interface

What the heck is a Zooid? A Zooid is a small cylindrical robot, measuring 26 mm in diameter and 21 mm in height, weighting about 12g. Each robot is powered by a 100 mAh LiPo battery and uses motor driven wheels — and these things are snappy at a top speed of about 0.5m/s. Each Zooid is able to know if you touched it via capacitive touch sensing. It has wireless capabilities through an NRF24L01+ chip. So, what’s it for, you wonder…

zooids-swarm-robotics-thumbOne robot might not do much but the idea behind the Zooids is the introduction of swarm user interfaces, a new class of human-computer interfaces that involves multiple autonomous robots to handle both display and interaction. In a joint work between the Shape Lab at Stanford University (USA) and the Aviz team at Inria (France), researchers developed an open-source open-hardware platform for what they called “tabletop swarm interfaces”. The actual interface involves a swarm of Zooids, a radio base-station, a high-speed DLP structured light projector for optical tracking and a software framework for application development and control.

In the demonstration video we can see some examples of use of the Zooids. Could the resolution be measured as, erm, ZPI? Near the end of the demo we can see a new level of interactivity where the swarm quickly works together as a team and sort of fetch the user’s phone. Now, if they can be made to scour the house in search of our keys, that would be something…

Continue reading “Zooids — Swarm User Interface”

A Multicore ZX Spectrum

From the blog of [telmomoya] we found his latest project: a hardware based multicore solution for a ZX Spectrum Emulator. It’s not the first time we feature one of his builds, last year we was working on a ARM Dual-Core Commodore C64. Luckily for Speccy fans, it seems a ZX Spectrum project was just unavoidable.

At its heart is the EduCIAA NXP Board, a Dual Core (M4 & M0) 32-bit microcontroller, based on the NXP LPC4337. It’s an Argentinan-designed microcontroller board, born from an Argentinian academic and industry joint venture. [telmomoya] took advantage of  the multicore architecture by running the ZX Spectrum emulator on M4 core and generating the VGA signals with M0 core. This guarantees that the VGA generation, which is rather time-sensitive, remains isolated from emulation and any task running on other core. The VGA sync is via polling and using DMA GPIO the RGB signals can be up to 256 colors. To store the 48 kb VGA frames one AHB32 and one AHB16 memory IC are used.

On the software side, [telmomoya] adopted Aspectrum, a ZX Spectrum Emulator fully written in C, modified to his needs. Overall, the project faced many challenges and issues, like COLOR VGA generation (with GPIO DMA), TFT SPI low fps, Inter Process Communications and bus sharing.

Can you try to name all the games in the demonstration video?

Continue reading “A Multicore ZX Spectrum”

ASLR^CACHE Attack Defeats Address Space Layout Randomization

Researchers from VUSec found a way to break ASLR via an MMU sidechannel attack that even works in JavaScript. Does this matter? Yes, it matters. A lot. The discovery of this security flaw along with the practical implementation is really important mainly because of two factors: what it means for ASLR to be broken and how the MMU sidechannel attack works inside the processor.

Address Space Layout Randomization or ASLR is an important defense mechanism that can mitigate known and, most importantly, unknown security flaws. ASLR makes it harder for a malicious program to compromise a system by, as the name implies, randomizing the process addresses when the main program is launched. This means that it is unlikely to reliably jump to a particular exploited function in memory or some piece of shellcode planted by an attacker.

Breaking ASLR is a huge step towards simplifying an exploit and making it more reliable. Being able to do it from within JavaScript means that an exploit using this technique can defeat web browser ASLR protection running JavaScript, the most common configuration for Internet users.

ASLR have been broken before in some particular scenarios but this new attack highlights a more profound problem. Since it exploits the way that the memory management unit (MMU) of modern processors uses the cache hierarchy of the processor in order to improve the performance of page table walks, this means that the flaw is in the hardware itself, not the software that is running. There are some steps that the software vendors can take to try to mitigate this issue but a full and proper fix will mean replacing or upgrading hardware itself.

In their paper, researchers reached a dramatic conclusion:

Continue reading “ASLR^CACHE Attack Defeats Address Space Layout Randomization”

Drone-Drone

Yes, the pun was ripped off the article that got our attention . It was just too good not to share. A team of researchers in Japan created an artificial honeybee, a small drone that is meant to cross-pollinate flowers. The (still) manually controlled drone is 4 centimetres wide and weighs only 15 grams. At the bottom side of the drone, a mix of a special sticky gel and horse hair resides. The purpose of this gel is to collect the pollen particles as it bumps into the flowers and exchange it as it goes hopping around from plant to plant. In experiments, the drone was able to cross-pollinate Japanese lilies (Lilium japonicum) without damaging the plant, stamens or pistils when the drone flew into the flowers.

The gel used for the artificial pollinators was the result of a failed experiment back in 2007. While researching electrical conduction liquids, Eijiro Miyako, a chemist at the National Institute of Advanced Industrial Science and Technology (AIST) Nanomaterial Research Institute, produced a sticky gel with no useful electrical characteristics and stored it away in a cabinet. After 8 years, when cleaning the cabinet, he found the gel still sitting there, unspoiled.

“This project is the result of serendipity. We were surprised that after 8 years, the ionic gel didn’t degrade and was still so viscous. Conventional gels are mainly made of water and can’t be used for a long time, so we decided to use this material for research.”

Continue reading “Drone-Drone”

PiMiniMint — Altoids RPi Zero Computer

We’ve seen our fair share of Altoids mint tin projects and it seems the tin… can always house another interesting project. This time [MWAGNER] managed to make his long time idea of having a computer inside an Altoids tin. He had the idea in 2012, after the original raspberry pi came out, but the size constraints kept the project from going forward. The RPi Zero is much smaller and its launch made the project possible.

[MWAGNER] made two versions, the first version of the PiMiniMint includes a screen, WiFi, Bluetooth, 32GB of storage, an infrared camera, and a full size USB port. All of this fit inside the Altoids tin. The second version has a battery — 2000mAh reportedly lasting for 6-8hrs. But there is only so much space to perform small miracles so in this version the camera had to go. This makes it a wireless standalone computer as you can control it with Bluetooth keyboard and mouse while connecting to the outside world over WiFi.

Back in 2015, in Hacklet 29, we covered a bunch of Altoids based projects, from AM/FM transmitters to OTP generators and now we have a fully working laptop PC on a tin, screen and all. The project blog has all the instructions you need to try it yourself. If you do, let us know how it went and how long did that battery lasted.

That is, if you can get your hands on a Zero…

 

[thanks Itay]

PVC Submersible ROV

[mark.brubaker.1] and his crew decided to make a submersible for a school project using PVC pipes as a frame. It has two motors on the back to provide forward thrust and steering as well as a horizontal mounted motor in the middle of the PVC chassis to provide up and down thrust. They used regular motors which they waterproofed by inserting them inside a case full of plumbers wax. We’re not sure how long this will hold at the bottom of the ocean, but it works fine for a school project in the pool. Here’s the instructions on how to make one.

The build is completely analog, the controller is a board with three switches which individually control the different motors. So if you want to turn left, you fired up the right motor. For right you do the opposite and fire up the left motor. Up and down, well, you get the picture. If you have a swimming pool, lake or some water body nearby and you’re looking for a weekend project with your kids, this is a great tip. It’s not an Arduino controlled robot fish, but it’s a first step in that direction; you can later on use the frame to improve on the design and add some electronics.

Continue reading “PVC Submersible ROV”