С LIU marks] (b) A humidity sensor DHT11 is connected to the ATmega32 at ADC2 input port as shown in Figure Q3(b). The s

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

С LIU marks] (b) A humidity sensor DHT11 is connected to the ATmega32 at ADC2 input port as shown in Figure Q3(b). The s

Post by answerhappygod »

 1
1 (112.09 KiB) Viewed 97 times
C Code with all clclotion
С LIU marks] (b) A humidity sensor DHT11 is connected to the ATmega32 at ADC2 input port as shown in Figure Q3(b). The sensor has a range from 20% up to 90% corresponding to an output voltage from 0 to 5 V. The humidity value 70% corresponds to 3V input. Once this voltage reaches 3V, the DC fan will start. Describe the System on Chip SoC needed to implement this system by writing the C code. [25 marks] +12v 16 18 U3 RESET VSS 13 12 IN1 IN2 EN1 VS OUT OUTZ (0) XTAL1 XTAL2 U2 22 PCO/SCL PC1/SDA 23 PC2/TCK PC3 TMS PCA/TDO PC5/TDI PC6/TOSC1 PCT/TOSC2 23 3.HU KRPM 2 10 DATA SCK 1919 EN2 IN3 IN4 0:18 11 14 OUTS GND GND OUT4 DHT11 L293D 40 PAQ/ADCO PA1IADC1 PAZIADC2 37 PA3/ADC3 PA4IADCA PASADC5 34 PAG/ADC6 33 PATIADC7 1 PBO/TO/XCK 2 PB1/1 PB2/AINONTZ 4 5 PB3/AIN1/OCO PB4/SS PB5/MOSI PB6/MISO PB7/SCK PDO/RXD PD1/TXD PD2ΛΝΤΟ PDZINT1 PD40C1B PD5/OCTA PDG/CP1 PD710C2 21 AREF AVCC 32 30 ATMEGA32 Figure Q3(b)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply