Search found 12 matches

by Nikunj_Vadher
Wed Apr 17, 2019 5:29 pm
Forum: ESP8266 boards
Topic: MAX30102 Sensor
Replies: 0
Views: 40

MAX30102 Sensor

I just found MAX30102 (I2C with two leds) pulse sensor into my collection.
Thought for trying to use it with micropython.
Anybody have any idea about library of it ?
If anyone know it please provide link for same.

Thank You,
by Nikunj_Vadher
Fri Mar 22, 2019 8:00 am
Forum: General Discussion and Questions
Topic: Pyboard D
Replies: 5
Views: 313

Pyboard D

I would like to know whether PyBoard D is available to buy for community or not ?
I have checked but didn't find proper update anywhere.
Thank You.
by Nikunj_Vadher
Mon Mar 11, 2019 7:34 am
Forum: ESP8266 boards
Topic: Connecting DS3231 RTC with ESP8266
Replies: 4
Views: 363

Re: Connecting DS3231 RTC with ESP8266

You may try my lib for DS3231 module. https://github.com/micropython-Chinese-Community/mpy-lib/tree/master/misc/DS3231 >>> ds.Date() [2000, 1, 1] >>> ds.DateTime([2019,3,11,1,12,58,8]) >>> ds.Date() [2019, 3, 11] >>> ds.ALARM(12, 20, 10, ds.PER_DISABLE) Traceback (most recent call last): File "<std...
by Nikunj_Vadher
Fri Mar 01, 2019 8:06 am
Forum: ESP8266 boards
Topic: Timer
Replies: 2
Views: 159

Timer

I am exploring micropython. I came across a task I need to perform 2 separate operation at different interval. For example: 1st task at interval of 5 second 2nd task at interval of 45 minutes. My question is how to create 2 different timers running on different operation and how to put resolution of...
by Nikunj_Vadher
Tue Jan 15, 2019 7:21 am
Forum: ESP8266 boards
Topic: Interrupt Handling problem
Replies: 2
Views: 193

Interrupt Handling problem

I am having a orchid green house and they need humidity and controlled temperature. For that I am building a system which monitor green house environment temperature and humidity(stemp, shum) and if it falls below the specific values ( itemp, ihum) then it send a signal to start water pump. I am usi...
by Nikunj_Vadher
Sat Jan 12, 2019 9:15 am
Forum: ESP8266 boards
Topic: Interrupt variable increment problem
Replies: 1
Views: 106

Interrupt variable increment problem

import config itemp=config.temp ihum=config.hum def inctmp(p): itemp = itemp + 1 def dectmp(p): itemp = itemp - 1 p0 = Pin(0, Pin.IN) p0.irq(trigger=Pin.IRQ_RISING | Pin.IRQ_FALLING, handler=inctmp) p15 = Pin(15, Pin.IN) p15.irq(trigger=Pin.IRQ_RISING | Pin.IRQ_FALLING, handler=dectmp) here config....
by Nikunj_Vadher
Mon Dec 24, 2018 9:41 am
Forum: ESP8266 boards
Topic: ds18b20 programming
Replies: 2
Views: 237

ds18b20 programming

As I read data sheet for ds18b20, I found we can program it. I would like to know how to program it and how to set alarm level and how trigger some function(code) in micropython.
by Nikunj_Vadher
Tue Dec 18, 2018 9:27 am
Forum: ESP8266 boards
Topic: Global Variables
Replies: 1
Views: 640

Global Variables

How to declare global variables in micropython that can be accessible from boot.py, main.py and many files. creating and writing and updating file data taking time and getting into error.I want to declare only 2 variables. Also want to create and freeze(compile) code for python server that listen on...
by Nikunj_Vadher
Tue Dec 18, 2018 4:53 am
Forum: Development of MicroPython
Topic: Micropython esp8266 firmware build
Replies: 2
Views: 693

Re: Micropython esp8266 firmware build

The README.md in ports/esp8266 is sufficient. You only have to follow the instructions literally, not skipping a step or ignoring a word, including the README in the installed esp-idf. About not installing modules: in the esp8266 directory there is a file called mpconfigport.h, which includes defin...
by Nikunj_Vadher
Sun Dec 16, 2018 7:36 am
Forum: Development of MicroPython
Topic: Micropython esp8266 firmware build
Replies: 2
Views: 693

Micropython esp8266 firmware build

Respected Forum Members, I am looking for compiling micropython firmware guide for linux (Ubuntu). lots of guides available but every guide showing different error so not able to compile it properly. I also want to know how to remove unnecessary packages ( modules) from firmware so I can free some m...