Pages: 1 2 [3]   Go Down
Author Topic: multiple solenoid valves working together ( multiple pins to be set as output )  (Read 2254 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 48
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OH my god !! u r building my character based on whether i googled ur terms or not!!!! what r u??!! ..... why the *&@# do i need to google the terms while i am speaking to u ..... ??..... how could i know if ur answer is right or not and is worth to waste my time on googling and understanding the terms..... some fellow here answered me directly and gave me the link to arduino's shift registers and i checked them and read it..... so it's as simple as that!!   
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, I've had enough.

You aren't using a mobile phone. Have the courtesy to type "you are" rather than "u r".

Kindly explain what your project is, that you need to turn on 100 valves at once. If they all need to be turned on at once, why cannot you use a single pin and connect all of the solenoids to it?

This page shows how you can use shift registers to turn on or off 32 LEDs (not Arduino shift registers, just shift registers).

http://www.gammon.com.au/forum/?id=11518

You could extend that with some more chips to turn on or off many more things.

But please post proper sentences, with punctuation, capitals at the start of sentences, and give up on the mobile phone abbreviations, or I will lock the thread.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 48
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 Nick Gammon I explained my project.... it is a graphical waterfall ..... using 100 solenoid valves they will open, at the beginning of the show, all at once .... then i will be using a program (EXE) to convert any drawing to black and white first and then to 1s and 0s (binary) so that the sequence is outputted to the solenoids through the arduino..... and hence the water will make the drawing

My question was ..... " how can i set the pins high or low without the need of writting for each pin (which will be a lot if i am not using shift registers, and i still do not know if this a good way) the commande pinMode( , )... that was  it....

why do i need to explain my whole project for such a question......why did the person who answered me ( the answer was the links he gave me for port manipulation) understood my question so easily and some need the whole project explanation to understand? 

if u feel obliged to close the thread because i am using abbreviation then do it

Thank u for the link       
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh I see, you had that in reply #10.

If you re-read that you'll see that it looks like something PaulS said (it is inside the dotted block being a quote from him).

You need a bit of attention to detail to make the posts easier to read. Don't have what you say inside a quote from someone else.

Quote
why do i need to explain my whole project for such a question.

We are trying to help you, believe it or not. Now that you explain that you need to turn them on and off individually, to create a pattern, it makes more sense.

However that raises a wider issue, doesn't it? For the bulk of the display, you will want some on and some off, right? So the question about how to turn them all on or off is pretty minor. And surely, a short loop would solve that?

The shift register idea may well work, but you will have a lot of work wiring up 100 solenoids to it. Plus you may have issues with electrical noise etc. making things fire in ways you don't want. I would be making a smaller prototype and testing, personally.
Logged

East Anglia (UK)
Online Online
Faraday Member
**
Karma: 89
Posts: 3466
May all of your blinks be without delay()
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is this project not really just a POV (Persistence of Vision) program that turns on solenoids rather than discrete LEDs ?

POV with a few LEDs (up to the number of digital pins available) - one LED per pin
POV with more LEDs than available pins - use shift registers.  Sometimes built into the LED light string, but shift registers nonetheless,
Logged

Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

UK
Offline Offline
Faraday Member
**
Karma: 16
Posts: 2883
Gorm deficient
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
why the *&@# do i need to google the terms while i am speaking to u
Because if you don't start learning the basics for yourself, people will be spoonfeeding you forever.
Logged

Per Arduino ad Astra

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46042
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Because if you don't start learning the basics for yourself, people will be spoonfeeding you forever.
I suspect that it is more like "You will need to be spoon fed forever". But, people will get tired of doing that long before your need is satisfied. Then, you're screwed.
Logged

Pakistan
Offline Offline
Sr. Member
****
Karma: 6
Posts: 356
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I used only 40 solenoid valves with Arduino Uno and shiftregisters.. My plan was expanding upto 100+ but....However, you can see some following threads to get help..
http://arduino.cc/forum/index.php?topic=60117.0

http://www.cnczone.com/forums/mechanical_calculations_engineering_design/121931-lets_build_computer_controlled_graphical_fountains.html

Regards
Logged


UK
Offline Offline
Shannon Member
****
Karma: 184
Posts: 11164
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

why the *&@# do i need to google the terms while i am speaking to u ..... ??..... how could i know if ur answer is right or not and is worth to waste my time on googling and understanding the terms

I'm astonished by your attitude.

You asked for help. You received a concise answer that you didn't understand. You made no attempt to work out for yourself what the answer meant. A few minutes with Google would turn up thousands of hits for "Arduino shift register" and if you followed any of them it would be immediately obvious that this is something that is widely used to solve problems like this where you need to control a large number of outputs from a small number of pins. You implication that you need to be told whether a suggestion is right or not before it's worth trying to understand it is simply absurd.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Pakistan
Offline Offline
Sr. Member
****
Karma: 6
Posts: 356
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Definitely, his attitude hurt some of us including me smiley-cry...Seems we are servant of his father and he want us to do his homework by us.. smiley-twist
Logged


Pages: 1 2 [3]   Go Up
Jump to: