free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes :: Forums :: Project Development :: Project Help
 
<< Previous thread | Next thread >>
Using PC to control an automatic microcontroller solar tracking system
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
mango
Sun Jun 01 2008, 08:54PM
 User Offline
Registered Member #8192
Joined: Sun Jun 01 2008, 08:09PM

Posts: 2
Thanked 0 times in 0 posts
I am currrently doing a project on solar tracking system and would need to interface it to PC. PIC16F877A to PC serial port using RS232. My question is..
I would need to1-2 pin to control stepper motor, 1 pin to read LDR measurement and 2 pin for voltage/current (data).
In terms of software and hardware, is it posibble to adapt all this using RS232 9 pin serial port? I did refer to the forum related to this topic and your tutorial provided on serial communication using microcontroller.

But, I just need the answer, whether is it posibble for me to use serial port RS232 and control stepper motors, read LDR measurement and 2 pin for voltage/current (data)...?


Back to top


Ajay
Sun Jun 01 2008, 09:05PM
Rickey's World Admin

 User Online

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3687
Thanked 685 times in 647 posts
you need a controller which can take data from your LCD, can control stepper motors and read voltage or current data and then send it to PC via RS232.

please make sure that not all 9 pins of DB9 port is used. only RX, TX and GND pin is used for successful communication.

Please ask more if anything else...

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


mango
Fri Jun 27 2008, 04:52AM
 User Offline
Registered Member #8192
Joined: Sun Jun 01 2008, 08:09PM

Posts: 2
Thanked 0 times in 0 posts
Can i use MAX232 IC to connect to PIC16F877a and then, connect the MAX232 to PC using DB-9. Is this correct? I would like to know how to connect these? Is there any circuit I can refer to similar to this?

The PIC will control the stepper motor and LDR.
Back to top


Ajay
Sat Jun 28 2008, 06:40AM
Rickey's World Admin

 User Online

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3687
Thanked 685 times in 647 posts
yes you need max232 to connect PIC with PC. if you need help on connection then visit the tutorial section and read on serial communication.

And yes PIC can control stepper motor and read i/p from LDR.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems