3.3 relay going crazy

You can't have that board connected to your PC and to a 3.3V supply at the same time. It MUST be one or the other else you may damage the board and/or PC.

yeah as far as i kwow it doesnt matter, i donk have the link where i read it but the VIN converts 5V into the 3.3 the board needs, if you want to supply 3.3 you have to doit that way, i already tryed both and still faced the same problem

IK, i never did that.

Hello and happy holydays, sorry for the delay but here is the photo you asked for

May I suggest you to test your setup with exclusion approach.
Exclude the button in your code, for example set the threshold to 5000 or disconnect the relay trigger wire.
Does relay now trigger by itself?

1 Like

What is the purpose of JP1? JP2? How do you have those jumpers configured?

  • Think we had this relay on a thread once before.

  • Removing the two jumpers isolates the relay circuit from the Arduino power supply;
    hence DuPont wires, from a separate relay power supply, would need to be connected to the jumper pins. i.e. external 3V and external GND.

1 Like

Hi,
For that relay assembly.

1 Channel DC 3V Relay High Level Driver Module Description

The 1 Channel DC 3V Relay High Level Driver Module is a versatile and compact relay module designed for use with Arduino and other microcontroller platforms. This module features an optocoupler isolation mechanism to provide high levels of safety and protection to both the control circuit and the load. Below are the key features and details of this module:

Key Features:

  • High Level Trigger: The relay is activated by a high-level signal from the microcontroller, making it easy to integrate with Arduino and other digital logic circuits.
  • Optocoupler Isolation: Provides electrical isolation between the control circuit (Arduino) and the load, protecting sensitive components from voltage spikes and surges.
  • Wide Operating Voltage: Designed to operate at 3V, compatible with low-voltage systems.
  • Compact Design: Small form factor allows for easy integration into various projects without taking up much space.
  • LED Indicator: Onboard LED indicates the status of the relay, providing a visual confirmation when the relay is activated.
  • High-Quality Components: Made with durable materials to ensure reliable performance and long lifespan.

Technical Specifications:

  • Operating Voltage: 3V DC
  • Trigger Voltage: High-level trigger (3V)
  • Relay Type: SPDT (Single Pole Double Throw)
  • Max Switching Voltage: 250V AC / 30V DC
  • Max Switching Current: 10A
  • Isolation: Optocoupler isolation
  • Board Dimensions: Compact size (typically around 50mm x 26mm x 18.5mm)
  • Mounting Holes: Pre-drilled for easy mounting

Applications:

  • Home Automation: Control lights, fans, and other appliances.
  • Robotics: Actuate motors and other devices in robotic projects.
  • Industrial Control: Manage industrial equipment and machinery.
  • DIY Projects: Suitable for various do-it-yourself electronics projects.

How to Use:

  1. Connection: Connect the VCC and GND pins of the relay module to the 3V power supply of the Arduino or other microcontroller.
  2. Control Signal: Connect the control signal pin (IN) to a digital output pin of the Arduino.
  3. Load Connection: Connect the load (e.g., a motor or light bulb) to the common (COM) and normally open (NO) or normally closed (NC) terminals of the relay.
  4. Programming: Write a simple Arduino sketch to control the relay using digitalWrite() functions to send high-level signals to the control pin.

When the relay flicks, does the LED on the relay board also flick?

Tom.. :smiley: :+1: :coffee: :australia:

Yes, the led also start flickering at the same time with the relay eventually turning it self off

Hi,
Can you measure the 3V3 volts that is supplied to the relays while the fault occurs?

Write some simple code that JUST cycles the relays every 2 or 3 seconds.
Leave out any other code.
Write it your self.

Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.
A schematic at this stage is important, not a cut and paste Fritzy.

Tom.. :smiley: :+1: :coffee: :australia: