Closed ptorrent closed 6 years ago
Hello, DOUTs work only as very weak 5V sources, which is sufficient for e.g. TTL logic circuits. For switching loads, you must use the DOUT as sink, it is an open collector, switching to GND.
See section 3.2.4 of the Monarco HAT Hardware reference guide, namely image 3.5, DOUT1. You will need an external 5V power supply.
Alternatively you can switch to 12V or 24V relays, depending on the power source of your setup. That way you could power both the Monarco HAT and the relays from the same power supply.
Hope this helps, let me know.
With kind regards, Jaroslav
Hello,
I'm sorry but I really do not understand. Before Monarco Hat, we used the raspberry Piface (power supply 5V 8 DO / DI) and it worked very well. We went on Monarco for the din rail version and more professional. What’s the difference between PiFace DO and Monarco Hat DO ?
Meilleures salutations.
Torrent Patrick
Weble Sàrl
Web : http://www.weble.ch http://www.weble.ch
Tél. : +41792657982
Mail : mailto:ptorrent@weble.ch ptorrent@weble.ch
From: jaroslavsobota [mailto:notifications@github.com] Sent: lundi, 29 janvier 2018 15:54 To: monarco/monarco-hat-driver-nodejs monarco-hat-driver-nodejs@noreply.github.com Cc: ptorrent ptorrent@weble.ch; Author author@noreply.github.com Subject: Re: [monarco/monarco-hat-driver-nodejs] Digital output (#3)
Hello, DOUTs work only as very weak 5V sources, which is sufficient for e.g. TTL logic circuits. For switching loads, you must use the DOUT as sink, it is an open collector, switching to GND.
See section 3.2.4 of the Monarco HAT Hardware reference guide https://github.com/monarco/monarco-hat-documentation/blob/master/Monarco_HAT_Hardware_Reference_Manual.pdf , namely image 3.5, DOUT1. You will need an external 5V power supply.
Alternatively you can switch to 12V or 24V relays, depending on the power source of your setup. That way you could power both the Monarco HAT and the relays from the same power supply.
Hope this helps, let me know.
With kind regards, Jaroslav
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/monarco/monarco-hat-driver-nodejs/issues/3#issuecomment-361269631 , or mute the thread https://github.com/notifications/unsubscribe-auth/AFzUPChcIE5vFIJ2oxzj0hQq7as6H33rks5tPdtygaJpZM4RwaAZ . https://github.com/notifications/beacon/AFzUPMPtnUAFnBHoJ1SMRGFq8oW2FPL6ks5tPdtygaJpZM4RwaAZ.gif
Hi again, the DO of PiFace Digital works as source for the 5V circuit with the relay coil.
On the contrary, the DO of the Monarco HAT is designed as sink, it works as GND for the 5V circuit with the relay coils.
If you can send your circuit schematics with PiFace Digital, I'll prepare the schematics with Monarco HAT for you. Btw, what relays are you trying to control?
Let me know and I'll be happy to help.
Hi again,
Thanks for your reply !
We are using this relay:
OK, the relay accepts 4..32VDC control signal, therefore this should work for you:
Does it fix the issue?
Hello,
I'm using DOUT1,2,3,4.
When I activate the output, I have 5 V. When I plug a 5 V relay, it never triggers and I have ~1V per output...
Digital Input working well.
What am I doing wrong?
Thanks for your help !