Search models, users, collections, and posts

Ultrasonic holder

Print Profile(1)

All
A1 mini
P1S
H2D
X1
P1P
X1 Carbon
A1
X1E
H2D Pro
H2S
P2S
H2C
X2D
A2L

0.2mm layer, 2 walls, 5% infill
0.2mm layer, 2 walls, 5% infill
Designer
49 min
1 plate
4.0(2)

Open in Bambu Studio
Boost
7
20
2
0
52
10
Released 

Description

Content has been automatically translated.
Show original

Ultrasonic Sensor

I have designed a mount for an ultrasonic sensor to facilitate its secure attachment. My initial intention was to program the sensor with an Arduino Uno, but I was unable to locate a suitable library. Consequently, I developed my own library, accessible via the following link:
https://github.com/Heki-coder/hekisonic/releases/tag/hekisonic

 

 

Library Information:

I created an ultrasonic library. I will detail its usage below.

To specify pins: Hekisonic(int echoPin, int triggerPin);

To define temperature (default is 20°C): set_temperature(int t);

To obtain distance in cm (returns a float): distance();

To obtain distance in mm: distance_mm();

To obtain distance in µm (micrometers): distance_um();

For additional functionalities, feel free to contact me in the comments section.

 

Comment & Rating (2)

(0/1000)

Print Profile
0.2mm layer, 2 walls, 5% infill
Other Issues:Doesn’t fit my ultrasonic module.
0
Reply
Print Profile
0.2mm layer, 2 walls, 5% infill
0
Reply
No more