Questions tagged [adafruit]

Use this tag if your question relates to Adafruit products.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 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
1answer
62 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....
0
votes
1answer
40 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
0answers
16 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
vote
3answers
43 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
2answers
40 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
0answers
43 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
1answer
30 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
1answer
49 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
0answers
63 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 ...
0
votes
0answers
17 views

Controlling Adafruit 7-Segment i2c Backpack via Node Red

Background I have wired up an Adafruit 7-Segment LED display with I2C Backpack to my Raspberry Pi as per the Adafruit instructions here. I can control the display from Python code without any problems....
0
votes
0answers
42 views

Popping sound Adafruit MAX98357 with Raspberry

I have a problem using MAX98357 Audio Amp from Adafruit with Raspberry Pi 3 B+. Every time a new sound begins, there is a popping noise that comes out of the speaker. I tried to do the fix that they ...
0
votes
1answer
50 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 ...
0
votes
1answer
88 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
1answer
104 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
0answers
68 views

Raspberry Pi 4 with Adafruit HT16K33 LED Driver Breakout, 8x8 matrix starts at [1,0] instead of [0,0]

As stated in the question title, I'm using the RPi4 and Adafruit HT16K33 LED Driver Breakout (this is the board without any external LED matrices attached). Im trying to build an LED matrix for part ...
0
votes
0answers
22 views

Two Raspberry Pi 4 connected to same IoT platform dashboard

Can 2 Raspberry Pi 4 modules be connected to a single dashboard of Adafruit IO or any other IoT platform to send data? If anyone has an idea about Adafruit specifically, please help!!
0
votes
0answers
19 views

Raspberry Pi 4 TSL2591 vs BPW21 speed. Which is better?

I am trying to make a visible light communication (something like LiFi) on my RPi4. I already have TX part completed, but I have a few problems with RX part. Firstly I was trying to use ...
0
votes
1answer
284 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
80 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
2answers
784 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
2answers
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 ...
0
votes
0answers
61 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
303 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
961 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
48 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
567 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
98 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
510 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
202 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
222 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
171 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
163 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
51 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
61 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
59 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
143 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
137 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
425 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
97 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
331 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
39 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
113 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
75 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
239 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
22 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
956 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
586 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
1k 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
91 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 ...