EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Accessing Raspberry Pi GPIO through EPICS
From: <[email protected]>
To: <[email protected]>, <[email protected]>
Cc: [email protected]
Date: Wed, 14 Aug 2013 07:56:23 +0000

Hi,

 

For developing modern age EPICS ‘driver support’ for something like the PI GPIO I would definitely suggest using the asyn module: http://www.aps.anl.gov/epics/modules/soft/asyn/

 

I find the easiest to get going quickly is to use the asynPortDriver C++ class – extend it with the PI GPIO C libraries and your driver can be implemented in just a single class with a few methods. Docs and examples are pretty good in asyn: http://www.aps.anl.gov/epics/modules/soft/asyn/R4-21/asynDriver.html#asynPortDriver

 

Cheers,

Ulrik

 

From: [email protected] [mailto:[email protected]] On Behalf Of Florian Feldbauer
Sent: 14 August 2013 08:25
To: Peter Linardakis
Cc: [email protected]
Subject: Re: Accessing Raspberry Pi GPIO through EPICS

 

Hey Peter,

to access the GPIOs from EPICS you need to write a device support module using the C-libraries.

Unfortunately there is no good documentation on this topic for beginners that I know of...
I could provide you my device support for reading out DS18S20 Dallas-1-Wire Temperature sensors using the Pi as a starting point.

Best regards,
Florian

On 08/14/2013 02:09 AM, Peter Linardakis wrote:

Hello all...

We are exploring the idea of using Raspberry Pi for basic digital IO tasks.  The idea is that we could avoid deploying other IOCs and possibly wasting many other IOC ports.
  I have EPICS running on a Raspberry Pi with a test record DB (soft records only) and it is successfully communicating across the network.  I know how to directly access the GPIO pins while on the Pi (through C libraries etc.), but I do not know the first thing about how to get to those pins through EPICS.

Any advice or direction would be much appreciated.  I am relatively new to EPICS development
but am experienced with with maintenance of EPICS records and the like.

Regards
Peter


Dr Peter Linardakis

Accelerator Research &Development Engineer

Nuclear Physics | Research School of Physics and Engineering

Australian National University

e: [email protected]

p: (02) 6125 2862




-- 
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 45         |
| D-55128 Mainz                        |
|                                      |
| Office: 01/102                       |
| Phone:  (+49)6131 / 39-27373         |
----------------------------------------

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 



References:
Accessing Raspberry Pi GPIO through EPICS Peter Linardakis
Re: Accessing Raspberry Pi GPIO through EPICS Florian Feldbauer

Navigate by Date:
Prev: Re: Accessing Raspberry Pi GPIO through EPICS Florian Feldbauer
Next: Re: Accessing Raspberry Pi GPIO through EPICS Peter Milne
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Accessing Raspberry Pi GPIO through EPICS Florian Feldbauer
Next: Re: Accessing Raspberry Pi GPIO through EPICS Peter Milne
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·