Search found 19 matches

by vahithosan
Mon Sep 18, 2017 1:57 pm
Forum: Drivers for External Components
Topic: Bosch BME280 driver
Replies: 42
Views: 45853

Re: Bosch BME280 driver

Hi. I am using the BME280 sensor with ESP-12. i measure indoor. (unused room) and the place of the esp board does not change Im running script one per hour an goes deepsleep. I use 2 lipo battery and HT7333 ldo. My questions is why the pressure values are unstable. DATE TEMP HUM PRESSURE 2017-09-18 ...
by vahithosan
Sun Sep 10, 2017 2:14 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 31700

Re: [SOLVED] DS3231 uRTC set / read problems

Hello deshipu, vahithosan, @vahitosan : Is your modified version of the lib do the trick ? I mean, in your 1st post you wanted to use an external DS3231 in order to wake up an ESP8266 from deepsleep. Did you succeed ? This is exactly what i want to do. @deshipu : can you confirm you didn't merge th...
by vahithosan
Tue Aug 22, 2017 3:20 pm
Forum: ESP8266 boards
Topic: Power usage, sleep modes
Replies: 2
Views: 2463

Re: Power usage, sleep modes

I am interested in this issue (especially Modem sleep) because ADC is unstable wifi on.

http://www.radupascal.com/2016/09/20/re ... on-esp8266
by vahithosan
Sun Aug 20, 2017 1:18 pm
Forum: ESP8266 boards
Topic: microSD card reading
Replies: 23
Views: 62400

Re: microSD card reading

Hi. What is the CSD format. >>> import os, machine, sdcard >>> sd = sdcard.SDCard(machine.SPI(1), machine.Pin(15)) File "<stdin>", line 1, in <module> File "sdcard.py", line 54, in __init__ File "sdcard.py", line 100, in init_card OSError: SD card CSD format not supported My sd card is fat32 formatt...
by vahithosan
Sat Aug 12, 2017 5:24 pm
Forum: ESP8266 boards
Topic: timezone support in MicroPython ?
Replies: 23
Views: 91765

Re: timezone support in MicroPython ?

Hi, I need to store exact time and date for my city. So, I inserted in boot.py the following code: from ntptime import settime settime() so, I can read time by: import utime utime.localtime() Isn't there a timezone support and legal/solar time support ? How I to do ? I think . You will use rtc. imp...
by vahithosan
Thu Aug 10, 2017 9:55 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 31700

Re: [SOLVED] DS3231 uRTC set / read problems

I'm not sure if that helps, but you can always use the _register and _flag methods on the urtc object to talk to the chip directly, and thus set whatever settings you need. Thanks. I just started working on micropython. Your library file was very instructive I made changes to the urtc file. Because...
by vahithosan
Sun Aug 06, 2017 5:56 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 31700

Re: [SOLVED] DS3231 uRTC set / read problems

I guess there is still a bug in the DS3231 alarm handling in that library, but I can't figure out what could possibly be wrong. Thanks for your efforts. I think there are 3 conditions for alarm activation. INTCN==1 and A1IE==1 and A1F==1 A1F is 1 when the time and alarm match For A1IE; At first 0x0...
by vahithosan
Sat Aug 05, 2017 10:40 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 31700

Re: [SOLVED] DS3231 uRTC set / read problems

I am confused when working with ds3231. I dont understand how the alarm works. I want an alarm every minute. I can not see changes in 0E and 0F. [code] import network import utime import machine import urtc import ustruct import network, time from ntptime import settime from machine import I2C, Pin ...
by vahithosan
Wed Jul 26, 2017 5:34 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 31700

Re: [SOLVED] DS3231 uRTC set / read problems

Hi. I have nodemcu v3 and DS3231 rtc. I want to use external rtc for high accuracy. And I want to awaken the ESP8266 from sleep with this rtc. I connected the RTC's SQW to reset terminal of the ESP8266. But nothing is happening. I use urtc on 1.9.1 firmware [code] import network import time import u...