I´m trying to control some DC motor drivers using the logic pins with the Jetson Nano 2GB, but the output Voltage is 1.5V-1.8V and does not work for my motor driver. How can this be fix?
hello jonadelsol,
are you working with 40-pin Header?
please refer to Jetson Nano 2GB Developer Kit User Guide, may I know which pin you’re used,
thanks
Thanks for answered
yes, Im using the 40-pin Header
yes I have use multiple pins I try with
GPIO.BOARD pin 33 and 32 as PWM, same results of 1.5v-1.8v and comun gpio pins as 29, 15, 12 and as well, same results 1.5v-1.8v as True/Flase values
There are some requests on the load of 40-pin head pins, please refer to the docs in DLC: https://developer.nvidia.com/jetson-nano-developer-kit-40-pin-expansion-header-gpio-usage-considerations-applications-note
thanks for this document, I´ll read it
by the way I hada solution, it was to use a motor driver by the I2C port, but now I need to use servos so I check the 40 pinheader and found that there are 2 I2C ports the I2C0 and I2C1 but I havent found a way to use both of them at the same time, there is any way to do it?
hello jonadelsol,
there’s i2c utility to send commands via i2c bus.
for example, $ i2cset [-f] [-y] [-m MASK] [-r] I2CBUS CHIP-ADDRESS DATA-ADDRESS [VALUE] ... [MODE]
in addition,
may I know what’s the actual use-case to use these I2C ports at the same time?
thanks
thanks for reply, I didn’t notice this response sorry
the fact is that I’m building a rover and I´m using a Featherwing i2c DC motor controller for the 4 dc motors
and I want to use an Waveshare i2c servo hat to control the servo in the camera, so I can point to any direction without moving the wheels
Here are some pictures of my setup
so that is the reason why I would like to use both of the i2c ports at the same time.
Featherwing problem with pygame.mp4 (6.19 MB)
hello jonadelsol,
what’s the timing precision you’re looking for at the same time?
it should be doable by using i2c_mux
for your two i2c devices, since this is sharing the same i2c bus.
for example,
cam_i2cmux {
compatible = "i2c-mux-gpio";
mux-gpios = <&gpio CAM_I2C_MUX GPIO_ACTIVE_HIGH>;
i2c-parent = <&i2c7>;
i2c@0 {};
i2c@1 {};