Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:57 13 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Armmite F4 Distance Measurements

Author Message
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1106
Posted: 10:51am 10 Nov 2019
Copy link to clipboard 
Print this post

Hi (matherp?),

I've just hooked up a HC-SR04 ultrasonic sensor to an F4 (Latest update) & it is measuring in inches rather than cm.

Just using "print DISTANCE(trig, echo)" (pc3, pc2) in a one second loop.

Not really a problem. Multiplying the result by 2.54 gives the metric value. (quite accurately BTW).

Just wondering if I've missed something. (I've previously had it running on a 44 pinner with no problems)

Brian
ChopperP
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025