BORAT: Bathroom Monitor For The Future

A recent company move has left [kigster] and his 35 coworkers in a frustrating situation. Their new building only has two single occupancy bathrooms. To make matters worse, the bathrooms are located on two different floors. Heading to one bathroom, finding it occupied, then running upstairs to find the second bathroom also occupied became an all to common and frustrating occurrence at the office.

It was obvious the office needed some sort of bathroom occupancy monitoring system – much like those available on commercial aircraft. [kigster] asked for a budget of about $200 to build such a system. His request was quickly granted it by office management. They must have been on their way to the bathroom at the time.

borat1[kigster] began work on BORAT: Bathroom Occupancy Remote Awareness Technology. The initial problem was detecting bathroom occupancy. The easiest method would be to use door locks with embedded switches, much those used in aircraft. Unfortunately, modifying or changing the locks in a rented office space is a big no-no. Several other human detection systems were suggested and rejected. The final solution was a hybrid. Sonar, Passive Infrared (PIR), and light sensors work in concert to detect if a person is in the bathroom. While we think the final “observer unit” is rather cool looking, we’re sure unsuspecting visitors to the office may be wondering why a two eyed robot is staring at them on the throne.

The display side of the system was easy. The entire system communicates with the venerable nRF24L01+ radio modules, so the display just needed a radio module, an arduino, and a way of displaying bathroom status. Two LED matrices took care of that issue.

We really like this hack. Not only is it a great use of technology to solve a common problem, but it’s also an open source system. BORAT’s source code is available on [kigster’s] github.

Want to know more about BORAT? Kigster is answering questions over on his thread in the Arduino subreddit.

Ghost Gunner Machines Your AR-15

Defense Distributed and founder [Cody Wilson] have released Ghost Gunner. Defense Distributed entered the public eye a couple of years ago with The Liberator, the world’s first 3D printed gun. Since anyone with a 3D printer can print a Liberator, it is effectively untraceable. This raised a lot of questions in the media and public eye.

Ghost Gunner is a variation on the untraceable theme. Essentially, Ghost Gunner is a CNC designed for one purpose: final drilling and milling steps for AR-15 lower receivers. The reason for this has to do with federal gun laws in the United States. According to US law, the lower receiver is the actual firearm, and is regulated. But when does a block of aluminum become a lower receiver? Here, US law states that the metal becomes a regulated receiver when the machining operations are more than 80% complete.

ghostgunnergunAnyone can legally buy a barrel, trigger, stock, upper receiver, and various other parts to build an AR-15. To complete the weapon, they only need to buy an 80% lower receiver and perform the last 20% of the metal work. This work can be performed with everything from a drill press to a milling machine to hand tools. Ghost Gunner partially automates this process, making it easier and faster to complete lower receivers and build weapons.

Defense Distributed calls Ghost Gunner an open source hardware project, though we were unable to find the files available for download at this time. It appears that the slides are made up of MakerSlide or a similar aluminum extrusion. The steppers appear to be standard Nema 17 size.

Defense Distributed says that they’ve been having a hard time keeping up with the Ghost Gunner pre-orders. At $1300 each though, we think a general purpose mill or small CNC would be a better deal.

Continue reading “Ghost Gunner Machines Your AR-15”

Thumbnail that say The Hacklet

Hacklet 18 – Tick Tock, It’s Time For Clocks

18

In three words, Hackers love clocks. Not only do we think that digital watches are still a pretty neat idea, we love all manner of timepieces. This episode of The Hacklet focuses on the clock projects we’ve found over on Hackaday.io.

xkcdHardwareWe start with [rawe] and [tabascoeye], who both put the famous XKCD “now” clock into hardware. [tabascoeye] used a stepper motor in his xkcd world clock. [rawe] didn’t have any steppers handy, so he grabbed a cheap wall clock from Ikea for his xkcd.com/now clock in hardware. The now clock needs a 24 hour movement. Ikea only sells 12 hour movements, so [rawe] hacked in a 555 and some logic to divide the clock’s crystal by two. He’s currently using an EEVblog uCurrent to verify his modified clockwork consumes about half a milliwatt.

touchscreenclockNext up is [Craig Bonsignore] and his Touchscreen Alarm Clock. [Craig] got sick of store-bought alarm clocks, so he built his own. Then he modified it, added a few features, and kept building! The current incarnation of the clock has a pretty novel interface: a touchscreen over a bicolor LED matrix. The rest of the clock consists of an Arduino, an Adafruit Wave shield, and a Macetech Chronodot. [Craig] is currently mashing up these open source designs and building a single Arduino shield for his clock.

irisledclock[Warren Janssens] took the minimalist route with The Iris Clock. Iris is a ring of WS2812 RGB LEDs. The LEDs are mounted behind a wall colored piece of wood in such a way that you can only see their glow on the clock frame and the wall beyond it. This helps a with the eye searing effect WS2812s can have when viewed directly – even when dimmed with PWM. The code is mainly C with some AVR assembly thrown in to control the LEDs. [Warren] has given Iris 8 different time modes, from hour/minute/second to percentage of day with sunrise and sunset markers. With so many modes, the only hard part is knowing how to read the time Iris is displaying!

stargate[David Hopkins] also built a ring clock. His Stargate LED Clock not only tells time, but is a great replica of the Stargate from the TV series. [David] used four Adafruit WS2812 Neopixel segments to build a full 60 RGB LED ring. The Stargate runs on an Arduino nano with a real-time clock chip to keep accurate time. A photoresistor allows the Stargate to automatically dim at night. With some slick programming [David] added everything from a visual hourly “chime” to a smooth fade from LED to LED.

bendulum[dehne1] gives us something completely different with The Bendulum Clock. A bendulum is [dehne1’s] own creation consisting of an inverted pendulum built without a pivot. The inverted pendulum swings by bending along its length. In [dehne1’s] design, the bendulum is made out of a spring steel strip rescued from a car windshield wiper. The Bendulum doesn’t have a mechanical escapement, but an electromagnet sensed and driven by an Arduino. The amazing part of this project is that  [dehne1] isn’t using a real-time clock chip. The standard 8MHz Arduino resonator is calibrated over various temperatures, then used to calibrate the bendulum itself. The result is a clock that can be accurate within 1 minute each day. [dehne1] mounted his clock inside a custom wood case. We think it looks great, and want one for Hackaday HQ!

We’ve used enough clock ticks for this episode of The Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Still want more? Check out our Timepiece List!

EEVblog Tears Into The White Van Speaker Scam

[Dave Jones] shows us just how bad audio equipment can get with his white van speaker scam teardown (YouTube link). Hackaday Prize judge [Dave] has some great educational videos on his EEVblog YouTube channel, but we can’t get enough of his rants – especially when he’s ranting about cheap electronics. Check out his world’s “cheapest” camcorder teardown for a classic example

This week [Dave] is tearing down some white van speaker scam A/V equipment. The White Van Speaker Scam (WVSS) is an international hustle which has been around for decades. A pair of guys in a white van stop you in a parking lot, gas station, or other public area. They tell you they’ve got some brand new A/V equipment in the back of their van that they’ll give you for a “great deal”. The speakers are always in fancy packaging, and have a name that sounds like it could be some sort of high-end audiophile brand worth thousands.

Needless to say anyone who buys this equipment finds they’ve been duped and are now the proud owner of some equipment which only sounds good when hitting the bottom of a dumpster. Coincidentally, a dumpster is exactly where [Dave] found his WVSS equipment.

The case of his “Marc Vincent” surround sound system turned out to be nothing more than thin chipboard hot glued together. The electronics were of such shoddy quality that few words describe them – though [Dave] is always ready to improvise. From the ultra cheap subwoofer driver to the 1990’s era vacuum fluorescent display, everything was built down to the lowest cost while still looking nice from the outside. Even the ground wire was just tack soldered to the frame. We especially liked the three vacuum tubes that weren’t even soldered in. The leads were bent over to hold them onto a PCB, while a blue LED lit the tube from below.

Click past the break to see what [Dave] found inside his “3D Optics” projector.

Continue reading “EEVblog Tears Into The White Van Speaker Scam”

120 Node Rasperry Pi Cluster For Website Testing

[alexandros] works for resin.io, a website which plans to allow users to update firmware on embedded devices with a simple git push command. The first target devices will be Raspberry Pis running node.js applications. How does one perform alpha testing while standing up such a service? Apparently by building a monster tower of 120 Raspberry Pi computers with Adafruit 2.8″ PiTFT displays. We’ve seen some big Raspberry Pi clusters before, but this one may take the cake.

raspicluster2

The tower is made up of 5 hinged sections of plywood. Each section contains 24 Pis, two Ethernet switches and two USB hubs. The 5 sections can be run on separate networks, or as a single 120 node monster cluster. When the sections are closed in, they form a pentagon-shaped tower that reminds us of the classic Cray-1 supercomputer.

Rasberry Pi machines are low power, at least when compared to a desktop PC. A standard Raspi consumes less than 2 watts, though we’re sure the Adafruit screen adds to the consumption. Even with the screens, a single 750 watt ATX supply powers the entire system.

[alexandros] and the resin.io team still have a lot of testing to do, but they’re looking for ideas on what to do with their cluster once they’re done pushing firmware to it. Interested? Check out their Reddit thread!

CP/M Source Code Released

To celebrate the 40th anniversary of CP/M, the Computer History Museum has released a package containing early source code for several versions of CP/M. Originally designed by [Gary Kildall] in 1973, Control Program for Microcomputers (CP/M) is an early operating system for microprocessor based computers. The OS was originally written for the Intel Intellec 8, an Intel 8008 based computer. Since it was on an Intel machine, CP/M was written in PL/M (Programming Language for Microcomputers), a language [Kildall] had previously developed for Intel .

CP/M pioneered the idea of a ROM based Basic Input Output/System (BIOS) for commonly used routines on a given computer. The use of BIOS made CP/M easy to port. Eventually it was ported to thousands of different machines and architectures, including the Altair, IMSAI 8080, C-64, and C-128 and Apple II systems.

Gary and his company Digital Research, were one of the top contenders for the operating system on IBM’s new personal computer. Ultimately, Microsoft got the job by purchasing 86-DOS from Seattle Computer Products. Somewhat ironically, 86-DOS itself was written based on the CP/M Application Programming interface (API).

The source itself is an amazing trip back in time. Included are portions of CP/M 1.1, 1.3, 1.4, and 2.0. Portions of CP/M have been released previously. As with the previous files, this version includes modifications performed by z80-pack author [Udo Munk] in 2007. Version 1.3 is especially interesting as it is primarily scanned copies of the CP/M source code.

If you’re into vintage computing, and know how important CP/M was to the early days of personal computers, check out the CP/M source. If you find any interesting or clever bits of code, be sure let us know about it in the comments.

[Image Source: CulturaInformatica]

Hackaday 10th Anniversary Update

The Hackaday 10th anniversary is going great guns. Attendees have already built line following robots with [Adam Fabio], learned lockpicking with [Datagram] and [Jon King]. [Jame Hobson’s] team is building an awesome video game controller. The attendees are currently building LiPo battery chargers. [Todd Black] gave a great presentation on the care and feeding of LiPo batteries. He designed and built a PCB just for this event!

build

Some familiar faces are on hand, such as [Chris Gammell], [Bil Herd], as well as the entire Hackaday editing team!

cbb

Still to come are talks by [Steve Collins], [Quinn Dunki], [Jon McPhalen], and [Thundersqueak].

Want to check out the live view? Click our Hackvision streams!