These are chat archives for PX4/Hardware

7th
Jan 2016
Gus Grubba
@dogmaphobic
Jan 07 2016 14:31
For those monitoring the ESP8266, I’ve added packet buffering to the firmware:
dogmaphobic/mavesp8266#1
Lorenz Meier
@LorenzMeier
Jan 07 2016 14:49
Awesome!
Phillip Kocmoud
@pkocmoud
Jan 07 2016 15:12
@dogmaphobic any progress on setting the SSID and WPA password via config rather than being compiled?
Gus Grubba
@dogmaphobic
Jan 07 2016 15:18
I’m working on two different things. One is to start actually processing MavLink messages rather than just taking it from one end and sending it out the other. Once I do that I can start paying attention to messages sent to the 8266 itself and consume it. That would also imply having some message that I would consume. Some new message will have to be created for settings these things. That’s actually the harder part. The second thing, quite a bit more complex, is to allow the 8266 firmware update to be done over the air. It also depends on a message telling it to do so. This message would have an IP address and a port so I can connect and fetch the firmware.
Normally, it would be the IP address of the current client. QGC would open a TCP port and wait for the 8266 to connect and request the firmware.
Phillip Kocmoud
@pkocmoud
Jan 07 2016 15:22
In the near future I expect the 8266 will just be included with the PixRacers. I want to be able to supply a random WPA Password with each.
Gus Grubba
@dogmaphobic
Jan 07 2016 15:23
Unless you have some way to bulk flash these things, a password could be passed during the build/flash process for each unit.
Phillip Kocmoud
@pkocmoud
Jan 07 2016 15:24
I get that, but some users will want to change the password.
Gus Grubba
@dogmaphobic
Jan 07 2016 15:24
Certainly. That’s why I put it first in the list above :)
Ideally we should also be able to put it to sleep. If it’s only used for setup and not during flight, it should turn off the WiFi radio once flying. That would allow less interference with 2.4GHz RC systems.
Sleep is not a proper term here. The ESP8266 actually has a sleep mode and that’s not what I’m talking about. I’m just interested in turning off the WiFi. It would continue to communicate with the PX4 throught he UART.
Phillip Kocmoud
@pkocmoud
Jan 07 2016 15:28
I like that as an option. I like the short range telemetry that I get from it.
Gus Grubba
@dogmaphobic
Jan 07 2016 15:28
Yes, it would be an option as it only affects people using 2.4GHz radios.
Phillip Kocmoud
@pkocmoud
Jan 07 2016 15:29
Or people like me that are not flying far enough to have any effects of it.
Mark Whitehorn
@kd0aij
Jan 07 2016 15:32
I've flown a fixed-wing pretty far away with a D4RII and Bluetooth about 6" apart
I wonder whether the 8266 radiates more power than my BT dongle
Nick Arsov
@nickarsov
Jan 07 2016 16:43
Hi Gus, just to remind you that on beta version of Pixracer ( 07 ), the ESP-01 should be 180deg oriented......outwards, not inwards!
Gus Grubba
@dogmaphobic
Jan 07 2016 17:15
the ESP-01 should be 180deg oriented
I’ve been using it for a few weeks now. I figured that early on :)
Nick Arsov
@nickarsov
Jan 07 2016 18:02
oh, sorry....my mistake