Serial port not working?

前端 未结 4 1725
猫巷女王i
猫巷女王i 2020-11-28 15:57

I made a program that sends out data to my arduino which detects what was sent and then turns on the correct pin according to what key is pressed.

When using the ard

4条回答
  •  孤独总比滥情好
    2020-11-28 16:38

    I recently dabbled into this. The Arduino automatically resets when it receives serial communication from most things other than the Arduino IDE. This is why you can send from the IDE but not node.js.

    I have an Uno and put a capacitor between Reset and Ground.Here's a page with some good info on the subject.
    Good luck. http://arduino.cc/playground/Main/DisablingAutoResetOnSerialConnection

提交回复
热议问题