New answers tagged

0 votes

How to create a data signal using pwm from a gpio output?

"I want to write the software from the ground up." Read the Peripheral documentation https://www.raspberrypi.com/documentation/computers/processors.html Choose a language Write the code. &...
user avatar
  • 53.5k
1 vote

How to create a data signal using pwm from a gpio output?

Choose a GPIO library. See https://elinux.org/RPi_GPIO_Code_Samples Write the code.
user avatar
  • 66.5k
0 votes

No w1_slave on DS18B20 on Raspberry Pi 3 B+

Silly question, have you enabled the 1-Wire sensor in raspi-config and rebooted? sudo raspi-config
user avatar
  • 161
0 votes

Triggering MAPIR camera with PWM via GPIO on RPi

Nevermind. I just realized there is a documentation for it and it doesn't come up nicely in google search. Posting it here if anyone would find it useful. Link: https://mapir-camera.gitbook.io/mapir-...
user avatar
  • 99
0 votes

How to install wiringpi on Raspbian

This worked for me cd /tmp wget https://project-downloads.drogon.net/wiringpi-latest.deb sudo dpkg -i wiringpi-latest.deb Then to check it is working: gpio -v
user avatar
1 vote

GPIO only outputs 1.8V when using Bluedot

You state "the GPIO pins suddenly output 1.8V" - this is IMPOSSIBLE (unless the GPIO is grossly overloaded). For a lightly loaded circuit the GPIO output will be >2.5V or <0.8V. It is ...
user avatar
  • 53.5k
2 votes
Accepted

I inverted 2 GPIO pins. Is pi4 dead?

I think you mean "shorted" and not inverted. And yes, this is fatal for the PMIC (power management IC). Your Pi is dead.
user avatar
  • 2,622
0 votes

LTE-HAT GPIO SIM7600

I have been testing it and I think this needs a certain type of driver or adapter software for the connection to run only by GPIO pins on the Raspberry Pi. I only have been succesfull connecting this ...
user avatar
  • 1
0 votes

hc-sr501 goes high every minute

You need to look at your environment to find the cause of the regular pulse. I suggest you leave monitor.py running for 5 minutes. Perhaps lots of GPIO are affected. This requires the pigpio daemon ...
user avatar
  • 66.5k
0 votes

Connect several sim800l with external power supply to the uart of ip4 and floating ground

Well friends if the circuit worked, is more I edited it by changing the lipo battery power supply for power regulated with lm2596 and a 4700uf capacitor for each sim800l module. Thanks
user avatar
0 votes

How can I send AT commands to raspberry pi 2 serial uart ble module from python script

try this out import serial ser = serial.Serial('/dev/ttyUSB2',9600,parity=serial.PARITY_NONE,stopbits=serial.STOPBITS_ONE,bytesize=serial.EIGHTBITS,tim> while True: ser.write(bytes("AT\r\...
user avatar
0 votes

What is the nominal GPIO Pin Output current?

I know this thread is ancient (but not closed!) however it was really helpful to me so I am contributing what might be a useful update. Using pigpio you can set the GPIO pin current via "PAD ...
user avatar
  • 1
2 votes

I am trying to make a camera turn on and off with the press of a button, but the GPIO ports are not working, and it is not acknowledging the button

You need to setup GPIO24 as output at the start of your code: GPIO.setup(24, GPIO.OUT)
user avatar
  • 6,161
1 vote

Connecting blue LED (3.3V)

Yikes! It is a fallacy to assume that all LEDs "rated" at 3.3V in the parts search matrix have an integrated resistor! The example linked above is a for a family of LEDs intended to be ...
user avatar
  • 11

Top 50 recent answers are included