GTO2013 / EMUSerial

ECUMaster Arduino Serial Library
GNU General Public License v3.0
16 stars 3 forks source link

Arduino nano #4

Closed TCOPC closed 3 years ago

TCOPC commented 3 years ago

Hey,

I want to use this project but I can't upload it to my Arduino nano. Can someone help me?

Kind regards, Thomas

GTO2013 commented 3 years ago

The Arduino Nano only has one Serial port, which might not work correctly if you already have the TTL converter attached to it. It should work if you disconnect the TTL converter, upload the sketch and then reconnect it. For debugging you can also use SoftwareSerial :)

TCOPC commented 3 years ago

Thanks for the quick response! I can't even upload the sketch to the Arduino but maybe it's because of that the nano only has 1 serial port. I can try to find another Arduino or also use a ESP32

GTO2013 commented 3 years ago

The USB port is attached to the RX TX lines, if you disconnect any hardware from those pins you should be able to upload it. You then have to reconnect it. So yeah, its probably better to use another Arduino.

designer2k2 commented 3 years ago

would it be possible to use SoftwareSerial for EMUSerial?

GTO2013 commented 3 years ago

I intentionally used the Stream interface to make this possible, but I never tested it. If you configure it for 8 Databits 1 Stopbit it should work. Let me know if you have success!

GTO2013 commented 3 years ago

I will close this for now, if you have future issues let me know!