Create a communication serial link

Assignment Help Other Engineering
Reference no: EM132181336

Assignment -

Create a communication serial link between Sensor Light Ladder System (PIC18F45K22) and a Controller (mbed LPC1768).

Hardware:

1. Research the mbed LPC1768 module and connect any serial port of the module to Lab 4's circuit. Connect to Serial Port 1 of the PIC.

2. Transfer the 3 Limit Control push buttons from the PIC system to the mbed module. Include LED indicators for the three sensors, on both systems. Keep the reset button on the PIC system.

3. Create a complete and unique schematic diagram of the new system. Component labels and values must be visible and symbol orientations must be correct. This diagram must be developed on CAD software.

Software:

Each student has been given a unique number. That unique number is the address of their Sensor Light Ladder (PIC) system, and should already be saved in the address member of the system's data structure. Every student will use 0x01 as the address of the Controller Program (mbed).

Within the Sensor Light Ladder System (PIC): With using interrupts...

1. Write a set of functions that will:

a. Receive a command sentence from Controller.

b. Validate checksum for the received command sentence.

c. Parse the command sentence.

d. Execute the command sentence.

e. Reply to the controller via a command sentence confirming the change has been processed.

Use the following structure for the replying command sentence: $UPDLIM, addressTo, addressFrom, mode (limit: high or low), TRUE or FALSE, checksum# TRUE or FALSE is the report data that the setting was changed.

2. Display this message on TeraTerm for 5 seconds every time a limit change is processed.

Within the Controller Program (mbed): With or without using interrupts...

1. Duplicate the data structure and object from the Sensor Light Ladder system (PIC). This is so the controller has the same information than in the monitored system. Initialize the data structure object the same as in the Sensor Light Ladder system.

2. Write a function that will prepare and send a command sentence when a limit value has been changed by the user.

Use the following structure for the control of limit command sentence: $CONLIM, addressTo, addressFrom, mode (limit: high or low), newValue, checksum#

3. Write a set of functions that will:

a. Receive a command sentence.

b. Validate the checksum of the received sentence.

c. Parse the sentence.

d. Execute a command sentence.

i. If an "UPDLIM" and TRUE are received display the entire string on the terminal for 5 seconds.

ii. If anything else is received display "Error, monitored system did not process." For 5 seconds.

iii. If programmed correctly, the remote will control the system limit values and the SLL will reply successfully.

4. Throughout both system programs there will be a need for abstract programming and problem solving that each student is responsible for resolving.

Reference no: EM132181336

Questions Cloud

Respective marginal utilities of the two people : If taxes are zero, person y has income ny and person o has income no. Suppose the respective marginal utilities of the two people are
Positive conflict with more than one behavior : Is it possible to have positive conflict with more than one behavior ?
Report on the saudi leader mona abu sulaiman : Complete the report on the Saudi leader Mona Abu Sulaiman in the specified parts - Leader's style and philosophy- Skills approach and trait
How can you use technology to facilitate teams : How can you use technology to facilitate teams and manage people remotely? How do you manage interpersonal conflict in a remote workforce?
Create a communication serial link : Create a communication serial link between Sensor Light Ladder System (PIC18F45K22) and a Controller (mbed LPC1768)
Sampling in testing controls over sales transactions : Annie Zhao is using attributes sampling in testing controls over sales transactions.
What are the disadvantages of working for each gender : During the course of your employment you may have experienced working for both a male and female supervisor. Discuss from your personal point of view.
What would be the annual cost saved : What would be the annual cost saved, if any, by shifting from the 8000-unit lot size to the EOQ?
Should amazon invest in same day delivery : Is Amazon becoming a High-Technology Company? Should Amazon invest in same day delivery?

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd