Tag Archives: instructables

Binge-watch and burn calories with the Arduino-powered Cycflix

via Arduino Blog

As entertaining as watching Netflix may be, you’re not burning a lot of calories while binging on your favorite shows. In order to do both at the same time, hacker “Roboro” modded a stationary exercise bike to stop streaming if he’s not maintaining his fitness goals.

Bicycle speed is derived from the signal that’s normally sent to the built-in display. He uses an Arduino Nano to hijack the square wave, and sends this info to the streaming computer serially via USB.

Starting the Python script and inputting some information, Firefox will start to stream Netflix and display in real-time for current workout information such as round, speed, nominal speed for this round and time to next round. If the user goes below the nominal speed for too long, Netflix will pause until the user has gotten back up to speed.

If you’d like to try this yourself, you can find an Instructables write-up with all the necessary details and check out his code on GitHub. Though designed around Netflix, Roboro notes that it can be used with other streaming services with a few changes.

Portal fan recreates a sentry turret using an Arduino

via Arduino Blog

Steven Gioiosa recently signed up for a “Makecourse” class at the University of South Florida, where he was required to build something that featured both an Arduino and a 3D-printed part. As a fan of Portal, and especially the sentry turrets in the game, it was an easy decision to construct one of these devices for himself.

Gioiosa’s turret recreation is based on an Arduino Uno connected to an HC-SR04 ultrasonic sensor, and features motion-activated lasers that move back and forth, along with audio feedback, depending on how far away the human target is. The project also involves a bunch of servos: one to open the arms out, another to pitch them up and down, and two more to move each arm left and right.

You can see Gioiosa’s sentry turret in action below, and find more details on his Instructables write-up here.

Shelfchecker Smart Shelf: build a home library system

via Raspberry Pi

Are you tired of friends borrowing your books and never returning them? Maybe you’re sure you own 1984 but can’t seem to locate it? Do you find a strange satisfaction in using the supermarket self-checkout simply because of the barcode beep? With the ShelfChecker smart shelf from maker Annelynn described on Instructables, you can be your own librarian and never misplace your books again! Beep!

Shelfchecker smart shelf annelynn Raspberry Pi

Harry Potter and the Aesthetically Pleasing Smart Shelf

The ShelfChecker smart shelf

Annelynn built her smart shelf utilising a barcode scanner, LDR light sensors, a Raspberry Pi, plus a few other peripherals and some Python scripts. She has created a fully integrated library checkout system with accompanying NeoPixel location notification for your favourite books.

This build allows you to issue your book-borrowing friends their own IDs and catalogue their usage of your treasured library. On top of that, you’ll be able to use LED NeoPixels to highlight your favourite books, registering their removal and return via light sensor tracking.

Using light sensors for book cataloguing

Once Annelynn had built the shelf, she drilled holes to fit the eight LDRs that would guard her favourite books, and separated them with corner brackets to prevent confusion.

Shelfchecker smart shelf annelynn Raspberry Pi

Corner brackets keep the books in place without confusion between their respective light sensors

Due to the limitations of the MCP3008 Adafruit microchip, the smart shelf can only keep track of eight of your favourite books. But this limitation won’t stop you from cataloguing your entire home library; it simply means you get to pick your ultimate favourites that will occupy the prime real estate on your wall.

Obviously, the light sensors sense light. So when you remove or insert a book, light floods or is blocked from that book’s sensor. The sensor sends this information to the Raspberry Pi. In response, an Arduino controls the NeoPixel strip along the ‘favourites’ shelf to indicate the book’s status.

Shelfchecker smart shelf annelynn Raspberry Pi

The book you are looking for is temporarily unavailable

Code your own library

While keeping a close eye on your favourite books, the system also allows creation of a complete library catalogue system with the help of a MySQL database. Users of the library can log into the system with a barcode scanner, and take out or return books recorded in the database guided by an LCD screen attached to the Pi.

Shelfchecker smart shelf annelynn Raspberry Pi

Beep!

I won’t go into an extensive how-to on creating MySQL databases here on the blog, because my glamourous assistant Janina has pulled up these MySQL tutorials to help you get started. Annelynn’s Github scripts are also packed with useful comments to keep you on track.

Raspberry Pi and books

We love books and libraries. And considering the growing number of Code Clubs and makespaces into libraries across the world, and the host of book-based Pi builds we’ve come across, the love seems to be mutual.

We’ve seen the Raspberry Pi introduced into the Wordery bookseller warehouse, a Pi-powered page-by-page book scanner by Jonathon Duerig, and these brilliant text-to-speech and page turner projects that use our Pis!

Did I say we love books? In fact we love them so much that members of our team have even written a few.*

If you’ve set up any sort of digital making event in a library, have in some way incorporated Raspberry Pi into your own personal book collection, or even managed to recreate the events of your favourite story using digital making, make sure to let us know in the comments below.

* Shameless plug**

Fancy adding some Pi to your home library? Check out these publications from the Raspberry Pi staff:

A Beginner’s Guide to Coding by Marc Scott

Adventures in Raspberry Pi by Carrie Anne Philbin

Getting Started with Raspberry Pi by Matt Richardson

Raspberry Pi User Guide by Eben Upton

The MagPi Magazine, Essentials Guides and Project Books

Make Your Own Game and Build Your Own Website by CoderDojo

** Shameless Pug

 

The post Shelfchecker Smart Shelf: build a home library system appeared first on Raspberry Pi.

3D POV display

via Dangerous Prototypes

pics-F87MI9MJ26F2M38-600

Gelstronic shared detailed instructions of how to build this 3D POV display, project instructables here:

In my project i use a spinning helix of LED strips. There are a total of 144 LEDs that can displays 17280 voxels with 16 colors. The voxels are arranged circularly in 12 levels. The LEDs are controlled by only one microcontroller. Because i have used the APA102 LEDs i need no additional drivers or transistors. So the electronic part is easier to build. Another advantage is the wireless electrical supply. You need no brushes and there is no friction loss.

Check out the video after the break.

Building a pool-playing robot prototype with Arduino

via Arduino Blog

Building robots can be (relatively) easy if you’d like something to wander around your room and avoid obstacles, but for complicated control tasks, like shooting pool, things need more development. Engineer “Bvarv” has been working on just such a robot, which currently exists as a one-sixth scale model.

Though it’s not currently capable of playing the game, the device uses some interesting tricks, including a frame supported by a pattern of increasing-diameter pieces of wood, a custom bearing made out of slingshot ammunition, and limit switches to control the billiard bot’s orientation.

For this project, Bvarv employed a pair of Arduino Unos and a PixyCam vision system, along with some servos, belts, and gears. While we may still be a few years away from a full-scale robotic opponent, you can check out the entire build over on Instructables and follow along with his progress in the videos below.

A LoRa home environment monitoring gateway

via Arduino Blog

When you’re away from your home, perhaps you’d like to know what is going on there. A camera system is one solution, but is fairly data-intensive and might not be the right method if you’d like to monitor information such as temperature and humidity in several zones. For this, Rod Gatehouse decided to build his own LoRa environment monitoring system using an Arduino Mega.

To keep an eye on things, Gatehouse (aka “RodNewHampshire” on Instructables) came up with an excellent LoRa IoT gateway that can be controlled via four push buttons and an LCD screen. This device can take input from remote stations wirelessly, and can put this data online or push it to a user as a text message.

The system enables a homeowner to monitor the home environment via an Internet accessible dashboard, receive periodic SMS environmental notifications, receive real-time SMS alerts when monitored environmental parameters exceed preset thresholds, and log environmental data to the cloud.

For more details on how Gatehouse set up this project and on his design choices, check out his Instructables page here.