Continue to Site

Reply to thread

Here are three images of the wiring I have been using for the sensor. I have tried leaving the white sensor wire disconnected because I am not sending anything back to the sensor, just getting data from the sensor.

Here is the wiring table for the sensor. In my images, the red is connected to 5v from a buck converter and the black wire is grounded. Yellow is connected in the terminal and wired to RX0 on the metro m4 express microcontroller.


Red lineVCCpower supply input positive pole
Black lineGNDpower ground wire
Yellow lineRXUART receiving data line
white lineTXUART transmitting data line


Not sure the best way for sending code, but I will put a couple pictures. I have tried several variations of code like this one and it always says something like waiting for response or it will say things like waiting for data from sensor, etc. I have posted a few images of code I tried.


I have used a multimeter on different locations throughout the wiring. I am getting 5v power into the sensor, the red sensor wire. I am then getting about 3.3v out of the yellow and white sensor wire.


Thank you for your response, if there is any information I can add that will clear things up, let me know. Thank you.

[automerge]1743285186[/automerge]


My apologies Klaus, I think I replied to the entire forum thread when I meant to reply to your response, but the information I provided is in this and should clear up some things you talked about. Thank you


Part and Inventory Search

Back
Top