Experimental Physics and Industrial Control System
|
|
Subject: |
Re: Consultation: connecting I2C/SPI devices to network |
|
From: |
Kuldeep Joshi via Tech-talk <[email protected]> |
|
To: |
[email protected] |
|
Date: |
Wed, 17 Dec 2025 04:26:06 +0000 |
Hello Florian, I have superficially seen your code for the I2C to CA/PVA module. I have a quick query regarding this, you have patched the asyn module due to some issue. Can you please elaborate on this. If I want to use the asyn module along with Modbus, what will be the issues faced while using this patched module??
Regards, Kuldeep Joshi
Date: Mon, 15 Dec 2025 11:30:39 +0100
From: Florian Feldbauer <[email protected]>
To: [email protected]
Subject: Re: Consultation: connecting I2C/SPI devices to network
Message-ID:
<[email protected]" target="_blank">[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hey Gabriel,
I typically use a Raspberry Pi to readout devices via I2C.
For this task I wrote a small i2c device support module, that uses
Stream Device + Asyn (https://urldefense.us/v3/__https://github.com/ffeldbauer/drvAsynI2C__;!!G_uCfscf7eWS!dYsKvtCymp2YJMjpT9hlV9epBG8rvC8U0HFXjj2UxUg0CSKQmX3WB7Ztk9HxUrleo9Jl6mVuLC1Yale1CcceS7vzniRnZn_gqG4$ )
It does not make the I2C communication directly accessible on network,
but it makes all the data points accessible via CA/PVA through an EPICS IOC.
If you really want to have a I2C to Ethernet bridge, I would most likely
use a RP2040 or ESP32 microcontroller and implement a simple UDP or TCP
protocol exchanging either ASCII or raw "strings" containing the data.
HTH,
Florian
On 12/15/25 10:43, Gabriel Fedel via Tech-talk wrote:
> Dear tech-talk,
>
> Any experience or suggestion of bringing hardware communicating I2C
> and/or SPI to be accessible on network?
> Maybe even some EPICS integration experience on them ?
>
> Thanks in advance
--
Ruhr-Universit?t Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universit?tsstr. 150
D-44801 Bochum
Office: NB 2/134
Phone: (+49)234 / 32-23563
Fax: (+49)234 / 32-14170
https://urldefense.us/v3/__https://paluma.ruhr-uni-bochum.de__;!!G_uCfscf7eWS!dYsKvtCymp2YJMjpT9hlV9epBG8rvC8U0HFXjj2UxUg0CSKQmX3WB7Ztk9HxUrleo9Jl6mVuLC1Yale1CcceS7vzniRnpShNwVk$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/tech-talk/attachments/20251215/a99f6806/attachment.html>
- Replies:
- Re: Consultation: connecting I2C/SPI devices to network Florian Feldbauer via Tech-talk
- Navigate by Date:
- Prev:
Re: Modbus configuration issues for the Shimaden SRS10A series digital controllers Mark Rivers via Tech-talk
- Next:
Re: Consultation: connecting I2C/SPI devices to network Gabriel Fedel via Tech-talk
- 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
<2025>
2026
- Navigate by Thread:
- Prev:
Re: Consultation: connecting I2C/SPI devices to network Gabriel Fedel via Tech-talk
- Next:
Re: Consultation: connecting I2C/SPI devices to network Florian Feldbauer via Tech-talk
- 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
<2025>
2026
|
|
ANJ, 19 Mar 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
·
Distributions
·
Download
·
Documents
·
Links
·
Licensing
·
|