發表文章

目前顯示的是有「esp8266」標籤的文章

2018/2/22..Webserver, EEPROM,SD on ESP..

Passing few days in Kaushong lib, I managed to get some very slow progress in my porgramming; 1. Webserver I have first took a example on esp32 with BME280, work note: http://ldsrc.blogspot.tw/2018/02/esp32-web-server-http-learning-with.html and fall into trouble with bme280 lib for esp32, since the adafruit lib is for it's own board, so there is no way to assigned IIC pins. With my heltec wemos esp32 boards, I do need this function to assigned the IIC pins to cowork with other device. After alomost one day of work, I found out that the example use an modified lib of adafruit for BME280, which is able to assign pins. As to web server, I have to attack the knowage of HTML from zero, there are several stuff on html, after some basic knowage, I took the lib from bbx10 to modify it, so that I can show data, base on some parameter to change the html page,get input (i.e. device_ID), and possible to save it to EEPROM. The web server lib is working on both 8266 and 32. the wifi lib

pixhawk mini telemetry with ESP8266, great!, but which firmware for ESP8266?

圖片
There are so many firmware that could be working as telemetry for pixhawk. the orignal one, https://github.com/liqin123/UAV-wifi-link the way of making upload is a complex, you need to load 3 different bin to 3 different address. So I did not try it. https://github.com/dogmaphobic/mavesp8266 This firmware takes mavlink command to setup the wifi...but I tried Qgroundcontrol v3.2.5and mission planner 1.3.5 QGC will have a esp8266 section when you connect through wifi when it's a AP.. MP will show the ESP8266 stuff, when you connect through usb.... but both not working with mavesp8266 mavesp8266 also have a http command, but I can't get it work as station.... but this is the current one that I have it worked. it's done with platformIo, so there is a way to make it as station form source. 2017/12/7 I update again the ESP8266 firmware with mavesp, and connect on pixhawk mini(this one also updated to arduplane 3.8.3), it should first show up as AP, connect wifi o