Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Does somebody have an idea of how to translate the Python program deposited in the appendix into CODESYS?
It is a program that makes it possible to read temperature and humidity with a HiH6130 Sensor connected to the MCP3421 18bit ADC
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey guys,
so.. I started up with this but im always getting "???" where at len.
Does somebody know what i am doing wrong?
The Python program works perfectly
I'm just having some problems with the communication. I only need help with that. So that i can access the MCP3421
It seems like the "Timer.Q" doesnt trigger and i don't know why
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wrote a library and a device description for the MCP3421 with a type-K temperature sensor connected to the pi.
It's poor written but it's a start and it works for me
i hope anyone else can maybe make use of this too.
Does somebody have an idea of how to translate the Python program deposited in the appendix into CODESYS?
It is a program that makes it possible to read temperature and humidity with a HiH6130 Sensor connected to the MCP3421 18bit ADC
just a quick hint or something would be sweet
Hey guys,
so.. I started up with this but im always getting "???" where at len.
Does somebody know what i am doing wrong?
The Python program works perfectly
I'm just having some problems with the communication. I only need help with that. So that i can access the MCP3421
It seems like the "Timer.Q" doesnt trigger and i don't know why
Hi,
you sometimes need to make a watchlist of some variable to see some variables. I don't know all conditions but complex variables like ARRAY need it.
/TorbjΓΆrn
I wrote a library and a device description for the MCP3421 with a type-K temperature sensor connected to the pi.
It's poor written but it's a start and it works for me
i hope anyone else can maybe make use of this too.
I2C_MCP3421.library [327.35 KiB]
I2C_MCP3421.devdesc.xml [2.98 KiB]