OpenMarine

Full Version: Remote LCD Nokia5510/JLX12864 with ESP32
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Sorry i dont understand your answer. It is just a quote
attachment, remove pdf from end of file
Thank you for the .bin file. now it works !!!!

connected with my tinypilot!!

The problem now are the buttons. When i press the buttons on the ttgo they are not shown in the "lcd and remote controll setup" webpage to assign them to actions. How do i enable the tinypilot to recognize the buttons ? 

Also i see that you use the touch gpio's on the ttgo. Do i have to wire a switch or can i use them as touch inputs?

Could it be these errors on the console? 

Code:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:4960
ho 0 tail 12 room 4
load:0x40078000,len:11608
ho 0 tail 12 room 4
load:0x40080400,len:6120
entry 0x400806bc
E (732) spiram: SPI RAM enabled but initialization failed. Bailing out.
wifi timeout, reconnecting wifi 0.0009999275
wifi connecting to kagourakiLab
connect to kagourakiLab MyPass
lcd driver default True False
set language en
loaded 1.866 : 0.0 0.0 1.743 0.06900001 0.05400014
E (4032) gpio: gpio_set_direction(236): GPIO number error
E (4032) gpio: gpio_set_level(178): GPIO output gpio_num error
E (4082) gpio: gpio_set_level(178): GPIO output gpio_num error
wifi connecting to pypilot at 192.168.1.11
connect to host: 192.168.1.11 ... connected!
the buttons are defined in gpio_esp32.py Check this. Some have pull ups, some have pull downs, others expect external resistors.

I am not exactly sure which issue

There is no way to assign them through the webpage, because, the esp32 remote does not require the pypilot_hat service to be active so it does not handle them. It also does not run a web server on the esp32. The wifi remote talks directly to pypilot, and the buttons are just assigned directly for the 10 actions supported:
AUTO, MENU, SMALL_PORT, SMALL_STARBOARD, SELECT, BIG_PORT, BIG_STARBOARD, TACK, NUDGE_PORT, NUDGE_STARBOARD
Ok i understand what's going on ! Now it's play time.
Thank you very much Sean !
I added support for touchpads in the esp32 remote. I opened a pull request in github if my changes are welcomed !
I am not a professional so sorry if i have some mistakes.
I tested it and it works.
Next i want to order the 2.4 inch ttgo to give it a try. It would be nicer a bigger screen


Thank you very much for your help Sean.
the bigger screen may have external ram
Yes actually it has. But it has three times the price and it is out of stock everywhere

https://banggood.onelink.me/zMT7/8b7oyu8y
the price was $17 a 2 years ago, then $30 last year. It seems $50 now, better buy some, in a few years they will be $800.
Pages: 1 2 3 4