Question: Mini Project [ MODBUS SLAVE ] Using the ARM NUCLEO board, implement a MODBUS over RS 2 3 2 SLAVE. There is a temperature sensor

Mini Project [MODBUS SLAVE]
Using the ARM NUCLEO board, implement a MODBUS over RS232 SLAVE. There is a temperature
sensor LM35 attached to the ARM board on its analog input and a SG90 servo motor to a PWM pin of
the ARM board. Implement Function Code 04 and Code 06 of the modbus protocol. use QmodMaster to test your implementation. Function code 04 will be used to read the temperature
and function code 06 will be used to set the angle of the servo motor.
(Write the code in embedded c that can achieve the objective of this project.). the code my include the modbus CRC and please provide the steps on how to configure the pins (A0 amd D9) paramemeter such as the channels, prescalers, etc on the ioc.
I will be using the following components;
1. ARM NUCLEO development board specifically STM32L053R8
2. USB to TTL converter ( CP2102 USB to TTL
3. LM35 temperature sensor (PA0 or A5)
4. SG90 Micro Servo motor (PC7 or D9)
5. Arduino Jumper cables

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!