Code needed

I am making a project in which an Arduino is used to switch between multiple power such as normal supply, battery, solar by using relays for each source. I have everything ready except the source code required to run this.

It would be very helpful if someone helped me out with the code. As I dont know much about coding. And o have a week till deadline.

I am uploading the block diagram... Ignore the gsm module based part.

I just need the that will help run the project..

Any help is appreciated

FLHD8WTIU1KSF1W.SMALL.jpg

You need to provide more information than that. For instance

  • when is the arduino- hence code- to switch between power sources
  • are there any sensors connected - block diagram there are none
  • Is the LCD I2C and even in that case it will need more than one wire from the arduino

The low resolution block diagram also does not help..

Discussion moved to Gigs.

Thread locked.