[solved]Arduino input node not connecting

#1

I decided to try out the Arduino node but I can't get the input one to work.
I loaded standardFirmata onto a Uno.

The output blinking pin 13 is working fine.

Input node just says connecting...

Any ideas?

Node-RED 0.18.5 node.js 8.9.4 Win10

[{"id":"ebd1a15d.04265","type":"debug","z":"e0cc4f82.0d1fa","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":710,"y":180,"wires":[]},{"id":"7585a3fe.d774cc","type":"inject","z":"e0cc4f82.0d1fa","name":"0.5s tick","topic":"","payload":"","payloadType":"date","repeat":"2","crontab":"","once":false,"onceDelay":"","x":320,"y":320,"wires":[["314ada7d.29bf66"]]},{"id":"e74ef44d.5ec2f8","type":"arduino out","z":"e0cc4f82.0d1fa","name":"","pin":"13","state":"OUTPUT","arduino":"39e5db16.67d3e4","x":740.5,"y":320,"wires":[]},{"id":"314ada7d.29bf66","type":"function","z":"e0cc4f82.0d1fa","name":"Toggle output on input","func":"\n// If it does exist make it the inverse of what it was or else initialise it to false\n// (context variables persist between calls to the function)\ncontext.level = !context.level || false;\n\n// set the payload to the level and return\nmsg.payload = context.level;\nreturn msg;","outputs":1,"noerr":0,"x":528,"y":320,"wires":[["e74ef44d.5ec2f8"]]},{"id":"49748cdc.7c7f24","type":"arduino in","z":"e0cc4f82.0d1fa","name":"","pin":"8","state":"INPUT","arduino":"159278d6.ee9717","x":470,"y":180,"wires":[["ebd1a15d.04265"]]},{"id":"39e5db16.67d3e4","type":"arduino-board","z":"","device":"COM9"},{"id":"159278d6.ee9717","type":"arduino-board","z":"","device":"COM9"}]
0 Likes

#2

I have my system working with an arduino mega and works great, as you said just need to flash arduino with standardFirmdata and set properly the configuration of the port, do you have it working on windows? I have it on my raspberry and port is like this:

image

Regards

0 Likes

#3

Just stopped/re-started Node-RED and its working :slight_smile:

0 Likes