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.

Module switching with Arduino

+1 vote
Thank you for making, what it fells like, an electronic unit from the future!

Is there an easy way of switching modules by perhaps sending serial.Write commands from my Arduino?

All the best

/O
related to an answer for: Switch from one module to another
asked Apr 10, 2017 in Programmer Questions by Olberg (140 points)

1 Answer

0 votes

But of course! You can send any valid command-line-interface to JeVois from your Arduino, including a setmapping command. Have a look at the Arduino example for a pan/tilt head here: http://jevois.org/doc/ArduinoTutorial.html

Notice how we send commands from the Arduino to JeVois:

SERIAL.println("setpar serlog None");

SERIAL.println("setpar serout Hard");

You could add a setmapping N in the same way. See http://jevois.org/doc/UserCli.html for all available commands.

Things to be careful about: This assumes that JeVois has already booted up by the time your Arduino sends the command. If you will power both JeVois and the Arduino at the same time, the Arduino will likely boot faster than JeVois. You can then wait until JeVois becomes ready, at which point it will send:

INF READY JEVOIS 1.0

to the serial port. So your Arduino could wait for this to be received, and then send its commands. Note that 1.0 is the JeVois version number and it will change in the future.

answered Apr 11, 2017 by JeVois (46,580 points)
Arduino Tutorial does not work
...