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$
  • $\begingroup$ could you explain how you place your srf? $\endgroup$ – Albert H M Jul 22 at 14:33
  • $\begingroup$ the surface is horizontal, no inclinations $\endgroup$ – Allaw Hussein Jul 23 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 at 6:12
  • $\begingroup$ wait a minute.. i figure out a way $\endgroup$ – Albert H M Jul 23 at 6:18
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$
  • $\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$ – Allaw Hussein Jul 27 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$ – Allaw Hussein Jul 27 at 21:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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