Search found 44 matches

by pidou46
Thu Aug 01, 2019 5:53 am
Forum: ESP32 boards
Topic: Pulse counter support
Replies: 11
Views: 586

Re: Pulse counter support

It seems able to handel encoders: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/pcnt.html - it count rising and/or falling edge - a filter can be set to avoid glinches - up to 8 counter are availables, not as much as STM32, but it enable quite sophisticated projects...
by pidou46
Fri Jul 26, 2019 2:12 pm
Forum: ESP32 boards
Topic: Pulse counter support
Replies: 11
Views: 586

Re: Pulse counter support

Hi,

Yes I think it would be usefull for keeping track of an for encoder for instance.

I think it would be a nice feature to add at the V2.0 roadmap https://github.com/micropython/micropython/issues/4821, still I have no idea of what coding effort it would involve...
by pidou46
Thu Jul 04, 2019 7:00 am
Forum: General Discussion and Questions
Topic: 3d printer firmware based on pyboard
Replies: 17
Views: 883

Re: 3d printer firmware based on pyboard

What is the max number of pulses the RMT can be setup for From espressif RMT doc: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/rmt.html Selection of the clock source, note that currently one clock source is supported, the APB clock which is 80Mhz - rmt_set_source_...
by pidou46
Wed Jun 26, 2019 12:07 pm
Forum: ESP8266 boards
Topic: Driver for NEMA 17 stepper motor ?
Replies: 15
Views: 518

Re: Driver for NEMA 17 stepper motor ?

Assuming the NEMA 17 stepper motor you targeted is a bi-polar type (4 wires). In that case, I would advice a "drv8825" driver. It's a cheap and clever to use, you need a pin to choose direction and another one to send pulses. So the code is straightforward. You can use the PWM module to generate the...
by pidou46
Mon Jun 17, 2019 8:00 am
Forum: Programs, Libraries and Tools
Topic: uansycio.websocket.server/example_websock.py
Replies: 2
Views: 167

Re: uansycio.websocket.server/example_websock.py

Ok, thank you

I will try when at home
by pidou46
Fri Jun 14, 2019 12:59 pm
Forum: Programs, Libraries and Tools
Topic: uansycio.websocket.server/example_websock.py
Replies: 2
Views: 167

uansycio.websocket.server/example_websock.py

Hi I would like to run the example module of async version of websocket server from "https://github.com/micropython/micropython-lib/uansycio.websocket.server/example_websock.py" on a "esp32spiram-20190529-v1.11.bin" It failed due to "websocket" library not available in the "server.py" module. I have...
by pidou46
Fri May 24, 2019 5:56 pm
Forum: General Discussion and Questions
Topic: double precision float on ESP8266
Replies: 29
Views: 1030

Re: double precision float on ESP8266

Thanks,

I hope it could help ThomasChr
by pidou46
Fri May 24, 2019 3:30 pm
Forum: General Discussion and Questions
Topic: double precision float on ESP8266
Replies: 29
Views: 1030

Re: double precision float on ESP8266

I have made some tests: I got FixedPoint.py To avoid an error I remove 'TypeError' from line 248 (I will check later thi point) "class FXfamilyError(FXexception, TypeError): " I upload it to my esp32. import FixedPoint x=FixedPoint.FXnum=(1) y=FixedPoint.FXnum=(3) print(x/y) 0.333333333333333333315 ...
by pidou46
Fri May 24, 2019 6:31 am
Forum: General Discussion and Questions
Topic: double precision float on ESP8266
Replies: 29
Views: 1030

Re: double precision float on ESP8266

Hi, Sometime ago I made some thought, about this subject to build an heliostat. The best option to me would be: - port a fixed point precision library to microptyhon( the original one is python 3.1 so it should be quite easy) - code the astronomic algorithm using this library. Here is the thread for...
by pidou46
Mon Apr 01, 2019 9:57 am
Forum: ESP32 boards
Topic: Integrating Loboris port back to official uP ESP32 port
Replies: 33
Views: 2200

Re: Integrating Loboris port back to official uP ESP32 port

I think you are right, LOBORIS seem's to be focussed on Kendryte K210 port now. And yes, it would be nice to have the work done by LOBORIS merged back in the official ESP32 port. But my understanding is that, each project have somehow diverged and copy /paste from one project to the other is not a o...