Go to advanced search

by tbr
Wed Jul 22, 2020 10:25 pm
Forum: Python
Topic: GPIOZero - Buttons in Functions called from Buttons not working
Replies: 11
Views: 382

Re: GPIOZero - Buttons in Functions called from Buttons not working

Thanks guys, I've got my code working well for me now, simplified things a little and made some of the code more linear meaning the buttons are now working when they should be. I do have another question though, is it correct that I can only have a button perform a single task. I would like some of ...
by tbr
Thu Jul 16, 2020 2:01 pm
Forum: Python
Topic: GPIOZero - Buttons in Functions called from Buttons not working
Replies: 11
Views: 382

Re: GPIOZero - Buttons in Functions called from Buttons not working

rpiMike wrote:
Thu Jul 16, 2020 1:00 pm
That can’t have a good effect.
I’m guessing a t.sleep(0.1) inside the loop would help with that?
by tbr
Thu Jul 16, 2020 12:48 pm
Forum: Python
Topic: GPIOZero - Buttons in Functions called from Buttons not working
Replies: 11
Views: 382

Re: GPIOZero - Buttons in Functions called from Buttons not working

My experience with gpiozero is that the next event callback won't fire until the running one has finished. Any long running code needs to be put into a seperate thread. Thank you, I'll investigate how to re-organise my current code to put it into a separate thread. Your code seems to constantly loo...
by tbr
Thu Jul 16, 2020 11:30 am
Forum: Python
Topic: GPIOZero - Buttons in Functions called from Buttons not working
Replies: 11
Views: 382

Re: GPIOZero - Buttons in Functions called from Buttons not working

Thank you for your reply, I’ll try and digest this later when I can sit down and take a good look, but on first glance I cannot see how this solves my issue of buttons not working on functions called from a button press?
by tbr
Wed Jul 15, 2020 9:18 pm
Forum: Python
Topic: GPIOZero - Buttons in Functions called from Buttons not working
Replies: 11
Views: 382

GPIOZero - Buttons in Functions called from Buttons not working

First of all I'm very new to Python, I have a little experience in C from working in Unity though. I've had a look through the forums and can't see anything that will help me with my specific issue. I'm having a strange problem, if I use a button to call a function then inside that function my butto...
by tbr
Fri Aug 10, 2018 12:34 pm
Forum: Troubleshooting
Topic: Overheated Pi - so is it dead?
Replies: 8
Views: 1018

Re: Overheated Pi - so is it dead?

... if you attached a heatsink (and its size) for the SoC? This particular Pi doesn't have a heatsink attached. I purchased it from Pimoroni and I'm going to contact them about the issue, I mean I've not done anything out of the realms of normal usage. I've never played around with the GPIO pins of...
by tbr
Thu Aug 09, 2018 1:58 pm
Forum: Troubleshooting
Topic: Overheated Pi - so is it dead?
Replies: 8
Views: 1018

Overheated Pi - so is it dead?

One of my trusty little Pi's (Pi 3 Model B+) that I use exclusively for media playing (libreELEC) started to display the temperature icon in the corner, as I stood up to go turn it off it shut itself down. The Pi (and it's coupe case) were really hot to the touch, I left it to cool down a bit and tr...
by tbr
Sat Dec 03, 2016 11:57 pm
Forum: Other projects
Topic: Voltage Meter, Is this feasible?
Replies: 4
Views: 1941

Re: Voltage Meter, Is this feasible?

That's a brilliant answer, thank you, unfortunately it's way over my head, I didn't understand a word of it.

I'm going to take that as a sign that this is currently beyond my limited knowledge. Specially as the power from a 3S LiPo needs to be treated with respect.
by tbr
Sat Dec 03, 2016 11:09 pm
Forum: Other projects
Topic: Voltage Meter, Is this feasible?
Replies: 4
Views: 1941

Voltage Meter, Is this feasible?

I like to modify Nerf blasters, in the past I've stuck a PiZero and camera in a blaster to record video and images, recently I build a simple static Sentry gun again using a Pi with camera and OpenCV to fire when it detects motion.... anyway. Currently the blaster I'm building will have a PiZero wor...
by tbr
Fri Jun 24, 2016 11:00 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5241
Views: 1575916

Re: RPi Cam Web Interface

Trying to install on a fresh Jessie Disk image, after running ./install.sh I get the error,

"WARNING: The following packages cannot be authenticated!
dialog
E: There are problems and -y was used without --force-yes"

Any clues?
by tbr
Mon Jun 13, 2016 8:21 am
Forum: Other projects
Topic: Nerf Hyper-Pi-Fire
Replies: 0
Views: 685

Nerf Hyper-Pi-Fire

I've been working on a little something pi related for the past few weeks, and I thought you guys might want to see it. It's not the most difficult project in the world (well it was for me) but I like it and wanted to share. I have christened it "The Hyper-Pi-Fire". So what is the Hyper-Pi-Fire you ...
by tbr
Mon Jun 06, 2016 1:23 pm
Forum: Other projects
Topic: Very simple wiring query
Replies: 6
Views: 1207

Re: Very simple wiring query

BMS Doug wrote:In this case the Pi's GPIO pin forms the ground path for the circuit, so no other ground connection is required.
Thanks for the information, thats brilliant.
by tbr
Mon Jun 06, 2016 1:19 pm
Forum: Other projects
Topic: Very simple wiring query
Replies: 6
Views: 1207

Re: Very simple wiring query

klricks wrote: Yes for both the power and ground. Though it would also be possible to use separate ground wires as there are several grounds in the 40 pin GPIO header.
Thank you for your answer, I can move on and test this now, thanks again.
by tbr
Mon Jun 06, 2016 12:28 pm
Forum: Other projects
Topic: Very simple wiring query
Replies: 6
Views: 1207

Re: Very simple wiring query

See for example http://gpiozero.readthedocs.io/en/v1.2.0/recipes.html or https://www.raspberrypi.org/learning/physical-computing-with-python/trafficlights/ Thanks for the links, I had infact used these pages to help me build my project, unfortunatly they don't seem to answer my actual question abov...
by tbr
Mon Jun 06, 2016 11:46 am
Forum: Other projects
Topic: Very simple wiring query
Replies: 6
Views: 1207

Very simple wiring query

Hi Guys, I hate having to ask questions on forums but I just cannot find the answers I'm after, and I feel it's because it's so simple is the reason I can't find the answer. I currently have a really simple electronics project (my first ever, so to me it feels like building a time machine) I'm going...
by tbr
Thu Jan 16, 2014 4:00 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5241
Views: 1575916

Re: RPi Cam Web Interface

First of all thank you for this excellent piece of software, it's just what I needed. Secondly I have a feature request, how about timelapse integration? Many moons ago I created a few timelapse movies on my pi using a usb camera and motion so I can't imagine it being too difficult to integrate into...
by tbr
Thu May 23, 2013 3:14 pm
Forum: Networking and servers
Topic: Panasonic Lumix
Replies: 1
Views: 1083

Re: Panasonic Lumix

Just to let anyone know who comes across this post, it is a simple thing to do, all you need to do is set up an smb share for the camera on the pi.
by tbr
Fri May 17, 2013 10:07 pm
Forum: Networking and servers
Topic: Panasonic Lumix
Replies: 1
Views: 1083

Panasonic Lumix

Quick question, I have a new camera with built in wifi, it allows me to send files by wifi to a shared folder on my Mac or a PC.Works great but what I would really like is to send the files to my Raspberry Pi as this is on all the time. So network guys, is this going to be possible? If someone could...
by tbr
Thu Feb 14, 2013 4:33 pm
Forum: Media centres
Topic: XBMC, Do you guys ever turn off your Pi?
Replies: 11
Views: 10324

Re: XBMC, Do you guys ever turn off your Pi?

I only turn mine on when I want to watch something, I would leave it on all the time but for some reason my external drive will not spin down so I have to turn it all off (running Raspbmc).
by tbr
Fri Sep 07, 2012 10:50 pm
Forum: Media centres
Topic: Xbian + WiFi where am i going wrong?
Replies: 25
Views: 25091

Re: Xbian + WiFi where am i going wrong?

Step wrote:
tbr wrote:i looked an raspbmc but was put off by the fact you cant store the image, ive a pair of SD cards i mount various images to when needed so i can try things. As theres no actual full image you can download
Can't you make your own image? Set up raspbmc on the sd card then make an image from that?
by tbr
Fri Sep 07, 2012 6:18 pm
Forum: Media centres
Topic: Xbian + WiFi where am i going wrong?
Replies: 25
Views: 25091

Re: Xbian + WiFi where am i going wrong?

Apologies for this being pretty unhelpful with regards to your question but I just wanted to quickly share my personal experience with this subject. Basically after 2 days following various pieces of googled advice regarding wifi and the raspberry pi I gave up on xbian, I'm a complete command line n...
by tbr
Sun Aug 26, 2012 11:01 pm
Forum: Graphics, sound and multimedia
Topic: USB Cams and Motion on Debian
Replies: 78
Views: 88371

Re: USB Cams and Motion on Debian

This might not be much help as I can't get that technical (Complete command line & linux newbie) but I bought a Microsoft lifecam vx-800 for my pi last week. Ive had it running using motion at 320 x 240 on Rasbian for 2 days until I stopped the recording, that was recording a time lapse in mpg1, and...
by tbr
Thu Aug 02, 2012 10:41 pm
Forum: Other projects
Topic: Lego case project
Replies: 68
Views: 84226

Re: Lego case project

How thick is the circuit board? I had an idea of a simple open-style lego case with a novel way of mounting the board: The "mini-figures" (I always called them lego men) can hold something about 3mm thick and the hands protrude a maximum of 3mm over what they're gripping. Stood on a lego board they...

Go to advanced search