scoutingrobot started the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Hello,
I am trying to send !VAR command values from nvidia to roboteq drive controller.
Successfully can send !EX and !MG ASCII strings but not able to send ‘!VAR 1 250’Could you please help me with this issue.
I have attached the code below:import time
import serialser = serial.Serial(
port=”/dev/ttyTHS1″,
baudrate=115200,…[Read more]scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Latest update: Comm. works with MAX232 chip perfectly. But its kind of cumbersome electrical setup. A lot of capacitors.
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Got 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 ?
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Hello,
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.
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
oh 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
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Would 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.
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
I have attached the connection diagram below. Kindly, take a look and let me know if anything is incorrect.
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Sorry, don’t have an oscilloscope.
What data can I send to see the motor controller respond?scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
So, should I run the code and try receiving something to check the voltage at Rx?
Currently, it is just 0V.scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Sorry, 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.scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Hello,
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?
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
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?scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Yes. It is 4.7k
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Could you please help me resolve this issue?
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
I can still measure 9V after the diode and resistor
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
And the voltage drop near the diode and rx pin of the microcontroller should measure 3.3V and less?
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Hello,
Should I set the motor controller to inverted or non-inverted RS232 mode for testing this configuration?
scoutingrobot replied to the topic Battery Management system issues in the forum Electrical & Controls 2 years, 9 months ago
Oh okay. Thank you.
scoutingrobot started the topic Battery Management system issues in the forum Electrical & Controls 2 years, 9 months ago
Hello,
I am experiencing a weird issue with Roboteq BMS1060A (A newly replaced part) when trying to connect 48 volt battery pack(15S configuration).
– Have attached the configuration of the cells(exact same as on Roboteq website)1. There is a short when I’m trying to connect negative terminal of the battery to the B- terminal of the BMS even i…[Read more]
scoutingrobot replied to the topic Rs232 comm between NVIDIA and Roboteq in the forum Electrical & Controls 2 years, 9 months ago
Oh okay will follow the same connections and try executing the script once. Will get back to you if I have any doubts.
- Load More