Go to advanced search

by ToXIcGaming
Thu Apr 26, 2018 12:41 pm
Forum: Other projects
Topic: RGB LED Strip - One colour not working properly
Replies: 2
Views: 1541

RGB LED Strip - One colour not working properly

Not sure where to put this but I have an RGB LED strip that im controlling with my raspberry pi using transistors and green and blue are working perfectly but red is not, this is how red looks. This is how it's wired. This is the green working correctly. Sometimes the red works correctly but most of...
by ToXIcGaming
Tue Mar 27, 2018 3:37 pm
Forum: Troubleshooting
Topic: Would I be able to use these together?
Replies: 1
Views: 196

Would I be able to use these together?

So I am currently using a Scroll pHAT HD with a Pi Zero as a clock and I was thinking about adding a RTC module to it. The one I was thinking of adding is this one, this module and the Scroll pHAT HD use some of same pins. Here is a picture of the pinout of the Scroll pHAT HD: https://i.imgur.com/X1...
by ToXIcGaming
Mon Mar 05, 2018 8:34 pm
Forum: Beginners
Topic: Photo Transistor
Replies: 10
Views: 1285

Re: Photo Transistor

mahjongg wrote:
Mon Mar 05, 2018 10:31 am
Image

Thanks, I know im being a real noob here but how would I code it to sense that, would it be the same as sensing a momentary switch?
by ToXIcGaming
Mon Mar 05, 2018 1:54 am
Forum: Beginners
Topic: Photo Transistor
Replies: 10
Views: 1285

Re: Photo Transistor

Typical comparator is an LM393, normally a comparator (unlike an opamp) has an open collector output, and uses a single (positive) power supply. by the way, an LM393 typically cost less than 50 cents from mouser, farnell or RS. But yes, you also need some resistors to set its threshold, and for a p...
by ToXIcGaming
Mon Mar 05, 2018 1:27 am
Forum: Beginners
Topic: Photo Transistor
Replies: 10
Views: 1285

Re: Photo Transistor

The old-fashioned analog approach would be to use an analog comparator such as the TI LMV331 (or even a low voltage op amp) to provide a high-low input to the GPIO pin from your photo-transistor half bridge. You would probably want to add some positive feedback to give some hysteresis to your trip ...
by ToXIcGaming
Mon Mar 05, 2018 12:11 am
Forum: Beginners
Topic: Photo Transistor
Replies: 10
Views: 1285

Re: Photo Transistor

Not directly. It generates a varying voltage to signal the incident light intensity. All the Pi GPIO are digital only. You would need an ADC (Analogue to Digital Converter) between the sensor and the Pi. The ADC would digitize the voltage and return a number between, say, 0 for 0V and 1023 for 3.3V...
by ToXIcGaming
Sun Mar 04, 2018 11:25 pm
Forum: Beginners
Topic: Photo Transistor
Replies: 10
Views: 1285

Photo Transistor

Would I be able to use this photo transistor with a resistor on a Pi to sense when it is dark?
by ToXIcGaming
Fri Mar 02, 2018 9:57 pm
Forum: Advanced users
Topic: Scroll pHAT HD Brightness
Replies: 4
Views: 607

Re: Scroll pHAT HD Brightness

I could suggest posting on the Pimoroni forum they link to, they're pretty quick and know theirproducts. That or ask on the github for the library, again pretty good on there. https://github.com/pimoroni/scroll-phat-hd But a look at the main control library (oooh when they they startdoing more colo...
by ToXIcGaming
Sat Feb 24, 2018 8:36 pm
Forum: Advanced users
Topic: How to stream raspberry pi camera using vlc to internet
Replies: 1
Views: 1173

Re: How to stream raspberry pi camera using vlc to internet

I found a guide the looks like it'll accomplish what you want to do using a program called motion, Here it is.
by ToXIcGaming
Sat Feb 24, 2018 6:37 am
Forum: Advanced users
Topic: Scroll pHAT HD Brightness
Replies: 4
Views: 607

Scroll pHAT HD Brightness

So I have a Scroll pHAT HD and the minimum Brightness in the python library (0.1) is still too bright for use at night (lights up the whole room even with tinted acrylic in front of it) So I am wondering if there is any other way of lowering the brightness beyond what the python library allows? Mayb...
by ToXIcGaming
Tue Feb 20, 2018 9:52 pm
Forum: Python
Topic: Python 2 or 3?
Replies: 5
Views: 678

Re: Python 2 or 3?

I ran my code with Python3 and after installing all the modules for Python3, it works great, thanks guys :)
by ToXIcGaming
Tue Feb 20, 2018 7:52 pm
Forum: Python
Topic: Python 2 or 3?
Replies: 5
Views: 678

Python 2 or 3?

So I have some scripts and am wondering if i should update them to use Python 3 as this would be better for the future?
by ToXIcGaming
Sun Feb 18, 2018 4:10 am
Forum: Advanced users
Topic: SD Card Failure
Replies: 5
Views: 647

Re: SD Card Failure

Dont worry about that. Its supposed to work well. Just let it run for 10-20mins, and if your SD Card is getting hot, your sd card is more likely to be malfunctioning/bad for your pi. There shouldnt be any problem with a perfectly working sd card. But what im talking about overtime won't it kill the...
by ToXIcGaming
Sun Feb 18, 2018 2:25 am
Forum: Advanced users
Topic: SD Card Failure
Replies: 5
Views: 647

SD Card Failure

So I have a script caching weather data from an API every 30 mins and am just wondering about whether this would cause the SD card to fail quickly. I have heard about SD cards failing due to excessive writing (although I feel every 30 mins isn't really excessive), should I maybe change it to every h...
by ToXIcGaming
Fri Feb 16, 2018 5:38 am
Forum: General discussion
Topic: Raspberry PI Zero W - Mounting hole size?
Replies: 12
Views: 2818

Re: Raspberry PI Zero W - Mounting hole size?

Thanks for the replies guys. :)
by ToXIcGaming
Thu Feb 15, 2018 8:11 pm
Forum: General discussion
Topic: Raspberry PI Zero W - Mounting hole size?
Replies: 12
Views: 2818

Raspberry PI Zero W - Mounting hole size?

What size are the mounting holes on the raspberry pi zero w?
by ToXIcGaming
Mon Feb 12, 2018 2:31 pm
Forum: Other projects
Topic: Clock
Replies: 3
Views: 735

Re: Clock

Thanks for the replies guys.

I decided to use a Scroll pHAT HD as I can then do animations and other stuff as I am planning on making it a smart clock, kinda like a LaMetric time, should have said that in the first post. :)
by ToXIcGaming
Sat Feb 10, 2018 6:51 am
Forum: Other projects
Topic: Clock
Replies: 3
Views: 735

Clock

So I am wanting to make a Raspberry Pi clock with either a Pi Zero or a full size Pi. I am thinking of using this OLED screen but don't know if it's big enough to see from a distance. It will be a digital clock, I was thinking of using OLED because it will be better at night because it's not as brig...

Go to advanced search