Author Archives: R-B

What-to-wear weather clock

Plan your day with confidence using this fancy weather forecasting clock that tells you what kind of clothes you need to wear to be comfortable outside. The clock is powered by the Particle Photon IoT development board that retrieves the current weather information from forecast.io. Based on the weather forecast, the Particle board drives a servo motor to move a clock hand to point to the correct type of clothes needed.

Weather forecasting clock

Weather forecasting clock

I split the software into 2 parts: the Photon firmware to move the pointer and a hook.io script to figure out which clothes to wear from the forecast.io weather forecast. The Particle cloud acts as a bridge between the Photon and the hook.io script. The main reason for splitting is that it will be easier to continue tweaking the clothes decision code without draining the batteries in the frame by continuously reprogramming the Particle Photon.

The firmware source code is at:

https://github.com/monkbroc/what-to-wear/tree/master/firmware

ESP8266 powered Christmas tree lighting

Christmas lights are an important aspect of the winter holidays in our country. Every year, we look for new fun ways of lighting outside and decorating the Christmas tree. This ESP8266 driven RGB LED lighting for Christmas tree from Evil Genius Labs is an artistic creation and possibly a good option to try if you’re bored of using the same old lighting for your tree.

ESP8266 powered RGB lighting for Christmas tree

ESP8266 powered RGB lighting for Christmas tree

The 6.5’ tall white tree gets lighted with 250 WS2811 RGB LEDs, and controlled by an ESP8266 microcontroller using the FastLED library. The animation can be controlled with a web-based app stored in the on-board flash memory of the ESP8266 board, as well as with an infrared remote control. Other features include adjustable brightness, autoplay with adjustable interval, multiple procedural animations using a fully 3D mapped layout (X, Y, and Z axes, radius, and angle), allowing scrolling and rotating in any arbitrary direction, etc.

Video below shows a demo.

The web app is a single page app with separate files for js and css, using jQuery and Bootstrap. It has buttons for On/Off, a slider for brightness, a pattern selector, and a color picker (using jQuery MiniColors). Event handlers for the controls are wired up, so you don’t have to click a ‘Send’ button after making changes. The brightness slider and the color picker use a delayed event handler, to prevent from flooding the ESP8266 web server with too many requests too quickly.

Raspberry Pi Surveillance Rover

It is always cool to have a remote control rover with a camera so that we can see where it is going and can possibly use it for surveillance. This Instructables describes the build process for a similar surveillance rover using the Raspberry Pi computer board with a camera. The rover moves around with the help of two 9V DC motors that are driven using a L298N circuit. The motion is controlled through an Android App running on a tablet or smartphone and the commands to the rover are sent over Bluetooth. The Raspberry Pi also streams a video in real-time over WiFi.

Raspberry Pi surveillance rover

Raspberry Pi surveillance rover

Using a Raspberry Pi for the on-board logic, this compact, mobile computer, will create a local port that streams a video in real-time while simultaneously creating Bluetooth sockets to read values sent by a custom android app. The app syncs with the drone and uses user input to send instructions to the drone instantly. This project is fairly difficult to make from scratch, so hopefully the following will make life easier and provide some insight for drone enthusiasts like myself. All the software used for this project is provided. The code used was originally written by myself, but a few lines might have come from other sources. Feel free to modify and share the code to your liking. Please use the information provided responsibly and have fun!

Raspberry Pi Zero powered DIY skateboard

TheRaspberryPiGuy on YouTube shares his design of a Pi Zero powered DIY skateboard that is controlled with a Nintendo Wiimote over Bluetooth, and is capable of going 30km/h. Visit the YouTube page for details of the parts used to construct the skateboard, and the Python code for the project is posted on a GitHub page.

Pi Zero powered DIY skateboard

Pi Zero powered DIY skateboard

In the following video, you can see TheRaspberryPiGuy racing around Cambridge with his skateboard.

Dtto robot is the 2016 Hackaday Prize Winner

Dtto, a modular self-reconfigurable robot, is the grand prize winner of the 2016 Hackday contest. Dtto’s design is focused on all-terrain search and rescue operations using bio-inspired locomotion mechanisms.

Dtto: a modular transformable robot

Dtto: a modular transformable robo

The Dtto Modular Robot has been designed with adaptability in mind. Inspired by how fire antscolonies work, a number of modules (or small robots) find each other, connect mechanically and colaborate to act as one only robot, creating a collective inteligence. They can link together and bulid structures without any central comand. The advantatge of being all modules the same is that, if one of them breaks, it can easily get replaced by another one, creating a self-healing structure.

By changing its configuration, the Dtto robot can move like a snake through a small pipeline, then transform into a wheel-like robot to move faster, then transform to a centipede robot when there is no vertical space and finally build a bridge to get to the other side of the hanging floor.

« Older Entries Recent Entries »