2022-01-11, 08:57 AM
(This post was last modified: 2022-01-11, 09:00 AM by karthikpraveen.ezy@gmail.com.)
(2022-01-05, 05:42 PM)seandepagnier Wrote: I think the vnh2sp30 is the same as l289N?
In this mode, the bottom pin (2 and 3) are used for direction, and a pin (pin 9) is used for pwm.
So perhaps this ENA pin can be used for PWM and 2 and 3 for direction? Again only for pwm style 2 which requires uncommenting one line of code and compiling.
Hi Sean,
Thanks for your help.
we have issue connecting Arduino with Pi (having Openplotter and pypilot). once the Arduino(with motor.ino sketch) is plugged in USB with pi, the GUI of Pypilot Control showing "arduino" and keep changing to "none" intermittently.
Then i followed the Pypilot toubleshooting procedure per the below pypilot link.
https://pypilot.org/wiki/doku.php?id=troubleshooting.
I found the following observation:
1. I followed all the steps per the the Pypilot toubleshooting link.
2. killed all pypilot process and stopped the pypilot service in Openplotter.
3. $ pypilot_boatimu - using this command checked the IMU, it is working well.
4. $ pypilot_servo - this command gives the following error in the snapshot ([Errno 16] Device or resource busy)
[img=0x0]https://mail.google.com/mail/u/2?ui=2&ik=ce6114b668&attid=0.1&permmsgid=msg-f:1721640608308230340&th=17e47f02f91978c4&view=fimg&fur=ip&sz=s0-l75-ft&attbid=ANGjdJ_PQ2rca4LJ13DGYnsQ3v_fQV8y5D8in3rAW2FfYa_rSxSglsDffqLTv1YgT2mIYcXgBT3DNEPHY39c6ANz0nTcakedqg0T7rOmvkhUxWBBg-jTI-HetB5gigQ&disp=emb[/img]
4. After this initiated the pypilot and executed command $ps aux | grep python.
5. I found many pypilot process as per below snapshot. is it expected?
Please help to solve this issue.