Questions tagged [adafruit]

Use this tag if your question relates to Adafruit products.

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

How to get an Adafruit 16x2 Character LCD kit to print information at startup running in headless mode [closed]

I'm using the following kit to print to an LCD: https://learn.adafruit.com/adafruit-16x2-character-lcd-plus-keypad-for-raspberry-pi and the associated python classes / library the webpage lists. I've ...
user avatar
0 votes
2 answers
48 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&...
user avatar
-1 votes
1 answer
48 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 ...
user avatar
0 votes
1 answer
22 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 ...
user avatar
1 vote
1 answer
72 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 ...
user avatar
  • 11
0 votes
1 answer
124 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 ...
user avatar
0 votes
0 answers
118 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 ...
user avatar
  • 419
-1 votes
1 answer
79 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 ...
user avatar
  • 1
0 votes
1 answer
307 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-...
user avatar
  • 101
0 votes
1 answer
35 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 ...
user avatar
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 ...
user avatar
  • 618
0 votes
0 answers
13 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 ...
user avatar
0 votes
1 answer
365 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....
user avatar
  • 133
0 votes
1 answer
215 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 ...
user avatar
0 votes
0 answers
57 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 ...
user avatar
  • 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 ...
user avatar
0 votes
2 answers
75 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 ...
user avatar
1 vote
0 answers
67 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 ...
user avatar
  • 151
-1 votes
1 answer
45 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 ...
user avatar
0 votes
1 answer
83 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 ...
user avatar
0 votes
0 answers
95 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 ...
user avatar
1 vote
1 answer
77 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 ...
user avatar
  • 111
-1 votes
1 answer
148 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 ...
user avatar
  • 99
0 votes
1 answer
166 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 ...
user avatar
  • 155
0 votes
1 answer
429 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://...
user avatar
0 votes
0 answers
103 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: ...
user avatar
4 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 ...
user avatar
  • 618
-1 votes
2 answers
2k 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 ...
user avatar
  • 99
0 votes
0 answers
87 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 ...
user avatar
1 vote
0 answers
388 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 ...
user avatar
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 ...
user avatar
  • 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 ...
user avatar
1 vote
1 answer
715 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 ...
user avatar
0 votes
1 answer
136 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
user avatar
  • 147
0 votes
1 answer
666 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 ...
user avatar
-2 votes
1 answer
224 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 ...
user avatar
0 votes
0 answers
255 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 = ...
user avatar
1 vote
1 answer
286 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 ...
user avatar
  • 173
1 vote
0 answers
175 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....
user avatar
0 votes
0 answers
52 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 ...
user avatar
1 vote
1 answer
68 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 ...
user avatar
  • 31
0 votes
1 answer
70 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 ...
user avatar
  • 101
1 vote
0 answers
156 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 ...
user avatar
0 votes
0 answers
194 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 ...
user avatar
  • 1
0 votes
1 answer
523 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 ...
user avatar
  • 51
0 votes
1 answer
126 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%" ...
user avatar
1 vote
0 answers
361 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/...
user avatar
0 votes
0 answers
40 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-...
user avatar
2 votes
4 answers
129 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 ...
user avatar
1 vote
1 answer
84 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 ...
user avatar