Questions tagged [adafruit]

Use this tag if your question relates to Adafruit products.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 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
0answers
36 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: ...
2
votes
1answer
30 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 ...
0
votes
0answers
19 views

MAX98357A Adafruit amplifier no output

I'm trying to connect the MAX98357A Adafruit board to a rpi Zero W. I've followed their documentation for installing and testing it. The installation went ok with no errors but at the test i got no ...
-1
votes
2answers
427 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
0answers
59 views

Using I2S MEMS microphone with Chromium

I have an Adafruit I2S MEMS Microphone Breakout that I've configured along with the MAX98357 I2S Class-D Mono Amp using the Adafruit instructions and the Raspberry Pi installer scripts. I can ...
0
votes
0answers
23 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 ...
1
vote
0answers
47 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
0answers
189 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
0answers
26 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
1answer
96 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
1answer
55 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
1answer
111 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
1answer
82 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
0answers
97 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 = ...
1
vote
1answer
54 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
0answers
81 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
0answers
39 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
1answer
42 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
1answer
33 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
0answers
89 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 ...
0
votes
0answers
46 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
1answer
185 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
1answer
48 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
0answers
178 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
0answers
29 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
4answers
88 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
1answer
63 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
0answers
139 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 ...
0
votes
0answers
21 views

Is it possible to consistently apply voltage to two or more devices?

I want to connect two or more of the following actuators to my raspberry pi: https://www.ebay.com/itm/Nano-Magnetic-Actuator-diy-micro-plane-model-servo-micro-actuator-0-5g-/183745663278 However, ...
0
votes
1answer
500 views

Raspberry Pi 4 - Adafruit MAX98357 - No Sound from speaker

We are following this: https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/overview tutorial to setup our Raspberry Pi 4 with an Adafruit MAX98357 I2S Class-D Mono Amp to a speaker (4 ...
1
vote
1answer
344 views

Raspberry pi with 1.3" oled i2c screen

I'm currently trying to use this 1.3" i2c oled screen with the Adafruit oled i2c library, but I'm currently getting this issue: I have made sure to run the setup.py and all of the code is the same. ...
1
vote
2answers
718 views

AdaFruit ServoKit CircuitPython Blinka Library Installation Problem

I'm follow along with a tutorial to get started with using CircuitPython to control servos on my RaspberryPi (https://learn.adafruit.com/adafruit-16-channel-pwm-servo-hat-for-raspberry-pi/using-the-...
2
votes
0answers
51 views

Adafruit OLED (128x64) display very dimmed?

I bought the Adafruit 128x64 OLED Bonnet and tested it with the demo program. Unfortunately the luminosity is very low and it is not satisfying: I have tried to adjust the contrast from 0 to 255 but ...
0
votes
0answers
85 views

Adafruit_MotorHAT PI4

I am trying to run the following the code on PI4. from Adafruit_MotorHAT import Adafruit_MotorHAT # pylint: disable=import-error import RPi.GPIO as GPIO # pylint: disable=import-error import time ...
1
vote
0answers
11 views

Adafruit ServoHat Second Row of Ground Pins [closed]

I am trying to access the second row of ground pins on the Adafruit ServoHat, however, these pins don't seem to work. Here is the link to the schematic diagram of the servo hat: https://cdn-learn....
1
vote
0answers
66 views

Adafruit ServoHat importing PWM object

I am following the Adafruit page regarding the ServoHat for the Raspberry Pi. I am unclear what module to import to get the PWM class. This is the page about using the PWM class: https://learn....
1
vote
1answer
876 views

No module named 'adafruit_circuitpython_servokit' [closed]

I have a Adafruit PWM hat and I am trying to run play around with some servos. However, when I run this line: from adafruit_servokit import ServoKit It returns: No module named '...
0
votes
1answer
420 views

Rpi4B buster CircuitPython Blinka Servo Board Installation Problem

I read MagPi 84 Aug 2019 page 44 Melissa LeBlanc_Williams's article on using Rpi4 circuitPython to control a robot using two boards: (1) BNO055 9-Degrees-of-Freedom (DOF) Absolute Orientation Module,...
1
vote
1answer
93 views

is the Adafruit read-only script suitable for my project?

I would like to know whether Adafruit's read-only raspi script (described here: https://www.raspberrypi.org/blog/adafruits-read-only/) is suitable for my project. My project is a camera trap that ...
0
votes
2answers
232 views

Making the VCNL4040 proximity sensor work on Python

I purchased the SparkX module with the VCNL4040 proximity sensor you can see here: to use this sensor via Python, but on the repo for the Adafruit library it seems like the library is not available ...
1
vote
0answers
67 views

PiTFT: Serial only works with HDMI plugged in

I am using a PiTFT 2.8" on an original Raspberry Pi B. I just reinstalled Raspbian and setup the PiTFT using the Adafruit easy install script to launch to console. I have a python script that ...
1
vote
0answers
249 views

Safely connect Adafruit's powerboost 1000C LBO to rPi-GPIO

I would like to connect Adafruit's powerboost 1000C LBO control pin to a rPi GPIO-pin. So I can gracefully shutdown my rPi when the LiPo runs low. I would like to connect the LBO to a diode to lower ...
1
vote
1answer
272 views

Raspberry Pi 3 B+ not reading time from the GPS

I have a Raspberry Pi 3 B+ with Adafruit Ultimate GPS HAT (https://www.adafruit.com/product/2324) with external antenna. I configured the device to act as NTP server but the NTP server won't work (No ...
1
vote
1answer
421 views

Adafruit speaker bonnet: no error and no sound

I bought an Adafruit I2S 3W Stereo Speaker Bonnet with the 2x20 header pin pre-soldered and also the speaker set. The bonnet does not neatly stack on top of my Raspberry Pi 3 Model B+ because of the ...
1
vote
0answers
109 views

MPR121 capacitive touch is sensible enough?

I have a Rapsberry Pi 3 A+ with an Adafruit Capacitive Touch HAT for Raspberry Pi (MPR121) and the idea is to plug it to the wet soil of a plant and it detects when I touch the plant (or a leaf) and ...
0
votes
0answers
186 views

Unable to get accurate RPM with Adafruit Stepper Motor HAT v0.1

I'm trying to drive some stepper motors using a Raspberry Pi 3 B V1.2 and an Adafruit Stepper Motor HAT v0.1 and am having trouble setting them to the speed I want. The motors have a step angle of 1.8 ...
0
votes
2answers
44 views

How to get the i2c ground signal to pass into the rasberry pi

I want to build a circuit, that is a Raspberry Pi Zero W, powering 8 Adafruit Alphanumeric displays (or even more). The max, theoretical current draw from an Adafruit Alphanumeric is 280mA. ...
-1
votes
1answer
529 views

Adafruit PAM8302A -> Raspberry Pi 3

I want to connect Adafruit PAM8302A amplifier to the Raspberry Pi 3 Model B+. What I need? How to do this?
1
vote
2answers
124 views

I2C Detect shows that Rasberry Pi keeps assigning the same address to 2 devices

I'm trying to hook up 2 Adafruit Quad Alphanumeric displays to my Rasberry Pi 3 B+. From what I understand, all I need to do is hookup the displays in series to the SDA SCL outs, and the I2C chip is ...