water level indicater and automated

hello frnds/sir,
i need make a project for my home use motor. i try to make code every time is come with error,i am a begginer.pls help me.here i send you structure

two display 1 lcd ,6- 7 segment and sonar hc 04
standby mode lcd and 7 seg- first line indicate water level in tank then volume then same reservoir(this line scrolling delay then scorolling delay)
7 seg (3 seg for each)thats indicate onlt % of volume of 2 tank

and second line of lcd indicate rtc(ds1307) time day and date in short form and indicate motor status automatic or manual(also that scrolling)

and time display pannel in another 6 -7 segment 12(hrs)

and lcd light on when light sensor led 7 seg always on

operation
4 input buttons two output for buzzer and relay(5v)
1- system on/select
2-up/down
3-manual motor on /off

system on->main menu
automation

Hi.. Sounds like a fun project. Please post entire code and circuit diagram. And what errors you need help with.

Thanks

hello frnds/sir,
i need make a project for my home use motor. i try to make code every time is come with error,i am a begginer.pls help me.here i send you structure

two display 1 lcd ,6- 7 segment and sonar hc 04
standby mode lcd and 7 seg- first line indicate water level in tank then volume then same reservoir(this line scrolling delay then scorolling delay)
7 seg (3 seg for each)thats indicate onlt % of volume of 2 tank

and second line of lcd indicate rtc(ds1307) time day and date in short form and indicate motor status automatic or manual(also that scrolling)

and time display pannel in another 6 -7 segment 12(hrs)

and lcd light on when light sensor led 7 seg always on

when motor on 2nd line indicate that and buzzer on

operation
4 input buttons two output for buzzer and relay(5v)
1- system on/select
2-up/down
3-manual motor on /off

system on-main display
automation
automatic
manual
set
volume set
tank 5%(increse by 5)
rsv 1 ft (increse by 1ft)
on/0ff
time set
hors/min
on/ off
timer
1, 2,3,4,5,6,7,8,10,11,12 min
on/off
back
and missing part from me pls add

pls help me

wzaggle:
Hi.. Sounds like a fun project. Please post entire code and circuit diagram. And what errors you need help with.

Thanks

thanks for helping me
here some code othe lines i dont no try but error

#include<NewPing.h>
#include<LiquidCrystal.h>
#define trig1 0
#define echo1 13
#define trig2 6
#define echo2 7
#define maximum1 100
#define maximum2 100
int usec1;
int cm1;
int usec2;
int cm2;
float inch1;
float inch2;
NewPing sonar1(trig1, echo1, maximum1);
NewPing sonar2(trig2, echo2, maximum2);
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup()
{
lcd.begin(16,2);
}

void loop()
{ lcd.clear();
lcd.setCursor(0,0);
lcd.print("Resvlevel");
usec1=sonar1.ping();
cm1=usec1/58;
inch1=(54-usec1/58/2.54)/54100;
usec2=sonar2.ping();
cm2=54-usec1/58;
inch2=54-usec2/58/2.54/54
100;
lcd.setCursor(10,0);
lcd.print(inch2);
lcd.print("%");
lcd.setCursor(0,1);
lcd.print("TankLevel");
lcd.setCursor(10,01);
lcd.print(inch1);
lcd.print("%");
delay(350);
}

First of all: please use code tags when posting your code!

So does that code do what you want it to do?
If not - what does it do and what do you want it to do?

One post on the same topic is enough.

@walakulu, please do not cross-post. Threads merged.

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom... :slight_smile:

Merry Christmas for all...

thanks for try to helping me .. i am beginner for arduino and lot of coding problem in my head. first apologize for above two posting that happened due to lost of my internet connection.

the second post(motor control) is project in my head. i got 2 uno board and pro mini board,max 8 digit 7 segment and ds rtc module and etc..still not create circuit.

In my project
first i want to write code to text scrolling with sensor value(tank level) in first line and time second line