Posts | Comments

Planet Arduino

Archive for the ‘Internet of Things’ Category

In this video, our friends at PubNub are going to create a smart home network that builds upon their previous Johnny Five tutorial. They again hack an Arduino Uno using JavaScript, but this time to create the simplest smart bulb. Because by “smart bulb,” we really just mean an LED.

The tutorial was developed by Tomomi Imura from PubNub and also uses Johnny-Five. No, not the robot from the movie Short Circuit. It is an open-source JavaScript robotics framework that lets you program an Arduino with Node.js. The bulb itself is remotely controlled via a web portal.

To establish the realtime communication between the Arduino and a web browser, the PubNub Data Stream Network (DSN) is used. PubNub provides global infrastructure and allows you to build and scale real-time apps and IoT devices quite easily.

The remote controller (web app) is written in JavaScript. This is a simple user interface that includes only one button. While a completed code sample is available on CodePen, this tutorial employs a simplified version so that it’s easier to follow along.

 

Interested in the world of hardware hacking, but feeling left out because you just don’t have the time to learn another language? Or maybe you aren’t comfortable using Sketch to program? Have no fear, you can easily use JavaScript to program boards like Arduino and Genuino. Yes, just JavaScript!

In this series of video, PubNub’s Tomomi Imura shows you how to start hacking an Arduino with Node.js using Johnny-Five, a JavaScript Robotics Framework.

Part one of this tutorial covers:

  1. Setting up a board.
  2. Building the Hello World of hardware, a LED blink.
  3. Writing your Johnny-Five code to make it blink programmatically.

Enjoy the tutorial!

 

lightswitchturneronner-2-copyUse a servo to flick a light switch mechanically — without ever touching 110V power — with this Wi-Fi “Turner Onner”

Read more on MAKE

The post Make a Wi-Fi Enabled Light Switch Turner Onner appeared first on Make: DIY Projects and Ideas for Makers.

If necessity is the mother of invention, then inconvenience is its frustrating co-conspirator. Faced with a finicky dryer that would shut down mid-cycle with a barely audible beep if its load was uneven (leaving a soggy mass of laundry), [the0ry] decided to add the dryer to the Internet of Things so it could send them an email whenever it shut itself down.

After opening a thinger.io account, adding the soon-to-be device, and setting up the email notification process, [the0ry] combined the ESP8266 Development Board, a photosensitive resistor, and a 5V power supply on a mini breadboard. All that was left was to mount it on the dryer and direct the LDR (light-dependent resistor) to the machine’s door lock LED to trigger an email when it turned off — indicating the cycle had finished or terminated prematurely. A little tape ensured the LDR would only be tripped by the desired light source.

If you’re an apartment-dweller have WiFi in the wash area it would be awesome to see a battery-powered version you take with you. But in general this is a great hardware blueprint as many device have status LEDs that can be monitored in a similar way. If you want to keep the server in-house (literally in this case) check out the Minimal MQTT series [Elliot Williams] recently finished up. It uses a Raspberry Pi as the center server and an ESP8266 is one of the limitless examples of hardware that plays nicely with the protocol.

We love seeing hacks like this because not only does it conserve water and energy by reducing instances of rewashing, but it’s also a clever way to extend the life of an appliance and potentially save hundreds of dollars in replacing it. Add this to the bevvy of hacks that add convenience to one’s home — some of which produce delicious results.


Filed under: Arduino Hacks, home hacks

Electronic installation in the grunting racquet handleDo you dream of developing a hot, new hardware gadget and bringing it to market? Maybe your goal is to make the world better with your product, or perhaps you just want to get filthy rich selling your product. Developing a project prototype using an Arduino, Raspberry Pi, or other […]

Read more on MAKE

The post Turn Your Electronics Project into a Sellable Product appeared first on Make: DIY Projects and Ideas for Makers.

During a recent workshop, Swedish innovation studio Topp set out to create a platform for rapid prototyping with design and data. The team decided to take an existing product and retrofit it with IoT capabilities. For this, they selected an IKEA Spöka night light and hacked it with an Arduino MKR1000. The connected lamp is capable of reacting to its surrounding environment through sound, motion, and light, while an accompanying app is used to monitor and control intensity.

Traditionally data and physical interactions have been difficult to work with, often requiring the availability of early hardware or by constructing mockup data. However, to achieve quick iterations and a higher fidelity experiences for projects involving data, sensors, cloud, and other things typically unavailable to designers early on in projects, we’ve developed a tool called Noodl to help support a better way of working. We’re using Noodl as a foundational tool when we hack our night light.

A key function for this hack is to have the lamp and the phone connected to an IoT cloud broker. Bluetooth or other non-routable communications would not work with remote presence, so by using Wi-Fi and a public broker we could build a prototype that also works with multiple clients in a true IoT fashion.

The end result was a platform that makes use of cloud and data, which could be employed for a wide range of intelligent home devices ranging from a baby monitor to a morning alarm to a smart dimmer. You can read all about the project — along with instructions, code and components — on Topp’s page here.

 

Back at Arduino Day 2016, Massimo Banzi explored the true meaning of the Internet of Things in a more philosophical, approachable way. During his presentation, the Arduino co-founder touched upon the current state of the industry, some guiding principles, as well as what the future may entail.

“A lot of people are trying to build products that are connected, but not a lot of stuff makes a lot of sense right now. There’s a lot of strange stuff happening. It’s the beginning of an industry,” Banzi explained. “There’s a couple of misconceptions. A lot of people tend to equate the Internet of Things with smart thermostats for your home, and it’s much more than that. The part of the IoT that right now is impacting and can impact your life the most is the least sexy one.”

You can watch the entire talk below:

pebbleHeroIf you already have a Raspberry Pi running a Node.js server, you're already on your way to controlling your home with a smartwatch.

Read more on MAKE

The post Hack Your Pebble Steel to Control Your Raspberry Pi appeared first on Make: DIY Projects and Ideas for Makers.

ArduinoDay2This past week we celebrate Arduino Day with Makers like, saw a new marble machine, and started a conversation about how coding is taught.

Read more on MAKE

The post This Week in Making: Marble Machines, Filament Tips, and More appeared first on Make: DIY Projects and Ideas for Makers.

Arduino MKR1000 and BoxThe Arduino MKR1000 is now shipping. But perhaps more importantly, comes the announcement of both Arduino's next generation community platform, and a new cloud development environment.

Read more on MAKE

The post Arduino Releases MKR1000, IoT Development Environment, and Community Project Platform appeared first on Make: DIY Projects and Ideas for Makers.



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook