This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some questions for pypilot
#11
Hi,

Sean, thank you for the explanation.

Does tinypilot echo the on TCP port 20220 incoming datastream?

I send now NMEA Data from opencpn (one pi) to tinypilot (other pi) via TCP port 20220.
Will tinypilot send the incoming messages back over this port (so getting a data loop)?

Display: With framebuffer you mean a fbtft definition?
I´ll try to dig into that stuff.

Regards

Andreas
Reply
#12
Install netcat-openbsd:
Code:
$ netcat pypilot.io 20220
$APXDR,A,3.609,D,PTCH*77
$APXDR,A,179.661,D,ROLL*67
$APHDM,233.588,M*34
$APRSA,9.050,A,,*32
$APRSA,9.060,A,,*31
$APXDR,A,3.605,D,PTCH*7B
$APXDR,A,179.658,D,ROLL*6D
$APHDM,233.580,M*3C
$APRSA,9.060,A,,*31
I added tinypilot to the /etc/hosts but you can access the ip-adress directly, or pypilot.io if you use the pypilot SSID.
(above you see no winddata, while winddata is shared over nmea0183).

While netcat does not work with SignalK, it works with NMEA0183,.
Reply
#13
pypilot does not send incoming tcp nmea messages. It does forward nmea it reads from nmea serial ports to tcp, but not the other way around, and not from tcp->tcp or serial->serial

fbtft should work if your display is supported. Try with hdmi screen first
Reply
#14
Hi,

Sean, thanks again for your explanation.

Regards

Andreas
Reply
#15
(2020-10-18, 05:44 PM)seandepagnier Wrote: There are 4 possible displays for the lcd:

1) nokia5110 on spi
2) jlx12864 on spi
3) framebuffer (you can install many drivers for displays yourself, or use hdmi display)
4) glut (works in x windows graphical display mostly for debugging)

The tack button knows which way to tack if you have wind sensors, otherwise it has to guess depending on last tack.   This could use some improvement, and there are also options to make "tack port" and "tack starboard" buttons.   Eventually the single tack button could take a hint from starboard and port buttons to help it tack the correct way.   Tacking is not very well testing on pypilot.

Hi Sean

So I replaced the MPU 9250 on the tiny pilot today (the old one would no longer hold a heading) and because the nokia screen that came with my tinypilot requires pressure on the front to display I decided to try and connect via hdmi 
.
I received some errors on the screen and it seems to eventually have loaded since I can connect to the webapp. I was hoping the hdmi screen would just display the webapp. Is that possible? I have a tiny 7" hdmi touch screen I would love to use as the main interface on my boat without having to rely on wifi.
Reply
#16
it can't normally display the webapp because there is no browser. It's possible to make this work but it's not.

Instead you can display the lcd/menu but you woul have to modify the config file that runs pypilot_hat to specify the framebuffer as output instead of the nokia display.
Reply
#17
Hi,

after I found a dealer here who sold the Nokia-type displays for roundabout 3,5 € I decided to go the easy way and use this display instead of digging into the tinycore configuration stuff witch is totally new for me for connecting an other tft (witch I have to buy too).
So I bought two of them (if one is dead) and they come with 4 blue lamps and connected with 3,3V they are not so bright, so they are ok for the night I think.
Try to dim more with a pot in the next days.

Regards

Andreas
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)