Go Down

Topic: Multiple Arduino on a machine (Read 537 times) previous topic - next topic

Delta_G

#15
Sep 11, 2019, 02:07 pm Last Edit: Sep 11, 2019, 02:08 pm by Delta_G
I still don't understand why you need multiple arduinos for that.  Or multiple card readers.  Just seems wasteful.   
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

sterretje

I still don't understand why you need multiple arduinos for that.  Or multiple card readers.  Just seems wasteful.   
+1

@prash_21
Why not one arduino plus one reader. Tap first card, send data to PC. Tap second card, send data to PC.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

prash_21

+1

@prash_21
Why not one arduino plus one reader. Tap first card, send data to PC. Tap second card, send data to PC.
Hi Shannon,

I am a part of the Test Automation Team where we execute multiple test cases throughout the day without any manual intervention.

In order to test the scenario where there are multiple users we need two arduinos connected to the machine and each one will play its part i.e. A "Maker" with less rights can create a request and a "Checker" will check and authorize it. All this should happen without any manual intervention.
To be precise not manually inserting the card in the card reader and then validating it arduino would automatically input the pin for us.

Delta_G

I still don't understand why you think that requires multiple card readers.  Are they physically very far apart?  Like in different buildings or something? 
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

DrDiettrich

A hotel has a card reader on each door, perhaps also each machine or station in the fabric has its own card reader?

Robin2

A hotel has a card reader on each door, perhaps also each machine or station in the fabric has its own card reader?
That's so you can't go into your best friend's wife's room by accident :)

We still have not been given a clear and simple explanation of what the OP is trying to do. Does he know himself?

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

dave-in-nj

#21
Sep 17, 2019, 02:37 am Last Edit: Sep 17, 2019, 03:09 am by dave-in-nj
I am trying to follow this, but it is rather elusive.

say, a building has an entry door and a security guard.
the person comes up to the building, swipes their card.
the security guard leaves their desk goes outside an then authorizes entry by swiping their authorization card on the same reader.

Is there some way that the security guard could authorize this without exiting the building ?



Delta_G

I am trying to follow this, but it is rather elusive.

say, a building has an entry door and a security guard.
the person comes up to the building, swipes their card.
the security guard leaves their desk goes outside an then authorizes entry by swiping their authorization card on the same reader.

Is there some way that the security guard could authorize this without exiting the building ?



What has any of that to do with what the OP is asking?  He's talking about multiple people being able to swipe into the same computer from the same place.  There's no reason that they can't use the same card reader. 
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

GoForSmoke

It's clear to me that the second card reader is behind a freaking barrier (window/door/wall), not within reach of the first.

Wherever this is, this is how they want it to work. If it doesn't fit your ideas then maybe it's outside of your experience which does not make it wrong just different to what you know.
1) http://gammon.com.au/blink  <-- tasking Arduino 1-2-3
2) http://gammon.com.au/serial <-- techniques howto
3) http://gammon.com.au/interrupts
Your sketch can sense ongoing process events in time.
Your sketch can make events to control it over time.

Delta_G

Wherever this is, this is how they want it to work. If it doesn't fit your ideas then maybe it's outside of your experience which does not make it wrong just different to what you know.

You're absolutely right.  I just wonder why the OP can't just say as much.  Thing is, sometimes they need two readers because there's a barrier.  Sometimes it is because the example code they copied only compared against one card and they can't figure how they'd ever use it to read more than one.  I mean how many times do we see the thread about how to read something back from the serial monitor because that's where the example code for the sensor sent it.  Sometimes the why do you want to do that is important.  And if it isn't then it certainly isn't any skin off a poster's back to enlighten us. 
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

GoForSmoke

Possibly the OP can better explain in the OP's native language. That wasn't American Millennial in the first post, too many words were not 1337-spelled.
1) http://gammon.com.au/blink  <-- tasking Arduino 1-2-3
2) http://gammon.com.au/serial <-- techniques howto
3) http://gammon.com.au/interrupts
Your sketch can sense ongoing process events in time.
Your sketch can make events to control it over time.

dave-in-nj

Possibly the OP can better explain in the OP's native language. That wasn't American Millennial in the first post, too many words were not 1337-spelled.
it is a shame, we just love to play the pronoun with adjectives game.
I wonder if there is some point in one's life when they become enlightened and learn to ask proper question and to think rationally.
In my humble view, any post that selects parts before stating a goal, has one foot solidly in an X/Y Problem.
It would seem that thinking the problem through once requires experience.  and experience comes with failure.
like the old chicken and the egg delima.
... and to run a bit off... there was a Halloween party at the college frat house.  a young lad was dressed as a chicken.
and a young lass was  costumed as an egg.  they laughed and hung out for a bit, then they hooked up...
and well, there were able to answer that age old quandary.

Robin2

say, a building has an entry door and a security guard. .....

The problem I have with your suggestion is that it is so straightforward and the OP has not described his problem in such simple terms that I suspect the OP is trying to do something very strange or very secret.

And if it is very secret then it makes me wonder is it something we should be helping with.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up