Practical 2: Four-bits decoder and temperature system The aim of this practical is to be able to display on PROCESSING the states of four LEDs and decode the decimal number represented using your ESP32 alongside the ambient temperature given by the LM35. • Each LED must be controlled by a switch mounted with a pull down resistor of 10K?. • Each LEDs must be connected with a resistor of 100? to protect the LED. • The output of the temperature sensor should be mounted with a pull-down resistor of 1K? to 10K? for stability and precision. • A label on top of each LED must display ON/OFF depending on the state of the LED. • A label representing the decimal value decoded from the state of the LEDs must be written as an example: "DECIMAL VALUE: 0" when all LEDs are OFF. • Display the temperature in a specific box with a label on top of the temperature value written "Temperature". The program should run smoothly with no overlapping in display The design of the system and the colors are your choices.
Added by Tebogo M.
Close
Step 1
** Show more…
Show all steps
Your feedback will help us improve your experience
Carson Merrill and 57 other Physics 101 Mechanics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Design a traffic light controller for a road intersection: The intersection is between a major and minor road (the major road traffic is to be prioritized). Pedestrian crosswalks have push buttons for activating pedestrian lights (2 buttons for each direction). Use a speaker for visually impaired pedestrians (one speaker is sufficient – use a piezo Arduino speaker). The minor road has a car detection sensor (use a push button). You are to document both the design of the controller and the implementation. Other than high-level requirements, the details are up to you (timing, how the speaker beeps – frequency, does it beep faster as the timing ends, etc, etc). Implementation due – Arduino code file(s).
Akash M.
What is the purpose of the NPN BJT transistor? Explain how changes in the photoresistor's resistance are measured by the Arduino. Which pins on the Arduino are used to implement the I2C communication protocol? SCL: SDA: In the code for the sensor, why does the value read from the ADC have to be divided by 4 before being transmitted? In the code for the sensor, what changes would you need to make to the program to send the sensor readings every 2 seconds? In the code for the actuator, what is the purpose of the map function in line 24? During simulation, why are the values shown in the sensor and actuator's Serial Monitors not the same? What is the oscilloscope displaying? What does the value displayed by the voltmeter represent? How is the intensity of the light bulb controlled?
Sri K.
Sketch a program in Keil uVision for AT89C51 microcontroller to design a traffic light control system by using timers to generate specific delays after specific time intervals (as per traffic control laws). Moreover, simulate it using Proteus Professional. You have to use LEDs as traffic lights. (Use "11.0592MHz" frequency for Crystal Oscillator and submit the simulation file along with your assignment as well) NOTE: 1. USE LEDs for traffic signals, DON'T USE SEVEN SEGMENT display. 2. Use ASM language.
Recommended Textbooks
University Physics with Modern Physics
Physics: Principles with Applications
Fundamentals of Physics
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD