I am trying to use the Adafruit US-100 Ultrasonic Distance Sensor with a MakerPi RP2040 but can't find any instructions for this. I have determined the proper wiring and am using one of the grove ports that support UART (1, 3, & 4). The current problem is getting the proper library imported into python. The sensor page (https://www.adafruit.com/product/4019) directs me to install the CircuitPython US100 library (https://github.com/adafruit/Adafruit_Ci ... thon_US100). That says to install the Adafruit Circuit Python Bundle (https://github.com/adafruit/Adafruit_Ci ... hon_Bundle). I tried to copy the 'drivers' and 'helpers' folders from the that library to the board's /lib folder but there is not enough free space. This seems like copying too much anyway, but I started there so nothing was missed. So I started looking for just the required files. All of the subfolders in the libraries folder seem to be empty.
What am I doing wrong? Is there another library to use for this board?
CircuitPython on Cytron MakerPi RP2040
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: CircuitPython on Cytron MakerPi RP2040
You are getting close.
On your MakerPi RP2040 go ahead and wipe out the lib/ folder and start with it empty.
Just copy these two recommended libraries from the Adafruit Bundle:
* adafruit_us100.mpy
* adafruit_bus_device/
note that the first is a file and the second is a folder with files.
https://learn.adafruit.com/ultrasonic-s ... ep-3048480
On your MakerPi RP2040 go ahead and wipe out the lib/ folder and start with it empty.
Just copy these two recommended libraries from the Adafruit Bundle:
* adafruit_us100.mpy
* adafruit_bus_device/
note that the first is a file and the second is a folder with files.
https://learn.adafruit.com/ultrasonic-s ... ep-3048480
Please be positive and constructive with your questions and comments.