Search found 18 matches

by rpr
Fri May 10, 2019 10:17 am
Forum: Programs, Libraries and Tools
Topic: I'm searching a modbus library
Replies: 6
Views: 228

Re: I'm searching a modbus library

Yes ;) I have already programmed modbus servers to control the slave (with minimalmodbus) but never in slave mode (I haven't found library). Today I will be able to decode all the frames and then send the answers in the right format and with the CRC (manualy) but a library help me a lot :oops: than...
by rpr
Fri May 10, 2019 12:37 am
Forum: Programs, Libraries and Tools
Topic: I'm searching a modbus library
Replies: 6
Views: 228

Re: I'm searching a modbus library

I just want to clarify what you are asking: You want to setup a Pyboard as a modbus slave on an existing TCP network so that it can be controlled by a master device on same network. I presume you want to be able to use the digital inputs/outputs as well as analog in/out. In the past I have used stan...
by rpr
Tue Apr 02, 2019 6:52 pm
Forum: ESP32 boards
Topic: PC as an ESP32 simulator ?
Replies: 3
Views: 418

Re: PC as an ESP32 simulator ?

That is pretty neat.
by rpr
Sun Dec 09, 2018 6:57 pm
Forum: Programs, Libraries and Tools
Topic: LIS3DH accelerometer
Replies: 2
Views: 270

Re: LIS3DH accelerometer

Julian, good work. While I don't have this sensor, your changes will be useful in figuring out differences between the two ports.
by rpr
Sat Dec 08, 2018 7:12 am
Forum: ESP32 boards
Topic: optimizing uasyncio performance
Replies: 26
Views: 1917

Re: optimizing uasyncio performance

I ran the script you posted. Getting times of around 1.6-1.7 ms using an ESP32 with 4 MB PSRAM running a build of the standard Micropython repo with the module uasyncio as frozen. There were other modules as well in that directory. -- idle -- -- task1 -- -- task2 -- asyncio.sleep(0) = 1701 us 280139...
by rpr
Fri Dec 07, 2018 5:48 pm
Forum: ESP32 boards
Topic: optimizing uasyncio performance
Replies: 26
Views: 1917

Re: optimizing uasyncio performance

I'm a total newbie just learning. Is it possible somehow to dedicate one of the two cores for a given task.
by rpr
Mon Dec 03, 2018 9:01 am
Forum: General Discussion and Questions
Topic: Learning uasyncio and futures
Replies: 20
Views: 1002

Re: Learning uasyncio and futures

Well, that's your call ;) I found cancellation and timeouts rather tricky to implement, but then I'm far too old for this kind of thing; a younger mind might polish them off in a day... The following shows gather being used with timeouts and cancellation (tested on Unix and Pyboard): ---------- Tha...
by rpr
Sun Dec 02, 2018 6:47 pm
Forum: ESP32 boards
Topic: rshell issues with an ESP32 Devkitv1 module
Replies: 0
Views: 439

rshell issues with an ESP32 Devkitv1 module

I'm having issues when rshell is used with a NodeMCU ESP32 board. It is a DEVKITV1. I have filed the following issue with the @dhylands rshell git repo. https://github.com/dhylands/rshell/issues/67 Upon power up of the module, I can rshell into it once just fine. Subsequent attempts at connecting wi...
by rpr
Sun Dec 02, 2018 12:12 am
Forum: General Discussion and Questions
Topic: ESP32 documentation
Replies: 6
Views: 751

Re: ESP32 documentation

This is a great start. I'm happy to help. I will take a look to see what areas I can do so. Somewhat of a newbie still.
by rpr
Fri Nov 30, 2018 7:41 am
Forum: General Discussion and Questions
Topic: module documentation (ssd1306)
Replies: 8
Views: 933

Re: module documentation (ssd1306)

I too was able to replicate this.

It took a while but I was able to setup the esp sdk toolchain required to build a firmware with the frozen bytecode. Once built everything ran fine with no memory issues.