Categories

Programmable relay switch using PIC MCU (revised version)

Posted on Thursday, June 30th, 2016 in PIC by DP

Timer_Title1-600

Raj has documented his DIY programmable relay switch using PIC16F1847 microcontroller:

Here are the summary of the features that this programmable relay switch has:

  • On-board +5V voltage regulator (operates at 9-15V DC input)
  • OFF and ON time setup for the relay operation
  • Option for cyclic run (maximum 100 cycles, after which the timer stops automatically)
  • Stores ON/OFF times and Cyclic option from previous setup into internal EEPROM
  • ON/OFF timing range: 0 to 99 hours and 59 minutes with 1 min resolution
  • Interactive user interface using 4 tact switches and a character LCD
  • On-board buzzer alarm

More details at Embedded Lab site.

Check out the video after the break.

This entry was posted on Thursday, June 30th, 2016 at 2:51 pm and is filed under PIC. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

4 Responses to “Programmable relay switch using PIC MCU (revised version)”

  1. KH says:

    Hey folks, you should check out the schematics and the PCB…
    Can anyone justify the optocoupler?
    Both sides of the 4N35 are running on VCC, what is he trying to isolate anyway?
    Then he marked out a mains voltage area in the silkscreen but the copper fill looks to be poured everywhere, I looked very hard for breaks in the fill but didn’t see any. Gee, I would not have approved of this ver 1.4 board for production nor would I recommend this board to anyone.

    • Holy flying spaghetti monster, I see your point! Not a sign of isolation around the HV traces. That 4N35 is useless – the relay itself will take care of isolation. I hope he sees this before any get sold and fry somebody…..

  2. KH says:

    Then again, the HV silkscreen area is incorrect too, it should not cover all of the relay…

  3. freewheelingdiode says:

    My goodness, that was scary. A PCB designer who knows that there will be a deadly high voltage section in his design will always check and verify everything. Can’t believe this passed on their PCB design review before being sent for fabrication.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Daniel: Looks like someone made an order with Arrow. ;)
  • Paul Robertson: Count me in
  • Chris Jennings: I too like the cold and snow (it means no grass mowing). Now I can focus on fun stuff like hobby boards and woodworking.
  • flubba86: Commenting for fun and profit.
  • Sohan: If wishes were PCBs, beggars would be soldering!