Protocentral / HealthyPi

OBSOLETE. Replaced by https://github.com/Protocentral/protocentral-healthypi-v3
https://healthypi.protocentral.com
Other
68 stars 25 forks source link

Wrong Baudrate in INO? #4

Open SvenHi opened 7 years ago

SvenHi commented 7 years ago

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

VenkateshBhat commented 7 years ago

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.

SvenHi commented 7 years ago

 

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 notifications@github.com An: Protocentral/HealthyPi HealthyPi@noreply.github.com Cc: SvenHi s.hirsch@gmx.net, Author author@noreply.github.com 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.