Home
Test
home
(WikiPage)
Project Members: Ingo (admin)
Last updated: 2021-06-25
home Discussion
Test
home
(Discussion)
Forum for home comments
Last updated: 2021-06-25
(no subject)
Test
home
(Thread)
Last updated: 2021-06-25
Test SVN repository
Test
code
(SVN Repository)
Last updated: 2021-06-25
Home
elee123
wiki
(WikiPage)
This is the personal project of elee123. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2021-06-25
wiki Discussion
elee123
wiki
(Discussion)
Forum for wiki comments
Last updated: 2021-06-25
blog Discussion
elee123
blog
(Discussion)
Forum for blog comments
Last updated: 2021-06-25
(no subject)
elee123
wiki
(Thread)
Last updated: 2021-06-25
wiki Discussion
jakecfullerton
wiki
(Discussion)
Forum for wiki comments
Last updated: 2021-06-26
blog Discussion
jakecfullerton
blog
(Discussion)
Forum for blog comments
Last updated: 2021-06-26
(no subject)
jakecfullerton
wiki
(Thread)
Last updated: 2021-06-26
Home
jakecfullerton
wiki
(WikiPage)
This is the personal project of jakecfullerton. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2021-06-26
wiki Discussion
benjamindp
wiki
(Discussion)
Forum for wiki comments
Last updated: 2021-06-27
blog Discussion
benjamindp
blog
(Discussion)
Forum for blog comments
Last updated: 2021-06-27
(no subject)
benjamindp
wiki
(Thread)
Last updated: 2021-06-27
Home
benjamindp
wiki
(WikiPage)
This is the personal project of benjamindp. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2021-06-27
Home
fhoe
wiki
(WikiPage)
This is the personal project of fhoe. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2021-06-28
wiki Discussion
fhoe
wiki
(Discussion)
Forum for wiki comments
Last updated: 2021-06-28
blog Discussion
fhoe
blog
(Discussion)
Forum for blog comments
Last updated: 2021-06-28
(no subject)
fhoe
wiki
(Thread)
Last updated: 2021-06-28
Home
ralphdj
wiki
(WikiPage)
This is the personal project of ralphdj. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2021-06-28
wiki Discussion
ralphdj
wiki
(Discussion)
Forum for wiki comments
Last updated: 2021-06-28
blog Discussion
ralphdj
blog
(Discussion)
Forum for blog comments
Last updated: 2021-06-28
(no subject)
ralphdj
wiki
(Thread)
Last updated: 2021-06-28
Home
GPIOMods
home
(WikiPage)
Download package codefailed Preface This is a collection of soft mods for the generic I/Os of a Linux based PLC. It can be used for example with Raspberry Pi, Beagle Bone Black. The Linux Scheduler and some specific circuits are used to implement different things, which would require more complicated hardware, otherwhise. GPIO PWM The function block, called "SoftPWM" is a soft PWM driver that makes use of a standard digital Output Pin. The Interval is constantly changed, to achieve the precise timing which is necessary to fulfill the requirements of the specified duty cycle. It has to be used from a separate, high priority task, which drives the output. But as the interval of this task constantly changes, you should best not add anything else to this task. A common mistake that's made is, that one uses the same FB instance in multiple tasks to generate the PWM signals. That can't work, because it would mess up the timing calculations in the FB. So best you instantiate the FB in a PRG, which you are used in exactly one task. Known issues The I/O driver of the Raspberry Pi seems to have a problem when it is called from multiple tasks. In this case, the PWM signal in software is generated correctly, but the output is updated in the wrong sequence. But, as it was the first target, which I personally used, its proven, that one task works pretty well 😉 GPIO AIN The function block "SoftAIN" is implementing the sampling of a so called "Poor man's ADC". It just uses a small variation from the widely documented "Poor man's ADC", by using two GPIOs, instead of just one. The advantage of this approach is, that we are more flexible in the selection of I/O drivers, which can be used with that. Virtually every combination of a digital input and output can be used to sample an analog input. We are using the digital output as the VRef. This way, it is easy to safely pull down the capacitors current, as the output is pulling down only the current, which itself loaded before.
Last updated: 2021-06-29