Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this task you are required to create a two way serial communication between two Arduino microcontrollers. TheEuropean University of Lefke Computer Engineering Department COMP

In this task you are required to create a two way serial communication between two Arduino microcontrollers. TheEuropean University of Lefke
Computer Engineering Department
COMP228- Digital System Design
Assignment
Due date: 31.05.2024
Student Name & Surname:
Student Number:
Department:
Questions:
Design an 8421 BCD to Excess-3 BCD code converter circuit based on PAL structure. (3 Marks)
Design a 1024-bit Read Only Memory with 2564 addresses based on 3232 memory arrays. Draw the
circuit as a block diagram.
(2 Mark)
Answers:
first microcontroller, which should be a slave, should have two sensors. First sensor should be a temperature sensor
and the second should be a light sensor. This microcontroller should accept several commands. The communication
should be done over 8 bits. The first set of commands is to trigger a read on sensor. A command of 129 should select
the first sensor where 130 should select the second sensor. After these commands, for the next 8 clock signals, the
device should supply the requested value. The second set of commands control which units the device should supply
the temperature in. Command 65 should select celcius, 66 should select fahrenheit, 67 should select raw value scaled
to 8 bits.
The second microcontroller will be the master device and should have and LCD. You may use built-in Liquid-
Crystal library to control the LCD. Every second, the master device should read temperature in celcius, fahrenheit
and raw form and should read light sensor value. These values should be displayed on the LCD screen.
Draw your circuit and write your program on this page.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions