Go to advanced search

by twelchPTM
Thu Jul 03, 2014 5:43 pm
Forum: Beginners
Topic: Simple UPS
Replies: 1
Views: 801

Re: Simple UPS

Making headway... I found a different option, The PowerBoost 500 also comes in a variation that has a charging circuit built in. This makes things alot easier. On the 500c I tapped the USB pin that is connected directly to the incoming power to a mosfet that is holding a pin on the Pi's GPIO header....
by twelchPTM
Tue Jul 01, 2014 3:52 pm
Forum: Beginners
Topic: Simple UPS
Replies: 1
Views: 801

Simple UPS

trying to come up with a decent UPS and this is what I have so far... https://www.adafruit.com/products/259 charger w/pass-through power https://www.adafruit.com/products/258 rechargeable battery https://www.adafruit.com/products/1903 power booster to ensure 5V is delivered to the Pi at all times. I...
by twelchPTM
Mon Jun 30, 2014 1:46 pm
Forum: Troubleshooting
Topic: 3v3 pin not giving 3.3v through cobbler
Replies: 10
Views: 3493

Re: 3v3 pin not giving 3.3v through cobbler

I'm quite the noob but i just wanted to throw it out there, it is very easy to flip the ribbin cable on the cobbler. when it is in backwards some of the votlage and ground pins will appear to be correct. The cobbler has 2 -3.3v pins if you are using the one at the top and your ribbon is backwards it...
by twelchPTM
Mon Jun 30, 2014 1:40 pm
Forum: Python
Topic: pi3d doesn't like to sleep
Replies: 13
Views: 2234

Re: pi3d doesn't like to sleep

got everything working the way I need it to, mocked up my hardware on a breadboard, just need to figure out how to make it run automatically at start up. tried using cron, editing rc.local and a few other ways I found online but none seem to work.
by twelchPTM
Mon Jun 30, 2014 1:38 pm
Forum: Python
Topic: fading images
Replies: 20
Views: 5840

Re: fading images

Thanks for the input, I have gotten everything working usind pi3d. It was a bit of work figuring out what I needed and how to implement it. Python code structure is still a bit strange to me, and I have a few spots where code would not execute properly but when I define that section of code as its o...
by twelchPTM
Wed Jun 25, 2014 9:10 pm
Forum: Python
Topic: pi3d doesn't like to sleep
Replies: 13
Views: 2234

Re: pi3d doesn't like to sleep

Paddyg, thanks for the input, I will definatly give your Idea a whirl but in the mean time I just want to get this thing up and running. I remember the DRY and WET concept from high school and did start off trying to keep everything as simple as possible but I am very new to all of the elements invo...
by twelchPTM
Wed Jun 25, 2014 8:03 pm
Forum: Python
Topic: pi3d doesn't like to sleep
Replies: 13
Views: 2234

Re: pi3d doesn't like to sleep

added this... blank = pi3d.ImageSprite("/home/pi/blank.png", shader, w = 30, h = 15) and this... def show_blank(): while DISPLAY.loop_running(): blank.set_alpha(1.0) blank.draw() break and this.... showblank() but it won't show the blank image!!! (blank.png is an actual image of just a black square)...
by twelchPTM
Wed Jun 25, 2014 7:40 pm
Forum: Python
Topic: pi3d doesn't like to sleep
Replies: 13
Views: 2234

Re: pi3d doesn't like to sleep

#!/usr/bin/python from __future__ import absolute_import, division, print_function, unicode_literals from time import sleep import pi3d #black backgroud left transparent during development BACKGROUND = (0.0,0.0,0.0, 0.0) #set display, this is fullscreen but I really don't know why or how DISPLAY = ...
by twelchPTM
Wed Jun 25, 2014 7:12 pm
Forum: Python
Topic: pi3d doesn't like to sleep
Replies: 13
Views: 2234

Re: pi3d doesn't like to sleep

yes I got the fading to work, i have everything working the way I want it to except the screen doesn't clear after showing the image. as best I can tell from the pi3d documentation DISPLAY.clear() should do it but it doesn't seem to be that way....I should probable post my code, I need to restart my...
by twelchPTM
Wed Jun 25, 2014 6:23 pm
Forum: Python
Topic: pi3d doesn't like to sleep
Replies: 13
Views: 2234

Re: pi3d doesn't like to sleep

Thank paddyg but there is a lot that I really don't understand. I tried to follow the slideshow demo but got completely lost. What I amm trying to do really is the tip of the iceburg and involves not 3d whatsoever. The long term goal is to have one of 3 images fade into view based on user input, sta...
by twelchPTM
Wed Jun 25, 2014 4:36 pm
Forum: Python
Topic: pi3d doesn't like to sleep
Replies: 13
Views: 2234

Re: pi3d doesn't like to sleep

your right dave, I figured that out. It seems that when I use sleep in the main loop that sleep command becomes part of the individual frame. thats why it went wierd. it does work in sub-loops with out any issues
by twelchPTM
Wed Jun 25, 2014 2:45 pm
Forum: Python
Topic: pi3d doesn't like to sleep
Replies: 13
Views: 2234

pi3d doesn't like to sleep

I am slowly figuring this out, I can place an image on the screen, I can clear the screen and place another image on the screen, but when i try to use time.sleep(x) the whole thing gets slow and wierd. The keyboard becomes slow to respond and when it does sleep its sleeps for about double the speced...
by twelchPTM
Tue Jun 24, 2014 9:09 pm
Forum: Python
Topic: fading images
Replies: 20
Views: 5840

Re: fading images

Okay so I got the pi3d and started over. So far I have figured out how to get my image to appear on the screen. Now for the fade effect, any ideas where to start?
by twelchPTM
Tue Jun 24, 2014 4:50 pm
Forum: Python
Topic: fading images
Replies: 20
Views: 5840

Re: fading images

I tried clearing the screen each time and it definetly made the transition more smooth, It didn't really slow it down any more then it already is. I upped the increment of the transparency and got an okay looking effect that fits my time frame but it still seems crazy slow. I am not commited to pyth...
by twelchPTM
Mon Jun 23, 2014 8:26 pm
Forum: Python
Topic: fading images
Replies: 20
Views: 5840

Re: fading images

I've been looking at the suggestions but could't let go of the fact that something just didn't seem right. I decided to print the value for i from the for loop that does the fade. Oddly enough there is no difference in the transparency of the image after about 30! I though the set_alpha() took a num...
by twelchPTM
Mon Jun 23, 2014 7:00 pm
Forum: Python
Topic: fading images
Replies: 20
Views: 5840

Re: fading images

all I need is fade in/out, could you point me to more info on SDL?
by twelchPTM
Mon Jun 23, 2014 5:12 pm
Forum: Python
Topic: fading images
Replies: 20
Views: 5840

Re: fading images

I am in fullscreen HD, a smooth fade is not important but would be nice, with icrements of 10 it still takes about 20 sec. there has to be a better way, Is there a way to adjust transparency with out redrawing the surface every increment? what about SimpleCV? I've tried it but cant get it to work in...
by twelchPTM
Mon Jun 23, 2014 4:39 pm
Forum: Python
Topic: fading images
Replies: 20
Views: 5840

fading images

I am supper new to python and am working on this program for my pi. What it is meant to do is display 3 images one at a time and I want them to fade into view. The code works but takes an incredibly long time to do it. Is there a better way? import pygame from time import sleep running = True pygame...
by twelchPTM
Mon Jun 16, 2014 9:19 pm
Forum: Beginners
Topic: Wireless keyboard and mouse
Replies: 6
Views: 2134

Re: Wireless keyboard and mouse

Nope, powered hub makes no difference. Mouse still won't work.
by twelchPTM
Mon Jun 16, 2014 6:27 pm
Forum: Beginners
Topic: Wireless keyboard and mouse
Replies: 6
Views: 2134

Re: Wireless keyboard and mouse

I guess that's enough of a clue for me to give it a try. I can run with the Wi-fi dongle only but not with the keyboard/mouse dongle only.
by twelchPTM
Mon Jun 16, 2014 5:46 pm
Forum: Beginners
Topic: Wireless keyboard and mouse
Replies: 6
Views: 2134

Re: Wireless keyboard and mouse

The only thing I have plugged in is the keyboard/mouse dongle and a wi-fi dongle Keyboard/Mouse https://www.adafruit.com/product/1738 Wi-Fi https://www.adafruit.com/product/814 Power Supply https://www.adafruit.com/product/501[/url] I considered trying a powered hub but didn't want to go buy one wit...
by twelchPTM
Mon Jun 16, 2014 3:59 pm
Forum: Beginners
Topic: Wireless keyboard and mouse
Replies: 6
Views: 2134

Wireless keyboard and mouse

SO I got my first Pi and I ordered this keyboard and mouse combo from Adafruit.com. When I plug everything up the keyboard works but the mouse does not. They sent me a replacement but the same thing happens. in the dmesg I am seeing usage index exceeded and probe failed with error - 22. any thought?...
by twelchPTM
Thu Jun 12, 2014 6:42 pm
Forum: Python
Topic: getting stuck in fullscreen
Replies: 1
Views: 1854

getting stuck in fullscreen

silly little program draws circles based on mouse position, program stops if you press any key but stays in fullscreen..... import pygame from pygame.locals import * width, height = 640, 640 radius = 0 mouseX, mouseY = 0,0 running = True pygame.init() #window = pygame.display.set_mode((width, height...
by twelchPTM
Wed Jun 11, 2014 4:21 pm
Forum: General discussion
Topic: Is the Pi right for my project?
Replies: 8
Views: 1312

Re: Is the Pi right for my project?

Wow! Thank a million. I did start messing with python yesterday and am gleefully setting up my new pi right now!
by twelchPTM
Tue Jun 10, 2014 4:34 pm
Forum: HATs and other add-ons
Topic: UPS kit for the Raspberry Pi.. what do you think?
Replies: 16
Views: 7372

Re: UPS kit for the Raspberry Pi.. what do you think?

hello, I am new to Pi, in fact my first Pi has not even arrived yet. My first project does however need something like what you describe here. Our power is on timers, I need the pi to shutdown when the power goes off, so the battery would only need enough power for that. I doesn't need to charge eve...

Go to advanced search