Questions tagged [adafruit]

Use this tag if your question relates to Adafruit products.

You should use this tag if your question relates to the use of Adafruit products, for example, many sensors and Hats are manufactured by Adafruit.

98 questions
8
votes
2 answers

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 quality standards quality standards quality standards…
Phlip
  • 338
  • 6
  • 15
2
votes
1 answer

I2S Recording combined with I2S Playback

I have a Raspberry Pi Zero and I am using the Adafruit I2S MEMS Microphone together with the ADAFRUIT I2S 3W CLASS D AMPLIFIER BREAKOUT - MAX98357A. I did follow the two respective tutorials and I got both the mic and the speaker working. However, I…
Besi
  • 1,004
  • 4
  • 14
  • 26
2
votes
0 answers

PI4J + Adafruit LCD with MCP23017

Got this device. Python example char_lcd_plate.py is working perfect. But I would like to manage it with Pi4J. I copied bits from python example LCD_PLATE_RS = 15 LCD_PLATE_RW = 14 LCD_PLATE_EN = 13 LCD_PLATE_D4 …
Alex
  • 71
  • 4
2
votes
0 answers

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 Using cached Adafruit_DHT-1.4.0.tar.gz (15…
Prmake
  • 23
  • 2
  • 4
2
votes
0 answers

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 am getting the exception in the title. I am…
Bassline Soup
  • 115
  • 1
  • 10
2
votes
1 answer

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 distribution is found for Adafruit-Blinka. So I tried to…
Mike C.
  • 203
  • 1
  • 2
  • 6
2
votes
4 answers

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 and engaged the pump via the relay, I can get…
2
votes
0 answers

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 the highest I can get is far from ideal. Is this…
nowox
  • 239
  • 2
  • 12
1
vote
0 answers

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 communicates using serial via USB on /dev/ttyUSB0. My…
afikomen
  • 11
  • 1
1
vote
0 answers

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 the voltage from 4.2 max down to 3.6 Volts and…
participant
  • 981
  • 2
  • 8
  • 20
1
vote
1 answer

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 client can sync to it and I get an error) unless…
MikeAlbert
  • 23
  • 4
1
vote
1 answer

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 4 header pins between the USB sockets and the 2x20…
ginjaemocoes
  • 273
  • 2
  • 13
1
vote
0 answers

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 plays an MP3 but it's not detecting the touch at…
1
vote
2 answers

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 able to dynamically assign addresses to the…
1
vote
1 answer

Changing FeatherWing Address via Solder Jumpers

I'm connecting two 7-segment LED's to the SDA and SCL lines of a Pi and controlling the display using the example Python code. Currently both displays show the same number. I want them two show different numbers. In the documentation for the…
Daniel Bank
  • 111
  • 4
1
2 3 4 5 6 7