Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266 Wifi module config support via UART #2666

Closed
LorenzMeier opened this issue Aug 11, 2015 · 7 comments
Closed

ESP8266 Wifi module config support via UART #2666

LorenzMeier opened this issue Aug 11, 2015 · 7 comments

Comments

@LorenzMeier
Copy link
Member

The ESP8266 Wifi module is an ultra-low-cost serial to WIFI bridge ($7.00!) which could serve as a Wifi telemetry link for smartphones. It can be configured as access point: http://tech.scargill.net/esp8266-as-an-access-point/

It can be obtained from here:
https://www.sparkfun.com/products/13678

What we need is:

  • A small AT command parser / config library in src/lib which configures this module
    • SSID
    • UDP mode
    • IP of the GCS
    • baud rate
  • A MAVLink message which contains the SSID and password and sets a flag wether to create this network or join an infrastructure one. There should also be a way to request the existing settings from the GCS side.
  • The MAVLink instance listening on USB could relay the configuration to the MAVLink instance listening on the serial port where the ESP8266 is connected, allowing the GCS to set up the module via USB

@DonLakeFlyer @dogmaphobic I believe spending time on this is much more worthwhile compared to messing with the broken mobile serial port support. Do we have Android / iOS instructions somewhere already? I would love to start to get my hands dirty.

@LorenzMeier LorenzMeier added this to the Release v1.2.0 milestone Aug 11, 2015
@dogmaphobic
Copy link
Contributor

Where do you see this running? On the drone side or on the QGC side? I'm not sure I understand how this could be used without some extra hardware.

@mhkabir
Copy link
Member

mhkabir commented Aug 14, 2015

On the drone side of course. The MAV can host an AP and the rest of our GCS devices can connect to it using their in-built wireless radios.
The only thing I'm concerned about is the range. The internal radios on the tablet/laptop would be the limiting factor.

@hkld
Copy link

hkld commented Aug 15, 2015

Just a comment: To my knowledge, the use of WLAN is not allowed on board of airborne systems. I can check the reference, but it should be written somewhere in the part of the documents, you normally don't read. Honestly speaking, I'm not 100'% sure and also, it could be the decision to ignore this "formality", and yes, I know there are plenty of WLAN based systems out there.

@sjwilks
Copy link
Contributor

sjwilks commented Aug 15, 2015

I'd appreciate a reference if you can find one and also where it applies.

On Sat, 15 Aug 2015 21:54 hkld notifications@github.com wrote:

Just a comment: To my knowledge, the use of WLAN is not allowed on board
of airborne systems. I can check the reference, but it should be written
somewhere in the part of the documents, you normally don't read. Honestly
speaking, I'm not 100'% sure and also, it could be the decision to ignore
this "formality", and yes, I know there are plenty of WLAN based systems
out there.


Reply to this email directly or view it on GitHub
#2666 (comment).

@hkld
Copy link

hkld commented Aug 16, 2015

A collegue of mine pointed me to the source ... it's not a general issue, but a German legislation linked to the frequency regulations. It is written that the use of the frequencies 5470 - 5725 MHz for WLAN is not permitted for connections between aircrafts and ground stations ... see the following link (in German), footnote #6
http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/Sachgebiete/Telekommunikation/Unternehmen_Institutionen/Frequenzen/Allgemeinzuteilungen/2010_07_WLAN_5GHz_pdf.pdf?__blob=publicationFile
Therefore 2.4GHz is probably not an issue. In Austria the frequencies 5470 – 5750 MHz are allowed for outdoor applications, but there is no limitation concerning applications on aircrafts, see (also in German):
https://www.rtr.at/de/tk/Spektrum5GHz/1997_bmvit-info-052010de.pdf

@LorenzMeier
Copy link
Member Author

@dogmaphobic Glad we almost fixed this 8). This is to track the ESP8266 SSID config we discussed.

@LorenzMeier
Copy link
Member Author

Done via wifi - closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants