Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

What is vision / plans /wish list for WeatherDuino?
#17

(19-02-2017, 21:15)Zappie Wrote:  Thats a pity, With the esp8266 or the better one, the esp32 you could try OTA update, or make config accessable over http  Wink

Don't understand why you say that its a pity. If you are talking about updating the Arduino software via OTA, I'm afraid that it can't be done, at least in the way your are thinking.

There's two ways you can go about this - hardware and software.

To do it in software would mean writing a new bootloader that supported whatever wireless medium you chose. The bootloader might end up quite large and thus restrict the size of sketch you are able to support. It may also require advanced programming techniques in order to fit it into memory. Not a task for a beginner.

Doing it in hardware is easier but more restrictive. You need a wireless medium that can emulate a serial device including the ability to perform a reset of the Arduino. There are bluetooth interfaces for the Arduino that can perform this kind of functionality, but I am not aware of anything WiFi or Ethernet that even remotely comes close.

There are Arduino boards available with this kind of bluetooth interface built in.

A possible third option is something in between - you have two Arduinos (or some other external MCU based system, like an ATTiny for instance), the "target" and the "programmer". The "programmer" is what is connected to the wireless and accepts instructions and commands over the air. It is then capable of putting the "target" into bootloader mode (reset it) and pass data through to its serial port for programming. It does mean the "target" isn't directly connected to the wireless though, so it is up to the "programmer" to support whatever wireless functionality is needed and communicate properly with the "target" to get it to do everything it should. There is no way to do FOTA to the "programmer" though, so you're back at square one if you want to reprogram that...


Source: http://arduino.stackexchange.com/questio...ith-uno-r3

Otherwise, only the Arduino Yun can be remotely reflashed (either via wifi or network cable)


Quote:... make config accessable over http  

This can be done, its just a matter of configure the ESP8266 to reply to HTTP calls (webserver), and write the appropriate Arduino code. To be honest, I have already implemented that, in one of my test software versions, but due to several reasons I have abandoned that idea...  whatever functions which occupies the microcontroller for long time (even if just a few seconds) will cause a significant loss in the capability to receive  packets from the TX units, which is the main goal of the system.

Perhaps you are just confounding the use of the ESP8266 as a standalone unit (where you can use the libraries written for its own processor) with the cases where the ESP8266 is used connected to an Arduino board, where we should use Arduino libraries, which by turn will communicate with the ESP8266 board, via AT commands.

The ESP8266 is not an Arduino, it is only an WiFi to serial device, recently turned into a Arduino compatible device which can be programmed using the Arduino IDE, but only with its own libraries.

Reply


Messages In This Thread
What is vision / plans /wish list for WeatherDuino? - by clubjoker - 17-02-2017, 11:05
RE: What is vision / plans /wish list for WeatherDuino? - by uncle_bob - 18-02-2017, 01:45
RE: What is vision / plans /wish list for WeatherDuino? - by clubjoker - 18-02-2017, 03:02
RE: What is vision / plans /wish list for WeatherDuino? - by werk_ag - 18-02-2017, 03:55
RE: What is vision / plans /wish list for WeatherDuino? - by clubjoker - 18-02-2017, 10:23
RE: What is vision / plans /wish list for WeatherDuino? - by Zappie - 18-02-2017, 08:34
RE: What is vision / plans /wish list for WeatherDuino? - by werk_ag - 18-02-2017, 21:24
RE: What is vision / plans /wish list for WeatherDuino? - by Zappie - 19-02-2017, 20:50
RE: What is vision / plans /wish list for WeatherDuino? - by werk_ag - 19-02-2017, 22:06
RE: What is vision / plans /wish list for WeatherDuino? - by Zappie - 19-02-2017, 23:11
RE: What is vision / plans /wish list for WeatherDuino? - by clubjoker - 18-02-2017, 10:36
RE: What is vision / plans /wish list for WeatherDuino? - by werk_ag - 18-02-2017, 21:20
RE: What is vision / plans /wish list for WeatherDuino? - by clubjoker - 18-02-2017, 23:03
RE: What is vision / plans /wish list for WeatherDuino? - by werk_ag - 18-02-2017, 23:42
RE: What is vision / plans /wish list for WeatherDuino? - by Zappie - 19-02-2017, 21:15
RE: What is vision / plans /wish list for WeatherDuino? - by werk_ag - 20-02-2017, 03:09
RE: What is vision / plans /wish list for WeatherDuino? - by Zappie - 20-02-2017, 23:02
RE: What is vision / plans /wish list for WeatherDuino? - by werk_ag - 21-02-2017, 03:35
RE: What is vision / plans /wish list for WeatherDuino? - by werk_ag - 19-02-2017, 23:47
RE: What is vision / plans /wish list for WeatherDuino? - by Zappie - 21-02-2017, 21:46
RE: What is vision / plans /wish list for WeatherDuino? - by uncle_bob - 21-02-2017, 22:05
RE: What is vision / plans /wish list for WeatherDuino? - by Zappie - 21-02-2017, 22:50
RE: What is vision / plans /wish list for WeatherDuino? - by JT118 - 21-02-2017, 22:58
RE: What is vision / plans /wish list for WeatherDuino? - by Zappie - 21-02-2017, 23:03
RE: What is vision / plans /wish list for WeatherDuino? - by uncle_bob - 22-02-2017, 02:12



Users browsing this thread: 1 Guest(s)