Search found 9 matches

by Marcelin
30 Jul 2018, 13:11
Forum: Hardware
Topic: System Watchdog
Replies: 1
Views: 5031

System Watchdog

Hi, I am using a Revpi Core connected to a Revpi DIO Module and I would like to set the system to reboot after certain time when it notices that the running code hangs on or when due to unknown problems it fails to execute. I read in the forum that this is possible from with the hardware watchdog im...
by Marcelin
25 Jul 2018, 16:33
Forum: Hardware
Topic: RevPi DIO output control
Replies: 12
Views: 22686

Re: RevPi DIO output control

Ah right!

Thanks for the hint!
by Marcelin
25 Jul 2018, 09:28
Forum: Hardware
Topic: RevPi DIO output control
Replies: 12
Views: 22686

Re: RevPi DIO output control

I recently tried to print(bits_in) and I get 255 meaning all the bits are high. But I am triggering only the input pin_4 and expecting all the other pins to be low. Did I mess something or should the pictory configuration be somehow resset? For the inputs I connected the ground on the input ground o...
by Marcelin
24 Jul 2018, 13:46
Forum: Hardware
Topic: RevPi DIO output control
Replies: 12
Views: 22686

Re: RevPi DIO output control

From the python, when input pin_4 is connected to power supply I expect the output pin_4 to be triggered and generate pulses, but it does not work so, the code runs down to the 'else condition' Here is here the picture my hardware connection and the power supply to input pin_4. Is there any presetti...
by Marcelin
23 Jul 2018, 18:45
Forum: Hardware
Topic: RevPi DIO output control
Replies: 12
Views: 22686

Re: RevPi DIO output control

Hello, Regarding my previous question I got it to work as I wished, thanks. Now I would like to ask another question regarding the input pins from Pictory. I'm trying to trigger some commands on Python based on the state of the input pins. In GPIO of normal raspberry pi this is easily done by just i...
by Marcelin
17 Jul 2018, 13:16
Forum: Hardware
Topic: RevPi DIO output control
Replies: 12
Views: 22686

Re: RevPi DIO output control

Hi,

thanks for the helpful information. I'll check the piControl Tutorial and try it again.
Thanks!

Best regards,
Marcelin
by Marcelin
17 Jul 2018, 11:26
Forum: Hardware
Topic: RevPi DIO output control
Replies: 12
Views: 22686

Re: RevPi DIO output control

Hi, thanks for the hint. I have the following response: pi@RevPi5038:~ $ piTest -d Found 2 devices: Address: 0 module type: 95 (0x5f) RevPi Core V1.2 Module is present input offset: 0 length: 6 output offset: 6 length: 5 Address: 32 module type: 96 (0x60) RevPi DIO V1.3 Module is present input offse...
by Marcelin
17 Jul 2018, 10:27
Forum: Hardware
Topic: RevPi DIO output control
Replies: 12
Views: 22686

Re: RevPi DIO output control

Hi, Thanks for your reply! I am using a RevPi Core with a single DIO module. I am trying to generate PWM-like pulses which will be used by another device for decoding specific commands. The first time I logged into Pictory there was no module in it, but a blank "0" space where I dragged th...
by Marcelin
16 Jul 2018, 12:46
Forum: Hardware
Topic: RevPi DIO output control
Replies: 12
Views: 22686

RevPi DIO output control

I am trying to trigger pwm pulses with a frequency of 2.5Hz but just found that on pictory it is only possible for a certain number of frequency values (40Hz being the lowest possible value). Then I wrote a simple python script in order to switch the output pins ON and OFF with certain time sleep. H...