Precise distance measurement using ultrasonic sensor (HC-SR04) and Arduino
- Stav: Closed
- Odměna: $20
- Přijatých návrhů: 5
Instrukce k soutěži
The challenge:
Measure the distance using the ultrasonic distance sensor after a trigger signal. Send the result through the serial port (Baudrate: 115200, 8 databit, No parity, 1 stopbit) within 200[ms] (so the result must arrive within 200[ms] after the trigger), each result must arrive in a new line. The result must arrive as string rounded to 2 decimal places.
If the result do not arrive in 200[ms] after the trigger then a 0 will be recorded in its place. All the provided sensors can be used. The trigger signal is a high-low-high transition with 10[ms] low time.
How to participate:
Send the hex file of your code to us: ingaelearn (at) gmail.com or share your link in the description of your submission. You can send maximum 3 submissions per user (3 HEX files). You have to select your final submission.
Testing:
An object will be set to different distances from the distance sensor, the output of your code will be recorded. We will test each HEX once during the submission period and once after closing the submission period with a slightly different measurement setup.
The score will be calculated with the Mean Squared Error using the ground truth, the lower the better.
Winner:
The participant with the lowest Mean Squared Error result will be in the first place. In this case you have to share your source code with us to win the prize.
Prize:
$20
The hardware setup:
Name Type Pin configuration
Arduino Uno Rev. 3 SERIAL RX: PIN0
SERIAL TX: PIN1
TRIGGER: PIN4
Temp. & hum. sensor DHT11 SIGNAL: PIN2
Distance sensor HC-SR04 TRIG: PIN13
ECHO: PIN12
Doporučené dovednosti
Nejlepší návrhy této soutěže
-
jairsanchez Mexico
-
patrickwagner068 Germany
-
Abelk020 India
-
Guru4All India
-
i2eng Brazil
Veřejná nástěnka k vyjasnění projektu
Jak začít se soutěžemi
-
Zveřejněte svou soutěž Rychlé a snadné
-
Získejte spousty návrhů Z celého světa
-
Zvolte nejlepší návrh Stáhněte si soubory - Je to snadné!