Skip to main content
Arduino

Timeline for Hardware serial not working, SoftwareSerial is

Current License: CC BY-SA 3.0

21 events
when toggle format what by license comment
Jan 10, 2020 at 6:58 answer added theSealion timeline score: 1
Jan 10, 2020 at 0:02 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 4, 2016 at 3:45 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
May 5, 2016 at 3:34 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Nov 9, 2015 at 6:19 comment added Dodo Serial works on the ESP8266; SoftwareSerial fails to compile (I think it is available as an external library though). I was testing this for an ESP8266 project so it will work. I'd say it is a harware issue on the uC.
Nov 8, 2015 at 19:54 comment added frarugi87 I think so.. Or at least it can; if the libraries rely on interrupts you'll have to re-write them..
Nov 7, 2015 at 19:58 comment added Dodo @frarugi87 Yes, I tried swapping – about ten times. Maybe my ESP8266 will work with Serial; I'll give it a try. Do you know if it supports SoftwareSerial?
Nov 7, 2015 at 13:02 comment added frarugi87 Just a stupid question, but did you try to swap RX and TX? Anyway if SoftwareSerial on pins 0,1 doesn't work it's an hardware problem...
Nov 6, 2015 at 22:58 history edited Dodo CC BY-SA 3.0
added 331 characters in body
Nov 6, 2015 at 22:25 comment added Dodo @frarugi87 Tested again now; no success.
Nov 6, 2015 at 21:40 comment added frarugi87 What do you mean by "think"? Did you test it?
Nov 6, 2015 at 19:02 history edited Dodo CC BY-SA 3.0
added 65 characters in body
Nov 6, 2015 at 18:36 comment added Dodo @frarugi87 I don't think SoftwareSerial serial(0, 1); worked either.
Nov 6, 2015 at 18:34 comment added Dodo @jwpat7 'Doesn't work' means no byte is received. The external device supports 38000 bps only, and the Arduino can use it on the hardware serial port (as tested connected to a computer with a Processing sketch). The fact that it is simultaneously connected to a computer through the USB port doesn't seem to be an issue, because it exhibits the same behaviour powered by a phone charger (unless the charger also interferes with something?).
Nov 6, 2015 at 15:18 comment added James Waldby - jwpat7 38000 bps is not a standard rate and hardware at one end or the other might not support it, while software might not care. You still haven't said what "doesn't work" means, but if it means garbled characters, use a standard rate, eg 38400 bps.
Nov 6, 2015 at 9:48 comment added frarugi87 What if you try SoftwareSerial serial(0,1);?
Nov 6, 2015 at 6:27 comment added Dodo @NickGammon This is interfacing with a CASIO fx-9750GII. I can receive the request byte from the calculator using SoftwareSerial but not with Serial. If the Arduino receives any data it makes a sound.
Nov 6, 2015 at 6:24 history edited Dodo CC BY-SA 3.0
added 609 characters in body
Nov 6, 2015 at 6:18 comment added Nick Gammon Please post your code. Please define "not working". What device have you connected?
Nov 6, 2015 at 5:40 answer added enginsubasi timeline score: 1
Nov 6, 2015 at 4:45 history asked Dodo CC BY-SA 3.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /