Search found 73 matches

by warren
Mon Aug 22, 2016 10:29 am
Forum: ESP8266 boards
Topic: Sockets and OSError: -2
Replies: 10
Views: 4828

Re: Sockets and OSError: -2

jms wrote:Look in the source code of the socket module.
Thanks, but I cant see anything in that short file that sheds any light on this error code...

I get this problem with ANY host - which is why I think it is some weird generic DNS tyype error...

??
by warren
Mon Aug 22, 2016 5:57 am
Forum: ESP8266 boards
Topic: Sockets and OSError: -2
Replies: 10
Views: 4828

Sockets and OSError: -2

I have an ESP8266 board which is clearly connected to my AP and thence to the wider internet. For example it is using the socket interface to regularly upload sensor values to Thingspeak. But I can only do this if I hard-code the Thingspeak i/p address in my socket code. Attempts to use gethostbyadd...
by warren
Mon Aug 08, 2016 8:59 pm
Forum: ESP8266 boards
Topic: Saving power
Replies: 20
Views: 10136

Re: Saving power

It would be nice to have a non-hacky way of doing something like this. I guess I could try implementing that myself but this is really the first time I've even looked at a non-trivial C program, so someone else is probably more qualified. Is there any update to this? Are you now able reliably and r...
by warren
Tue Aug 02, 2016 9:47 pm
Forum: ESP8266 boards
Topic: I2C issues
Replies: 4
Views: 1644

Re: I2C issues

Thanks for that.

it does not crash at 200Hz. I would never want to go that slowly anyway - it takes ~ 5 seconds to get a reading from the sensor.

At least now I know a lower limit should I have to reduce clock frequency to cope with longer cable runs.
by warren
Tue Aug 02, 2016 6:20 pm
Forum: ESP8266 boards
Topic: I2C issues
Replies: 4
Views: 1644

Re: I2C issues

2) I'm guessing that this is due to the watchdog timer kicking in, but to confirm you would need to check the reset code that is printed right after the board resets. Thanks - when the board resets I get a load of gibberish ending with: 삌l��lrl�l��|��rrnb��l���b�b쌜�����bllbl��ln�l`��ln�prl�l��|��rr...
by warren
Tue Aug 02, 2016 5:36 pm
Forum: ESP8266 boards
Topic: I2C issues
Replies: 4
Views: 1644

I2C issues

Hi, I am experimenting with some I2C sensors, and have been playing with the clock frequency to see how it affects reliability. Three specific questions: 1) The Micropython default clock speed (if you create an I2C object but do not give a 'freq=' parameter) - is it 400kHz? 2) I notice that if I red...
by warren
Tue Aug 02, 2016 5:30 pm
Forum: ESP8266 boards
Topic: I/O expander
Replies: 21
Views: 8805

Re: I/O expander

Hi mcauser thank you for the code appreciate :D . may i know where do i need put resistor?do i need to put resistor for SDA and SCL line?Sorry for my noob question do you have schematic where i can follow to put the pull out resistor? Yes, on both. The optimal value for the resistors depends on clo...
by warren
Fri Jul 29, 2016 10:32 am
Forum: ESP8266 boards
Topic: OTA with ESP8266/Micropython?
Replies: 1
Views: 2670

OTA with ESP8266/Micropython?

I note that there have been mentions on the forum about 'over the air' updates ("OTA"), and I was wondering what is the current state of play?

Do we have that functionality available with Micropython?
by warren
Thu Jul 28, 2016 8:06 am
Forum: ESP8266 boards
Topic: Extreme remedy for bad flash!
Replies: 3
Views: 1810

Extreme remedy for bad flash!

'Under the surgeon's knife' : http://internetofhomethings.com/homethings/?p=538 This article is from last year - maybe the longevity of the ESP flash has improved since then. I would be interested to know if others on this forum have hit a 'barrier' at the 20-30 re-flashes point where the device sta...
by warren
Wed Jul 27, 2016 5:40 pm
Forum: ESP8266 boards
Topic: why os.listdir return ENODEV
Replies: 28
Views: 12726

Re: why os.listdir return ENODEV

There're 2 cases: 1. If you build ESP8266 port from source, [snip] 2. A separate issue was brought, how to install binary releases. [snip] Thanks - that makes sense. A suggestion: I'm sure it would be relatively easy to insert the option in the command line for 'make deploy' such that you could spe...