DccPlusPlus / BaseStation

DCC++ Base Station for Arduino Uno and Mega
207 stars 150 forks source link

Problems connecting with Arduino UNO [beginner] #38

Closed pckrullenbol closed 5 years ago

pckrullenbol commented 5 years ago

I have a new genuine Arduino UNO and downloaded the latest sketch from github (v1.2.1), compiling goes without errors in the Arduino IDE (v1.8.5). I try to connect with Serial Monitor with baudrate 115200, autoscroll and newline. When restarting Arduino I get: <iDCC++ BASE STATION FOR ARDUINO UNO / ARDUINO MOTOR SHIELD: V-1.2.1+ / Oct 27 2018 15:40:03> But I get nothing in the Serial Monitor when I enter "< s >" or "< e >" (without quotes) or whatever else I do.

I also have a new Arduino Motor Shield R3 and tried to talk to the Arduino with or without it, with no succes. According to the manual it should be possible to test the software without the Motor Shield.

I use an external power supply 12V, but also tried without it, so the board was powered on usb only. Tried all these steps on Apple and windows.

I found a little sketch on internet that tests the communication via serial monitor: void setup() { Serial.begin(115200); // set up Serial library at 115200 bps } void loop() // run over and over again { Serial.println("Hello world"); // prints hello with ending line break delay(1000); } This sketch works, I get an line "Hello world" every second, so communication is working.

So I'm stuck, what do I do wrong? Thanks for any help!