Go to advanced search

by jarrah31
Fri Jun 28, 2019 7:01 am
Forum: Beginners
Topic: RPI4 USB C Power Delivery negotiation
Replies: 17
Views: 3929

Re: RPI4 USB C Power Delivery negotiation

Interesting article @scorpia!

I too have a MacBook Pro 87W adapter and Apple USB-C cable that didn't work on my Pi4, but I tried another USB-C cable I had lying around and it worked with the Apple adapter! So, the Apple adapters are fine, it was just the cable!
by jarrah31
Thu Mar 17, 2016 6:34 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5008
Views: 1275282

Re: RPi Cam Web Interface

Hi Bob, What is the difference between "cam_pic_new.php" and "cam_pic.php" please? I'm liaising with the developer of "IP Cam View Pro" because his latest version that uses "cam_pic_new.php" isn't quite working right, yet I notice that the code to embed a stream in your own webpage uses cam_pic.php...
by jarrah31
Wed Mar 16, 2016 9:47 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5008
Views: 1275282

Re: RPi Cam Web Interface

Hi Bob, What is the difference between "cam_pic_new.php" and "cam_pic.php" please? I'm liaising with the developer of "IP Cam View Pro" because his latest version that uses "cam_pic_new.php" isn't quite working right, yet I notice that the code to embed a stream in your own webpage uses cam_pic.php ...
by jarrah31
Sat Nov 21, 2015 11:46 am
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

Great - glad to hear you've got it working. Does dividing by 128 work? My concern would be that that makes all the colours too bright. Try dividing by 255 instead and see if that gives a better result. EDIT: This is the issue I'm trying to explain (badly): https://learn.adafruit.com/led-tricks-gamm...
by jarrah31
Fri Nov 20, 2015 11:36 am
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

You don't need "Color" in that, it could equally just return the R, G and B values. Just change the line to return r, g, b Then, when you call the function, you'd do: r, g, b = wheel_color(100) Success, thank you very much elParaguayo for pointing me in the right direction. This is what I have (ign...
by jarrah31
Fri Nov 20, 2015 10:37 am
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

I've been debating whether or not to post in this because I do share Dougie and Peter's opinions, however, I'm very pleased to see that everyone's friends again! For what it's worth, I've used the "wheel_color" method from this code before: https://github.com/adammhaile/RPi-LPD8806/blob/master/rasp...
by jarrah31
Thu Nov 19, 2015 9:14 pm
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

Why is it wrong to ask for help from people who are experts in their field? People ask me for IT solutions all the time in my job, it's why we have experts? Why did this thread have to turn personal? Im just trying to explain why I was asking for help from people with more knowledge than me. :( Bec...
by jarrah31
Thu Nov 19, 2015 6:38 pm
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

Douglas6 wrote:See my post above.
Thanks Douglas, this is one of the examples I want to try out his evening as it looks very promising.
by jarrah31
Thu Nov 19, 2015 6:36 pm
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

I will continue to look though, I just hoped someone else had already written code to do this, or perhaps there was a Python master lurking on here who can think of the solution in 5 mins. :) If you hadn't said that I might have been tempted to knock a bit of Javascript into a bit of python for you...
by jarrah31
Thu Nov 19, 2015 6:21 pm
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

I will continue to look though, I just hoped someone else had already written code to do this, or perhaps there was a Python master lurking on here who can think of the solution in 5 mins. :) If you hadn't said that I might have been tempted to knock a bit of Javascript into a bit of python for you...
by jarrah31
Thu Nov 19, 2015 6:16 pm
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

Sorry we didn't meet your "do it all for me" expectations :roll: PeterO Hmm, not the friendly place I thought it was. Oh, quite the opposite..... We are very friendly to people who actually take notice of the help they are given and don't just say "You didn't give me the whole solution".... And you...
by jarrah31
Thu Nov 19, 2015 5:47 pm
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

Sorry we didn't meet your "do it all for me" expectations :roll: PeterO Hmm, not the friendly place I thought it was. I do understand where you're coming from though, I am a technical person and I do figure out a lot of things for myself. Others see me as an IT geek because of what i know about com...
by jarrah31
Thu Nov 19, 2015 5:21 pm
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

My "Google Fu" is strong today :-) I have been doing a lot of googling on this to try and find a fairly straightforward copy/paste code that cycles an RGB LED via a Raspberry Pi using GPIO pins. I just couldn't find a solution which is why I thought I'd ask for help on here. I will continue to look...
by jarrah31
Thu Nov 19, 2015 5:08 pm
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

Re: RGB Full Colour Smooth Cycle Help Please

True, I did come across that site whilst googling before I posted, but I didn't spend long looking at that page because it was in Javascript. Most GPIO tutorials I've found are based on Python using RPi GPIO, so I'm hoping to stay with that. I've been looking through this: http://bsou.io/posts/color...
by jarrah31
Thu Nov 19, 2015 4:48 pm
Forum: Python
Topic: RGB Full Colour Smooth Cycle Help Please
Replies: 27
Views: 7081

RGB Full Colour Smooth Cycle Help Please

Hi, I'm hoping to make a glowing snowman to display during Christmas. I've printed a 3d snowman model and have configured an RGB LED to light up the snowman from inside: http://s4.postimg.org/rfisfp1al/IMG_0070.jpg I'm now trying to figure out how to gradually cycle a full spectrum of colours that t...
by jarrah31
Mon Nov 09, 2015 4:24 pm
Forum: Troubleshooting
Topic: Bluetooth Logitech MX Master Mouse Not Moving
Replies: 7
Views: 5193

Bluetooth Logitech MX Master Mouse Not Moving

Hello, I have completed all the steps below to try and use my Logitech MX Master, but for some reason the mouse pointer won't move despite everything being paired and connected successfully. Any thoughts on where I'm going wrong please? OS: Raspian Jessie September 2015 Bluetooth USB dongle: http://...
by jarrah31
Mon Nov 02, 2015 8:10 pm
Forum: Automation, sensing and robotics
Topic: Detecting 250VAC voltage/current of deep well pump motor
Replies: 45
Views: 16573

Re: Detecting 250VAC voltage/current of deep well pump motor

Hi Bud, Thanks again for your help. I've tried quite a few different UK online shops today and it seems they either don't stock the right spec'd resistor, or if they do delivery charge is £12. I think I'll order the resistor from Digikey but buy 30 of them to make the most of the delivery charge, th...
by jarrah31
Sun Nov 01, 2015 5:00 pm
Forum: Automation, sensing and robotics
Topic: Detecting 250VAC voltage/current of deep well pump motor
Replies: 45
Views: 16573

Re: Detecting 250VAC voltage/current of deep well pump motor

Thanks again for your help - just one more question please. The R1/R2 resistor I choose ended up being a minimum 5000 item order, so my only other option is a 500V resistor. Would this be too low? http://uk.farnell.com/multicomp/mcpmr02sj0274a10/resistor-axial-small-270k-5-2w/dp/1973211 Power Rating...
by jarrah31
Fri Oct 30, 2015 2:08 pm
Forum: Automation, sensing and robotics
Topic: Detecting 250VAC voltage/current of deep well pump motor
Replies: 45
Views: 16573

Re: Detecting 250VAC voltage/current of deep well pump motor

Hi Bud, My PCB's will be arriving soon so I hope to finalise my component list. Still not fully sure on Q1, so can you confirm if the following item is ok please? The only thing that puzzles me is the VCBO in the data sheet gives a negative -80V whereas you suggest it should be 80V which is positive...
by jarrah31
Wed Oct 21, 2015 2:47 pm
Forum: Automation, sensing and robotics
Topic: Detecting 250VAC voltage/current of deep well pump motor
Replies: 45
Views: 16573

Re: Detecting 250VAC voltage/current of deep well pump motor

Jarrah31, Both of your BC856B options are rated 80V for LVCBO (check the data sheet), so you can go either way. Hi Bud, Thanks again for taking the time to help. Unfortunately I'm still not fully clear on the BC856B side of things for Q1. The link that mentioned BC856B (http://uk.farnell.com/webapp...
by jarrah31
Wed Oct 21, 2015 10:20 am
Forum: Automation, sensing and robotics
Topic: Detecting 250VAC voltage/current of deep well pump motor
Replies: 45
Views: 16573

Re: Detecting 250VAC voltage/current of deep well pump motor

Hi Bud, Thanks for your help, you pointed me in the right direction and I was able to find most of the components. However I've had difficulty with Q1 and C1 as described below, so would you mind helping find the right components for these two on the Farnell site please? Q1 - BC865B SOT23, LVCBO 80V...
by jarrah31
Tue Oct 20, 2015 7:36 pm
Forum: Automation, sensing and robotics
Topic: Detecting 250VAC voltage/current of deep well pump motor
Replies: 45
Views: 16573

Re: Detecting 250VAC voltage/current of deep well pump motor

Also, I know it's not quite the spirit of this thread, but are there any off-the-shelf boards that do the same 240V ON/OFF detection that can be monitored by a Raspberry Pi?
by jarrah31
Tue Oct 20, 2015 7:25 pm
Forum: Automation, sensing and robotics
Topic: Detecting 250VAC voltage/current of deep well pump motor
Replies: 45
Views: 16573

Re: Detecting 250VAC voltage/current of deep well pump motor

Great thread, it's just what I'm after to monitor when my central heating / hot water relays are being turned on/off! However I'm struggling to find the components in the UK. Based on your component list, I can't find the items in online electronics shops like CPC or Farnell. Is there a more descrip...
by jarrah31
Sat Sep 12, 2015 10:44 am
Forum: Official Foundation Display
Topic: STICKY: Official Touchscreen Display FAQ
Replies: 51
Views: 59336

Re: Official Touchscreen Display Questions

Thanks! I should have just left it running to see (though I did try to find screen saver options in the GUI first).
by jarrah31
Fri Sep 11, 2015 8:48 pm
Forum: Troubleshooting
Topic: Kernel messages cause 100% disk usgae
Replies: 2
Views: 668

Re: Kernel messages cause 100% disk usgae

Hi Dougie, just want to say thanks as ultimately it was a dodgy cable causing the crashes.

Go to advanced search