Search found 791 matches

by OutoftheBOTS_
Sat Mar 03, 2018 5:38 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 462
Views: 176002

Re: MicroPython on ESP32 with SPIRAM support

As laboris keeps adding more and more features it is likely to end up with even more multiple topics being discussed at once. Since I haven't yet learnt to use github yet I am nor sure what discussions is happening there. To my understanding the development of the official port of MP for ESP32 is sl...
by OutoftheBOTS_
Fri Mar 02, 2018 8:57 pm
Forum: Drivers for External Components
Topic: PCA9865 16 servo controller board using I2C.
Replies: 17
Views: 10306

Re: PCA9865 16 servo controller board using I2C.

@deshipu I don't own the ideas I just have them from time to time. I think it is fine for you to use anyone's idea that they share publicly.

I am at a loss why python would use radians as standards units for trig functions and not degree in the first place.
by OutoftheBOTS_
Fri Mar 02, 2018 11:01 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 462
Views: 176002

Re: MicroPython on ESP32 with SPIRAM support

It is also important to calibrate the gyro (although called gyro it is a centrifugal force sensor that allows for a software gyro to be created). When you sit the sensor still and read the gyro you will find it won't read exactly zero even though it is still. To create a software gyro you measure th...
by OutoftheBOTS_
Fri Mar 02, 2018 4:51 am
Forum: Drivers for External Components
Topic: PCA9865 16 servo controller board using I2C.
Replies: 17
Views: 10306

Re: PCA9865 16 servo controller board using I2C.

I may end up porting across the RPi driver that I wrote as well for anyone that wants to use it because it makes use of the PCA9865 ability to stagger the pulses so that no 2 of the 16 servo are kicking at once. This greatly reduces the huge spike in current that is caused when 16 servo all try to r...
by OutoftheBOTS_
Thu Mar 01, 2018 8:40 pm
Forum: Drivers for External Components
Topic: PCA9865 16 servo controller board using I2C.
Replies: 17
Views: 10306

Re: PCA9865 16 servo controller board using I2C.

@deshipu Also a very nice driver too. It is handy that it can take position in radians as all Python trig function return radians. The driver that I wrote for the PCA9865 for the RPi I wrote using degrees but then when I made my quadraped robot that was a pain because I use python Trig functions to ...
by OutoftheBOTS_
Thu Mar 01, 2018 8:23 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 462
Views: 176002

Re: MicroPython on ESP32 with SPIRAM support

@tuupola

Just a question on your MPU9250 driver. Does your driver read the raw data from the raw data registers or does it read the data after the calibration has been added from the FIFO register??
by OutoftheBOTS_
Thu Mar 01, 2018 1:02 pm
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 462
Views: 176002

Re: MicroPython on ESP32 with SPIRAM support

Thanks tuupola for the MPu9250 driver. :)

At this rate I won't have any coding left to do as everyone seems to be writing it for me
by OutoftheBOTS_
Thu Mar 01, 2018 5:28 am
Forum: Drivers for External Components
Topic: PCA9865 16 servo controller board using I2C.
Replies: 17
Views: 10306

Re: PCA9865 16 servo controller board using I2C.

you would just need to change a couple of lines of code for the address to be select-able

Code: Select all

def __init__(self, aSDA, aSCL, slave_address=0x40)
  self._ADDRESS = slave_address
This would then use the default address of 0x40 but allow the user to use a different address if they need
by OutoftheBOTS_
Thu Mar 01, 2018 5:21 am
Forum: Drivers for External Components
Topic: PCA9865 16 servo controller board using I2C.
Replies: 17
Views: 10306

Re: PCA9865 16 servo controller board using I2C.

currently the address that you use for the PCA9865 is _ADDRESS = 0x40 but this address is select-able for the PCA9865. Most servo boards that use this chip will have solder pad that you jump to change the slave address (they work like binary numbers). If you want to use more than 1 board at a time t...
by OutoftheBOTS_
Wed Feb 28, 2018 9:27 pm
Forum: Drivers for External Components
Topic: PCA9865 16 servo controller board using I2C.
Replies: 17
Views: 10306

Re: PCA9865 16 servo controller board using I2C.

Thanks a lot for the driver it is a chip that I use a lot on my robots. Your driver is nice and light weight but very functional and easy to use. Is it MIT? Also 1 change that I will make when I use it is add the option to choose the slave address as PCA9865 has a select-able address which I very oc...