0
$\begingroup$

a quick question, can i make a SBR using UNO and two HC-SR04 knowing that this configuration offers a 1.36 mm resolution (i.e it increment 1.36mm) ?

$\endgroup$
4
  • $\begingroup$ could you explain how you place your srf? $\endgroup$
    – Albert H M
    Jul 22, 2019 at 14:33
  • $\begingroup$ the surface is horizontal, no inclinations $\endgroup$ Jul 23, 2019 at 1:40
  • $\begingroup$ im not sure there is a possible way to create sbr only using srf, because srf is distance sensor, not giving you any information about orientation of robot. You need gyroscope or anything similliar $\endgroup$
    – Albert H M
    Jul 23, 2019 at 6:12
  • $\begingroup$ wait a minute.. i figure out a way $\endgroup$
    – Albert H M
    Jul 23, 2019 at 6:18

1 Answer 1

0
$\begingroup$

Probably not - it can take about 60ms to get a reading from those sensors, which is quite slow for the loop updating a balancing robot.

$\endgroup$
2
  • $\begingroup$ i believe yes, even interrupt based program (with sensors 2cm above ground) will read 14 "1.36cm" steps (20 / 1.36) each taking 4ms, the loop time is (you are right 60ms), just re edit you answer $\endgroup$ Jul 27, 2019 at 21:01
  • $\begingroup$ and as an evidence a quadcopter loop time is 4ms and i hardly balance (at least DIYs) so expect what a 60ms might do $\endgroup$ Jul 27, 2019 at 21:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.