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

Developers, hackers, and members of the Linux and maker communities: We want to meet you!

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

Opto 22 will exhibit and present at ELC + OpenIoT Summit North America

About the Show

This month Opto 22 is exhibiting and presenting a technical workshop at the Open IoT Summit in Portland, Oregon.

It's a great opportunity to take a look at some of our new products and solutions that leverage open technology—like a REST API for an industrial controller and Node-RED running on our groov Box.

Read More

Topics: IoT, IIoT, Raspberry Pi, Digital I/O for Raspberry Pi

OptoNews Tip: Top 4 tech tips from 2016

Posted by Jean Femia on Jan 4, 2017 3:39:10 PM

Did you miss any of these technical tips?

Now's a good time to review some automation basics—and look ahead to new technologies in our field.

Accuracy and resolution. Specifications for both of these are included for our analog modules. What's the difference?

Sinking and sourcing. What do these terms mean when you're wiring digital DC outputs, and which is the better way to wire? Lots of questions and answers on this one.

Read More

Topics: Discrete control, Tips, optonews, I/O, SSRs, Node-RED, OptoNews 2017-01-04, Raspberry Pi, Digital I/O for Raspberry Pi

OptoNews Tip: Using Node-RED with Raspberry Pi

Posted by Jean Femia on Dec 14, 2016 3:56:38 PM

It's true: you can use your Raspberry Pi to monitor and control real-world industrial devices.

Reliable Opto 22 G4 digital I/O and SNAP digital I/O now work with your Pi. 

One of the simplest ways to program your Pi may be Node-RED, designed by IBM Emerging Technologies.

Read More

Topics: Discrete control, optonews, I/O, Node-RED, G4 I/O, OptoNews 2016-12-14, Raspberry Pi, Digital I/O for Raspberry Pi

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