2020-02-25, 08:17 PM
(This post was last modified: 2020-02-25, 08:18 PM by seandepagnier.)
(2020-02-25, 05:29 PM)Ranur Wrote:(2020-02-25, 05:16 PM)seandepagnier Wrote: I got esp8266 communicating with pypilot for possible wireless remote.
the esp8266 doesn't have enough ram to run the pypilot scripts in micropython. So a simpler tcp client is needed but it works ok and can command pypilot using gpio.
Rather than write the lcd rendering bit in c, I will try an esp32 and see if it can run the same python script used on the pi.. If it can, it might eventually be viable to run pypilot itself on the esp32 which would probably be ok for the basic pilots but not machine learning.
I am thinking more in using OP on the RPI, with your motor controller (tucked away in a bench outside the ST1000+ and just use the mechanical hardware of the ST), and to ADD an ESP inside the ST1000 to get push button functionality at hand ON the ST1000, using it's original buttons. Doable?
Yes, I have a python script that works with micropython and can set and retrieve values from pypilot as well as read from gpio.