2023-08-05, 08:27 PM
Hi, I am new to PyPilot. I am trying to build the system. I have successfully connected the ICM-20948 IMU to the Raspberri Pi and that is working fine. My next step is to connect the Nokia 5110 LCD. I am failing to make anything appear on the screen.
Here are the connections I have made. Note that the LCD I/O markings differ slightly from the markings of the jlx12864 in pypilot_had.pdf.
LCD Raspberri PI
RST GP24 (18) (LCD RESET)
CE CE0_GP8 (24) LCD_CE
DC GP25 (22) LCD_DC
DIN MOSI_GP10 (19) MOSI
CLK SCK_GP11 (23) SCK
VCC 3V3 (1) +3.3V
GND GND (9)
In hat.conf I have change the lcd driver to nokia5110:
"lcd":{"driver":"nokia5110","port":"\/dev\/spidev0.0"}
(I do not have an Arduino for the hat)
Nothing is shown on the LCD panel. Here is the log for pypilot.hat
2021-11-04_11:00:22.15026 hat start 23.328922
2021-11-04_11:00:22.15060 have gpio for raspberry pi
2021-11-04_11:00:22.15062 hat import done 28.043683
2021-11-04_11:00:22.15064 loading config file: /home/tc/.pypilot/hat.conf
2021-11-04_11:00:22.15066 failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
I have attached the photos of the connection.
Any suggestions?
Regards
Geza
Here are the connections I have made. Note that the LCD I/O markings differ slightly from the markings of the jlx12864 in pypilot_had.pdf.
LCD Raspberri PI
RST GP24 (18) (LCD RESET)
CE CE0_GP8 (24) LCD_CE
DC GP25 (22) LCD_DC
DIN MOSI_GP10 (19) MOSI
CLK SCK_GP11 (23) SCK
VCC 3V3 (1) +3.3V
GND GND (9)
In hat.conf I have change the lcd driver to nokia5110:
"lcd":{"driver":"nokia5110","port":"\/dev\/spidev0.0"}
(I do not have an Arduino for the hat)
Nothing is shown on the LCD panel. Here is the log for pypilot.hat
2021-11-04_11:00:22.15026 hat start 23.328922
2021-11-04_11:00:22.15060 have gpio for raspberry pi
2021-11-04_11:00:22.15062 hat import done 28.043683
2021-11-04_11:00:22.15064 loading config file: /home/tc/.pypilot/hat.conf
2021-11-04_11:00:22.15066 failed to load /proc/device-tree/hat/custom_0 : [Errno 2] No such file or directory: '/proc/device-tree/hat/custom_0'
I have attached the photos of the connection.
Any suggestions?
Regards
Geza