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:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LCD Display
#55
Hi! I am trying to build my marine autopilot from scratch using a Raspberry Pi4 B 2G . The arrangement at the moment includes:

-R PI4;
-Arduino Uno ;
-Motor controller PWM DIR drived from the above Arduino Uno board;
-MPU9250 compass;
-Display for debugging fit to the above Arduino Uno Board;
-Display driver ST7735 linked to Raspberry PI.
-Brushed motor drived from the arduino motor controller.

On my PI I have installed an OpenPlotter+PI software. I have adjusted a motor.ino sketch on arduino so that I can drive the motor controller. The arduino board is linked trough USB to the Raspberry to exchange the data. At the moment the functions are limited only to drive the motor without rudderfeedback, rudder stops, voltage , temperature warnings.
Opening Openplotter the AP control seems to work , the pilot is engaged , the compass heading is displayed and moving the sensor compass the autopilot reacts properly moving the motor. However I well know that I have to work extensively on the motor.ino sketch in order to have an acceptable working base.

My question is:
1)-Having linked to the raspberry , trough GPIO SPI an external display ( even if different from the Nokia and jlx ones listed in the lcd and hat.py files) is it possible to have the data displayed on it as Andreas did, on my arrangement?
2)-Is it possible to change the display commands including an ST7735 driver?
3)-Fitting in the above arrangement a keypad device and a jlx display , should the openplotter pilot work without any other changes to the files?
4)-Opening the files in /usr/local/lib/pypilot3.7 the lcd.py seems to list the default drivers (nokia and jlx) but in any other file I have found the relative driver commands. Moreover running hat.py and lcd.py the data ( heading, standby) appear on the screen but not on the display ( of course I know the ST7735 driver display is not compatible but if I change it with a jlx one could I have the data displayed on it?

Sorry but I am a beginner in software knowledge .

Many thanks for any help.
Reply


Messages In This Thread
LCD Display - by Andreas29 - 2020-11-16, 07:01 PM
RE: LCD Display - by Andreas29 - 2020-11-17, 09:03 AM
RE: LCD Display - by rastam4n - 2020-11-17, 06:33 PM
RE: LCD Display - by Andreas29 - 2020-11-17, 09:05 PM
RE: LCD Display - by kaa39518 - 2020-12-06, 09:10 AM
RE: LCD Display - by rastam4n - 2020-11-18, 12:05 AM
RE: LCD Display - by CapnKernel - 2020-11-19, 12:38 AM
RE: LCD Display - by Andreas29 - 2020-11-18, 07:42 AM
RE: LCD Display - by CapnKernel - 2020-11-18, 02:09 PM
RE: LCD Display - by SYWindveer - 2020-11-18, 10:17 PM
RE: LCD Display - by rastam4n - 2020-11-19, 02:01 AM
RE: LCD Display - by Andreas29 - 2020-11-19, 08:11 AM
RE: LCD Display - by Jean-Marc Douroux - 2020-11-20, 04:06 PM
RE: LCD Display - by seandepagnier - 2020-11-21, 04:48 PM
RE: LCD Display - by Onno - 2020-11-24, 03:03 PM
RE: LCD Display - by seandepagnier - 2020-11-24, 11:19 PM
RE: LCD Display - by rastam4n - 2020-11-24, 11:38 PM
RE: LCD Display - by xfactor99 - 2020-11-25, 07:36 AM
RE: LCD Display - by Onno - 2020-11-25, 08:27 AM
RE: LCD Display - by Andreas29 - 2020-11-25, 07:56 AM
RE: LCD Display - by seandepagnier - 2020-11-25, 05:12 PM
RE: LCD Display - by rastam4n - 2020-11-25, 05:40 PM
RE: LCD Display - by seandepagnier - 2020-11-25, 10:15 PM
RE: LCD Display - by Andreas29 - 2020-12-09, 07:34 AM
RE: LCD Display - by seandepagnier - 2020-12-10, 05:45 AM
RE: LCD Display - by Andreas29 - 2020-12-10, 07:41 AM
RE: LCD Display - by seandepagnier - 2020-12-10, 08:07 PM
RE: LCD Display - by Andreas29 - 2020-12-11, 09:12 AM
RE: LCD Display - by Huevo - 2021-03-31, 11:36 PM
RE: LCD Display - by seandepagnier - 2021-04-02, 01:43 AM
RE: LCD Display - by Huevo - 2021-04-03, 02:02 PM
RE: LCD Display - by seandepagnier - 2021-04-04, 12:44 AM
RE: LCD Display - by Huevo - 2021-04-09, 08:32 PM
RE: LCD Display - by ironman - 2021-04-09, 09:51 PM
RE: LCD Display - by Huevo - 2021-04-10, 04:37 PM
RE: LCD Display - by seandepagnier - 2021-04-10, 05:14 PM
RE: LCD Display - by Huevo - 2021-04-11, 10:01 AM
RE: LCD Display - by ironman - 2021-04-11, 10:27 AM
RE: LCD Display - by seandepagnier - 2021-04-11, 03:55 PM
RE: LCD Display - by ironman - 2021-04-11, 09:53 PM
RE: LCD Display - by Huevo - 2021-04-12, 12:43 PM
RE: LCD Display - by xfactor99 - 2021-04-12, 08:49 PM
RE: LCD Display - by seandepagnier - 2021-04-12, 08:19 PM
RE: LCD Display - by Huevo - 2021-04-12, 10:11 PM
RE: LCD Display - by seandepagnier - 2021-04-13, 07:24 AM
RE: LCD Display - by Huevo - 2021-04-14, 02:04 PM
RE: LCD Display - by seandepagnier - 2021-04-14, 03:35 PM
RE: LCD Display - by Huevo - 2021-04-14, 09:22 PM
RE: LCD Display - by SYWindveer - 2021-08-08, 05:42 PM
RE: LCD Display - by CapnKernel - 2021-10-19, 06:01 AM
RE: LCD Display - by seandepagnier - 2021-08-08, 06:32 PM
RE: LCD Display - by SYWindveer - 2021-08-08, 09:10 PM
RE: LCD Display - by F. Scognamiglio - 2022-02-22, 02:39 PM
RE: LCD Display - by seandepagnier - 2022-02-23, 01:00 AM
RE: LCD Display - by fsnew - 2022-03-05, 08:32 PM
RE: LCD Display - by seandepagnier - 2022-03-06, 07:24 PM
RE: LCD Display - by fsnew - 2022-03-07, 01:30 PM
RE: LCD Display - by seandepagnier - 2022-03-07, 07:45 PM
RE: LCD Display - by fsnew - 2022-03-10, 10:53 AM
RE: LCD Display - by fsnew - 2022-04-20, 08:06 PM
RE: LCD Display - by fsnew - 2022-04-06, 08:55 PM
RE: LCD Display - by Max1947 - 2022-04-07, 11:07 AM
RE: LCD Display - by fsnew - 2022-04-07, 11:15 AM
RE: LCD Display - by seandepagnier - 2022-04-20, 11:11 PM
RE: LCD Display - by fsnew - 2022-04-21, 08:17 PM
RE: LCD Display - by ironman - 2022-04-22, 08:01 AM
RE: LCD Display - by fsnew - 2022-04-22, 02:16 PM
RE: LCD Display - by ironman - 2022-04-22, 10:37 PM
RE: LCD Display - by fsnew - 2022-04-23, 09:01 AM
RE: LCD Display - by seandepagnier - 2022-04-24, 01:58 PM
RE: LCD Display - by ironman - 2022-04-25, 09:56 PM
RE: LCD Display - by fsnew - 2022-04-29, 12:27 PM
RE: LCD Display - by ironman - 2022-04-29, 04:05 PM
RE: LCD Display - by fsnew - 2022-05-27, 06:36 PM
RE: LCD Display - by seandepagnier - 2022-04-26, 04:21 PM
RE: LCD Display - by ironman - 2022-04-26, 09:05 PM
RE: LCD Display - by seandepagnier - 2022-04-28, 11:02 PM
RE: LCD Display - by ironman - 2022-04-29, 09:49 AM
RE: LCD Display - by seandepagnier - 2022-05-28, 03:06 PM
RE: LCD Display - by fsnew - 2022-05-30, 11:29 AM
RE: LCD Display - by seandepagnier - 2022-05-31, 10:34 PM
RE: LCD Display - by fsnew - 2022-06-01, 07:58 PM
RE: LCD Display - by seandepagnier - 2022-06-02, 12:20 PM
RE: LCD Display - by fsnew - 2022-06-06, 05:18 PM
RE: LCD Display - by seandepagnier - 2022-06-06, 06:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)