Questions tagged [adafruit]

Use this tag if your question relates to Adafruit products.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

LEDs in 8x8 matrix triggered in unexpected order

I have bought a pre-built 8x8 LED matrix powered by an ht16k33 and connected it to a Raspberry Pi 3b. I have created the following test program, which should turn on each of the LEDs of an 8x8 matrix ...
drewb's user avatar
  • 1
-1 votes
1 answer
32 views

'rose' and 'fell' in same keyboard script - pico/circuitpython

I have a reed switch (normally closed) attached to a Pico that when open send two key presses to the PC. I need a third key press to be sent when the switch is returned to the closed position. My ...
Nick C's user avatar
  • 93
0 votes
1 answer
51 views

Can I use the Adafruit PiOLED while using the fan pins on the RP4?

I have a feeling I'm not unable to do this but I would still rather ask the more knowledgeable folks just in case I'm either wrong or you happen to have an alternative suggestion. I have my RP4 on a ...
bakashinji's user avatar
0 votes
1 answer
45 views

Detecting the OS of host pi pico w circuit python

I am planning to create a macro keyboard that is compatible with Windows, Mac, and Linux. To achieve this, I need to detect the type of operating system and perform different key codes accordingly. I ...
Nani samireddy's user avatar
0 votes
0 answers
59 views

Stepper motor runs at full speed, then abruptly slows

I'm working with a Nema 17 adafruit stepper motor, item #324, running on Raspberry Pi 4b (Bookworm OS) with an Adafruit DC & Stepper Motor HAT for Raspberry Pi - Mini Kit Product ID: 2348. I have ...
gwfami's user avatar
  • 1
0 votes
0 answers
86 views

Can't read temperature from Adafruit RTD 3 wire sensor and max31865 chip

I'm trying to read temperature from a 3-wire PT100 sensor and max31865 chip. The chip has the correct jumpers soldered to define it as 3 wire. I have tried to follow these instructions as closely as ...
tomh's user avatar
  • 135
0 votes
1 answer
68 views

CM4 custom board with max98357

I had this module on my raspberry CM4 IO board: Adafruit MAX98357 I2S Class-D Mono Amp The module works perfectly on my IO board, but when I made my board (see diagram) it just keeps on grunting when ...
PanFiluta's user avatar
1 vote
0 answers
55 views

Raspberry Pi 1 with Adafruit PiTFT - 2.8 - No module named 'bitmaptools'

I installed the screen with: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi.pdf I have been trying to run adafruit_blinka_pyportal_nasa....
Stojkov's user avatar
  • 11
0 votes
0 answers
115 views

CIRCUITPYTHON drive not showing on rear USB ports

So I have a Raspberry Pi Pico running circuitpython and other prerequisites for the pico rgb keypad, and as shown in the title above, for some reason the circuit python drive only shows and the ...
fozzy's user avatar
  • 1
-1 votes
1 answer
305 views

ValueError: No I2C device at address: 0x29 (and others) with TSL2591 on raspberry pi zero W with pijuicezero

I am trying to get the TSL2591 outputting values on a raspberry pi zero W with extended pins and a pijuice zero over it. The following code import board import adafruit_tsl2591 import time i2c = ...
Ajned's user avatar
  • 109
0 votes
1 answer
53 views

Adafruit Snake Eyes Bonnet - TFTs backlit but no image

I have a Raspberry Pi 3B with the Adafruit Snake Eyes bonnet and 2x IPS TFT ST7789. I've soldered it all up, I can't see any bridging and I've done continuity checks on each pin. I've done a fresh ...
Lee's user avatar
  • 9
0 votes
0 answers
48 views

DHT-11 doesn't work

I connected a DHT-11 to the GPIO04 pin and wrote this code down. import Adafruit_DHT sensor = Adafruit_DHT.DHT22 pin = 7 while True: humidity, temperature = Adafruit_DHT.read_retry(sensor, pin) ...
yesn't's user avatar
  • 11
2 votes
0 answers
2k 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 ...
Prmake's user avatar
  • 23
1 vote
1 answer
349 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 ...
ceilowens's user avatar
0 votes
1 answer
222 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 ...
jonny789's user avatar
  • 211
1 vote
2 answers
998 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&...
BiLLaKoS's user avatar
-1 votes
1 answer
273 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 ...
Aharon K's user avatar
  • 101
0 votes
1 answer
53 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 ...
user7391836's user avatar
0 votes
1 answer
359 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 ...
Bocian's user avatar
  • 9
0 votes
1 answer
739 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 ...
ITN00bs's user avatar
-1 votes
1 answer
471 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 ...
SoyBoy's user avatar
  • 1
-1 votes
1 answer
1k 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-...
Khaksar's user avatar
  • 99
0 votes
1 answer
348 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 ...
peterretief's user avatar
1 vote
1 answer
47 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 ...
Phlip's user avatar
  • 318
0 votes
1 answer
981 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....
RishiC's user avatar
  • 143
1 vote
2 answers
804 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 ...
Konrado's user avatar
  • 11
1 vote
3 answers
53 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 ...
Brendan R.'s user avatar
0 votes
2 answers
318 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 ...
Brendan R.'s user avatar
1 vote
0 answers
124 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 ...
Yes's user avatar
  • 169
-1 votes
1 answer
78 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 ...
Mitchell's user avatar
0 votes
1 answer
193 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 ...
Alibasher's user avatar
0 votes
0 answers
151 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 ...
vinbera's user avatar
1 vote
1 answer
161 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 ...
Russell's user avatar
  • 111
-1 votes
1 answer
527 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 ...
Felox's user avatar
  • 99
0 votes
1 answer
346 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 ...
kimv's user avatar
  • 165
-1 votes
1 answer
865 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://...
RasPi Noob's user avatar
0 votes
0 answers
250 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: ...
Justanothermatt's user avatar
7 votes
2 answers
6k 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 ...
Phlip's user avatar
  • 318
-1 votes
2 answers
4k 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 ...
omid's user avatar
  • 99
0 votes
0 answers
144 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 ...
Ivan Zlatanov's user avatar
2 votes
0 answers
665 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 ...
Bassline Soup's user avatar
0 votes
0 answers
2k 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 ...
Brian's user avatar
  • 1
0 votes
0 answers
88 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 ...
otti green's user avatar
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 ...
mechoption's user avatar
0 votes
1 answer
311 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
kleo's user avatar
  • 147
0 votes
1 answer
1k 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 ...
alforddm's user avatar
-2 votes
1 answer
347 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 ...
Adriano Rivadeneyra's user avatar
0 votes
0 answers
309 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 = ...
adelalla's user avatar
2 votes
1 answer
687 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 ...
Mike C.'s user avatar
  • 193
1 vote
0 answers
244 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....
Scott Wood's user avatar