Changing Serial Stop Bit

Hello! I am trying to use a Nonin 7500 with an Arduino Due. In the Nonin manual it says that the sensor runs at 9600 baud and 2 stop bits. I would like it to only have 1 stop bit so I configured the serial in my code as such:

Serial.begin(9600, SERIAL_8N1);

but it is still displaying data once every second. How do I configure the Nonin to display data continuously? Thanks in advance!

There is NO real difference for serial communications between 1 stop bit, 2 stop bits of 99 stop bits, except for how soon the next character arrives. Your change is meaningless.
If your program is displaying every second, then that may be how often a character arrives.
I have no clue what a Nonin 7500 is. Does it make a difference?
Paul

So the data does get sent once every second. Is there a way for me to continuously print that data until new data comes in?

Sure, save the data and print it until new data comes in and replaces what you have saved.
Paul

@osheal33, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with your project :wink: See About the Installation & Troubleshooting category.

Why? What do you expect from that?

I doubt very much that changing serial settings on the Arduino will have an effect on the refresh rate of the Nonin.

Print it where? If you print it to e.g. a LCD, it will stay there till you overwrite it.

image

Link to Nonin 7500

My god that is one hell of a price for what it is. It is the sort of thing you could make for £30.

It looks like it only sends data once a second, so why do you want to continuously send the same data over and over as fast as you can? Most of the time people want to limit how often something is sent.

You might be able to make it for that price, but you could not pass the ISO standard for that price.
I suspect the OP is not able to articulate just what it is they want to do.
Paul

You don’t have to it is simply an optically coupled device to the user so no safety issues here. It is not like you are using electrodes.

And £126 for a mains cable!

If it's medical-related then that means 'Liability'.
But that's not ISO. "ISO doesn’t provide certification or conformity assessment. You’ll need to contact an external certification body for that." (TUV, CE, UL etc.)

To change either of those things, you need to go to the manufacturer of the Nonin 7500 with a very good and valid reason to change those things and a very, very large sum of money, I suspect. You cannot change those things by connecting it to an Arduino.

So what are those reasons? I expect the designers of the Nonin made those decisions for very good reasons. Why are their decisions wrong for your project?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.