Go Down

Topic: I need programming for a job, please help (Read 448 times) previous topic - next topic


• 1x Arduino
• 1x 16x2 LCD Display
• 1x Ultrasonic Sensor HC-SR04
• 2x Touch switch (buttons)
• 1x buzzer
• 1x Protoboard
Operation: It will be a distance meter for car, it will have 2 buttons (cm and in).
When connecting the Arduino, the distance in cm must be reported by pressing the button in
informs the distance in inches by pressing the cm button to inform the distance
in cm. If the distance is> 100cm does not mute the buzzer if it is between 100cm and
60cm whistles slowly, between 60cm and 45cm in average shape and 45cm to 4cm in

Please help me, it's for an important job.


Dec 14, 2018, 07:59 pm Last Edit: Dec 14, 2018, 07:59 pm by AWOL
When do we have to hand in our assignment?

What is the budget?
"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.


Job or assignment ?

Paypal me 500$ and I'll do it. If it's for getting a job 500$ should not be a big deal...

If it's for a school assignment. You should have paid attention in class. If you had you would be able to do it.


Dec 16, 2018, 01:33 pm Last Edit: Dec 16, 2018, 01:34 pm by 6v6gt
Start with the LCD and find a basic "hello world" example and get that working.
You'll then see what arduino pins you have left for the rest of the devices.
Find an example of an HC-SR04 sensor sketch and print the results out in centimeters (distance) first to the serial console and later to the lcd.
Then get your 2 switches working. Read them in the loop with digitalRead() and set/unset a status variable called say unitsMetric. Test unitsMetric in your code. If it is false, divide the distance by 2.54 to convert to inches.
Then start experimenting with the buzzer and the tone() function to get the desired distance dependent alarm sound.

Usually, it is better to  use the LCD with an I2C backpack because it uses less pins and has a contrast potentiometer (which is missing from your components list and is necessary). But, I guess this is a school project so you don't have the flexibility to change the exercise.


500$ and I'll do it. If it's for getting a job 500$ should not be a big deal..
If it's as easy as you suggest, 10 hours @ $50 is max/typical, but if you left something out of the requirements - no matter how small - the budget could rise rapidly with back & forth, and rework.
Melb SE suburbs AU
Experienced responders have a nose for laziness, (they were beginners once)... Sure, there are trolls, know-it-alls, and pretenders - but the help you'll get here is about as good as it gets - if you try to help youself!.


$50/hour for any engineering service in the US is a very low price. Jump on it if someone offers.
Electronics and firmware/software design and assistance. No project too small

Go Up