Hi dear,
I am using sam3s4c micro controller.using gpio pin out we are connect 12v relays.without connecting relays controller working fine.. In Firmware we are using watchdog. with connecting relays controller should be hang and also controller reset button not working and programmer reset also not working. Only the way is switch off/on controller..Please solve my query.. thanks in advance..
sam3s4c Hang
- blue_z
- Location: USA
Post
Re: sam3s4c Hang
You could be drawing too much current from the GPIO pin(s).
Use Ohm's Law to calculate the current required by the relay's primary.
Compare that to the spec in the SoC datasheet.
Regards
Use Ohm's Law to calculate the current required by the relay's primary.
Compare that to the spec in the SoC datasheet.
Regards
Post
Re: sam3s4c Hang
If you connect 12V relay coils directly to the I/O pins, you are lucky if the chip has not blown up. The absolute maximum voltage on the I/O pins is 4V.
You need to use a relay driver chip, e.g. ULN2003, and the coils need diodes to control the inductive voltage kick on turn-off.
You need to use a relay driver chip, e.g. ULN2003, and the coils need diodes to control the inductive voltage kick on turn-off.
Return to “SAM3 Cortex-M3 MCU”
Who is online
Users browsing this forum: No registered users and 3 guests