Go to advanced search

by lpdescamps
Thu Jan 17, 2019 6:52 pm
Forum: Other projects
Topic: Pi Zero W Blinds (etc.)
Replies: 2
Views: 1736

Re: Pi Zero W Blinds (etc.)

hi,
what sort of relay is that?
by lpdescamps
Mon Dec 10, 2018 7:00 pm
Forum: Other projects
Topic: can I use a digital dimmer on these Christmas lights?
Replies: 6
Views: 1784

Re: can I use a digital dimmer on these Christmas lights?

thank you for your advice.
i decided to drop the idea this year (again) and go with 24v and a controller to slow glow the lights...
i would love to find a controller for Rpi and play a bit with it.
any idea?
thnaks
by lpdescamps
Wed Nov 21, 2018 6:08 pm
Forum: Other projects
Topic: can I use a digital dimmer on these Christmas lights?
Replies: 6
Views: 1784

Re: Christmas

the lights are 220v ac without any transformer
by lpdescamps
Wed Nov 21, 2018 7:40 am
Forum: Other projects
Topic: can I use a digital dimmer on these Christmas lights?
Replies: 6
Views: 1784

can I use a digital dimmer on these Christmas lights?

Hi, do you think I could use this digital dimmer to do a glow/fade effect on a 15m xmas led lights using a RPi Zero? The lights are 220V/AC Digital Dimmer: https://www.ebay.co.uk/itm/Digital-Dimmer-Module-AC-Dimmer-For-Arudino-Raspberry-PI-110-220V-16-Level-SSR/173326390694?hash=item285b0ed5a6%3Ag%3...
by lpdescamps
Mon Nov 05, 2012 1:27 pm
Forum: Python
Topic: 2 actions on one button
Replies: 5
Views: 1358

Re: 2 actions on one button

this seems to work. what do you think? thanks import RPi.GPIO as GPIO import time import os GPIO.setmode(GPIO.BCM) GPIO.setup (17, GPIO.IN) while True: if GPIO.input(17): os.system('mpc pause') time.sleep(.5) if GPIO.input(17): os.system('mpc play') time.sleep(.5)
by lpdescamps
Sat Nov 03, 2012 6:06 pm
Forum: Python
Topic: 2 actions on one button
Replies: 5
Views: 1358

Re: 2 actions on one button

Hi Ken,

thanks for your reply. how do i see the script from the link?
thanks
by lpdescamps
Fri Nov 02, 2012 1:19 pm
Forum: Python
Topic: 2 actions on one button
Replies: 5
Views: 1358

2 actions on one button

Hi, I'm try to play/pause mpc using a momentary push button connected on the gpio. i guess python would do that nicely but i m just hopeless .... the code based on other codes I found on the forums is import RPi.GPIO as GPIO import time import os GPIO.setmode(GPIO.BCM) GPIO.setup (17, GPIO.IN) while...

Go to advanced search