Pages: [1]   Go Down
Author Topic: control lcd  (Read 1575 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

how to control to lcd? i have in lcd 3 current i want to change or turn off one from lcd??
Logged

0
Offline Offline
Shannon Member
****
Karma: 161
Posts: 10431
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You will need to explain:

* exactly which LCD (link to datasheet is ideal, part number is better than nothing)

* what you want to achieve in detail

* which Arduino you have

And optionally:

* what you've tried already

* supply any code you've got and explain what its trying to do and what is failing.
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My project is:
1-   I have 3 devices (refrigerator, washing machine and a television) I need to take a current for each device and connect it to the Arduino (done that by the ct sensor and connected them , and I want to display on the LCD how much of current I consume from the maximum to the minimum)
2-   I have 2 sources of electricity connected to the arduino : governmental and the generator (but I don’t know how to connect  them).I need when the governmental electricity goes off the higher 2 currents shown on the LCD goes off and keep the 3rd  and after discussion turn the generator on and keep the 3rd device on, and in case the governmental electricity came give it the priority.
3-   I want to use an Automatic/manual button, in case automatic is chosen the system does what is explained in (number 2) and in case of manual I can choose from the LCD from the devices on which one to turn it off.


* Untitled.png (81.71 KB, 2268x1872 - viewed 21 times.)
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 64
Posts: 6893
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think the answer is apparent. Refrigerator current > washing machine > TV, unless you have something uncommon. Apart from this, you could get a 20*4 character display for info.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

1) my main question how to control LCD
for example: lcd display: ref.: 3A is
                                              washer: 2A is
                                              tv: we 1.5A
I want to change it for off from lcd

2) my first step is to read current for each devices and display to lcd in way as to example
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 64
Posts: 6893
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to change it for off from lcd

I don't understand. Your poor English is not helping. Can you use a translator? Maybe native English speaker can guess what you mean but I can't.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

display at lcd make
ref:3A turn on
washer:2A turn on
tv:1.5A turn on

i want to turn off ref. and washer from lcd
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 64
Posts: 6893
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I kind of understand now. You want a menu or interface to control which appliance to turn on and off? That takes a lot of programming to do. I recommend you to use a simple approach first, one button for each appliance. If you sense the button,  you turn the appliance on or off.
Logged


Central MN, USA
Offline Offline
Tesla Member
***
Karma: 64
Posts: 6893
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

FYI, please post what you PM me here, more people are willing to help out if you post here, instead of sending PM.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i want to use lcd 16*2 how i do lcd menu? and how i control lcd from the pushbutton?
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 64
Posts: 6893
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

i want to use lcd 16*2 how i do lcd menu? and how i control lcd from the pushbutton?

You are doing a lot better this time in terms of clarity of question. I think I PMed you my answers. Let's see if you are able to use the answers. But by all means, post here, don't PM.
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

?
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 25
Posts: 4110
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is another thread here --> http://arduino.cc/forum/index.php/topic,133086.msg1001373.html#msg1001373 <-- which decodes a bit more of what he is trying to accomplish.  These are bordering on cross-posting but due to the language problems it might be best to keep them both going.

Don
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 64
Posts: 6893
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

?

Tell me how well do you program in C. If you program in C well enough, you are suggested to use this library, which is exactly written for your type of need:

http://liudr.wordpress.com/libraries/phi_prompt/

If your programming skills are poor, you should go get one of these, which I AM SELLING:

http://www.inmojo.com/store/liudr-arduino-and-physics-gadgets/item/serial-lcd-back-pack---phi-panel/
You don't need much programming at all.
Logged


Pages: [1]   Go Up
Jump to: