OptoBlog

OptoNews: Industrial I/O for Raspberry Pi - new code examples

Posted by Jean Femia on Mar 1, 2017 4:01:52 PM

Are you using G4 or SNAP digital I/O with your Raspberry Pi®?

A lot of engineers are finding a Pi surprisingly useful in real industrial applications, as well as for prototyping and experimenting. Used with Opto 22's reliable industrial I/O, your Pi can safely switch 5-60 VDC, 120 VAC, and 240 VAC loads. 

Read More

Topics: optonews, I/O, GPIO, G4 I/O, OptoNews 2017-03-01, Raspberry Pi, Digital I/O for Raspberry Pi

From IoT to IIoT: an industry pivot

Posted by Matt Newton on Feb 23, 2017 8:00:00 AM

This week Opto 22 is exhibiting at the Open IoT Summit in Portland, Oregon. The IoT Summit is a Linux Foundation event, packed with a ton of technology workshops and product demos.

We also exhibited at the IoT Summit last year. It’s a great chance to connect with the Linux developer community and get their perspective on things, since it’s so much different from what a typical industrial automation professional is exposed to.

Read More

Topics: groov, Internet of Things, IoT, PACs, API, REST, mobile, IIoT, Industrial Internet of Things, Node-RED, GPIO

How to Build a Raspberry Pi with Node-RED and Industrial GPIO

Posted by Benson Hougland on Dec 14, 2016 3:39:17 PM

UPDATE: This post has been updated to reflect changes in the most recent Raspbian Jessie Lite image (no longer includes Node-RED or node.js) and to use the new Digital I/O for Raspberry Pi Starter Kit for I/O hardware (new code, photos, and video).

The Raspberry Pi® is an unquestionably powerful computer for just $35. And it really is just that: a computer. That means the Pi is capable of many tasks and perfect for many automation applications.

Couple the Pi to industrial, solid-state digital inputs and outputs, and you can build compelling and cost-effective solutions for commercial and industrial applications, too.

One of the easiest and fun ways to quickly build software applications is with Node-RED, the free, open-source software tool designed by IBM Emerging Technologies and used for wiring together hardware devices, APIs, and online services in new and interesting ways.

However, Node-RED is only included in the full PIXEL GUI version of the Raspbian Jessie Operating System, available from raspberrypi.org. Their latest 2017-07-05-raspbian-jessie-lite.img build for headless operation (no monitor, keyboard, or mouse required) is no longer bundled with either Node-RED or the required software tools node.js and npm.

The purpose of this post is to guide you through creating a headless Raspberry Pi computer with the latest versions of Node-RED, node.js, and npm, building a Node-RED application, and controlling and sensing GPIO connected to industrial digital I/O, quickly and simply. (For a sneak peek at the result of this build, see the video near the end of this post.)

Image: New Opto 22 Digital I/O for Raspberry Pi Starter Kit with Raspberry Pi 3 Computer

Read More

Topics: Node-RED, GPIO, G4 I/O, Raspberry Pi, Digital I/O for Raspberry Pi

    Subscribe to Email Updates

    Recent Posts

    Posts by Topic

    see all