AtMega328p and Relays

Hi everyone. I have problem between my AtMega328p Board and 3 2-Module Relays which I want to control by a HC-05.

I tested the code on an Arduino Uno and using my phone and worked well but when I tried in the AtMega all Relays do not do anything, just stay ON independent of the innitial state.

Hi. Read please this article

and give us more information.

  1. What do you mean "I tried in the AtMega"?
  2. What is your relay modules?
  3. Give your wiring diagram (may be hand-drawn).
  4. Give your preformatted and properly pasted code.

It will be easier to help you.