HealthyPi
HealthyPi copied to clipboard
Wrong Baudrate in INO?
In the arduino sktech, there is the baud rate config for 115200 in all GUI and Atmel Studio project 57600.
=> Is the Arduino sketch really up to date? Even if I change the baud rate, I get no matching values in the GUI
Hello SvenHi, The SerialUSB on Arduino Zero is a is an emulated serial port (USB-CDC). The SerialUSB class is a special Serial instance which use the hardware USB the speed will always be 115200.
Thank you for response!
Does this mean, I have to change the Baudrate in the Processing GUI (for USB)?
Original code healthypi_desktop.pde: port = new Serial(this, selectedPort, 57600);
Or does this setting not matter?
In case this setting does not cause conflict with the 115200 baudrate of CDC, I have to search for other issues on my setup.
I have the problem, that the device does work in general with Atmel Studio firmware on Raspberry.
If I replace the flash with Arduino Zero bootloader, download INO via Arduino, and use the PC GUI (Win10,64Bit)
then I have in general communication between device and GUI, but no valid data in visualization...
Best regard
Gesendet: Donnerstag, 30. März 2017 um 07:33 Uhr Von: VenkateshBhat [email protected] An: Protocentral/HealthyPi [email protected] Cc: SvenHi [email protected], Author [email protected] Betreff: Re: [Protocentral/HealthyPi] Wrong Baudrate in INO? (#4)
Hello SvenHi, The SerialUSB on Arduino Zero is a is an emulated serial port (USB-CDC). The SerialUSB class is a special Serial instance which use the hardware USB the speed will always be 115200.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.