Page 1 of 1

PiDAlib (pre-release discussion)

PostPosted: Thu Aug 13, 2015 7:34 pm
by alanmcdonley
deleted - obsolete

Re: PiDAlib (pre-release discussion)

PostPosted: Fri Aug 14, 2015 8:48 am
by mikronauts
That looks correct!

Regarding VBat, if you divide it down to the 0-5V range, then you can feed it to AIN8 for example, to keep monitoring the motor battery.

I'd suggest

GND --- 10k ----- AIN8 ----- 10k ----- VBat

which would allow batteries up to 10V to be measured.

Re: PiDAlib (pre-release discussion)

PostPosted: Tue Aug 25, 2015 4:47 am
by alanmcdonley
deleted - obsolete

Re: PiDAlib (pre-release discussion)

PostPosted: Tue Aug 25, 2015 7:09 am
by mikronauts
Hi Alan,

RoboPiLib.so is not compatible with PiDroidAlpha as it requires a RoboPi board, with the co-processor.

It talks to the firmware on the co-processor using the TX/RX pins, which performs the servo/pwm/input/output/analog input functions, and returns the result.

PiDroidAlpha performs similar functions using the pigpio and smbus libraries, using up all of the GPIO pins on the 26 pin GPIO connector.

I will release the first version of PDALib.py shortly (perhaps later today), I just need to clean it up a bit.

The release of the User Manual and PDALib.py was delayed due to some urgent work.

Note: readDistance() is not yet functional, however I am working on it.

alanmcdonley wrote:I want a PiDA branded library. I do not know python or swig, but I always learn lots from my mistakes.

Anyone know if the below PiDAlib.py will transform RoboPiLib.so into PiDAlib?

(Changing the name of the .so will be next...)

Re: PiDAlib (pre-release discussion)

PostPosted: Tue Aug 25, 2015 7:55 am
by mikronauts
I've uploaded PDALib.py v0.90 to the Pi Droid Alpha product page :)

http://www.mikronauts.com/raspberry-pi/pi-droid-alpha/

After downloading, rename file as PDALib.py