Search found 62 matches

by Lysenko
Wed Nov 09, 2016 5:14 pm
Forum: Other Boards
Topic: PyCom choose GPL3
Replies: 35
Views: 16830

Re: PyCom choose GPL3

Look at this from the other side. If MicroPython itself was GPL3, there would be no drama like we had several weeks ago about Pycom publishing the code in the first place. If MicroPython was GPL3 a lot of people wouldn't touch it with a bargepole. If you're just building hobby projects for your own...
by Lysenko
Wed Nov 09, 2016 4:45 pm
Forum: Other Boards
Topic: PyCom choose GPL3
Replies: 35
Views: 16830

Re: PyCom choose GPL3

So, given that GPL3 is the ebola of software licenses, would I be right in thinking that PyCom board support will be tightly quarantined such that none of their code makes it into the mainstream builds? MicroPython will become instantly unusable for many purposes otherwise. This is not the case. Is...
by Lysenko
Wed Nov 09, 2016 2:51 pm
Forum: Other Boards
Topic: PyCom choose GPL3
Replies: 35
Views: 16830

PyCom choose GPL3

Opensource: We are due to receive final GPL V3 licence on 11/11/16 and will immediately released source code on Github. That's from their forum. So, given that GPL3 is the ebola of software licenses, would I be right in thinking that PyCom board support will be tightly quarantined such that none of...
by Lysenko
Wed Nov 09, 2016 12:50 pm
Forum: ESP8266 boards
Topic: Avoid flash wearing by altering behavior originally introduced by Espressif (the inventor of the ESP8266)
Replies: 76
Views: 31072

Re: Avoid flash wearing by altering behavior originally introduced by Espressif (the inventor of the ESP8266)

However, it is not what people expect from a microcontroller unit (at least if they have a electronic engineering background). An ESP8622 is not an MCU, it's a SoM and I certainly don't assume that something with an EEPROM (or other persistent storage) will automagically return to fixed state on re...
by Lysenko
Wed Nov 09, 2016 11:26 am
Forum: ESP8266 boards
Topic: Avoid flash wearing by altering behavior originally introduced by Espressif (the inventor of the ESP8266)
Replies: 76
Views: 31072

Re: Avoid flash wearing by altering behavior originally introduced by Espressif (the inventor of the ESP8266)

My desktop persists the SSID/password, but it doesn't re-persist it every time it connects, only when the password actually changes. How do you know? It might be rewriting the settings each time. It just wouldn't make any difference with a HD/SSD. The issue is surely that Espressif choose to rewrit...
by Lysenko
Tue Nov 08, 2016 8:57 am
Forum: General Discussion and Questions
Topic: Help with assignment
Replies: 5
Views: 2419

Re: Help with assignment

pythoncoder wrote:I'm puzzled :? The accelerometer produces acceleration values. To derive velocity from acceleration you surely need to perform an integration.
It's not an instant value either. x = 1024 = 1g ~= 35kph/s

This smells very much like a case of "not even wrong".
by Lysenko
Sun Nov 06, 2016 4:13 pm
Forum: WiPy and CC3200 boards
Topic: Problem binding socket for captive portal
Replies: 1
Views: 1545

Re: Problem binding socket for captive portal

I've never used a WiPy, but: setblocking(False) is the same thing as settimeout(0) so all you're doing there is making two consecutive to socket.setsockopt, the first setting SO_NONBLOCKING and the second setting SO_RCVTIMEO which implies a blocking socket. Given that blocking mode and timeouts don'...
by Lysenko
Sat Nov 05, 2016 9:30 pm
Forum: Hardware Projects
Topic: SCT-013 values
Replies: 9
Views: 8717

Re: SCT-013 values

I'm asking myself how that can work. As far as I can read, SCT-013 is a simple transformer, which delivers into a load an AC current proportional to the field it captures. To get a reasonable result out of that, which you can measure with an ESP8266, you have to convert that into a DC voltage, by p...
by Lysenko
Sat Nov 05, 2016 9:10 pm
Forum: ESP8266 boards
Topic: Problem using Sockets
Replies: 7
Views: 3416

Re: Problem using Sockets

Hi, Thank you very much. My problem was that I was using the socket (s) with the recv method instead of the client (c). Now it works but I think documentation is not right then: https://docs.micropython.org/en/latest/esp8266/esp8266/tutorial/network_tcp.html http://docs.micropython.org/en/latest/wi...
by Lysenko
Sat Nov 05, 2016 7:53 pm
Forum: Hardware Projects
Topic: SCT-013 values
Replies: 9
Views: 8717

Re: SCT-013 values

It is indeed 230/240V AC but since my electric bill is quite high and I don't know why so I thought I would measure it. Since I'm not sure wetter to place it over the blue, brown or both I tried all but same difference in the readings. You clip the CT around the "live" conductor. That should be the...