Go to advanced search

by Z80 Refugee
Tue Jul 10, 2018 6:53 am
Forum: Beginners
Topic: To check the status of relay using interrupt in raspberry pi
Replies: 3
Views: 340

Re: To check the status of relay using interrupt in raspberry pi

Why have you posted this twice? viewtopic.php?f=91&t=217782

I won't read discussion split across two threads, please discontinue this one.
by Z80 Refugee
Tue Jul 10, 2018 6:43 am
Forum: Beginners
Topic: To check the status of relay using interrupt in raspberry pi
Replies: 1
Views: 362

Re: To check the status of relay using interrupt in raspberry pi

But my button code is not working properly. Are you sure it isn't your button that is not working properly? Beginners Guide to Wiring Things to the GPIO And also I want to check the status of the relay using the interrupt and whenever the light on it should be sent a message to the database. I don'...
by Z80 Refugee
Mon Jul 09, 2018 9:34 pm
Forum: Troubleshooting
Topic: Problem with GPIO pins
Replies: 28
Views: 2220

Re: Problem with GPIO pins

To make it clear I think the problem is not with the code or the wiring the electronics components. It must be something else... ...I need to know if they're permanently damaged or not. Those two sentences are mutually contradictory. If the GPIO pins have been damaged, it is because you have wired ...
by Z80 Refugee
Sun Jul 08, 2018 1:50 pm
Forum: Python
Topic: Switching In a RGB LED?
Replies: 14
Views: 1070

Re: Switching In a RGB LED?

I extremely prefer to use gpiozero Who says you shouldn't? How would I code to that? I don't see why you are having difficulty understanding this. In order to make a LED light up, you have to put a current through it. Current flows from a high voltage to a low voltage through whatever is connected ...
by Z80 Refugee
Sun Jul 08, 2018 9:13 am
Forum: Other projects
Topic: Need Help--Corn Hole Score Board
Replies: 7
Views: 824

Re: Need Help--Corn Hole Score Board

NOLA26 wrote:
Sat Jul 07, 2018 10:06 pm
I am just not good at codeing.
Then you might like Forth, which is a hardware man's programming language.

Installing and Using Forth on the RPi
by Z80 Refugee
Sun Jul 08, 2018 8:15 am
Forum: Troubleshooting
Topic: trouble with GPIO Pins
Replies: 28
Views: 1259

Re: trouble with GPIO Pins

All the information you need is in my guide.
by Z80 Refugee
Sun Jul 08, 2018 8:11 am
Forum: Other projects
Topic: This is how to control fan based on temperature
Replies: 3
Views: 920

Re: This is how to control fan based on temperature

Not being a programmer, it is not immediately obvious to me how FanController.conf defines what pin(s) are controlling your fans. Does the default file define one fan on pin 18 by any chance? If so, that's just a guess and the comments could be a lot more explicit. I think you should also include in...
by Z80 Refugee
Sun Jul 08, 2018 8:00 am
Forum: Beginners
Topic: Image recognition using a raspberry pi camera?
Replies: 6
Views: 10346

Re: Image recognition using a raspberry pi camera?

Training a neural network is incredibly compute intensive, and takes days of processing time even on a server (but you don't have to use a neural network for every image recognition task).
by Z80 Refugee
Sat Jul 07, 2018 7:11 am
Forum: Other programming languages
Topic: Accessing GPIO I/O Pins from Forth, and How to Use Them
Replies: 35
Views: 9690

Re: Accessing GPIO I/O Pins from Forth, and How to Use Them

A video demonstrating the instructions in Post 1 has been posted on YouTube by Peter Forth:

https://youtube.com/watch?v=UBJegHVCPQQ
by Z80 Refugee
Sat Jul 07, 2018 7:04 am
Forum: Troubleshooting
Topic: trouble with GPIO Pins
Replies: 28
Views: 1259

Re: trouble with GPIO Pins

i really read it, and i think i understood it. Clearly not. I still don't get why a LED can light up but not a motor The example circuits clearly show things like motors need a relay or a power transistor to switch them. A motor will not run* on the current an RPi GPIO pin can supply, and connectin...
by Z80 Refugee
Fri Jul 06, 2018 9:07 pm
Forum: Other projects
Topic: Need Help--Corn Hole Score Board
Replies: 7
Views: 824

Re: Need Help--Corn Hole Score Board

I admire your wish to dive in at the deep end, but really I think you need to start with something simpler. Begin with one switch and one LED (and appropriate resistors to make them work), and program the Pi to light the LED when you press the switch.

Beginners Guide to Wiring Things to the GPIO
by Z80 Refugee
Fri Jul 06, 2018 9:03 pm
Forum: Automation, sensing and robotics
Topic: Wiring 7 Microphones/Sound Cards, GPS, Altimeter, Gyroscope
Replies: 2
Views: 257

Re: Wiring 7 Microphones/Sound Cards, GPS, Altimeter, Gyroscope

Have you done anything like this before, with fewer sensors? Start simple, work up.
by Z80 Refugee
Fri Jul 06, 2018 9:01 pm
Forum: Troubleshooting
Topic: trouble with GPIO Pins
Replies: 28
Views: 1259

Re: trouble with GPIO Pins

The concern is that you may not have appreciated the electronics aspect of controlling things with an RPi. Start simple, and make sure you can do the basics before you move onto motors. Read this, carefully: Beginners Guide to Wiring Things to the GPIO (I do hope your "autonomous vehicle" will only ...
by Z80 Refugee
Thu Jul 05, 2018 6:02 pm
Forum: Automation, sensing and robotics
Topic: Peristaltic pump
Replies: 11
Views: 826

Re: peralistic pump

the preassure might get to high and couse a back flow thru the pump, making the water go back when the pump stops. I don't think so; it would be a problem for a centrifugal pump but not this peristaltic pump. It should resist pressure when stopped to a similar extent as when running, and anyway you...
by Z80 Refugee
Thu Jul 05, 2018 5:49 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Battery Indicator Percentage/Time
Replies: 7
Views: 2302

Re: Battery Indicator Percentage/Time

Presuming we are talking about using Raspbian as a desktop OS on a notebook (or something like that), I think it is asking a bit much for a generic OS to have the specialised power monitoring capabilities added to the likes of Windows by the notebook's manufacturer (with their in-depth knowledge of ...
by Z80 Refugee
Thu Jul 05, 2018 5:11 pm
Forum: Automation, sensing and robotics
Topic: Peristaltic pump
Replies: 11
Views: 826

Re: peralistic pump

Presumably the Adafruit one mentioned. https://www.adafruit.com/product/1150 Thanks for the link (missing from post 1). That particular pump isn't quite what I had in mind when the OP was talking about balloons - it is possible to make peristaltic pumps which use sequenced pneumatics as the power s...
by Z80 Refugee
Thu Jul 05, 2018 4:51 pm
Forum: Automation, sensing and robotics
Topic: Peristaltic pump
Replies: 11
Views: 826

Re: Peristaltic pump

Was "afraid" of this. Thats why I m allready thinking of a valve to prevent the back preassure 🤔 Valves don't stop back pressure, they stop a back flow. If the valve is blocking (say) 30psi getting back, the pump will need to generate at least 30psi to force anything through the valve. It's just th...
by Z80 Refugee
Thu Jul 05, 2018 4:33 pm
Forum: Automation, sensing and robotics
Topic: Peristaltic pump
Replies: 11
Views: 826

Re: Peristaltic pump

In addition to my previous comments: peristaltic pumps are generally for low-pressure and delicate loads. They won't work against a back pressure of any consequence.
by Z80 Refugee
Thu Jul 05, 2018 3:14 pm
Forum: Advanced users
Topic: Measuring an internal distance
Replies: 4
Views: 436

Re: Measuring an internal distance

To need to do this, you presumably desire to work out the pressure within the tube. Just use a pressure sensor and be done with it.
by Z80 Refugee
Thu Jul 05, 2018 3:07 pm
Forum: Automation, sensing and robotics
Topic: Peristaltic pump
Replies: 11
Views: 826

Re: peralistic pump

A peristaltic pump (note correct spelling) would need at least two bladders each operating on half of the volume of the solid vessel - one bladder effectively acts as the valve for the other (and vice versa). Using one bladder (inflated by an air pump?) in a solid vessel is only acting to contract t...
by Z80 Refugee
Thu Jul 05, 2018 1:41 pm
Forum: General discussion
Topic: Vehicle detection for my nephew
Replies: 24
Views: 1252

Re: Vehicle detection for my nephew

This seems like madness to me. You're going to put how much effort into making something that might get played with for a few months maybe? That's why I thought this was a real-world project - only a real-world project would justify that much effort. My recommendation is to use some LEDs driven by G...
by Z80 Refugee
Thu Jul 05, 2018 1:28 pm
Forum: General discussion
Topic: Cooling w/ Razberry daughter board?
Replies: 14
Views: 951

Re: Cooling w/ Razberry daughter board?

While I agree with what you say, I would put my shirt on the original intention of the use "TTL" as meaning "logic level" rather than literally "TTL". The point is that it doesn't say "TTL compatible", it says "TTL" and (literally) that means 5V logic with the input voltage thresholds you have stated.
by Z80 Refugee
Thu Jul 05, 2018 10:17 am
Forum: General discussion
Topic: Vehicle detection for my nephew
Replies: 24
Views: 1252

Re: Vehicle detection for my nephew

If this is for deployment on the public highway, there will be standards to meet and I don't think a homebrew hack will be up to the mark. There must be commercially-available systems to do this kind of thing already. Disregarding that, it appears what you are asking to do is some complex image proc...
by Z80 Refugee
Thu Jul 05, 2018 8:09 am
Forum: Python
Topic: Switching In a RGB LED?
Replies: 14
Views: 1070

Re: Switching In a RGB LED?

Okay, so something like this then (it's like pulling teeth trying to help here): 5A2CE55A-CCE6-4E72-8DEA-B511030FBC54.jpeg If this is what you have, then all you need to do is put a '0' on the GPIO output to turn on the respective colour (and '1' to turn it off). Just do that to prove it works befor...

Go to advanced search