Skip to content

Conversation

ToniA
Copy link
Contributor

@ToniA ToniA commented Feb 8, 2016

On 8 MHz clock speed the actual 115200 bps rate is so much off that sending
data over serial is very unreliable.

… running on 8MHz oscillator

On 8 MHz clock speed the actual 115200 bps rate is so much off that sending
data over serial is very unreliable.
@mysensors-jenkins
Copy link

Core tests successful.
A member of the MySensors core team can ask me to verify this pull request more extensively by telling me "jenkins, build examples please".
But remember that I will only listen if you name me with a capital 'J'.

@henrikekblad
Copy link
Member

8Mhz should be able to handle 57k6. Could you update?

@mysensors-jenkins
Copy link

Core tests successful.
A member of the MySensors core team can ask me to verify this pull request more extensively by telling me "jenkins, build examples please".
But remember that I will only listen if you name me with a capital 'J'.

@ToniA
Copy link
Contributor Author

ToniA commented Apr 28, 2016

According to the calculator, the 57600 serial speed is quite much off from 57600. 38400 is almost a perfect match, the error is only 0.2%. And I also managed to have 38400 as the other speed option in Domoticz (it has a drop-down list with two speeds now).

http://wormfood.net/avrbaudcalc.php?bitrate=300%2C600%2C1200%2C2400%2C4800%2C9600%2C14.4k%2C19.2k%2C28.8k%2C38.4k%2C57.6k%2C76.8k%2C115.2k%2C230.4k%2C250k%2C.5m%2C1m&clock=8&databits=8

@henrikekblad henrikekblad merged commit a64c8b1 into mysensors:development Apr 28, 2016
tbowmo pushed a commit to tbowmo/MySensors that referenced this pull request Jul 9, 2016
Set the serial port speed of the Serial Gateway to 38400 on Arduino's  running on 8MHz oscillator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants