Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

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, 2017 in Hardware Questions by zlite (300 points)

1 Answer

+2 votes
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, 2017 by pelrun (2,330 points)
selected Apr 30, 2017 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.