Questions tagged [adafruit]
Use this tag if your question relates to Adafruit products.
80
questions
2
votes
0
answers
538
views
Unable to install Adafruit_DHT
Running the Adafruit install command sudo pip3 install Adafruit_DHT results in the following error:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting Adafruit_DHT
...
1
vote
1
answer
166
views
How do I take in recurring snaps from MLX90640 Thermal Camera?
I'm using an MLX90640 Thermal Camera and I got it to work after some time through a Raspberry Pi.
What I am trying to do however is take in a picture every minute (or every few minutes) from what it ...
0
votes
1
answer
104
views
How to change bit depth to 16 of I2S MEMS Microphone?
I have successfully setup adafruit I2S mem microphone on my RPi3 running buster by following this guide .
It records audio well using arecord :
arecord -D 'plughw:2,0' -c1 -r 48000 -f S32_LE -t wav -V ...
1
vote
2
answers
421
views
problem with adafruit-blinka
I tried to install python3.7 and made it the default python version.
Now I'm trying to install this:
pip3 install adafruit-blinka
and I get this error
Collecting adafruit-blinka
Collecting rpi-ws281x&...
-1
votes
1
answer
148
views
PCA9685 detected on Command Line, but not by Python
I'm trying to hook up a SC90 servo to my Pi3 B using a PCA9685. I think I have it connected correctly, because I get correct i2cdetect results.
pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 ...
0
votes
1
answer
32
views
Use Adafruit PiTFT as hat with Adafruit DS3231 in a case
I have a raspberry pi 3 A+ connected to an Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen and an Adafruit DS3231 Precision RTC Breakout for keeping time. Both are connected using ...
0
votes
1
answer
145
views
Controling high voltage servo motors with raspberry pi 4
I'm building a bipedal robot and I'm using 7,4V servo motors that can consume 3.9A of current (Feetech FT5835M) and RPi4B, how can I control these servos? I'm thinking about using Adafruit 2327 HAT ...
0
votes
1
answer
457
views
Could Not Determine Platform Error
I am using the following tutorial to make a moisture sensor using a Raspberry Pi 4: https://www.instructables.com/Measuring-Soil-Moisture-Using-Raspberry-Pi/
When I have run my code, I get the ...
-1
votes
1
answer
240
views
Problem using adafruit-rfm96w Lora transceiver
I'm new in programming and for a project I actually need to deal with 2 adafruit-rfm96w to transfer data between 2 Raspberry Pi(one Raspberry Pi 3, and one Pico). But I don't understand how to use the ...
-1
votes
1
answer
684
views
NameError: name 'I2C' is not defined (Raspberry Pi 4 Model B - Ubuntu 18.04 - adafruit_lidarlite)
I am getting an issue while trying to use the library "adafruit_circuitpython_lidarlite".
Below are the details of my environment:
1- Distributor ID: Ubuntu (ubuntu-18.04.5-preinstalled-...
0
votes
1
answer
212
views
I'm running raspbian on my pi 3 model b and trying to get the i2c TCS3472 colour sensor working
I am trying to get the TCS3472 color sensor to work with RaspberryPi, I have setup I2C succesfully and can detect the sensor with i2cdetect -y 1
which outputs
0 1 2 3 4 5 6 7 8 9 a b c ...
1
vote
1
answer
36
views
how to get more juice thru the Adafruit DC and Stepper Motor HAT?
We have a hat https://www.adafruit.com/product/4280 to turn i2c signals into pwm signals, into raw power for a DC motor. Let's start with this sample code:
import time
from adafruit_motorkit import ...
0
votes
1
answer
708
views
Adafruit ADS1x15 library - I2C Bus error even though I2C is enabled
I am developing a program for a client using the Adafruit ADS1x15 library to use an ADS1115 module on the Raspberry Pi. This is the relevant part of the code where the error is occurring:
import RPi....
1
vote
2
answers
502
views
Import problem with ADS1115 on rpi
Im currently trying to set up an ADC (ADS1115) and trying to test it so everything works. Ive used a code from github (link provided at the end) and watched several youtube videos about how to set it ...
1
vote
3
answers
47
views
Is It Safe To Connect A 16 Port Servo Driver's External Power Supply To My Raspberry Pi? (Will It Cause A Brownout?)
I have an adafruit 16 port servo driver. In the directions on their webpage, they explain how to wire it, as well as connect an external power supply. They mention not to plug the power directly into ...
0
votes
2
answers
184
views
16 Port Servo Driver Won't Stop Continuous Servos Completely
I have a 16 port adafruit servo driver connected to my Raspberry Pi. I followed the directions (https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi) to set it up. I then ...
1
vote
0
answers
95
views
Pins of GPIO expander 'MCP23017' randomly turning on when connected to multiple motor drivers powering 3V dc motors
I have a MCP23017 GPIO expander connected to four DRV8833 dual channel Motor drivers. This setup is later meant to drive eight motors concurrently. I tried testing a few patterns and noticed that ...
-1
votes
1
answer
62
views
Show data from USB to eink bonnet [closed]
So I have a RPI with a adafruit 2.13 eink bonnet installed onto my GPIO pins. Then I have a gearmo USB-RS232 serial converter plugged into my USB port then the RS232 connection is on a GPS receiver. I ...
0
votes
1
answer
152
views
Tiny Thermal Receipt Printer Nano Adafruit issues printing
Note: I have added additional links to the end of the question as I don't have enough points to use actual links.
I'm trying to use the Adafruit Tiny Thermal USB printer
[UK Link]
[US Link [A]]
with ...
0
votes
0
answers
132
views
Unable to detect Capacitive Soil Moisture Sensor on my RPi 4 through ADS1115
My RPi 4 does not read any values in from my capacitive soil moisture sensor. I have a breadboard for the wiring that I will attach a photo of, and I am running a test program (simpletest.py from the ...
1
vote
1
answer
129
views
What happens when you overload the 5V pin on Zero W
I am trying to work out what will happen if I power too many NeoPixels from the 5V pin on a Zero.
I understand from the Uberguide that this is the calculation required to work out the power draw:
To ...
-1
votes
1
answer
293
views
Using TTL thermal Printer USB
I was following these installation instruction about configuring a TTL Thremal printer in USB.
Thus when I try : echo -e This is a test.\\n\\n\\n > /dev/ttyUSB0 it gives me a bash: no permission. I ...
0
votes
1
answer
237
views
How can I change the I2C address of an Adafruit seesaw soil sensor by shorting the address jumper?
I bought a few of these moisture sensors ->
https://cdn-learn.adafruit.com/downloads/pdf/adafruit-stemma-soil-sensor-i2c-capacitive-moisture-sensor.pdf?timestamp=1543968539
I have a few of them, so ...
0
votes
1
answer
657
views
Remote I/O error 121 with using ADS1115 for long time.sleep()
Hello together,
I'm currently trying to read values from a pH-probe via an ADS1115 and the Adafruit_Circuitpython_ADS1x15 library connected to my Raspberry Pi 4. Using the instructions on https://...
0
votes
0
answers
189
views
Is there a reason my GPIO pins have a low voltage?
I'm currently using a Raspberry Pi Zero W running Pi OS Lite. I'm using the following external hats with it:
PiSugar 2 Battery 1000mAh link
Serial PiZero addon link
PiOLED link
Here's my situation: ...
6
votes
2
answers
3k
views
Adafruit bonnet & adafruit-circuitpython-motorkit return "ValueError: No Hardware I2C on (scl,sda)=(3, 2)"
on the line kit = MotorKit(), the error diagnostic is:
ValueError: No Hardware I2C on (scl,sda)=(3, 2)
quality standards quality standards quality standards quality standards quality standards ...
-1
votes
2
answers
3k
views
DHT 11 sensor not found, check wiring
I am using raspberry pi 4 model b and sensor DHT 11 for checking the humidity and temperature. When I am using the code DHT.py, the result is:
1604263139.922 4 3 0.0 0.0
1604263142.192 4 3 0.0 0.0
...
0
votes
0
answers
106
views
Using Adafruit RFM96W with Raspberry Pi for a end node of The Things Network
I am trying to create a Raspberry Pi 3 end node with the Adafruit RFM96W module and raspi-lora library but it seems that the library has no configurable APPSKEY, NWKSKEY, DEVADDR and etc., so I won't ...
2
votes
0
answers
540
views
adafruit_drv2605 AttributeError: object has no attribute 'try_lock'
I am using a Texas Instruments DRV2605 to drive some haptic motors. I am using the Adafruit library here to communicate with the DRV through Python. I need to set some bit registers of the chip but ...
0
votes
0
answers
1k
views
How to Disable Hardware SPI Chip Enable/Chip Select?
I'm setting up a Raspberry Pi 4b with a number of Adafruit chips, and thus have used their CircuitPython library to control SPI communication. They've conveniently set up a way to use any GPIO pins as ...
0
votes
0
answers
64
views
Can I use a TP4056 Micro USB 5V 1A instead of a powerboost 1000c to a Raspberry Pi Zero?
I am using a Raspberry Pi Zero and to make it rechargeable I need a Powerboost 1000c (from https://www.adafruit.com/product/2465) would I be able to supplement this for a TP4056 Micro USB 5V 1A?
This ...
1
vote
1
answer
1k
views
sudo python3 generates error but python3 does not
I don't understand why "sudo python3 temphumlogger2.py" triggers a module error, while "python3 temphumlogger2.py" executes no problem. Outputs below, and code below that. I want ...
0
votes
1
answer
219
views
Show boot info on character LCD
Is it possible to show boot log or info on a character LCD that the Raspberry Pi is still booting?
I'm using a generic 16x2 character LCD
0
votes
1
answer
822
views
Converting from RPi.GPIO to circuit python digitalio
I didn't write this code (just made some modifications) but it was using a depreciated library so I'm trying to update to the official circuit python libraries and update everything for python3.
This ...
-2
votes
1
answer
271
views
How do I connect my 24 pin fpc to dip breakout board to my rpi zero w?
So I am working on a type of headset and I bought the adafruit 1.3 ips with 24 pin fpc connector and st7789 driver and I'm thinking of using a breakout board to do it. What I don't know is the pin out ...
0
votes
0
answers
283
views
BNO055 RUNTIMEERROR WITH RASPI 3 and UART port
I have some troubles to run bno_simpletest.py correctly.
I updated my raspbian, activated serial port, disabled bluetooth, I'm using serial.Serial, I tried both commands in the code :
"uart = ...
2
votes
1
answer
464
views
Cannot pip install adafruit-circuitpython-mlx90640
I am trying to install adafruit-circuitpython-mlx90640, a library for the MLX90640 thermal camera. When I run sudo pip install adafruit-circuitpython-mlx90640 I get an error that no matching ...
1
vote
0
answers
204
views
Adafruit PiTFT capacitive touch not showing on i2c
I recently picked up one of the overhang versions of the pitft 2.8 capacitive touch and tried the easy install with the 640x480 mirror of HDMI in pixel/xwindows. But I was not getting capacitive touch....
0
votes
0
answers
57
views
Multiple LED strips over Pi4
I am trying to control 3 LED strips independently over Pi using python.
As Pi4 only has 2 PWM channels, 0 and 1, I have only been successful in controlling 2 LED strips.
I even tried the software ...
1
vote
1
answer
86
views
Scaling down Raspbian for Adafruit PiTFT 1.14"
I want to use the Adafruit PiTFT (click here) 1.14" with the Raspbian Desktop. How can I scale the Raspbian Desktop down so that it will be normally sized on the 240x135 px screen? An example with ...
0
votes
1
answer
112
views
PIR sensor shows movement when no movement is present
Completely new in the Raspberry Pi community, so please excuse me if this is a total noob question.
Model: Raspberry Pi 4 Model B
Component: Adafruit PIR motion sensor
I am currently following the ...
1
vote
0
answers
181
views
Adafruit BMP280 Temperature Sensor with Raspberry Pi
I am using Adafruit BMP280 Temperature sensor breakout board with Raspberry Pi 3 Model B.
OS- Android things.
I am using library: https://github.com/androidthings/drivers-samples/tree/master/bmx280
...
1
vote
0
answers
272
views
raspberry pi zero I2S record and playback
I am following this answer to enable both audio record and playback on RPI zero.
My question is: dose the files ~/.asoundrc and /etc/asound.conf conflict each other?
Sorry, I should just comment ...
0
votes
1
answer
645
views
How can Rpi python 3 uses PCA9685 PWM controller to change direction and position of a servo?
I need help understanding the code in the turn.py file, which is a part of the this project, please look
#!/usr/bin/python3
# File name : car_dir.py
# Description : By controlling Servo,the camera ...
0
votes
1
answer
160
views
Raspberry Pi 3 DHT 22 incorrect readings
I have configured the RPi to read value from the DHT 22 sensor. I have used AdafruitDHT library but when I start AdafruitDHT.py script I got totally incorrect value e.g. "Temp=537.7* Humidity=1152.0%"
...
1
vote
0
answers
410
views
Headless Shutdown of Raspberry Pi using Adafruit-GPIO-Halt
I am new to Raspberry Pi and am trying to use the headless shutdown module provided by Adafruit.
I downloaded the script of Adafruit-GPIO-Halt to my Raspberry Pi, installed it to the /usr/local/bin/...
0
votes
0
answers
41
views
How to swap displaying on Adafruit TFT back to HDMI
I’m new here. Recently got the adafruit tft display, tried it out but now want to swap back to HDMI output to display on monitor as before.
Original instructions : https://learn.adafruit.com/adafruit-...
2
votes
4
answers
186
views
Why is my relay switching on automatically when I start my program?
I'm building a little automated hydroponics system using a raspberry pi zero, a 5 volt relay, a pump and a soil moisture sensor from adafruit. So far everything is working, I can pull the pin to high ...
1
vote
1
answer
96
views
Auto run python program upon boot up of raspberry pi
I have done up a real time GPS python program with raspberry pi3b+ and Adafruit GPS module, the program can run manually when connected to monitor. I would like to auto run it once the raspberry pi ...
0
votes
0
answers
296
views
Adafruit Neopixel 60LED RGBW Strip showing up with wrong RGB color
We are currently using the Adafruit Neopixel RGBW 60 pixel LED strip with our project, and are currently trying to control it. The strip, however, is displaying incorrect colors when trying to ...