CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Aug 20, 2019 8:48 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Aug 05, 2019 6:04 pm 
Offline

Joined: Tue Feb 27, 2018 11:50 am
Posts: 10
Hello,

I am trying to read temperature and humidity values from ASAIR AM2302 sensor. Data signal is connected to GPIO4 of raspberrypi b+ model

Overlayers and modules are added to activate one-wire communication in raspberrypi.

Queries:

- According to the data sheet, GPIO4 has to be intially configured as output and is pulled down. After few seconds, the sensor sends the data and hence GPIO has to be configured as input.
I would like to know how to dynamically change GPIO configuration of raspberrypi b+ via Codesys environment.

- I would want to know the unique ID of sensor which is not visible in w1_bus_master directory, even though the modules (w1-them) are added.

Any help is greatly appreciated

Thank you in advance.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited