Go to advanced search

by p0mpi
Mon May 01, 2017 2:09 am
Forum: Beginners
Topic: Simple way of playing mp3 file - Web Server
Replies: 8
Views: 9586

Re: Simple way of playing mp3 file - Web Server

Thanks snowtech! Exactly what I was trying to do and couldn't. Strangely can't get "aplay" to run from webpage but can get "mpg123" to run using this method. Seems to be permission related as well but can't tell what the difference is between executing aplay and mpg123 that makes one work and not th...
by p0mpi
Thu May 12, 2016 10:41 am
Forum: Troubleshooting
Topic: GPIO input voltage
Replies: 4
Views: 1770

Re: GPIO input voltage

No idea what kind of speaker, I was just following various online guides showing similar cheap wireless doorbells. I assumed it would be a suitable input because when I push the doorbell, the speaker wires put out exactly 3.29V and I was under the impression that the GPIO would detect 3.29V coming t...
by p0mpi
Wed May 11, 2016 11:16 am
Forum: Troubleshooting
Topic: [RPi3] SSH not working via wifi
Replies: 155
Views: 101611

Re: [RPi3] SSH not working via wifi

My RPi3 just started getting this problem today. Worked fine for the past week (that's how long I've had it). Only things that have changed are that I did an apt-get update, installed dhcpd and also created a DHCP reservation on my router which forced the pi to change it's IP (obtained via DHCP stil...
by p0mpi
Wed May 11, 2016 12:54 am
Forum: Troubleshooting
Topic: GPIO input voltage
Replies: 4
Views: 1770

Re: GPIO input voltage

Hi thanks for taking the time to reply - appreciate it.

I've posted a wiring diagram here (sorry it's a bit crude). Clearer than a photo would have been though I think. http://imgur.com/rh3zX3E

Doorbell is an Arlec DC150 series 2 door chime http://www.arlec.com.au/wp-content/files/DC150.pdf
by p0mpi
Tue May 10, 2016 8:22 am
Forum: Troubleshooting
Topic: GPIO input voltage
Replies: 4
Views: 1770

GPIO input voltage

Hello, Pi - n00b here. Wondering if someone can help me - I'm trying to setup a doorbell as input with this code on a Raspberry pi V3: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(7, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) while True: if GPIO.input(7) ==...

Go to advanced search