2

A very simple

digitalwrite(pin, HIGH)
delay(1200)
digitalwrite(pin, LOW)
delay(1200)

crashes the uno after about half an hour. Of course it works again after pressing the reset button.

It's switching this relay

relay

Which is connected to a 230v 80W DC motor. The relay cuts the '+'

Because I've read that 230v stuff can be too much for such a litte relay, I've disconnected the motor and not the relay switches another 24v OMRON P2RF-05-PU (10A250VAC) relay, which has his own 24V Mean Well power supply. And connected the motor to that one.

I thought this solved my problem, but now the Arduino crashes after about 3 hours.
Any thoughts on what else I could try?

user31208
  • 49
  • 7
  • Neither of those relays are rated for 230VDC, only 230VAC. The DC rating is usually about a tenth of the AC rating. You will destroy the relay contacts, cause massive arcs, and lots and lots of EMI while it switches. Get the right relays for the job. – Majenko Oct 05 '17 at 09:27
  • Apologies, should have mentioned: the motor is rated 230VAC 80W 50hz. The AC to DC conversion is done within the motor. – user31208 Oct 05 '17 at 11:43
  • You may want to brush up on switching theory WRT arcs: https://en.wikipedia.org/wiki/Arc_suppression – Majenko Oct 05 '17 at 11:44
  • Nothing to brush up, only learning new stuff for me. From what I've read, I should try a solidstate. Going to do that tomorrow. – user31208 Oct 05 '17 at 13:07
  • post the complete source. In my project I have two 30 A 230VAC relays and one 10 A 230 VAC relay and other sensors and actuators connected to Uno WiFi working all day – Juraj Oct 05 '17 at 14:06

0 Answers0