PRU PID Motor Speed Controller Using RemoteProc and RPMsg

60 views
Skip to first unread message

Greg

unread,
Dec 11, 2016, 7:33:10 PM12/11/16
to BeagleBoard
Here is a quick overview of this project at youtube:


This is based on the example project from Texas Instruments:


I have used the latest Debian version 8 Beaglebone Green IOT image.
There was a bit of hacking to convert to the System Interrupts from the older Mailbox implementation.
All hacking was done on the BBG using the clpru compiler.  I did not use IDE or crosscompiler to get this to work.

A very minor change to a Device Tree file was required.  Thanks to Robert Nelson's scripting, this process was trivial!

Also, I used a different DC motor-encoder I found on eBay.  It works perfectly with this project and is slightly cheaper than the recommended motor/encoder.

I will publish to Github with documentation soon.
I think the project is really cool, and the material provided by Texas Instruments is amazing and a huge help in showing how to use C programming with the PRU and Remoteproc/RPMsg!

Regards,
Greg

Jason Kridner

unread,
Dec 11, 2016, 11:57:32 PM12/11/16
to beagl...@googlegroups.com
Thanks for this! Care to post the same with some details on the steps and code to Hackster.io?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b3398633-1252-47ca-a986-19230f33c68d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Greg

unread,
Dec 12, 2016, 6:38:11 AM12/12/16
to BeagleBoard


On Sunday, December 11, 2016 at 11:57:32 PM UTC-5, Jason Kridner wrote:
Thanks for this! Care to post the same with some details on the steps and code to Hackster.io?

Yes, I was already planning to upload the project to Hackster.io.
I've got a few hours of work to do on the documentation and cleaning up the repository.

Will post an update when I get it published.

Regards,
Greg

mariselaf...@yahoo.com

unread,
Dec 12, 2016, 7:19:35 AM12/12/16
to beagl...@googlegroups.com

--------------------------------------------
On Mon, 12/12/16, Jason Kridner <jkri...@gmail.com> wrote:

Subject: Re: [beagleboard] PRU PID Motor Speed Controller Using RemoteProc and RPMsg
To: beagl...@googlegroups.com
Date: Monday, December 12, 2016, 6:57 AM

Thanks
for this! Care to post the same with some details on the
steps and code to Hackster.io?
On Dec 11,
2016, at 7:33 PM, Greg <soapy...@comcast.net>
wrote:

Here is a quick overview of
this project at youtube:
https://youtu.be/wzNGHVjAqL8

This is
based on the example project from Texas
Instruments:
http://www.ti.com/tool/tidep0073

I have
used the latest Debian version 8 Beaglebone Green IOT
image.There was a bit of hacking to convert to
the System Interrupts from the older Mailbox
implementation.All hacking was done on the BBG
using the clpru compiler.  I did not use IDE or
crosscompiler to get this to work.
A very minor change to a Device Tree
file was required.  Thanks to Robert Nelson's
scripting, this process was trivial!
Also, I used a different DC
motor-encoder I found on eBay.  It works perfectly with
this project and is slightly cheaper than the recommended
motor/encoder.
I will
publish to Github with documentation soon.I think
the project is really cool, and the material provided by
Texas Instruments is amazing and a huge help in showing how
to use C programming with the PRU and
Remoteproc/RPMsg!
Regards,Greg




--

For more options, visit http://beagleboard.org/discuss

---

You received this message because you are subscribed to the
Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails
from it, send an email to beagleboard...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b3398633-1252-47ca-a986-19230f33c68d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

For more options, visit http://beagleboard.org/discuss

---

You received this message because you are subscribed to the
Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails
from it, send an email to beagleboard...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/530DA12C-781A-41DC-94EB-9520D050D87B%40gmail.com.

For more options, visit https://groups.google.com/d/optout.
ata de acest act care nu contine decat curatul adevar si este icoana credincioasa a erintelor si nedreptatilor seculare ce le indura poporul roman din Transilvania si Ungaria trebuia i egimul ori sa se desvinovateasca ori sa-si rasbune

lorriane...@yahoo.com

unread,
Dec 12, 2016, 10:44:29 AM12/12/16
to beagl...@googlegroups.com

--------------------------------------------
On Mon, 12/12/16, mariselafortenberry via BeagleBoard <beagl...@googlegroups.com> wrote:

Subject: Re: [beagleboard] PRU PID Motor Speed Controller Using RemoteProc and RPMsg
To: beagl...@googlegroups.com
Date: Monday, December 12, 2016, 7:08 AM
https://groups.google.com/d/msgid/beagleboard/2030396546.1040740.1481519286809%40mail.yahoo.com.
For more options, visit
https://groups.google.com/d/optout.n perioada stalinizarii tarii partidul comunist a concentrat in mod absolut puterea in mainile sale. Devenit principalul agent executor al unui sistem politic dictatorial partidul si-a sporit randurile de la 720 000 membri in 1950 la 1 450 000 in 1965. intre 1945-1947 chiar si o parte dintre fostii simpatizanti ai Garzii de Fier si-au gasit refugiul in randurile comunistilor.

treadwel...@yahoo.com

unread,
Dec 12, 2016, 1:37:04 PM12/12/16
to beagl...@googlegroups.com

--------------------------------------------
On Mon, 12/12/16, lorrianemayfield via BeagleBoard <beagl...@googlegroups.com> wrote:

Subject: Re: [beagleboard] PRU PID Motor Speed Controller Using RemoteProc and RPMsg
To: beagl...@googlegroups.com
Date: Monday, December 12, 2016, 5:44 PM
https://groups.google.com/d/msgid/beagleboard/1148960508.1168854.1481557460599%40mail.yahoo.com.
For more options, visit
https://groups.google.com/d/optout.1 ian. - Prima Constitutie a U.R.S.S. oct. nov. - U.R.S.S. este recunoscuta de Franta Anglia Italia Austria Norvegia Suedia China.
Reply all
Reply to author
Forward
0 new messages