Why is StandardFirmataPlus switching on my relay?

Viewed 10

I'm following a guide on how to control an Arduino using Vue.js/johnny-five, and it requires that I flash my Arduino with the example sketch "StandardFirmataPlus" to allow johnny-five access to the Arduino.

This works, but it seems to cause my (8-channel) 5V relay to activate no matter what, turning on a UV lamp I have wired normally open through Arduino IO D50. From what I understand, this means that the sketch is sending LOW through D50. Even if I wire the UV lamp as normally closed through the same relay, it will temporarily turn on when I plug the Arduino in, before then turning off a few seconds later when the sketch is run.

Running the example sketch "Bare Minimum" does not give me the same issues, so clearly there's something I'm not understanding about StandardFirmataPlus. I'm at a loss trying to figure out how to get around this. I want my relays to stay inactive unless I explicitly tell them to.

Is there any way around this, while still giving johnny-five access to my Arduino?

0 Answers
Related