Tagged: serial communication
This topic has 36 replies, 6 voices, and was last updated 1 year, 6 months ago by beed cons.
- AuthorPosts
- January 25, 2022 at 12:03 pm #8662scoutingrobotParticipant
Hello,
I measured the voltages:
Roboteq, Tx and Gnd: -9.19V
NVIDIA, Tx and Gnd: -0.2VWhy am I receiving a negative voltage near the NVIDIA side?
Shouldn’t it be 0-3.3V?January 25, 2022 at 12:06 pm #8663scoutingrobotParticipantHello,
I measured the voltages:
Between Roboteq, TX and GND: -9.19V
Between NVIDIA, TX and GND: -0.2VShouldn’t I receive 0-3.3V at this other end?
January 25, 2022 at 1:16 pm #8664scoutingrobotParticipantSorry, in RS232 inverting mode, the voltage measured along the other side of the resistor is around 9V roughly.
The voltage is only getting dropped across the resistor and the diodes are not affecting the circuit in any form.January 25, 2022 at 1:48 pm #8665SuperDroidKeymasterThis is expected. The diodes are for protection. As the documentation states, they are used to clamp the voltage between the resistor and the Jetson Rx.
The key to this circuit is changing the voltage observed by the Jetson Rx. It seems you’ve only checked the Tx voltage of each device.
January 25, 2022 at 2:05 pm #8666scoutingrobotParticipantSo, should I run the code and try receiving something to check the voltage at Rx?
Currently, it is just 0V.January 25, 2022 at 2:18 pm #8667SuperDroidKeymasterYes you can try that. Do you have access to an oscilloscope so you can observe the pulse train? Just measuring the voltage isn’t great for validating the logic level of communication lines.
January 25, 2022 at 2:21 pm #8668scoutingrobotParticipantSorry, don’t have an oscilloscope.
What data can I send to see the motor controller respond?January 25, 2022 at 2:32 pm #8669SuperDroidKeymasterThe manual has a commands reference starting on page 187.
January 25, 2022 at 3:30 pm #8670scoutingrobotParticipantI have attached the connection diagram below. Kindly, take a look and let me know if anything is incorrect.
- This reply was modified 2 years, 9 months ago by scoutingrobot.
January 25, 2022 at 4:04 pm #8672SuperDroidKeymasterIt seems your files failed to upload. Please email them to sdr@sdrobots.com.
January 26, 2022 at 8:32 am #8673scoutingrobotParticipantWould a MAX232 chip work for communication?
I have tried it before with PC and PIC microcontroller and it has worked.Only concern is would it bring it down to 0-3.3V logic levels.
January 26, 2022 at 9:30 am #8691SuperDroidKeymasterIt seems like that would work. I’m not sure what logic level it supports.
I reviewed your picture and it seems you have a diode backwards. I couldn’t follow the wires since they go out of frame and are all the same color.January 26, 2022 at 10:09 am #8693scoutingrobotParticipantoh sorry about that. Have tried flipping the diodes in either direction but the voltage level at the Rx of NVIDIA still showed 4.95V which I think is a clipped voltage as it cannot take in excess of 4.95V
January 27, 2022 at 8:06 am #8694scoutingrobotParticipantHello,
I tried serial communication with USB from Roboteq to Jetson Nano, worked perfectly.
But the same with an adapter and the circuit on Pg 179 does not work at all.Really stuck right now. Max232 is the last resort.
January 27, 2022 at 1:41 pm #8695scoutingrobotParticipantGot a voltage close to 5V using Max232.
Should I opt for Max3232 instead since it has 3.3V supply and might give a logic level of close to 3.3V ?
- AuthorPosts
You must be logged in to reply to this topic.