Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
ongvanor
@ongvanor
im using the 2.3.0 version of the library
bobcroft
@bobcroft
@ongvanor , as far as I know it can't run as the ESP-Link and run AP mode / server as well. It s primary function is to be a bridge between the ESP and the Arduino device thus giving the Arduino WiFi capability and OTA programming of the ESP and the attached Arduino.
ongvanor
@ongvanor
im currently using an ESP-12E IOT devboard
i bought one yesterday
i wanted to try the git version, since the sscanf is implemented there right? not in 2.3.0 version of the library?
Martin Sloup
@arcao
I use git version on all my projects. And all works ok. The git version has new libc library which add a lot of missing standard functions against 2.3.0.
ongvanor
@ongvanor
thanks Martin im having hard time installing the git version.
just copy past it in the hardware directory in arduino?
ongvanor
@ongvanor
im having this error
exec: "C:\Program Files\Arduino\hardware\esp8266com\esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++": file does not exist
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
what i did is copy the git version and place it to the hardware directory of may arduino
Tejas H
@CodingCreate101
Hello, I am trying to interface RTC DS1307 and ESP8266 NodeMcu v3. In one of the website, there is kinda tutorial to interface it. But my problem is, it's for DS3231. I don't know which pins are SDA and SLC. And the given code is for other RTC module than what I have with me right now. So, I have rigged up hardware and of course it's not working. At this point, I don't know whether the pin connection is wrong or the code is wrong for this module.. I am kinda facing a thick wall. Somebody please help me out. You guys know the frustration.. :worried:
Download binary tools:
cd esp8266/tools
python get.py
But you can use any pin you want, just specify your pins with:
Wire.begin(int sda, int scl)
Michael Miller
@Makuna
@tejas007tez It will work once you get the pins correct ;-) I have a library for it available and it I have tested it even on a esp-01. Rtc by Makuna.
Tejas H
@CodingCreate101
@arcao @Makuna just by seeing your replies I feel relieved. Thanks a lot for your response guys. :)
Tejas H
@CodingCreate101
Yeah, I am using that library itself @Makuna. Wait.. YOU built that? And yeah, I am aware that default pins are 4 and 5(D1 and D2). So, the code must not be working properly as it is written for DS3231 RTC. But I did actually try to write it for DS1307, but I am not able to add header file of the same in Arduino IDE.
I meant, RtcDS1307.h(this) header file. I am not able to add it. Arduino IDE isn't detecting it as header file.
Michael Miller
@Makuna
@tejas007tez if you are using my library, lets move this discussion over to the gitter channel for the library.
Tejas H
@CodingCreate101
@Makuna Link please.. I am using on mobile phone so..
Martin Sloup
@arcao
Michael Miller
@Makuna
thanks Martin, he found it and we have been chatting.
Tejas H
@CodingCreate101
Thank you @arcao
ongvanor
@ongvanor
thanks i got it working, what is the maximum voltage of the A0 of ESP-01 NodeMcu can handle? i heard it can only handle 1V
Wino24
@Wino24
Hi all.....I'm trying to monitor the temperature in my basement with an arduino nano using a TMP36 temp sensor and then send the data to my mqtt server using an esp8266-01. I was hoping soemone could send me in the right direction because I am having a difficult time finding examples to help me along.
esp-01 default baudrate is 115200 and i think arduino nano software serial is not compatible with that baudrate.
Wino24
@Wino24
ooooh.....ok thank you
nicelight
@nicelight
hello. Can anybody share a project with good stability and minimal web interface of web server. I need at least 1 week uptime with solid wifi connection. Because there is a lot of disconnections in my scatches. ( I am using delay() and don't use long time cycles like "for", "while" etc, but still problems with reliable long time connection)
bobcroft
@bobcroft
@ongvanor You are correct in that the internal ADC on the ESP2866 can only handle up to 1 v. If you need yo use higher voltages you could use a resistor divider or an external ADC device using an I2C device or possibly SPI. however, if you are using ESP-Link with an Arduino could you not use the Arduino's ADC(s). If you have the ESP-Link firmware loaded on your ESP I don't see how you can use the ADC anyway as the ESP is dedicated to the link.
ongvanor
@ongvanor
@bobcroft thanks for the input. i changed my plans for the hardware im currently using this http://www.electrodragon.com/product/nodemcu-lua-amica-r2-esp8266-wifi-board/
cause its more stable and its already a package though the pins are really limited. what im planning is use this kind of idea http://forum.arduino.cc/index.php?topic=8558.0 1 analog pin multiple buttons
Tejas H
@CodingCreate101

Hello guys, currently I am working on ESP's EEPROM.
This is the code I have written.. just to start with.

#include <EEPROM.h>

struct createObject
{
    String title;
    String startFrom;
    String endAt;
    String location;
    String appl;
    short int itsStat;
};
int damnsize;

void setup()
{
EEPROM.begin(1024);
struct createObject object1;
damnsize = sizeof(createObject);
Serial.begin(115200);
Serial.print(damnsize);

object1.title = "This is some string";
object1.startFrom = "123456789012";
object1.endAt = "abcdefghijkl";
object1.location = "Sun";
object1.appl = "greenlight"; 
object1.itsStat = 1;

Serial.println();
Serial.println(object1.title);
Serial.println(object1.startFrom);
Serial.println(object1.endAt);
Serial.println(object1.location);
Serial.println(object1.appl);
Serial.println(object1.itsStat);

EEPROM.put(damnsize, object1);
//while(!EEPROM.commit());
object1.title = "randomStringHere";
object1.startFrom = "newnum";
object1.endAt = "booya";
object1.location = "random";
object1.appl = "something";
object1.itsStat = NULL;
damnsize = sizeof(createObject);
EEPROM.get(damnsize, object1);

Serial.println(object1.title);
Serial.println(object1.startFrom);
Serial.println(object1.endAt);
Serial.println(object1.location);
Serial.println(object1.appl);
Serial.println(object1.itsStat);

delay(5000);
}

void loop(){//Empty}

And I got this output in Serial monitor:

This is some string
123456789012
abcdefghijkl
Sun
greenlight
1
randomStringHere  ng
newnum 89012
booya ghijkl
ran
something 
1
Tejas H
@CodingCreate101

This is code algorithm
1) create a structure
2) Create new structure(roughly, an object)
3) Store values manually
4) Write those values to EEPROM using EEPROM.put() method.
5) Change values in the code manually.
6) Read values back from EEPROM to check whether the info was written in EEPROM or not.

But I am getting weird output on serial monitor.

ongvanor
@ongvanor
can anyone help? im having this error rst cause:2, boot mode:(3,7)
blob
if i add that in my code in the setup() it shows that. but if i remove it , it runs okay. what could be the problem?
Tejas H
@CodingCreate101
It's because of EEPROM.commit(). Remove that line and test it. I am facing similar issues.
ongvanor
@ongvanor
errr but i need that line to save the settings of the eeprom
Tejas H
@CodingCreate101
Wait, there is also EEPROM.write(). That might be additional possibility for the problem.
Of course. How many bytes you have allocated for EEPROM?
ongvanor
@ongvanor
it ranges to 512 right i just used until address 100
Tejas H
@CodingCreate101
No, you can use more than that. Try increasing that value to 1024 and test. I guess the error is because of over flow. I am not certain about it, yet.
ongvanor
@ongvanor
hmmm somewhere in EEPROM.begin(512)? so i should change it to 1024?
Tejas H
@CodingCreate101
Yeah, try that.
ongvanor
@ongvanor
okay trying right now
the error is still the same
Tejas H
@CodingCreate101
Cross your fingers :)