OpenMarine
New tinypilot project - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: New tinypilot project (/showthread.php?tid=3901)

Pages: 1 2


New tinypilot project - emiliano_az - 2022-02-03

Hi all, I am knew to this project and after reading all the wiki I started to buy some hardware. Here what I choose:
- raspberry pi zero w;
- motor driver (https://it.aliexpress.com/item/1005001265748229.html?gatewayAdapt=glo2ita&spm=a2g0o.9042311.0.0.11014c4dE8j4JX);
- compass (https://it.aliexpress.com/item/32881139428.html?gatewayAdapt=glo2ita&spm=a2g0o.9042311.0.0.11014c4dE8j4JX);
- linear actuator (https://it.aliexpress.com/item/32815426262.html?gatewayAdapt=glo2ita&spm=a2g0o.9042311.0.0.11014c4dE8j4JX);
- I already have an arduino one;

Now my next step is to connected all this hardware. Where can I find an easy schema?

thankx,
Emiliano


RE: New tinypilot project - emiliano_az - 2022-02-05

@sean, please can you help me to understand if I have to change anything in motor.ino sketch using VNH5019 motor shield? First of all, should I use it as H-bridge?
I there any need to change pin configuration in order to use this specific motor shield?


RE: New tinypilot project - Max1947 - 2022-02-05

(2022-02-05, 03:21 PM)emiliano_az Wrote: @sean, please can you help me to understand if I have to change anything in motor.ino sketch using VNH5019 motor shield? First of all, should I use it as H-bridge?
I there any need to change pin configuration in order to use this specific motor shield?

Ciao @emiliano_az, you could follow this thread: https://forum.openmarine.net/showthread.php?tid=3215&highlight=VNH5019

Good wind and best wishes!   Smile


RE: New tinypilot project - emiliano_az - 2022-02-07

GOOD NEWS! My raspberry pi zero WH arrived. I flashed pypilot on a SD card and boot it. After a while I found a pypilot wifi hot spot and I connected to it.
Then I tried to open a SSH session with Putty and I managed to do it. Everything great.

Then I tried "python -V" and I discovered that is using "Python 2.7.13". It that ok? shouldn't be better using Python 3?
How can I change that?


RE: New tinypilot project - seandepagnier - 2022-02-07

it's fine, you can simply type python3 pypilot will use python3


RE: New tinypilot project - emiliano_az - 2022-02-07

it says "python3: not found"


RE: New tinypilot project - seandepagnier - 2022-02-08

Which image are you using?


RE: New tinypilot project - emiliano_az - 2022-02-08

sorry, I downloaded the older one...


RE: New tinypilot project - emiliano_az - 2022-02-09

Hi all, me again. Since my MPU-9255 from China is gonna take way too long to arrive I decided to find something nearer. Do you think this:

https://www.reichelt.com/it/it/schede-di-sviluppo-accelerazione-e-giroscopio-3-assi-mpu-605-debo-sens-3axis-p253987.html?&nbc=1&trstct=lsbght_sldr::266044

Is it ok?


RE: New tinypilot project - seandepagnier - 2022-02-10

It wont work because there is are no compass sensors.

Maybe in the future pypilot can support something like that if you also had a wind sensor but right now, even in wind mode you need a compass.