Search found 34 matches

by ioukos
Sun Jun 04, 2017 6:50 pm
Forum: ESP8266 boards
Topic: Unexpected deep sleep behaviour (Wemos D1 mini pro)
Replies: 4
Views: 6239

Re: Unexpected deep sleep behaviour (Wemos D1 mini pro)

Did you wire pin D0 to reset ?
by ioukos
Fri May 26, 2017 1:41 pm
Forum: ESP8266 boards
Topic: micropython R1.9 ETA @@ released @@
Replies: 34
Views: 29711

Re: micropython R1.9 ETA @@ released @@

Great job, I'm looking forward trying this new version !

Is it 100% compatible with code written for 1.8.7 ?

Thank you in advance.
by ioukos
Fri May 26, 2017 12:55 pm
Forum: ESP8266 boards
Topic: Esp8266 as "simple" Arduino ?
Replies: 1
Views: 2520

Esp8266 as "simple" Arduino ?

Hello, As i use Esp8266 and micropython for a year and as, for examples, wemos d1 mini are quite cheap, I wonder : is there a way to shutdown wifi with micropython to use esp8266 as an Arduino ? I know wifi is a great feature, even a killer app in this case. But sometimes I want to build something s...
by ioukos
Wed Mar 29, 2017 10:45 am
Forum: ESP8266 boards
Topic: I2C isn't working anymore
Replies: 10
Views: 10704

I2C isn't working anymore

Hello, I have an issue with I2C devices. It's not working anymore. I've tried with BME280; DS3131 and OLED screen. Here is my code (juste for the BME280): i2c = machine.I2C(scl=machine.Pin(5), sda=machine.Pin(4)) bme = bme280.BME280(i2c=i2c) here is the answer from the console : >>> bme = bme280.BME...
by ioukos
Tue Mar 28, 2017 10:44 am
Forum: ESP8266 boards
Topic: mqtt missing from 1.8.7?
Replies: 2
Views: 2738

Re: mqtt missing from 1.8.7?

Hello, As far as I know there are now two mqtt libraries : umqtt.simple and umqtt.robust you should chose the one you want to use. For example for simple : from umqtt.simple import MQTTClient # Test reception e.g. with: # mosquitto_sub -t foo_topic def main(server="localhost"): c = MQTTClient("umqtt...
by ioukos
Sat Mar 25, 2017 6:12 pm
Forum: ESP8266 boards
Topic: [Solved] Urequests Adafruit.io
Replies: 2
Views: 3181

Re: Urequests Adafruit.io

Hi Deshipu, I did, try: postAdafruit(final_temp) except NotImplementedError: print("NotImplementedError") And it works ! Thank you, Adafruit is supposed to send me back my data with a epoch and various other data but I don't really need it ! thank you !
by ioukos
Sat Mar 25, 2017 1:49 pm
Forum: ESP8266 boards
Topic: [Solved] Urequests Adafruit.io
Replies: 2
Views: 3181

[Solved] Urequests Adafruit.io

Hi guys, I'm using urequests to send data to Adafruit.io, Here is my function : def postAdafruit(temp): url = "https://io.adafruit.com/api/feeds/ThermometreInvercargill/data.json" headers = { 'X-AIO-Key':'myapikeytopsecret', 'Content-Type': 'application/json' } payload='{"value": %s }' % str(temp) r...
by ioukos
Fri Feb 17, 2017 6:40 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 31749

Re: [SOLVED] DS3231 uRTC set / read problems

Thank You Deshipu, we are progressing but it's still not effective, let me show you : >>> rtc.alarm_time((2017,2,17,None,19,35,0)) >>> rtc.alarm_time() DateTimeTuple(year=None, month=None, day=17, weekday=None, hour=19, minute=35, second=0, millisecond=None) >>> while True: #Start a test to visualis...
by ioukos
Thu Feb 16, 2017 8:20 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 31749

Re: [SOLVED] DS3231 uRTC set / read problems

Hi, Here is my output : >>> from machine import I2C, Pin >>> i2c = I2C(scl=Pin(5), sda=Pin(4)) >>> import urtc >>> rtc = urtc.DS3231(i2c) >>> rtc.alarm_time((2017,2,15,None,21,50,0)) >>> rtc.alarm_time() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "urtc.py", line 138,...
by ioukos
Wed Feb 15, 2017 8:46 pm
Forum: ESP8266 boards
Topic: [SOLVED] DS3231 uRTC set / read problems
Replies: 37
Views: 31749

Re: [SOLVED] DS3231 uRTC set / read problems

Well well, I feel stupid but i don't understand how to use it. I set the alarm with >>> rtc.alarm_time((2017,2,15,None,21,50,0)) But I can't check if it's well set, as rtc.alarm_time() return nothing , and now, rtc.alarm() Is always set to... True. I try to set it back to False with : rtc.alarm(Fals...