0% found this document useful (0 votes)
2 views1 page

ESIOT_LAB__QP[1]

The document outlines various programming tasks involving 8051 assembly language, Embedded C, Arduino, and Python for different applications such as logical operations, data transfer, ALU operations, arithmetic calculations, LED control, and IoT implementations. It includes specific examples like performing operations on hexadecimal numbers, transferring data between memory locations, and interfacing sensors with Raspberry Pi. Additionally, it mentions setting up a cloud platform for IoT data logging and designing a smart agriculture system using Arduino Uno.

Uploaded by

e22cs047
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

ESIOT_LAB__QP[1]

The document outlines various programming tasks involving 8051 assembly language, Embedded C, Arduino, and Python for different applications such as logical operations, data transfer, ALU operations, arithmetic calculations, LED control, and IoT implementations. It includes specific examples like performing operations on hexadecimal numbers, transferring data between memory locations, and interfacing sensors with Raspberry Pi. Additionally, it mentions setting up a cloud platform for IoT data logging and designing a smart agriculture system using Arduino Uno.

Uploaded by

e22cs047
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

Write 8051 assembly language program:


a) To perform logical operations AND, OR, XOR on two eight bit numbers 45h & 67h
b) To find the square of a given number N. (N=06)

2. Write 8051 assembly language program to test data transfer between register and memory.
a) To transfer N=05h bytes of data from location A: 30h to location B: 40h.
b) Write a program to transfer the data between two registers.

3. Write 8051 assembly language program to perform ALU operations.


a) To perform the addition of two 16-bit numbers and store the result in 40h and 41h
location. (N1:1173, N2:2493)
b) To perform the multiplication of two 16-bit numbers. (N1:5678, N2:1234)

4. Write basic and arithmetic Programs using Embedded C


a) To write arithmetic programs (addition, subtraction, multiplication, Division) (N1:10;
N2:05)
b) To Find the Maximum of Two Numbers. (N1:10; N2:20)

5. Write basic and arithmetic Programs using Embedded C


a) To Calculate the Average of Three Numbers. (N1:10; N2:20; N3:30)
c) To Find the Maximum of Two Numbers. (N1:10; N2:20)

7. Write and execute different Arduino programming for LED blinking.

8. Write a program to control an LED using a Bluetooth module.

10. Write Python program to blink the LED using Raspberry Pi platform.

11. Write a program to interface the anyone sensor DHT 11 or IR sensor or Ultrasonic sensor
with Raspberry Pi.

13. Set up a cloud platform to log the data from IoT devices.

15. Design an IoT based Smart Agriculture using Arduino Uno.

You might also like