Ultrasonic Regardless Free Download

0 views
Skip to first unread message

Victorio Galindo

unread,
Aug 5, 2024, 1:11:42 AM8/5/24
to brantiemeenond
Ihave connected the sensor to the A1 port. The issue is that the sensor always returns a reading between 670 - 675 cm, regardless of the actual distance from objects in front of it. I have tried the basic_test_all.py, basic_obstacle_avoid.py, us_servo_scan.py, and none of these tests are giving me the expected results due to the above issue. I have tried reseating the connections multiple times.

Hey Amol,

Can you try running this example: _examples/grove_distance_sensor.py. There is a variable to set the port on which the ultrasonic sensor is connected on line 44 there. Can you try both the digital and analog ports and see if it works for you.


Hi Karan,

I meet the same problem. The reading sensor values are always 670,671,672 no matter where the obstacle is when using function us_dist(15) (because I connect it to A1 port). I have tried your method and find that the print show me that my port is 10 (it should be 15).Then I try us_dist(10) and the reading sensor values become 0 all the time. Can you help me find the solutions, since I have tried to reboot the system, change batteries, re-connect the ultrasonic sensor and even restart my computer as well. None of them solved my problem.

I will appreciate if you can help since ultrasonic sensor is very important to the GoPiGo car.


Hi Rui,

Sorry for taking this long to reply back. I had missed this post. I think we have already shipped a new sensor to you. In the meanwhile it would be great if you could run the troubleshooting script by following the instructions here: =ZMadpIEYq5o and upload log to the forums. It would help us to see if there is anything wrong with the software or settings.


Hey Amol,

Can you run the firmware update on the GoPiGo following the instructions here: -started-with-the-grovepi/updating-firmware/ and then try running the example again. Also, can you connect the distance sensor to A1 port and give the pin as distance_sensor_pin = 15 and see if that works.


One thing I noticed today is that when I connected the RaspberryPI to the USB power supply for the firmware update, the ultrasonic sensor got pretty warm to touch. It does not warm up this way when the GoPiGo is connected to battery power.


Hey Amol,

Sorry for the wrong link, the reason I was asking for you to run the firmware update was that the i2cdetect was showing a no device on the I2C bus which looked a bit weird. Can you run i2cdetect -y 1 on the terminal and check if you can see a device on 0x08. Also, does everything else work fine on the GoPiGo.


I am assembling a Pico-4WD car that I just received. Ahead of the final assembly I tested all of the modules, as recommended in the pico-4wd-car documentation. All modules tested positive except the ultrasonic range finder. Running the test sonic test from Thonny, it reported the same negative distance, -0.034, regardless of how I positioned the sensor.


Using the same ultrasonic sensor on a Raspberry Pi 4B (using bread board and Raspberry Pi GPIO Extension Board) and running test 25 from the Sunfounder_SensorKit_for_RPi2, it worked fine, but the same ultrasonic sensor is not working on the Pico RDP: regardless of how I position the sensor, it reports -0.034


If the ultrasonic sensor runs on Sunfounder_SensorKit_for_RPi2, it can work normally, which means the ultrasonic sensor is normal.

Working on Pico RDP does not work, then the working voltage of the ultrasonic sensor pin interface is a stable 3.3v or so. It can also be judged that there is no problem with the Pico RDP board.

You try to replace a new set of cables, the pins of the Pico RDP interface correspond to the pins of the ultrasonic sensor, and check the result.

142606089276841692519202560 157 KB


I am sure the cables are fine. Below is a picture of how I connected the sensor to the bread board (that is attached to my raspberry pi 4). In that setup I used the same cables I used to connect the ultrasonic sensor to the Pico RDP, the only difference being I used male-to-male jumper cables to connect to sensor cables to the breadboard.


The pico RDP board should be fine.

Use a multimeter to measure the pins 6 and 7 of the pico RDP board and the GP6 and GP7 pins of pico:

Is the SIG pin 6 of the pico RDP board connected to the GP6 pin of the pico?

Is the SIG pin 7 of the pico RDP board connected to the pico GP7 pin?

If there is no intercommunication, there may be a problem with the pico board.




The ultrasonic sensor interface pin of the pico RDP is short-circuited and damaged, and a new pico RDP board needs to be replaced.

Note: When the sensor is connected to the pico RDP board, carefully check whether the pins of the two are well connected. If the pins are reversed, it may cause damage to the sensor or short circuit damage to the pins of the pico RDP board.


I wanted to close this thread by recognizing and thanking Sunfounder on their outstanding customer support. The support I received through the forum and then directly with service staff has been superb. We determined I needed a new Pico RDP board, but due to production schedules Sunfounder will not be able to get me the new board for some time. They will send me a new Pico RDP board as soon as it is back in production, AND, as compensation I just received an entirely new PiCar-S kit, which I can assemble with a spare Raspberry Pi 3 I have. Sending the new kit was totally unnecessary but greatly appreciated.


A powerful transducer and superior electronic design have made it easy to detect small objects. The high sensitivity level of the XX Ultrasonic Sensors enable them to detect many poorly reflective and curved surfaces.




Our Ultrasonic XX software allows easy set up and customization of the XX configurable ultrasonic sensors range. Basic and advanced parameters such as operating mode, window area, hysteresis, and echo options can be adjusted to fit specific applications. Download a free copy of the XX configuration software here and start exploring its capabilities!




The amplitude of ultrasonic vibration can be adjusted to 15 levels (displayed by 10 lighting levels). The unique amplitude control circuit accurately sustains the predetermined vibration level. The high-performance automatic frequency-tracking circuit automatically detects differences in shape, size, and length of tools, and starts an operation with an optimal frequency. Moreover, the circuit automatically tracks fluctuations caused by wear of a tool.


The vibration state can be maintained at a certain level regardless of great, small, or no cutting resistance to tools. Ultrasonic Polishing equipment quickly responds to load fluctuations caused by fast push-and-pull actions of tools so that a stable vibration can be maintained. Operators do not feel any unpleasantness.


Handles any tools from 1 mm in diameter to 15 mm wide. Features an easy-to-hold size (28 mm diameter) and a well-balanced weight (130 g). This small size hand-piece was designed for excellent durability.


Brasseler USA's Premium Carbide Burs provide precision and durability for dental procedures. Available in various shapes and sizes, these high-quality dental instruments ensure reliable performance and optimal results.


Enhance your dental finishing work with Brasseler USA's Trimming and Finishing Carbides. These precision instruments are ideal for final touches on restorations or adjusting occlusal surfaces, providing the precision and reliability needed to achieve polished, professional dental outcomes.


With the most extensive carbide line in the dental industry, Brasseler USA offers a wide variety of laboratory carbide instruments for a wide array of applications and materials. This segment features a complete line of carbide cutters, available in a variety of blade configurations for use with all types of dental laboratory materials.




Brasseler USA is the leader in diamond instruments, offering the broadest product selection in the market. From our industry-leading Peter Brasseler Series to our latest technological advancement, our spot-brazed DuraBraze product line, to our single-patient products, we offer the instruments to meet the requirements of any practice.


The endodontic handpieces and small equipment from Brasseler USA usher in a new generation of technology for successful root canal treatments. From the dynamic design of the EndoSync cordless to the advanced power heat source of the EndoPro 270, Brasseler USA delivers the superior benefits required in your dental practice.


Brasseler USA is a recognized leader in dental handpieces, offering a broad assortment including clinical electric, high-speed air, low-speed air, ultrasonic, hygiene, endodontic, laboratory and surgical products.


Brasseler offers a full line of electric handpieces and micromotors providing you the perfect solution for your dental practice. Focusing on performance, durability and ergonomics demanded by dentists today, the clinical electric systems from Brasseler USA are designed to change the way you think about electric handpieces.


Brasseler USA offers a wide range of laboratory handpieces including lab motors and highspeed air systems for demanding laboratory procedures. Discover the popular Forza L50K Lab Micromotor with its uncompromising power and other dental lab handpieces from Brasseler USA.


The Low Speed Air Handpieces from Brasseler USA deliver muscular performance and proven reliability for all your low speed clinical applications. You will find a unique mix of durability, strength and versatility reflected throughout the lightweight motor system. Offering a variety of head and gear reduction angles, providing you with the perfect fit for your low speed procedural needs.

3a8082e126
Reply all
Reply to author
Forward
0 new messages