Hello community,
I have built a small tracked robot with the Jetson Nano, using two 12 V motors, a cheap L298N driver, another cheap XL1509 buck converter, a self-built 14,8 Volts battery pack with battery management and the Jetson Nano 2GB. The design is basically from spare parts lying around.
The buck converter only delivers 2A, so I had a bit of trouble with the current supply. I put a small fan on the nano and the moment it started, the initial torque killed the jetson during boot. Without the fan it booted, yet the power LED was blinking all the time. So the buck converters output is wired to 4 pins and I made use of that to power the Jetson via both 5 V inputs on the GPIO. Obviously this had a series connection to 10 Volts and now its working without powering down anymore. Yet always when a motor moves, the Jetson power led blinks once or twice, indicating its still not enough power, I suppose.
Now my problem: I have heavy jitter on all GPIOs (tested them all). During startup the motors move randomly, ok that is to be expected. Yet after that, during idling they always start to move again. When I hit them with the Jetson GPIO library, declaring them to be a low output, the jitter ends and never comes back. So my question is, is this normal or could be due to my hacked power supply ?
I havent altered the factory GPIO configuration via Pimux, I have written a simple software pwm, that toggles the motors in milliseconds during operation that way I can go faster and slower.
Any hints appreciated, wish you a nice weekend :)
Greetings
~ent