Search found 32 matches

by jomas
Thu Oct 17, 2019 4:34 pm
Forum: ESP8266 boards
Topic: Can build and flash, doesn't boot
Replies: 9
Views: 296

Re: Can build and flash, doesn't boot

I had the same error when I tried to flash a esp-07 which had 1Mbyte flash while I expected that is was a 4Mbyte device like most esp12-F's.
by jomas
Thu Oct 17, 2019 4:31 pm
Forum: ESP8266 boards
Topic: Working with ESP8266 (ESP-07S)
Replies: 3
Views: 369

Re: Working with ESP8266 (ESP-07S)

This is the Micropython forum. Your code is C.

But your problem is that you should use the GPIOxx names as pin and not the physical pins of the board.
by jomas
Fri Oct 11, 2019 7:59 pm
Forum: ESP32 boards
Topic: Newbie problem - WebREPL unaccessable
Replies: 6
Views: 193

Re: Newbie problem - WebREPL unaccessable

For android there is an apk to use WebRepl

https://microcontrollerelectronics.com/ ... n-android/

I tried it and it works.
by jomas
Thu Oct 03, 2019 3:31 pm
Forum: General Discussion and Questions
Topic: How Should WiFi Passwords be securely stored on micropython device?
Replies: 8
Views: 353

Re: How Should WiFi Passwords be securely stored on micropython device?

jimmo wrote:
Thu Oct 03, 2019 12:51 pm
Unfortunately this is an ESP32-only feature and not currently documented. https://github.com/micropython/micropyt ... rtc.c#L128
That is not true. It is implemented (and undocumented) for esp8266 too.
by jomas
Fri Sep 27, 2019 6:08 pm
Forum: General Discussion and Questions
Topic: How Should WiFi Passwords be securely stored on micropython device?
Replies: 8
Views: 353

Re: How Should WiFi Passwords be securely stored on micropython device?

So you should prevent this by cutting off the pins that connect to tx/rx, fill your device (especially also the flash memory) with epoxy etc. What exactly do you mean with "epoxy" etc. ? I never heard about this term in this kind of area. I mean like 2 component epoxide glue. I have to say! This is...
by jomas
Fri Sep 27, 2019 3:51 pm
Forum: General Discussion and Questions
Topic: How Should WiFi Passwords be securely stored on micropython device?
Replies: 8
Views: 353

Re: How Should WiFi Passwords be securely stored on micropython device?

I'm mainly using ESP-8266/32 boards. Now to access the network with the device you have to put the clear WIFI credentials into your scripts For esp32 that is true for esp8266 there is no need to store credentials in your script. But as you said, if you have access to the device you can read out all...
by jomas
Wed Sep 25, 2019 4:07 pm
Forum: ESP8266 boards
Topic: How to measure time accurately?
Replies: 5
Views: 260

Re: How to measure time accurately?

My mistake was a typo in my post. I meant ticks_ms, not ticks_us. I've correct the post. Thanks. But even then then you can not have a mismatch of 10 seconds in 10 minutes because ticks_ms uses ticks_us. And yes, if you keep track of the overflows you can use that as your time. I have made a digita...
by jomas
Wed Sep 25, 2019 1:12 pm
Forum: ESP8266 boards
Topic: How to measure time accurately?
Replies: 5
Views: 260

Re: How to measure time accurately?

and time.ticks_us() is only slightly better (fell 10 seconds behind in a 10 minute test). Then you made a mistake or your device is broken. time.ticks_us() is very accurate. (about 2 seconds per 24 hours or less). Are you aware that ticks_us() uses a 30-bits counter that overflows after about 17 mi...
by jomas
Tue Sep 24, 2019 4:06 pm
Forum: Programs, Libraries and Tools
Topic: [SOLVED] uansycio.websocket.server/example_websock.py
Replies: 10
Views: 524

Re: uansycio.websocket.server/example_websock.py

I had that error too (error on client side) when I was trying to develop an Android App (based on html, js and css that worked on my laptop and Google Chrome browser). I finally found out that it was caused by using the emulator of Android Studio. As soon as I used my "real" telephone as test device...
by jomas
Tue Sep 24, 2019 11:03 am
Forum: Programs, Libraries and Tools
Topic: [SOLVED] uansycio.websocket.server/example_websock.py
Replies: 10
Views: 524

Re: uansycio.websocket.server/example_websock.py

uwebsocket should work. Can you try another client? For example on this site: https://www.websocket.org/echo.html look at "Creating your own test" I used this to do a simular project as you and that worked (websocket on esp8266). The advantage is that if you use "index.html, js , css" in a folder on...