Show Posts
Pages: 1 [2]
16  Using Arduino / Sensors / Re: BI-DIRECTIONAL PEOPLE SENSOR AND COUNTER USING ARDUINO BOARD on: December 03, 2012, 01:46:02 pm
What's wrong with using interrupts?can you elaborate pls.

thanks
17  Using Arduino / Sensors / Re: BI-DIRECTIONAL PEOPLE SENSOR AND COUNTER USING ARDUINO BOARD on: December 03, 2012, 12:25:39 pm
Could you give me a starter please? am starting my display with 000, increment and decrement accordingly as the sensors makes and breaks
I need to understand this more please.
18  Using Arduino / Sensors / Re: BI-DIRECTIONAL PEOPLE SENSOR AND COUNTER USING ARDUINO BOARD on: December 03, 2012, 08:25:15 am
Hi Rob,

I am making some good progress with my ISR and to start with am printing the count on the serial monitor.
Have also got a 3 digit common cathode display wired to arduino Mega 2560 and the code to count upto 0-999-0
therefore am wondering how do I call the counting code after the interrupts have occured so as to display the count/counter
(incrementing or decrementing) on the 3 digit seven segment display??

Much appreciated.
Steffano.
19  Using Arduino / Sensors / Re: BI-DIRECTIONAL PEOPLE SENSOR AND COUNTER USING ARDUINO BOARD on: December 02, 2012, 01:14:29 pm
Thanks for the info. I am using pair of infrared sensors on one side facing the transmitter on the other side, and all I want is the same pair of sensors to command a counter to increment by 1 if a person breaks them in one way (IN) or if the other way round that will mean exit and hence decrement the counter.I was thinking of coding the arduino board to check the sequence in which the sensors were tripped and then decide whether to increment or decrement count.

steffano.

20  Using Arduino / Sensors / Re: Bi-directional people sensor and counter using Arduino board on: November 30, 2012, 04:46:11 pm
I have looked in the forum but nothing is forthcoming. The closest have got is the 2 rotary encoder code which I think is applicable to my counter.
In checking the external interrupts occuring sequence.
Any suggestions are welcome.
21  Using Arduino / Sensors / Re: BI-DIRECTIONAL PEOPLE SENSOR AND COUNTER USING ARDUINO BOARD on: November 03, 2012, 01:26:09 pm
THIS SYSTEM DOESN'T HAVE TO BE VERY RELIABLE BUT AM WONDERING IF ANYONE OUT THERE CAN HELP WITH THE CODE TO RUN A PIC16F8777A OR AN ARDUINO WITH TWO IR SENSORS S1 AND S2 TO PERFORM BIDIRECTIONAL COUNTING IN AND OUT. IN THE FIRST SEQUENCE BREAKING FIRST S1 AND THEN S2 WILL TELL THE MICROCONTROLLER TO INCREMENT THE COUNTER WHILE BREAKING THE SECOND SEQUENCE, FIRST S2 AND THEN S1 WOULD TELL THE MICROCONTROLLER TO DECREMENT THE COUNTER.THE MICROONTROLLER SHOULD ALSO STORE AND TIMESTAMP THE COUNTS AND BE ABLE TO PASS THE TIMESTAMPED DATA TO A REMOTE COMPUTER VIA BLUETOOTH OR WIFI.
ANY HELP WILL BE GREATLY APPRECIATED.
22  Using Arduino / Sensors / BI-DIRECTIONAL PEOPLE SENSOR AND COUNTER USING ARDUINO BOARD on: October 10, 2012, 05:38:01 pm
I am building a bi-directional people sensor and counter using an ARDUINO board.
am very new to this and programming as well.

any suggestons for schematics and the code.

thanks
Pages: 1 [2]