IrScrutinizer 1.0.0 + included IRWidget sketch: baud rate

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

Post Reply
NEC1
Posts: 56
Joined: Sat Jul 03, 2010 1:36 am

IrScrutinizer 1.0.0 + included IRWidget sketch: baud rate

Post by NEC1 »

When I use a serial monitor set to the baud rate to correspond with #define ARDUINO_SERIAL_BAUDRATE 115200 in the IRWidget sketch bundled with IrScrutinizer 1.0.0, I get meaningful output when output from an infrared diode+amplifier is received with a carrier frequency from a remote, but when I use it with IrScrutinizer, the data is meaningless.

How can I adjust the baud rate to 115200 (best option for fastest response) in IrScrutinizer to correspond with the IRWidget, or do I have to change the baud rate to a particular setting?
"The best thing possible to do with knowledge is to share it".
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

Sad to say, the baud rate is hard compiled in, and set to 9600. :oops: You will have to change the code, to be exact package HarcHardware, class Arduino. Actually, if you are seriously interested in the topic, I would recommend to have a look at that code anyhow. It is not that hard to understand and modify. After all, this is what free software is about. :wink:

On request, I can compile a version with (e.g.) 115200 and upload to the diagnostic area.

Of course, this will be fixed in the next release.
NEC1
Posts: 56
Joined: Sat Jul 03, 2010 1:36 am

Post by NEC1 »

Despite changing the baud rate of the aforesaid Arduino sketch to 9600, I am still having problems using it with IrScrutinizer.
"The best thing possible to do with knowledge is to share it".
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

That is not an problem report that helps us helping you.

The Arduino and its serial interface can be finicky at times, I regularly connect and disconnect it on my Uno. Also the RXTX-library does not enjoy my complete confidence...
Post Reply