Introduction: The Servo in IoT

Picture of The Servo in IoT

Servo arm will be IoT.

I'm using the Google machine translation.


Connect the servo arm to the cloud.

Cloud use the Heroku or Bluemix or AWS, and the like.

It will install the Node-RED to the server and Raspberry PI.

Two Node-REDs will to work together in Websocket.

The client is a WEB browser.







Step 1: Preparation(準備)

Picture of Preparation(準備)

(1) The servo arm to 3D printing.

(2) The cloud server install Node-RED, and Raspberry PI install Node-RED.

  • Install the UI nodes for Node-RED.

  • Install the node-red-node-arduino.

(3) To connect the Raspberry PI, Arduino, and Servo arm.

  • Raspberry PI and Arduino connect a USB or UART.
  • Arduino install the standard-firmata.


(2)クラウドサーバとRaspberry PIにNode-REDをインストールしてください。

追加でUI nodes for Node-REDをインストールして下さい。

さらにnode-red-node-arduino をインストールして下さい。




Step 2: Cloud-side Setting(クラウド側設定)

Picture of Cloud-side Setting(クラウド側設定)

(1) flow import

source: base_server.json

(2) configration

picture(1): Websocket URL “/api/arm” change.

var wsurl = "wss://" + + "/api/arm";

picture(2): Point is multi clients send message.

delete msg._session;

return msg;

(3) test with web browser

https://your cloud server url/install setting uri/arm


picture(3): If you are connected to the cloud server, it will return a value.

Step 3: Raspberry-PI Side Setting(Raspberry PI側設定)

Picture of Raspberry-PI Side Setting(Raspberry PI側設定)

(1) flow import

source: base_raspberry.json

(2) configration

picture(1): URL change your Server name

eg. wss://

picture(2): arduino Serial port

/dev/ttyAMA0 is gpio pin(TX,RX)

/dev/ttyUSB0 is USB

(3) test with ui panel

http://raspberry pi local ip/install setting uri/ui


Step 4: Run(実行)

(1) Running in the browser

https://your cloud server url/install setting uri/arm

end of line.


DIY Hacks and How Tos (author)2016-11-05

Nice robotic arm. I like how you designed each of the brackets with so many mounting holes. It makes for a very versatile system.

About This Instructable




Bio: I like 100 yen shop. I like home improvement center. I like IKEA. I like motor sports.
More by 明和自動車:Maze Game to Control With SmartphoneElectronic Drum With AB-Shutter3Caster Mounting Example of Water Pipe Furniture
Add instructable to: