Write a program with the respective Tinkercad circuit design to control traffic lights like the example...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program with the respective Tinkercad circuit design to control traffic lights like the example above. In addition to the example setup, you must have a sensor to check for incoming cars before allowing pedestrian crossing. You could use PIR or Ultrasonic distance sensors. An example design would be: No alteration to light sequence if cars are detected. Reset light sequence if there are no cars (resets to 'red for cars' allowing crossing) HINT: PIR sensor detects motion. HINT: Ultrasonic distance sensor measures distance in terms of time. ● ● Write a program with the respective Tinkercad circuit design to control traffic lights like the example above. In addition to the example setup, you must have a sensor to check for incoming cars before allowing pedestrian crossing. You could use PIR or Ultrasonic distance sensors. An example design would be: No alteration to light sequence if cars are detected. Reset light sequence if there are no cars (resets to 'red for cars' allowing crossing) HINT: PIR sensor detects motion. HINT: Ultrasonic distance sensor measures distance in terms of time. ● ●
Expert Answer:
Answer rating: 100% (QA)
cpp const int pirPin 2 PIR sensor input pin const int redCarPin 8 Red light for cars const int yello... View the full answer
Related Book For
Fundamentals Of Digital Logic With Verilog Design
ISBN: 9780073380544
3rd Edition
Authors: Stephen Brown, Zvonko Vranesic
Posted Date:
Students also viewed these accounting questions
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
This chapter describes the mechanisms in place to regulate accounting and financial reporting in five countries. Required: Compare and contrast these mechanisms in the United Kingdom and China.
-
Solve the logarithmic equation algebraically. Approximate the result to three decimal places. 1. ln 3x = 8.2 2. 4 ln 3x = 15
-
In a similar sense as companies, the U.S. government must prepare a budget each year. However, unlike private, for-profit companies, the budget and its details are available to the public. The entire...
-
A state legislature is concerned about the increasing number of individuals driving under the influence of alcohol, and it decides that one way to address this public safety concern and discourage...
-
The Flatiron Pub provides catering services to local businesses. The following information was available for The Flatiron for the years ended December 31, 2011 and 2012. Flatiron management is...
-
11. A planet is revolving around the sun in an elliptical orbit. The mass of planet is m, angular momentum of planet about sun is L, and length of semi major axis is a and eccentricity are e. Time...
-
Cassi Taxpayer (SSN 412-34-5670) who is single, has a home cleaning business she runs as a sole proprietorship. The following are the results from business operations for the tax year 2014: Gross...
-
What Is Business Communication? Explain the types of business communication
-
Can someone help me with this assignment? Mutual Fund Investor Track App For the next part of your lab, you will use the BST class you wrote above to create an application that helps users to track...
-
What circumstances/factors can cause an individual disputes to escalate to the collective level? Is a worker an employee? What role does the state play in employee relations and how is this role...
-
Which factor of production earns the most income? O a. capital O b. land O c. labour O d. entrepreneurship Oe. the stock market
-
Suppose that the total market value of all final goods and services produced this year in economy X is $4 million. Of the $4 million in goods, $3 million is sold and $1 million is held in inventory....
-
Bloomfield Beverages Ltd has adopted the practice of financing its balance sheet through the use of promissory notes. Bloomfield just issued a new 180-day note, with a face value of $50 million. The...
-
1. Set up an accounts payable subsidiary ledger for The Old English Garden Shop. Open an account for each of the creditors listed below and enter the balances as of July 1. 2. Post the individual...
-
Privitera and Freeman (2012) constructed a scale to measure or estimate the daily fat intake of participants; the scale was called the estimated daily intake scale for fat (EDIS-F). To validate the...
-
In a ternary number system there are three digits: 0, 1, and 2. Figure P3.3 defines a ternary half-adder. Design a circuit that implements this half-adder using binary-encoded signals, such that two...
-
Consider the function f = x 3 x 5 + x 1 x 2 x 4 + x 1 x 2 x 4 + x 1 x 3 x 4 + x 1 x 3 x 4 + x 1 x 2 x 5 + x 1 x 2 x 5 . Derive a minimum-cost POS expression for this function.
-
Represent the FSM in Figure 6.57 in form of an ASM chart. DN D DN DN D DN S1/0 $3/0 N N ($2/0) N S4/1 DN S5/1
-
In the section of his 2007 letter to the shareholders of Berkshire Hathaway titled Fanciful FiguresHow Public Companies Juice Earnings, Warren Buffett referred to the investment return assumption...
-
Based on 2012 revenues, the six largest providers of oilfield services are: 1. Schlumberger Ltd. (NYSE: SLB) Revenues: $42.1 billion Net income: $5.5 billion 2. Halliburton (NYSE: HAL) Revenues:...
-
On 21 September 2000, Intel Corporation (NASDAQ -GS: INTC)3 issued a press release containing information about its expected revenue growth for the third quarter of 2000. The announced growth fell...
Study smarter with the SolutionInn App