Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Hi, I have assignment in microcontroller but i dont no how to solve it

Status
Not open for further replies.

ahmed saeed

Newbie level 3
Joined
May 13, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
Hi,
Introduction:-
Serial communications are used in microcontroller-based systems, mostly due to the scarcity of available I/O pins. Besides for long distance communications, serial data transfer is more simple and cost effective.
There are two different types of serial communications: synchronous and asynchronous. The key challenge in a serial data link is to maintain the synchronization between the transmitter and the receiver. The asynchronous method uses a start and stop bit protocol to synchronize the two ends. The sender and receiver have to be initialized to use the same data rate, number of data bits, and number of stop bits.
A typical PIC microcontroller comes with few standard serial protocols such as UART, SPI, and 12C.

Task:
Develop a serial communication system for two PIC microcontrollers, where an 8-bit data is sent from one PIC to another every time the Send Button is pressed. You can either propose a protocol of your own or utilize the existing protocol in completing the assignment.

Deliverables:-
A written technical report must be submitted during the demonstration day. It should at least consist of the following contents:
• Detail explanation regarding the protocol and flowchart.
• The MPLAB project files, with the source code well commented.
• The Proteus project files, with circuit diagram for simulation.
 

It is not clear what you want from this forum.

If you are asking for someone to do your homework for you, then it is unlikely that anyone will do it for you, at least I hope not.

Come up with some ideas with what YOU think you need to do do complete YOUR homework and we will help you.

First you need to show that you have put some effort in for yourself. So far it looks like you are asking for your homework to be done for you, but you offer no money for the work.

When you have something to show to us, we will help.
 
Last edited:

I don't know why some people bother to study engineering. It's pure laziness to expect others to do the homework. If he'd stated his college, it would be worth forwarding this to his tutor.
 

Yes, that right I want some one to solve my assignment because you don't know what i am through in.
I am from Iraq and I came to malaysia to study master and my DR did not give as any thing then he ask from as to solve this assignment so i do not know how i will do it and if I do not solve the assignment I will fall in this subject and terminate from the university.


---------- Post added at 22:51 ---------- Previous post was at 22:44 ----------

sky-123 don't talk on me if you dont know any thing about my case.
 

We'll let you off this time. :-D
Try looking at the PIC data sheet, all you have to do is cross-connect the TX pin of one PIC to the RX pin of the other. Set both USART modules up identically. Now every time you write to the TXREG register in one PIC, it appears in the RCREG of the other. The 'send' button can just be a simple code to read a switch and send something meaningful.

Brian.
 

How much time you have left? Its good that you have access to internet. Simply " google" different keywords of topics in your assignment and you will get a lot of related links. Some keywords are asynchronous, synchronous, serial protocol, 12C, SPI, bits and bytes. Read them to grasp the subject ans save them on your computer for reference. This will let you write the technical report. Its easy than you suspect. Download and Install Mplab from microchip website and get Proteus.Developing hardware and software comes in later stage. Decide first which "pic" you'r going to use.
A few related links are here,
http://www.google.com.pk/#hl=en&out....,cf.osb&fp=e5a4e90ce3f767e6&biw=1024&bih=653
http://www.microcontrollerboard.com/pic_serial_communication.html
http://www.microcontrollerboard.com/pic_serial_communication.html#8-bitComm
http://www.mikroe.com/eng/chapters/view/7/chapter-6-serial-communication-modules/
http://www.angelfire.com/dragon/tai/serial_images/Serial_Communications.htm
http://extremeelectronics.co.in/mic...c18f4520s-usart-pic-microcontroller-tutorial/
http://www.mcuexamples.com/PIC-Serial-Communication.php
**broken link removed**
 
Last edited:
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top