Uploading Arduino Sketch to ANAVI Thermometer

preview_player
Показать описание
Step by step instruction for compiling and uploading firmware to ANAVI Thermometer using Arduino IDE. ANAVI Thermometer combines open source hardware with free and open source software. It is powered by ESP8266.

Useful links:
Рекомендации по теме
Комментарии
Автор

Great stuff! I managed to compile and update the firmware by following your tutorial.
I would like to play with and customize the sketch to my needs, like adding a timestamp to the payload, adjust timezone, etc...
However, Arduino is new to me and I am a bit afraid of messing things up. A few questions about it:

1 - If something goes wrong, can it brick the thermometer?
2 - Is there a recovery procedure in that case?
3 - Would it be possible to test it on a virtual machine instead of flashing it directly to Arduino?

If you have any recommended material for beginners I will be very grateful!
I love this thermometer and hopefully will be able to create my own server and mobile app. :)

SerioSeria
Автор

Just received the Miracle Controller and you mention to flash with the latest, so I followed the steps provided. Tried to compile on both Mac and PC, but I always get errors. Here's the error I receive on the PC:
Arduino: 1.8.12 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled, ck, 26 MHz, 40MHz, DIO, 4M (1M SPIFFS), 2, v2 Lower Memory, Disabled, CORE, Only Sketch, 115200"

In file included from

warning: "WIFI_MANAGER_MAX_PARAMS" redefined [enabled by default]

#define WIFI_MANAGER_MAX_PARAMS 10

^

note: this is the location of the previous definition

#define WIFI_MANAGER_MAX_PARAMS 12

^

warning: extra tokens at end of #undef directive [enabled by default]

#undef LED_TYPE1 WS2812B

^

warning: extra tokens at end of #undef directive [enabled by default]

#undef COLOR_ORDER1 GRB

^

warning: extra tokens at end of #undef directive [enabled by default]

#undef LED_TYPE2 WS2812B

^

warning: extra tokens at end of #undef directive [enabled by default]

#undef COLOR_ORDER2 GRB

^

In file included from

note: #pragma message: FastLED version 3.002.006

# pragma message "FastLED version 3.002.006"

^

In file included from D:\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,

from

note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output

# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"

^

section `.text' will not fit in region `iram1_0_seg'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Generic ESP8266 Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

The board is fried after a flash attempt. Suggestions?

richardferrara
visit shbcf.ru