Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Homework 7-Volkswagen Jetta Adaptive Front Lighting Simulation Adaptive headlights which turn as you steer to better illuminate bends in the road -are one of the

image text in transcribed
Homework 7-Volkswagen Jetta Adaptive Front Lighting Simulation Adaptive headlights which turn as you steer to better illuminate bends in the road -are one of the new technologies in proactive safety measures. Here is a link to the Volkswagen Jetta Adaptive Front Lighting feature: wa Write a c program, using the Arduino's integrated development environment (IDE), to simulate the Volkswagen Jetta Adaptive Front Lighting control system with 1 LED light, 1 servo motor, 1 joy stick, and 1 potentiometer 1. Use one (1) LED light to simulate one of the head light 2. Use one (1) joy stick to simulate the steering wheel. The steering wheel can steer the front lights to turn 0 to 15 degrees to the right. The steering wheel can steer the front lights to turn 0 to 15 degrees to the left. a. b. 3. Use one(1) servo motor to simulate the motor behind the head light that can rotate 15 degrees to the right or 15 degrees to the left based on the steering wheel position. a. When the joystick is at the center, point the headlight to 90 degrees. b. Read the joystick x direction value and compute the angle using angle 90+(xVal-512)/15. 4. Separate the potentiometer's rotation range into 2 sections to simulate the headlight switch. OFF- When the headlight is at the "OFF" position, turn off the LED light. The headlight will not rotate with the steering wheel. ON -When the headlight is at the "ON" position, turn on the LED light. The headlight will rotate 0-15 degrees left or 0-15 degrees right to match with the direction of the wheels up to 15 degrees to the left or 15 degrees to the right. a. b

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

8. Measure the effectiveness of the succession planning process.

Answered: 1 week ago

Question

Write the difference between sexual and asexual reproduction.

Answered: 1 week ago

Question

What your favourite topic in mathematics?

Answered: 1 week ago

Question

Briefly describe vegetative reproduction in plants.

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago