Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.

How to change hard serial baud rate?

0 votes
I'm using software serial on an Arduino to read the data from JeVois, and it chokes on 115200. How can I change the Hard Serial baud rate of JeVois to 9600?
asked Apr 29 in Hardware Questions by zlite (300 points)

1 Answer

+1 vote
Best answer
Uncomment the baudrate line in JEVOIS:/config/params.cfg, that'll change the baudrate for every module (alternatively you can change it for just one module by making a params.cfg file in the module directory.)

Depending on what you're doing I'd not go all the way down to 9600, though. There's also 14400, 19200, 38400 or 57600. Go with the highest your arduino code can reliably handle.
answered Apr 30 by pelrun (2,140 points)
selected Apr 30 by zlite
I note that you must also uncomment the other lines or it won't boot

BTW, is this documented anywhere? I couldn't find it, so it might be a good addition to the Wiki
This doesn't appear to be documented very well just yet. The configuration files are listed on http://jevois.org/doc/JeVoisDaemon.html, and the parameters themselves are declared the same way as in modules (the JEVOIS_DECLARE_PARAMETER macros) and can be looked up in the documentation. Only the Engine and Serial core classes appear to have them, all other parameters are defined in individual modules.