Search found 81 matches

by pidou46
Thu Dec 15, 2016 6:49 pm
Forum: Programs, Libraries and Tools
Topic: [SOLVED] script that behave differently when launched from main.py than from rrepl.
Replies: 2
Views: 5103

Re: script that behave differently when launched from main.py than from rrepl.

I have some new informations to give. When I'm connecting back with repl through serial line, I get some error message: [Errno 103] ECONNABORTED dhcp client start... ip:192.168.1.213,mask:255.255.255.0,gw:192.168.1.254 Traceback (most recent call last): File "main.py", line 3, in <module> File "exam...
by pidou46
Thu Dec 15, 2016 4:16 pm
Forum: Programs, Libraries and Tools
Topic: [SOLVED] script that behave differently when launched from main.py than from rrepl.
Replies: 2
Views: 5103

[SOLVED] script that behave differently when launched from main.py than from rrepl.

I have a script that behave differently when launched from main.py than from rrepl. I run the dailybuild firmware "mp-esp8266-firmware-latest.bin" downloaded on 14/12/16 on a "nodemcu V3" I have a script based on example_sub_led.py from umqtt library: https://github.com/micropython/micropython-lib/b...
by pidou46
Thu Sep 08, 2016 8:24 pm
Forum: Drivers for External Components
Topic: PCA9685 PWM Driver
Replies: 16
Views: 12202

Re: PCA9685 PWM Driver

Thanks alot, My mistake was not on the software side, I had reversed the polarity of the power port of the adafruit breakboard's. Nota: when the power led is red, it means the power for the chip is ok (green would have been better thought ;) ), it not mean power for servos is ok... But the board is ...
by pidou46
Wed Sep 07, 2016 7:25 am
Forum: Drivers for External Components
Topic: PCA9685 PWM Driver
Replies: 16
Views: 12202

Re: PCA9685 PWM Driver

Hi, Thanks for this useful library. As I'm a newbie a minimal code sample would be helpful for me. I'm able to create a servo object, but I'm not able to make it move. I have not understand what the "index" parameter stand for ? I guess it is related to the output selection, but it seems not to be d...
by pidou46
Tue Jun 07, 2016 8:13 pm
Forum: ESP8266 boards
Topic: Unstable WIFI
Replies: 4
Views: 3380

Re: Unstable WIFI

I've made some test I started plug the MCU at 9PM local time, everything came fine, I've started to use webREPL to make some test on mqtt publishing. I kept the serial port connected to a 'picocom' session, to check if I get something in case something went wrong. At about 9:47 : Fatal exception It ...
by pidou46
Mon Jun 06, 2016 7:37 am
Forum: ESP8266 boards
Topic: Unstable WIFI
Replies: 4
Views: 3380

Re: Unstable WIFI

Hi wendlers, Thanks for your answer (and sorry for the delay in response...) Yes, it 's just sitting there, it is not running anything (for now of course), it stop working, even when I doesn't transfer any file. I only connect via webREPL without running anything. I doesn't send anything on the seri...
by pidou46
Fri Jun 03, 2016 7:57 pm
Forum: ESP8266 boards
Topic: Unstable WIFI
Replies: 4
Views: 3380

Unstable WIFI

Hello, I haven't found related topic in the forum (but maybe I haven't search enough), so I create a new one. I have setting up my "nodemcu V2 (amica)" with daily build (05/31/2016) micropython firmware, and everything went fine. I have been able to setup the network acces (wifi), without trouble us...
by pidou46
Tue May 31, 2016 7:55 pm
Forum: ESP8266 boards
Topic: 8266can‘t read the right data from dht11
Replies: 16
Views: 8263

Re: 8266can‘t read the right data from dht11

I have forgotten to mention one step that could help other: I have had to replace 'pyb' by 'machine' and setup the right pin number in the dht.py file because the library is designed for pyboard not esp8266. I hope this could help somebody, I will suggest dht library update to include esp8266 behavi...
by pidou46
Tue May 31, 2016 7:44 pm
Forum: ESP8266 boards
Topic: 8266can‘t read the right data from dht11
Replies: 16
Views: 8263

Re: 8266can‘t read the right data from dht11

Yes, now I did it.
It was quite an adventure to make it work, but now it works and I have uploaded the dht.py file and run the profra code, and it works!
I'm happy, today it's a great day :D
Thanks for your help
by pidou46
Tue May 31, 2016 2:32 pm
Forum: ESP8266 boards
Topic: 8266can‘t read the right data from dht11
Replies: 16
Views: 8263

Re: 8266can‘t read the right data from dht11

Thanks pythoncoder for your answer. The code I try to execute is extracted from comments inside the file dht.py cloned from the github repository. Does I use the same library that other publishers in that post ? You are certainly right, but I found an other good reason why it doesn't work: the dht.p...