Search found 81 matches

by pidou46
Wed Jun 26, 2019 12:07 pm
Forum: ESP8266 boards
Topic: Driver for NEMA 17 stepper motor ?
Replies: 15
Views: 3305

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: [SOLVED] uansycio.websocket.server/example_websock.py
Replies: 10
Views: 28457

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: [SOLVED] uansycio.websocket.server/example_websock.py
Replies: 10
Views: 28457

[SOLVED] uansycio.websocket.server/example_websock.py

Here it is my working setup for asynchronious communication between esp(32 or 8266) server and python3.6 client using websocket. I hope it could help someone... server side (esp): download and install official micropython firmware (25/09/19) install "uasyncio 2.0" and "websocket server" libraries fr...
by pidou46
Fri May 24, 2019 5:56 pm
Forum: General Discussion and Questions
Topic: double precision float on ESP8266
Replies: 30
Views: 6938

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: 30
Views: 6938

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: 30
Views: 6938

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: 9273

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...
by pidou46
Fri Jun 08, 2018 8:22 am
Forum: Drivers for External Components
Topic: Stepper motor module
Replies: 7
Views: 10500

Re: Stepper motor module

Hello, My understanding is that it's impractical to drive the step pulse of a stepper driver (A4988, DRV8825, ect...) directly with an esp (8266 or 32) because of RTOS and Micropython latency. What do you think of: https://github.com/lhartmann/esp8266_reprap Instead of connect directly the pins from...
by pidou46
Fri Apr 06, 2018 9:17 am
Forum: Programs, Libraries and Tools
Topic: Interest Check in Android/iOS Remote for MicroPython Devices
Replies: 6
Views: 3381

Re: Interest Check in Android/iOS Remote for MicroPython Devices

Hi, Here is screenshoots of my proof of concept app running on Windows 7 and Android. If somebody is interested I can share the code, but it's almost an empty shell, only the kv file have a small interest. In current state it connect to an ESP server via socket, but as the server is blocking waiting...
by pidou46
Wed Apr 04, 2018 5:05 pm
Forum: Programs, Libraries and Tools
Topic: mpy-cross binaries
Replies: 1
Views: 1342

Re: mpy-cross binaries

Yep!
I’m looking for it since the beginning of my micropython ESP8862 adventure. It will make my life easiest (a little bit exaggerated). It would be nice to have a link close to the firmware download area.
Thanks