I am working on a sleep apnea study for my final year thesis. I am using Nonin OEM III module with arduino Uno. I am totally new to arduino. I really need someone's help in interfacing the module with arduino so I could read the data. Thank you in advance.
@pauS Thank you replying. Here is the specification file Support - Nonin
And yes, I did check out the forum for a similar problem, a few have tried interfacing but there is no complete solution. I am going to use a UNO board for the project. I have to read the data from the OEM device and write a code to drive an output. Can you guide me through it?
@TomGeorge
hi, Yes, I have seen this post. The person says,
"I currently have left Pin 08,09,10,13 and 14 un-terminated and hooked up the rest. However, would I potentially need to hook into the serial input in order to start communication with the OEM Board? The data doesn't mention anything about I2C or SPI communication so I'm not totally sure how to go about hooking this up..."
1.Is the person using only the OEM chip from page 10 in the specs sheet or the whole board like in the picture?
the pins in page 10 are labelled at j1-01 and so on. What does J1 indicate here?
Hi,
The reddit article used software serial to read the serial output of the OEM.
You use resistors on J1 pin 9 to select the serial information format.
Their is no SPI or I2C comms.
You do not have to send any comms to the OEM, it just blurts it out data on its own.
@TomGeorge
I am so lost. I know that this is a lot to ask, I have just started learning about serial comm. Can you guide with the pin connections between the OEM chip and arduino?
Check the image I have attached. Do i have to do something like this?
Well?
Can someone guide me with the steps? Can i directly connect the ground from the OEM evaluation board to the arduino ground and the serial outout pin from the board to Rx on arduino? I did see the other forum thread with paulS describing the coding, But they have connected the OEM chip and sensor to arduino and have not used the evaluation board.
In a final year project you're meant to LEARN something new, not just get us to design it for you.
Lots of us here have assorted degrees obtained before the internet days, when you were given a reading list and an occasional hint by your supervisor, then left to it.
I think the general silence means that there's loads of information on this site and elsewhere to help you... and the odd hint
try the serial libraries for a start, and read your sensor's datasheet carefully.
@allanhurst Hey, thanks for replying. I totally understand what you mean and yes I want to learn. The thing is that I want the hard wiring to be done correctly, I dont want to burn the OEM module by doing something wrong. It is expensive you know. I just want someone to guide me with wiring the sensor to the module. The module has a DB9 connector with only 7 pins.
Do i leave pin 4 and 8 of sensor unconnected?
2.I dont understand the description of Pin 1 and 6 of the sensor DB9.
UPDATE: SO, the output remains the same even when I disconnect the sensor from the module. I used a serial to USB (cp2102 silicon labs) to view the data on DOCLIGHT(a serial monitor) and the output in binary is that the bits in BYTE 2 and 3 are always high(except BIT 7 which is always zero). Let me know if you guys have any idea.
I connected the sensor and OEM module to a USB to TTL module and viewed the serial output on my PC. The outputs are still the same, It keeps spitting out the same bytes even when the sensor is not attached.
The power requirement says that the module need 3.3V with a max ripple of 50mV. Could the fault be because of this? Someone else in a different threat encountered the same problem but no one has responded yet. I read the integration document thoroughly from pg 8-11. Still no clue.
@allanhurst
Yes, I am using Nonin's sensor. And yes, I did contact NONIN but they weren't so helpful. They asked me to check the power requirements properly.
@TomGeorge
I just connected the Tx from OEM to Rx in arduino.
Update: When I Connected the Tx(OEM) to Rx(arduino) and ground(OEM) to ground(arduino) while the OEM and sensor was connected to the evaluation board, it worked.