On 08/12/2014 02:18 PM, Ryan Pierce wrote:
...
> Right now I plan to keep an Arduino (possibly a Mega) and a Pi in a
> cabinet that will house the power supply, relays, etc. The Pi would be
> networked, and a laptop or tablet would be the control panel. So lack of
> medm for ARM isn't all that concerning.
This seem reasonable.
> For low level IO, I think I need an Arduino. Flow rate sensors use Hall
> effect chips to generate pulses. With an Arduino I can attach the pins
> to interrupts. With a Pi or BeagleBone Black, I'd need to poll the pins
> in a tight loop looking for changes and could miss pulses, yes?
I agree, polling on a pulse train input probably won't work well.
...
> Also, I might be overreacting, but I figure keeping the low level
> control on an Arduino provides some insulation against Linux system
> crashes. In the case of failure, things will tend to stay in the same state.
IOCs in general are very reliable. Months of uptime is the norm. The
limiting factors are usually external conditions (power loss or loose
cable), user interactions (people are random), and bugs in individual
hardware drivers.
Deciding where to put your control loop isn't a decision that epics
makes for you (by design). Its also fairly easy to change your mind.
Usual making this decision is a trade off between loop time and
developer time. We like to keep both low.
I'd suggest you start by getting an IOC running with some of your
simpler/slower I/O points. This will give you something real to use
when exploring the various epics tools.
Michael
- References:
- RE: New to EPICS - system design questions Ryan Pierce
- Navigate by Date:
- Prev:
Building Cexp & GeSys with RTEMS 4.10.2 Philip Taylor
- Next:
Re: How to tag soft channels as undefined/disconnected Kellee Summers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: New to EPICS - system design questions Ryan Pierce
- Next:
how to install medm on ubuntu14.04 zengzr
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|