PiDAlib (pre-release discussion)

Moderator: Steve

PiDAlib (pre-release discussion)

Postby alanmcdonley » Thu Aug 13, 2015 7:34 pm

deleted - obsolete
Last edited by alanmcdonley on Sun Aug 30, 2015 9:15 am, edited 1 time in total.
alanmcdonley
 
Posts: 91
Joined: Thu Jul 23, 2015 10:50 am
Location: Boynton Beach, Florida

Re: PiDAlib (pre-release discussion)

Postby mikronauts » Fri Aug 14, 2015 8:48 am

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.
mikronauts
 
Posts: 119
Joined: Tue Sep 16, 2014 6:58 pm

Re: PiDAlib (pre-release discussion)

Postby alanmcdonley » Tue Aug 25, 2015 4:47 am

deleted - obsolete
Last edited by alanmcdonley on Sun Aug 30, 2015 9:14 am, edited 1 time in total.
alanmcdonley
 
Posts: 91
Joined: Thu Jul 23, 2015 10:50 am
Location: Boynton Beach, Florida

Re: PiDAlib (pre-release discussion)

Postby mikronauts » Tue Aug 25, 2015 7:09 am

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...)
mikronauts
 
Posts: 119
Joined: Tue Sep 16, 2014 6:58 pm

Re: PiDAlib (pre-release discussion)

Postby mikronauts » Tue Aug 25, 2015 7:55 am

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
mikronauts
 
Posts: 119
Joined: Tue Sep 16, 2014 6:58 pm


Return to Pi Droid Alpha

Who is online

Users browsing this forum: No registered users and 2 guests

cron