Go to advanced search

by robertdaleweir
Fri Nov 03, 2017 3:51 am
Forum: General discussion
Topic: (Solved) Turning on Relays with 16 Channel SainSmart
Replies: 6
Views: 871

Re: Turning on Relays with 16 Channel SainSmart

Hi Thank you for your information. I thought that these relays actually used an LED and were a little different than Solid State ones. I guess all of these newer (non contact) relays are called Solid State. The benefits of these newer relays definitely are numerous. I like the quiet operation aspec...
by robertdaleweir
Fri Nov 03, 2017 12:57 am
Forum: General discussion
Topic: (Solved) Turning on Relays with 16 Channel SainSmart
Replies: 6
Views: 871

Re: Turning on Relays with 16 Channel SainSmart

Hi. You should nave no problems with the relays being energised for long periods of time, they can suffer from welded closed contacts or poor contact closure due to the relay contacts burning if they are switch heavy mains voltage loads. Things like motors, computer power supplies, or any thing wit...
by robertdaleweir
Fri Nov 03, 2017 12:45 am
Forum: General discussion
Topic: (Solved) Turning on Relays with 16 Channel SainSmart
Replies: 6
Views: 871

Re: Turning on Relays with 16 Channel SainSmart

Hi. You should nave no problems with the relays being energised for long periods of time, they can suffer from welded closed contacts or poor contact closure due to the relay contacts burning if they are switch heavy mains voltage loads. Things like motors, computer power supplies, or any thing wit...
by robertdaleweir
Thu Nov 02, 2017 5:30 pm
Forum: General discussion
Topic: (Solved) Turning on Relays with 16 Channel SainSmart
Replies: 6
Views: 871

(Solved) Turning on Relays with 16 Channel SainSmart

Hi I am starting a project which I have mentioned in another post on this forum. That was primarily concerned with the Control Program Code and Operating System setup. Another area with regards to my project is in an area where I have absolutely no experience. That is the physical Relays and how the...
by robertdaleweir
Thu Nov 02, 2017 4:58 pm
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Re: Using C to Control GPIO

I will probably install F25 as I am very familiar with the Fedora system. I think I will be able to get the 'pigpio' installed. I will probably use my laptop to compile my Control Program targeting the Arm 64 Bit processor in the PI3 I just ordered. When cross-compiling for a Pi should one use 'sta...
by robertdaleweir
Thu Nov 02, 2017 2:05 am
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Re: Using C to Control GPIO

Last time I checked pigpio was included by default in Raspbian. I haven’t yet had reason to check the latest Stretch release. pigpio is still included by default in Raspbian Stretch but not in Raspbian Stretch Lite. Hi Thanks for the information. If I do decide to use Raspian this is good to know. ...
by robertdaleweir
Thu Nov 02, 2017 2:03 am
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Re: Using C to Control GPIO

Last time I checked pigpio was included by default in Raspbian. I haven’t yet had reason to check the latest Stretch release. Hi I will probably install F25 as I am very familiar with the Fedora system. I think I will be able to get the 'pigpio' installed. I will probably use my laptop to compile m...
by robertdaleweir
Thu Nov 02, 2017 12:27 am
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Re: Using C to Control GPIO

joan wrote:
Wed Nov 01, 2017 1:25 am
Also see https://elinux.org/RPi_GPIO_Code_Samples
Hi
I have scraped this entire page and will use as things evolve. There is great information at this URL. Thanks...
Robert
by robertdaleweir
Tue Oct 31, 2017 11:38 pm
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Re: Using C to Control GPIO

fivdi wrote:
Tue Oct 31, 2017 9:35 pm
robertdaleweir wrote:
Tue Oct 31, 2017 9:04 pm
I tried your Link ' https://github.com/bitbank2/SPILCD ' and it threw a '404 Error' .
The link should be https://github.com/bitbank2/SPI_LCD
Hi
Thanks, I am somewhat new at this 'git' thing. Cheers... :)
by robertdaleweir
Tue Oct 31, 2017 9:04 pm
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Re: Using C to Control GPIO

Hi I have a Process Control Program, written in C, which I wish to use directly through the GPIO part of a Raspberry Pi #. I am currently running it on a 64 Bit Linux system. I wish to port it to the PI3 and as such require C code access to turn various items on and/or off. Does anyone have any 'sn...
by robertdaleweir
Tue Oct 31, 2017 8:58 pm
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Re: Using C to Control GPIO

I use the pigpio that jahboater linked to. It works really well, it's pure C and has a liberal license if you want to modify it. It's also nice that it cross-compiles to ARM without any hassles. Cheers Hi I thank for the corroboration. Nice to here about the Cross Compiler capability. Thanks... Rob...
by robertdaleweir
Tue Oct 31, 2017 7:59 pm
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Re: Using C to Control GPIO

I would just as soon make it work in pure C. Thanks. I believe the two main GPIO libraries (that come pre-installed with Raspbian) work with C. See this one:- http://abyz.me.uk/rpi/pigpio/ and the C interface to it:- http://abyz.me.uk/rpi/pigpio/cif.html There is absolutely no need to use any Pytho...
by robertdaleweir
Tue Oct 31, 2017 7:57 pm
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Re: Using C to Control GPIO

I would just as soon make it work in pure C. Thanks. I believe the two main GPIO libraries (that come pre-installed with Raspbian) work with C. See this one:- http://abyz.me.uk/rpi/pigpio/ and the C interface to it:- http://abyz.me.uk/rpi/pigpio/cif.html which includes example code. There is absolu...
by robertdaleweir
Tue Oct 31, 2017 4:47 pm
Forum: General discussion
Topic: Using C to Control GPIO
Replies: 19
Views: 17078

Using C to Control GPIO

Hi I have a Process Control Program, written in C, which I wish to use directly through the GPIO part of a Raspberry Pi #. I am currently running it on a 64 Bit Linux system. I wish to port it to the PI3 and as such require C code access to turn various items on and/or off. Does anyone have any 'sni...
by robertdaleweir
Tue Oct 31, 2017 1:54 pm
Forum: Beginners
Topic: Voltage and Amperage Specs for GPIO Pins
Replies: 15
Views: 8169

Re: Voltage and Amperage Specs for GPIO Pins

with a limit of 16mA per GPIO pin (which is the limit of the board traces). The 16 mA limit is due to the GPIO output stage in the Broadcom chip. Nothing to do with board traces. Hi Got it. Thank you for this post. I am getting an idea of what is at play here and I am learning new terms, which are ...
by robertdaleweir
Tue Oct 31, 2017 1:51 pm
Forum: Beginners
Topic: Voltage and Amperage Specs for GPIO Pins
Replies: 15
Views: 8169

Re: Voltage and Amperage Specs for GPIO Pins

You can find a discussion here: https://www.raspberrypi.org/forums/viewtopic.php?t=12498&p=151035 and from Element14 (and others): A maximum of 16mA per pin with the total current from all pins not exceeding 51mA. Cheers This is how Urban Myths spread. Hi I read the https://www.raspberrypi.org/foru...
by robertdaleweir
Tue Oct 31, 2017 1:45 pm
Forum: Beginners
Topic: Voltage and Amperage Specs for GPIO Pins
Replies: 15
Views: 8169

Re: Voltage and Amperage Specs for GPIO Pins

It is Current NOT Amperage (just like you don't measure your height in footage (in US) or meterage elsewhere). This subject is discussed at length in many places, and there are many opinions expressed. Few of those who express these opinions seem to have actually bothered to study the circuitry or ...
by robertdaleweir
Tue Oct 31, 2017 4:43 am
Forum: Beginners
Topic: Voltage and Amperage Specs for GPIO Pins
Replies: 15
Views: 8169

Re: Voltage and Amperage Specs for GPIO Pins

You will not get any clear answers to your to your question, all have different answers This as been asked since the first Pi came out, It is said the GPIO out/put will let you draw a current of 16ma, but no more than 50ma from the Pi at a voltage of 3.3v+, My advice is use if your project is volta...
by robertdaleweir
Tue Oct 31, 2017 4:38 am
Forum: Beginners
Topic: Voltage and Amperage Specs for GPIO Pins
Replies: 15
Views: 8169

Re: Voltage and Amperage Specs for GPIO Pins

First we need to make the distinction between the actual GPIO pins, the ones with input/output capability, and the other pins on the GPIO header, which are ground (GND), 3V3 power and 5V power. From the information I gathered while researching this, the GPIO total output current limit is 100mA for ...
by robertdaleweir
Mon Oct 30, 2017 10:56 pm
Forum: Beginners
Topic: Voltage and Amperage Specs for GPIO Pins
Replies: 15
Views: 8169

Re: Voltage and Amperage Specs for GPIO Pins

You can find a discussion here: https://www.raspberrypi.org/forums/viewtopic.php?t=12498&p=151035 and from Element14 (and others): A maximum of 16mA per pin with the total current from all pins not exceeding 51mA. Cheers Hi Thank you for your post. I am reviewing the URL that you mentioned and lear...
by robertdaleweir
Mon Oct 30, 2017 4:53 pm
Forum: Beginners
Topic: Voltage and Amperage Specs for GPIO Pins
Replies: 15
Views: 8169

Voltage and Amperage Specs for GPIO Pins

I need to know the Range of Voltage and Amperage that are provided by the GPIO Pins. I have read that they provide 3.3Volts DC ( correct me if this is wrong please) but have never seen what Amps (MilliAmps) can be continuously provided at each GPIO Pin, without causing damage to the Pi unit.
by robertdaleweir
Mon Oct 30, 2017 3:15 pm
Forum: Beginners
Topic: Reboots after Power Failure
Replies: 4
Views: 525

Re: Reboots after Power Failure (Solved)

Thank you I will.
by robertdaleweir
Mon Oct 30, 2017 1:17 pm
Forum: Beginners
Topic: Reboots after Power Failure
Replies: 4
Views: 525

Re: Reboots after Power Failure

Awesome. Great feature. Thank you for your reply. Is there a 'solved' status on this forum that I can add to this thread?
by robertdaleweir
Mon Oct 30, 2017 3:11 am
Forum: Beginners
Topic: Reboots after Power Failure
Replies: 4
Views: 525

Reboots after Power Failure

Hi
I am wondering if it is possible for a Raspberry Pi to be made to 'reboot' after a Power Failure without personal Intervention?
by robertdaleweir
Mon Oct 30, 2017 1:08 am
Forum: General discussion
Topic: STICKY: Introduce yourself!
Replies: 3538
Views: 112822

Re: STICKY: Introduce yourself!

My handle is my name. I have a background in Math and Engineering. I have been using the 'NIX' OSes for many years. I have recently started a project which requires a Continuous Runtime which controls certain items in my home. I have been using a larger PC but I feel it is time to try the Raspberry ...

Go to advanced search