how the Arduino to the computer's time and date'm LCD for showing

hi, how the Arduino to the computer's time and date'm LCD for showing

merhaba , arduino da bılgısayarın saat ve tarihi ni nasıl lc de gostrbılırım

Hi Canan, welcome to the forum,

first : I merged all your posts here.

Please check the tutorial pages of Arduino to learn the language,

There are also examples coming with the Arduino that do almost everything you need.

The only problem is how the PC will send date/time to the Arduino.
That can be done by Python or C++ / C# basicetc. What languages are you familiar with?

Read this one - http://www.arduino.cc/en/Tutorial/LiquidCrystal -

a tutorial about Serial
http://www.ladyada.net/learn/arduino/lesson4.html

You may be interested in this Python - Arduino demo and in serial input basics

...R

ı know c, c# , basic , java but dnt knw arduino
I have to be project and I have to d arduino

Look at some "arduino" code - it's just C++.

// declare an output pin and a delay amount
byte LEDpin = 13;
int delayTime = 500; // milliseconds

// function setup, stuff that runs once
void setup() {
// set up pin as an OUTPUT
pinMode (LEDpin, OUTPUT);
// set up serial port to monitor the action on the PC
Serial.begin(9600);
} // end of setup

// function loop, runs repeatedly, over & over
void loop() {
//turn output pin High, turns on the onboard LED, and send a message
digitalWrite (LEDpin, HIGH);
Serial.println ("On!");
// wait so you can see it
delay(delayTime); 
//turn it off
digitalWrite (LEDpin, LOW);
Serial.println("Off!");
// wait so you can see it
delay(delayTime); 
} // end of loop

Is that so very different than C or C#? Maybe it is, I've never written straight C or C#.
Some stuff is done in the background, like main() calling setup once and loop over & over,
starting a 1mS timer, etc., to make it easy for artists and hobbyists and hardware engineers who like to play at coding to come up with programs quickly. Also the AVR GCC compiler commands are bundled up nicely & performed in the background, something about prototyping functions, etc. It all works very nice in IDE version 1.0.6 for the Uno, and 1.6.x is still going thru some teething pains from what I can see.
If you select File:Preferences & select Verbose Outputs, you can see all those being called.

but my LCD HD162A SERIES

There is a good LCD tutorial here - https://learn.adafruit.com/downloads/pdf/character-lcds.pdf

Canan,

Why do you need to send the time from the PC?

There are other ways to get the time. Do a Google search for "Chronodot".

What are you really trying to do?

And what kind of LCD are you using? (Yes, it makes a difference.)

CANAN:
but my LCD HD162A SERIES

This does not describe your specific circuit.

For us to help you, You need to describe/document your Electronic circuit;

Show us what you have tried; (both hardware and Software)
Show us what did not work correctly. (explain what you wanted it to do and what it actually did.)
Describe your goals and resources. (Say you want to develop a cure for cancer, and you have an Arduino UNO won't work :confused: )

The is no reason for anyone to do the work for you, we get enjoyment helping people learn. I don't need to write a software program to control a LCD you have. I already have libraries for my hardware. I can guarantee if I gave you my libraries, they would NOT work for your hardware. That is why you need to educate us.

Here are a couple of pictures of a LCD circuit I use and Schematic. Neither is enough to write a program.

I would have to tell you my LCD (a 20 character by 4 line) responds to the HD44780 command set, my circuit is Uses MCP23008 I2C I/O Expanders, the IOExpander has an I2C address of 0x20. This would barely be enough for someone to develop software to drive my LCD.

Be more Verbose.

Chuck.


Check out my Kickstarter Project Memory Panes an expansion RAM Shield for Mega2560's. It adds 1MB of RAM for those projects where 8KB is not enough.

2015-06-16_12-45-05-AM.jpg