Go Down

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

#### Joaslucas

##### Dec 14, 2018, 07:53 pm
Materials:
• 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
quickly.

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

#### AWOL

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

What is the budget?

#### IndianaTux

#2
##### Dec 14, 2018, 10:18 pm
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.

#### 6v6gt

#3
##### Dec 16, 2018, 01:33 pmLast 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.

#### lastchancename

#4
##### Dec 24, 2018, 10:56 am
Quote
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, chest-beaters, and pretenders - but the help you'll get here is about as good as it gets - if you try to help youself!.

#### cedarlakeinstruments

#5
##### Dec 24, 2018, 06:22 pm
\$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