Search found 11 matches

by cpr
Tue Dec 20, 2016 6:51 pm
Forum: General Discussion and Questions
Topic: FOSDEM 2017?
Replies: 11
Views: 4744

Re: FOSDEM 2017?

I had to withdraw a suggestion to show Saltstacks "proxy minion" feature to sync files with a micropython ESP8266 bringing this board effectively under config management. Maybe another year -- but too busy with real life in 2017.
by cpr
Thu Nov 24, 2016 7:02 am
Forum: ESP8266 boards
Topic: [SOLVED/WORKEDAROUND] Having problems with HX711 load cell sensor
Replies: 15
Views: 20288

Re: [SOLVED/WORKEDAROUND] Having problems with HX711 load cell sensor

Ah, disabling interrupts is what I'll do, too -- I am still new to all this. That data = "" was more for debugging, because for a few moments I wasn't sure if repeated calls to .value() might mess up with the HX711 shifting out bits :) All these print statements must go away anyways. Thanks for the ...
by cpr
Thu Nov 24, 2016 12:12 am
Forum: ESP8266 boards
Topic: [SOLVED/WORKEDAROUND] Having problems with HX711 load cell sensor
Replies: 15
Views: 20288

Re: Having problems with HX711 load cell sensor

Hi Robert, thank YOU ! I had to get up in the middle of the night and try the frequency change and indeed I now get: - with a 0.5kg weight - without a weight >>> f = HX711() <waiting finished> dataPin: 0, sckPin: 0 bitbanged: 15240832 us: , 228, 202, 216, 215, 201, 198, 212, 216, 194, 216, 212, 194,...
by cpr
Wed Nov 23, 2016 6:30 pm
Forum: ESP8266 boards
Topic: [SOLVED/WORKEDAROUND] Having problems with HX711 load cell sensor
Replies: 15
Views: 20288

Re: Having problems with HX711 load cell sensor

Ahhhh, the code is too slow!!! *heureka* Now this was just plain stupid: for i in range(24): self.pdsckPin.high() time.sleep_us(2) print("<{}> dataPin: {}, sckPin: {}".format(i, self.dataPin.value(), self.pdsckPin.value())) self.pdsckPin.low() #print(i, self.dataPin.value(), self.pdsckPin.value()) t...
by cpr
Sat Nov 19, 2016 7:53 pm
Forum: ESP8266 boards
Topic: [SOLVED/WORKEDAROUND] Having problems with HX711 load cell sensor
Replies: 15
Views: 20288

[SOLVED/WORKEDAROUND] Having problems with HX711 load cell sensor

Hello everybody, I am trying to read from this popular HX711 breakout board with an Adafruit Huzzah ESP8266 and a stock esp8266-20161110-v1.8.6.bin This is the component for a digital scale, sparkfun has some pictures. This chip has a non-standard protocol, the datasheet describes: Serial Interface ...
by cpr
Mon Oct 31, 2016 8:12 pm
Forum: ESP8266 boards
Topic: What makes WiFi config persistent?
Replies: 2
Views: 2129

What makes WiFi config persistent?

:?: If I follow the docs at http://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/network_basics.html#configuration-of-the-wifi and use def do_connect(): import network sta_if = network.WLAN(network.STA_IF) if not sta_if.isconnected(): print('connecting to network...') sta_if.active(True) s...
by cpr
Sat Oct 22, 2016 7:18 am
Forum: ESP8266 boards
Topic: October 22 firmware self-compilation
Replies: 1
Views: 1002

October 22 firmware self-compilation

Hi there, this is how I got it to work with the vagrant file from https://learn.adafruit.com/building-and-running-micropython-on-the-esp8266/flash-firmware . I followed it today and yesterday with _some_ success. There is a switch in pfalcons esp-open-sdk to SDK v2.0 https://github.com/pfalcon/esp-o...
by cpr
Sun Sep 25, 2016 8:50 am
Forum: General Discussion and Questions
Topic: Capturing stdout from exec()
Replies: 4
Views: 2435

Re: Capturing stdout from exec()

Funny, I came here the exact same way as the OP: I want to remote-execute code on an ESP8266 by means of pyboard.py wrappers (e.g. mpfshell). My first, randomly chosen, sample was to get the output of esp.check_fw() which not just does return True/False but also prints out 'stuff'. So over the seria...
by cpr
Sun Sep 18, 2016 8:33 pm
Forum: ESP8266 boards
Topic: mpfshell: remote shell for esp8266
Replies: 29
Views: 17257

Re: mpfshell: remote shell for esp8266

Thank you for the quick reply, very encouraging and motivating!!
by cpr
Sun Sep 18, 2016 10:30 am
Forum: ESP8266 boards
Topic: mpfshell: remote shell for esp8266
Replies: 29
Views: 17257

Re: mpfshell now supports connections via websockets

Hi, I finished basic support for connecting with the "shell" to the ESP8266 via websockets (WebREPL needs to be active). Thus, all the shell operations (like put, get, full REPL, ...) are usable via a WiFi connection. Hi Stefan, What are your thoughts on this usecase: I am looking for a "glue" betw...