750ms to read sensors sounds like a lot. Can you give more details on that?
Jan
Search found 163 matches
- Sat Nov 07, 2020 12:40 am
- Forum: Pyboard D-series
- Topic: unable to access webrepl when main script is running
- Replies: 14
- Views: 1616
- Thu Nov 05, 2020 7:04 pm
- Forum: Pyboard D-series
- Topic: unable to access webrepl when main script is running
- Replies: 14
- Views: 1616
Re: unable to access webrepl when main script is running
Have you actually tried it with a 20ms sleep?
Jan
- Mon Nov 02, 2020 6:27 pm
- Forum: General Discussion and Questions
- Topic: Asyncio and WebREPL
- Replies: 2
- Views: 537
Re: Asyncio and WebREPL
It works here, and not only that. I have a picoweb application with 4 additional uasyncio tasks plus webrepl, utelnetserver and uftpd all running happily together on one ESP32. Are you sure that webrepl is being started? The setup normally just tacks the import and start() at the end of boot.py. If ...
- Sat Oct 31, 2020 2:04 pm
- Forum: ESP32 boards
- Topic: (ADC) Unclear: Attenuation changes the physical or the digital range of the ADC?
- Replies: 5
- Views: 640
Re: (ADC) Unclear: Attenuation changes the physical or the digital range of the ADC?
According to the ESP32 Datasheet the maximum High Level input voltage is VDD+0.3V, which makes it 3.6V since the supply voltage is 3.3V. It is my understanding that this is the maximum input voltage no matter what the attenuation is. The attenuation only affects the range, in which the ADC will prod...
- Sat Oct 31, 2020 1:29 am
- Forum: Pyboard D-series
- Topic: unable to access webrepl when main script is running
- Replies: 14
- Views: 1616
Re: unable to access webrepl when main script is running
It appears that such a busy loop will block all the polling background services, like uftpd, utelnetserver and webrepl. Inserting a small sleep_ms into it will give them time to react: import utime while True: utime.sleep_ms(20) That said I haven't found a way to deliver a KeyboardInterrupt (^C) whe...
- Fri Oct 30, 2020 5:13 am
- Forum: Other Boards
- Topic: [NUCLEO-L476RG] How to compile main.py and send to board
- Replies: 6
- Views: 803
Re: [NUCLEO-L476RG] How to compile main.py and send to board
EPERM means you don't have permission to access something. My guess is that you need to run this as administrator. That is really just a guess as I never use Windows for any of this.
Regards, Jan
Regards, Jan
- Fri Oct 30, 2020 3:58 am
- Forum: General Discussion and Questions
- Topic: Bind with Ethernet Port Only
- Replies: 1
- Views: 323
Re: Bind with Ethernet Port Only
The usocket module perfectly supports bind((<IP>, <PORT>)). When using '0.0.0.0' (AKA INADDR_ANY) for IP, the server socket will accept connections on all active interfaces. To limit it to one specific interface you should obtain that IP address via WLAN.ifconfig() and use it in the bind() call. You...
- Fri Oct 30, 2020 1:42 am
- Forum: ESP32 boards
- Topic: Add Terminal to webpage
- Replies: 1
- Views: 281
Re: Add Terminal to webpage
Have you thought about incorporating the term.js of WebREPL into the website, served by the ESP32? That should give you a ready to use terminal.
Best Regards, Jan
Best Regards, Jan
- Thu Oct 29, 2020 5:43 pm
- Forum: ESP32 boards
- Topic: Upload file of 250kB or more
- Replies: 10
- Views: 1140
Re: Upload file of 250kB or more
BL007, FTP is a protocol. The File Transfer Protocol, to be specific. Having an FTP server on the device doesn't mean that the user has to fiddle with some separate FTP client program. There are FTP client libraries for pretty much every language and platform. Using them will become part of your end...
- Thu Oct 29, 2020 4:15 am
- Forum: Other Boards
- Topic: [NUCLEO-L476RG] How to compile main.py and send to board
- Replies: 6
- Views: 803
Re: [NUCLEO-L476RG] How to compile main.py and send to board
Another option to transfer files to boards that have a USB based REPL is ampy.humberto ontiveros wrote: ↑Thu Oct 29, 2020 3:25 amHi, i am having the same problem wiht a STM32 NUCLEO-L432KC, were you able to solve it wiht pyborad.py? and by the way what IDE do you use for develop yours scripts for this board?