Hi All,
i have a project "remote-controll" with 2x Nano+HC-05 ( onHW-Serial).
And now i want to add a GPS-modul (Neo-GPS) to measure speed.
I would like to connect the GPS modul via SW-Serial.
How can i use both way (HWS and SWS) hardware serial is the most important information. Speed is nice but its not needed so often.
Which is the best way to use boths way ? Can i open and close the SWS ? Can i use both in parallel ?
I am not an expert in arduino so i would be happy to get an advice with direction in need to look.
Stefan
Thank you for your answer !!! I tried this already and there was the issue, that i had peaks while steering the servo.
So seems this comes out of my Code and Not via the serial transfer.
Stefan
What does that mean?
How is the servo powered? Servos need an external power supply capable of supplying sufficient current for the servo. A 4 AA cell battery pack is a popular servo power supply.
Hi groundFungus,
there is no servo on the second Nano. Ist a VESC and i can see the PPM signal. The system is running fine without GPS. So i tried to combine the project with the GPS which i tested separately.
After that i and had "peaks" it looks like someone is powering the VESC for some mill-seconds.
So my first opinion was the serial connection, because this is something which i am not really familiar with.
HWS and sws serial are running fine if separated.
I will rework the code and post it the next days.
Thank you for your help !!!
STefan