ESP8266 implementation with LPS node

All discussions related to the Loco Positioning system
Post Reply
Killitz
Beginner
Posts: 2
Joined: Mon Nov 19, 2018 4:38 pm

ESP8266 implementation with LPS node

Post by Killitz » Thu Nov 22, 2018 11:39 am

Hi
I notice the Exp connector for ESP8266 on the LPS node, but i can't find any implementation on the software...can someone help me?

marcus
Bitcraze
Posts: 599
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: ESP8266 implementation with LPS node

Post by marcus » Thu Nov 22, 2018 1:17 pm

Hi!

Yes, the connector is for a ESP8266 01 module. I put it in on an early prototype and then we decided to keep it. Unfortunately I've never had the time to implement any software for it. It's connected to one of the serial ports on the STM so it should be possible to talk to the module though it.

Killitz
Beginner
Posts: 2
Joined: Mon Nov 19, 2018 4:38 pm

Re: ESP8266 implementation with LPS node

Post by Killitz » Thu Nov 22, 2018 9:39 pm

Thanks for the fast reply, I will try to do something... do you have any suggestion on where I can find libraries?
Best regards
Luca

marcus
Bitcraze
Posts: 599
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: ESP8266 implementation with LPS node

Post by marcus » Mon Nov 26, 2018 8:26 pm

Libraries for using the UART on the STM32 are in the library from ST. You can find the API for the UART here. Initially we used an FTDI cable before the USB was implemented and this code is still in, but removed at compile time with the macro USE_FTDI_UART. Search for that in the code and you'll get an idea of how to use the UART.

Post Reply