Nerf Gun Ammo Counter And Range Finder

The proliferation of breakout boards that the DIY electronics movement has allowed has been staggering. Buy a few different boards, wire them together to a microcontroller or credit-card computer (both on their own breakout board) and write a bit of code, and you can create some really interesting things. Take Reddit user [Lord_of_Bone]’s Nerf Gun ammo counter and range finder, for example, a great example of having a great idea and looking around for the ways to implement it.

For the range finder, [Lord_of_Bone] looked to an ultrasonic rangefinder. For the ammo counter, [Lord_of_Bone] chose a proximity sensor. To run everything, the Raspberry Pi Zero was used and the visuals were supplied by a Rainbow Hat. The range finder is self-explanatory. The proximity sensor is located at the end of the gun’s muzzle and when it detects a Nerf dart passing by it reduces the ammo count by one. Blu-tack is used to hold everything in place, but [Lord_of_Bone] plans to use Sugru when he’s past the prototype stage.

The one problem [Lord_of_Bone] has with the build is that there’s no way to tell how many Nerf bullets are in the magazine. Currently the wielder must push a button when reloading to reset the count to a preset amount. We’re sure that [Lord_of_Bone] would appreciate any suggestions the Hack-A-Day crowd could offer.

[Lord_of_Bone] gives a full bill of materials, Python code, a lot of pictures and step-by-step instructions so that you, too, can determine how far away your target is, and whether or not you have enough ammo to hit them. We have quite a few Nerf mods on the site, and [Lord_of_Bone] could take a look at this article about how to keep track of your Nerf ammo, and here’s a different method of determining if a Nerf dart has been fired (and measuring its speed.)

[via Reddit] Continue reading “Nerf Gun Ammo Counter And Range Finder”

Stunning Fake Polaroid Camera Performs Magic

It’s high time us Muggles got our hands on the hardware used to take Magical Photographs as seen in The Daily Prophet. The first pioneering step in that direction has been taken by [Abhishek] who built this moving picture taking polaroid-ish camera, which he’s calling the “Instagif NextStep”. It’s a camera that records a short, three second video, converts it to GIF and ejects a little cartridge which displays the animated photo.

This amazing piece of hardware has been painstakingly built, and the finished product looks great. The nice thing about building such projects, in [Abhishek]’s own words, is that “it involves a bunch of different skill sets and disciplines – hardware, software, 3D modeling, 3D printing, circuit design, mechanical/electrical engineering, design, fabrication etc that need to be integrated for it to work seamlessly.”
Continue reading “Stunning Fake Polaroid Camera Performs Magic”

Forget Troy. Try HelenOS

Even though it seems like there are a lot of operating system choices, the number narrows if you start counting kernels, instead of distributions. Sure, Windows is clearly an operating system family, and on the Unix-like side, there is Linux and BSD. But many other operating systems–Ubuntu, Fedora, Raspian–they all derive from some stock operating system. There are some outliers, though, and one of those is HelenOS. The open source OS runs on many platforms, including PCs, Raspberry PIs, Beaglebones, and many others.

Although the OS isn’t new, it is gaining more features and is now at version 0.7. You can see a video about some of the new features, below.

According to the project’s web site:

HelenOS is a portable microkernel-based multiserver operating system designed and implemented from scratch. It decomposes key operating system functionality such as file systems, networking, device drivers and graphical user interface into a collection of fine-grained user space components that interact with each other via message passing. A failure or crash of one component does not directly harm others. HelenOS is therefore flexible, modular, extensible, fault tolerant and easy to understand.

Continue reading “Forget Troy. Try HelenOS”

PiCorder: Raspberry Pi Stands In For Stone Knives And Bearskins

In a classic episode of Star Trek, Spock attempts to get data from a tricorder while stuck in the 1930s using what he described as “stone knives and bearskins.” In reality, he used vacuum tubes, several large coils, and a Jacob’s ladder. Too bad they weren’t in the year 2017. Then Spock could have done like [Directive0] and used a Raspberry Pi instead. You can see the result in the video below.

The build starts with a Diamond Select Toys model tricorder. The Raspberry Pi, a battery, a TFT screen, and a Pi Sense Hat make up the bulk of the build.

Continue reading “PiCorder: Raspberry Pi Stands In For Stone Knives And Bearskins”

Live Stream To YouTube By Pointing A Box And Pressing A Button

YouTube has the ability to do live streaming, but [Tinkernut] felt that the process could be much more straightforward. From this desire to streamline was born the Raspberry Pi based YouTube live streaming camera. It consists of a Raspberry Pi with some supporting hardware and it has one job: to make live streaming as simple as pointing a box and pressing a button. The hardware is mostly off-the-shelf, and once all the configuration is done the unit provides a simple touchscreen based interface to preview, broadcast live, and shut down. The only thing missing is a 3D printed enclosure, which [Tinkernut] says is in the works.

Getting all the software configured and working was surprisingly complex. Theoretically only a handful of software packages and functionality are needed, but there were all manner of gotchas and tweaks required to get everything to play nice and work correctly. Happily, [Tinkernut] has documented the entire process so others can benefit. The only thing the Pi is missing is a DIY onboard LED lighting and flash module.

Multiple Monitors With Multiple Pis

One of the most popular uses for the Raspberry Pi in a commercial setting is video walls, digital signage, and media players. Chances are, you’ve probably seen a display or other glowing rectangle displaying an advertisement or tweets, powered by a Raspberry Pi. [Florian] has been working on a project called info-beamer for just this use case, and now he has something spectacular. He can display a video on multiple monitors using multiple Pis, and the configuration is as simple as taking a picture with your phone.

[Florian] created the info-beamer package for the Pi for video playback (including multiple videos at the same time), displaying public transit information, a twitter wall, or a conference information system. A while back, [Florian] was showing off his work on reddit when he got a suggestion for auto-configuration of multiple screens. A few days later, everything worked.

Right now, the process of configuring screens involves displaying fiducials on each display, taking a picture from with your phone and the web interface, and letting the server do a little number crunching. Less than a minute after [Florian] took a picture of all the screens, a movie was playing across three weirdly oriented displays.

Below, you can check out the video of [Florian] configuring three Pis and displays to show a single video, followed by a German language presentation going over the highlights of info-beamer.

Continue reading “Multiple Monitors With Multiple Pis”

Visual Development With XOD

Early programmers had to represent code using binary, octal, or hex numbers. This gave way quickly to representing programs as text to be assembled, compiled, or interpreted by the computer. Even today, this remains the most common way to program, but there have been attempts to develop more visual ways to create programs graphically. If you program microcontrollers like the Arduino, you should check out XOD and see how you like visually creating software. The software is open source and currently, can target the Arduino or Raspberry Pi.

Continue reading “Visual Development With XOD”