Search found 925 matches

by kevinkk525
Wed Apr 28, 2021 7:49 am
Forum: ESP32 boards
Topic: network module for micropython ports/unix
Replies: 2
Views: 321

Re: network module for micropython ports/unix

On Unix port your Unix distribution is in control of the network, so there is nothing to control for micropython. So whatever your scripts try to do with the network module won't work. If your goal is just to write and test code until your Esp32 arrives and then move it to the Esp32, you can of cour...
by kevinkk525
Wed Apr 28, 2021 7:08 am
Forum: General Discussion and Questions
Topic: Is MicroPython the right hammer for my nail?
Replies: 19
Views: 1227

Re: Is MicroPython the right hammer for my nail?

I'd also say that times have changed and people have changed. 20 years ago even the games were really difficult and you needed lots of time to progress and lots of retries. So 20 years ago people were apparently more willing to put lots of effort into something to achieve little. Nowadays I'd say it...
by kevinkk525
Wed Apr 28, 2021 4:55 am
Forum: ESP32 boards
Topic: AttributeError: 'module' object has no attribute 'DHT11'
Replies: 2
Views: 777

Re: AttributeError: 'module' object has no attribute 'DHT11'

I agree. Especially with my slightly unreliable Esp32 psram board I experienced this error often.
Some attributes might just vanish after a few hours of operation. Only a reset helps. Looks like memory errors.
by kevinkk525
Mon Apr 26, 2021 3:40 pm
Forum: General Discussion and Questions
Topic: Is MicroPython the right hammer for my nail?
Replies: 19
Views: 1227

Re: Is MicroPython the right hammer for my nail?

Well I already used micropython at work for quick prototyping and a simple board to control a simple car part for demonstrational purposes. While developing the same program in c++ might have cost me multiple days, in micropython I was done after a single day (it was a small program). I think microp...
by kevinkk525
Mon Apr 26, 2021 10:43 am
Forum: Drivers for External Components
Topic: Receive and transmit IR remote codes
Replies: 23
Views: 5420

Re: Receive and transmit IR remote codes

Do you have the micropython plugin installed and active?

I don't have access to my pycharm at the moment but if I remember correctly, the utime module doesn't work correctly for me either.
But this message can be safely ignored anyways.
by kevinkk525
Mon Apr 26, 2021 5:17 am
Forum: General Discussion and Questions
Topic: Is MicroPython the right hammer for my nail?
Replies: 19
Views: 1227

Re: Is MicroPython the right hammer for my nail?

Personally I think micropython is beginner friendly and a good way to teach embedded systems. Documentation and how-tos might be lacking here and there but that doesn't mean micropython is only meant for "hackers" or "Linux enthusiasts". I have no experience with the pyboard and only little experien...
by kevinkk525
Sun Apr 25, 2021 6:08 pm
Forum: ESP8266 boards
Topic: Connecting to WiFi
Replies: 8
Views: 524

Re: Connecting to WiFi

Connecting to a wlan network can take a few seconds. That's why typically this is used: While not nic.isconnected(): time.sleep(1) I think that the problem in here would be the infinite loop. I for example want to print on my LCD info about the connected network. Oh absolutely. This was just the mo...
by kevinkk525
Sun Apr 25, 2021 3:19 pm
Forum: ESP8266 boards
Topic: Connecting to WiFi
Replies: 8
Views: 524

Re: Connecting to WiFi

Connecting to a wlan network can take a few seconds.
That's why typically this is used:

While not nic.isconnected():
time.sleep(1)
by kevinkk525
Sun Apr 25, 2021 7:09 am
Forum: ESP8266 boards
Topic: Connecting to WiFi
Replies: 8
Views: 524

Re: Connecting to WiFi

Calling nic.scan() might disconnect you wlan again. At least I remember having observed this with either esp8266 or Esp32. Pyboard doesn't do that.
Correct me if I'm wrong..
by kevinkk525
Thu Apr 22, 2021 10:39 am
Forum: Raspberry Pi microcontroller boards
Topic: Pico MicroPython with networking over USB
Replies: 10
Views: 746

Re: Pico MicroPython with networking over USB


HermannSW wrote:
When I will have usocket running with lwIP over USB, I will revisit the connected ESP01 and get hopefully "real" Wifi networking for the Pico.
Awesome, that was the long term goal I was hoping for!
Would be great if you get lwip over uart using an esp01/esp8266/Esp32 working.