Search found 101 matches
- Thu Jun 01, 2017 4:55 pm
- Forum: Programs, Libraries and Tools
- Topic: Simple Python Fixed-Point Module port ?
- Replies: 7
- Views: 7100
[sun tracking code] Re: Simple Python Fixed-Point Module port ?
Hello pythoncoder, Your assertion was right: It's possible to achieve sub-degree precision sun position calculation, with 30bit floating point precision from micropython, using Josh O'Brien's algorithm. The algorithm have already been coded to python: https://stackoverflow.com/questions/8708048/posi...
- Mon May 29, 2017 8:28 am
- Forum: Programs, Libraries and Tools
- Topic: Simple Python Fixed-Point Module port ?
- Replies: 7
- Views: 7100
Re: Simple Python Fixed-Point Module port ?
Thanks for your advices and the references you pointed me. I have to take some time to ingest it, but I definitely adopt the concept: start simple, complexify if needed. I think precision needed depends alot of the aim of the heliostat: If it's just to point PV panels toward the sun, rough precision...
- Fri May 26, 2017 9:37 am
- Forum: Programs, Libraries and Tools
- Topic: Simple Python Fixed-Point Module port ?
- Replies: 7
- Views: 7100
Re: Simple Python Fixed-Point Module port ?
Thank's alot for your answer, it help me to define what I really need. My first goal is to implement the NOAA's sun position calculation, to build an heliostat. https://www.esrl.noaa.gov/gmd/grad/solcalc/calcdetails.html The mechanical part of the heliostat will reach a 1 degre precision, so the sof...
- Wed May 24, 2017 9:04 pm
- Forum: Programs, Libraries and Tools
- Topic: Simple Python Fixed-Point Module port ?
- Replies: 7
- Views: 7100
Simple Python Fixed-Point Module port ?
Hello, What do you think about porting "Simple Fixed-Point Module" to micropython ? https://sourceforge.net/projects/pyfixedpoint/ I think it make sense because: - certain port (like esp8862) doesn't have floating point unit - software floating point is less efficient than fixed point - float point ...
- Thu Apr 20, 2017 7:26 pm
- Forum: Drivers for External Components
- Topic: PCA9685 PWM Driver
- Replies: 16
- Views: 22099
Re: PCA9685 PWM Driver
Hello, What about mixing dc motors + servos ? It seems not possible because each kind work at different frequency. servo: 50Hz, dc_motor: 1600Hz And it's a global property of the pca9685 class, so if I change it for servo, it will change for dc_motor and vise-versa... Could you confirm my guess plea...
- Sun Apr 09, 2017 4:10 am
- Forum: Drivers for External Components
- Topic: PCA9685 PWM Driver
- Replies: 16
- Views: 22099
- Tue Apr 04, 2017 7:06 pm
- Forum: Drivers for External Components
- Topic: PCA9685 PWM Driver
- Replies: 16
- Views: 22099
Re: PCA9685 PWM Driver
Thank a lot deshipu,
I understand,
I don't own a FeatherWing, but I think I can do it with a H bridge, type L298N
I understand,
I don't own a FeatherWing, but I think I can do it with a H bridge, type L298N
- Sat Apr 01, 2017 3:38 pm
- Forum: Drivers for External Components
- Topic: PCA9685 PWM Driver
- Replies: 16
- Views: 22099
Re: PCA9685 PWM Driver
hello, I'm back playing with PCA9685 and your helpful library. I see that it's also possible to drive DC motor, it's something I would want to try, but I don't understand how I should wiring it ? What kind of motor should I be able to drive ? I would like to recycle some two wire DC motors, does it ...
- Fri Jan 06, 2017 7:55 pm
- Forum: ESP8266 boards
- Topic: uos.statvfs() not available
- Replies: 1
- Views: 2099
uos.statvfs() not available
Hi,
The doc talk about uos.statvfs: https://docs.micropython.org/en/latest/ ... y/uos.html
But it's not in my firmware, daily build from: http://www.kaltpost.de/~wendlers/microp ... latest.bin from today 01/06/2017
I have missed something ?
Best regards
The doc talk about uos.statvfs: https://docs.micropython.org/en/latest/ ... y/uos.html
But it's not in my firmware, daily build from: http://www.kaltpost.de/~wendlers/microp ... latest.bin from today 01/06/2017
I have missed something ?
Best regards
- Thu Dec 15, 2016 7:28 pm
- Forum: Programs, Libraries and Tools
- Topic: [SOLVED] script that behave differently when launched from main.py than from rrepl.
- Replies: 2
- Views: 6774
Re: script that behave differently when launched from main.py than from rrepl.
Solved
I have just added:
at the beginning of my script to give it some time to connect to network.
Thanks
I have just added:
Code: Select all
import time
time.sleep(5)
Thanks