Our next competition is coming up in 2 weeks! We installed the new board you sent and we are receiving an error;
Arduino: 1.8.5 (Windows 7), Board: “Arduino Yún”
C:\losant\losant-kit-moisture-master\losant-kit-moisture\losant-kit-moisture.ino:12:25: fatal error: ESP8266WiFi.h: No such file or directory
#include <ESP8266WiFi.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino Yún.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
We were wondering if we could just come to your office and work together with you or some of your other co-workers to build the sensor since we have such little time.
Looks like you sent the same message twice. I replied above. Please check the board that’s configured in the Arduino IDE. It should be set to “Generic ESP8266 Module”.
I tested the baords with two configurations (the two pictures below) with Hello sketch.
-The first configuration, I managed to display “Hello” word but it remains a problem related to the configuration of the wifi (WIFI_SSID = “mini @”) of my old applications.
-the second configuartion that uses GenericESP8266module does not work
Hi, Thanks to Taron Foxworth’s help we were able to get the moisture sensor to work. We would like to demo the sensor connected to a hotspot while it shows the dashboard on a phone. We changed the wifi settings to the hotspot but somehow the sensor still needs to be connected to a computer via USB to transmit values to LOSANT.
Also, we are trying to flash the code to a different MCU and are getting the following error:
Arduino: 1.8.5 (Windows 7), Board: “Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None”
Archiving built core (caching) in: C:\Users\mehtb1\AppData\Local\Temp\arduino_cache_720532\core\core_esp8266_esp8266_generic_CpuFrequency_80,FlashFreq_40,FlashMode_dio,UploadSpeed_115200,FlashSize_512K64,ResetMethod_ck,Debug_Disabled,DebugLevel_None_____49786d67e89a1b4c62c7f2194357454d.a
Sketch uses 292361 bytes (67%) of program storage space. Maximum is 434160 bytes.
Global variables use 39576 bytes (48%) of dynamic memory, leaving 42344 bytes for local variables. Maximum is 81920 bytes.
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Hi…i think those are printed by the ESP as part of the boot process. It should then immediately start printing other stuff. I’ll provide a simpler firmware shortly just to test that the boards are working at all.
Hey, same issue here. Nothing showing up in the serial monitor. I’m using ESP-12E as standalone and using Arduino IDE. The first time it was able to connect to WiFi but, later serial monitor is blank. Nevertheless, the Blink code is working. I’ve also tried the “hello code” mentioned in the discussion and it just outputs ‘?’ for it.
I was using Ubuntu with Arduino v10 and doing some program tweaking and the serial monitor quit displaying anything.
I loaded my same sketch onto my Mac Book PRO and everything loads and works as it should.
I have tried different sketches that use WIFI and also your simple Serial.print test.
And still nothing on the Serial Monitor on the Ubuntu computer.
The sketch looks like it is loading onto the nodemcu via the led is flashing while the sketch is loading.
Is there something that I should check with the USB ports on the Ubuntu computer?
I wanted to see how long startTime1 = millis(); was running before it got reset so I put in Serial.println(startTime1 = millis()); right before timerRunning1 = 1 code line and when I loaded the sketch that is when the serial monitor quit.
What I did notice was that after the sketch finished loading it didn’t perform the “Hard resetting via RTS pin” at the end of the uploading. Kinda frustrating and kinda weird.
I am new at C++ programing, I used to program in Basic back in the day and before I retired I programed AllenBradly PLC’s