Questions tagged [adafruit]

Use this tag if your question relates to Adafruit products.

Filter by
Sorted by
Tagged with
0 votes
2 answers
166 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
75 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
26 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 ...
1 vote
1 answer
87 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 ...
  • 11
0 votes
1 answer
238 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 ...
0 votes
0 answers
176 views

I2S on Raspberry Pi

I am using I2S MEMS microphone on RPi4. I use the Adafruit I2S installation guide on https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-test This worked fine on the ...
  • 419
-1 votes
1 answer
127 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
0 votes
1 answer
452 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-...
  • 101
0 votes
1 answer
87 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
32 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 ...
  • 628
0 votes
0 answers
15 views

Read from analog sensor through spi from ProcessPoolExecutor

I'm working on a project in which i need to record sensor (current sensor) readings every second, and store these records into JSON file, Also make some calculation on a bunch of data that has been ...
0 votes
1 answer
490 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....
  • 143
0 votes
1 answer
321 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 ...
0 votes
0 answers
71 views

Enable i2c kernel support on ubuntu mate 18.04

I am having issues trying to enable i2c support for the raspberry pi 3B + with ubuntu mate 18.04. I need to do this in order to drive a few servos. The problem is the prompt doesn't show up to enable ...
  • 1
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
110 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
76 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 ...
  • 161
-1 votes
1 answer
51 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
100 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
104 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
95 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 ...
  • 111
-1 votes
1 answer
192 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 ...
  • 99
0 votes
1 answer
190 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 ...
  • 155
0 votes
1 answer
508 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
128 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: ...
5 votes
2 answers
2k 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 ...
  • 628
-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 ...
  • 99
0 votes
0 answers
93 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
0 answers
451 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 ...
  • 1
0 votes
0 answers
56 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
826 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
166 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
  • 147
0 votes
1 answer
719 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
234 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
260 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
353 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 ...
  • 183
1 vote
0 answers
181 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
53 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
74 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 ...
  • 31
0 votes
1 answer
81 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 ...
  • 101
1 vote
0 answers
158 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
0 answers
220 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 ...
  • 1
0 votes
1 answer
580 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 ...
  • 51
0 votes
1 answer
136 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
384 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
145 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
87 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
268 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 ...