SwingeyP
Member
Can anyone understand how this thing works or give me any pointers please?
I have tried sending the data to the unit as just sum, I have sent the individual parts of the string and I still can't get any joy.
Ultimately I want to read distance with it but for now just to get it going I am trying to read temperature (as that seemed easiest).
I am using a RA3 to TX to the unit, RA4 to RX from the unit, and RA5 will be a toggle for the PWR pin when needed.
I have attached some simple code which sends a command reads the reply and displays the data on an LCD and the datasheet for the URM37.
I am pulling my hair out with this can anyone help me please?
I have tried sending the data to the unit as just sum, I have sent the individual parts of the string and I still can't get any joy.
Ultimately I want to read distance with it but for now just to get it going I am trying to read temperature (as that seemed easiest).
I am using a RA3 to TX to the unit, RA4 to RX from the unit, and RA5 will be a toggle for the PWR pin when needed.
I have attached some simple code which sends a command reads the reply and displays the data on an LCD and the datasheet for the URM37.
I am pulling my hair out with this can anyone help me please?
Attachments
Last edited: