Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: [1]   Go Down
Author Topic: ticket purchase counter system  (Read 1326 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi to all ,,,  smiley-grin

I need your help if you can to design a small system,, if you call tell me what is the required parts to build this project ,,,  and from where I have to start . or show me the block diagram any things so I can start from it . and if the code is easy and would not take a time from you can you pls sent it to me , I will be thankful
 
The project is to
 
design and construct a prototype for an automatic self-operated Light Rail Transit (LRT) ticket purchase counter system
 
An LRT railway station has a number of self-operated ticket purchase counters. The
passengers are required to enter the codes of the starting station and the destination
station. The processor should calculate the fare and must display on the four seven-segment in the following format , where the first 2 seven-segment to display the dollar and the second two seven-segment display the cents it’s like that  XX.XX
 
 
 
Also, if a passenger enters the starting station code and then changes his mind and leaves.
 
The system will hang as it will wait for the destination station code to be entered. Under
This circumstance, the following conditions must be implemented:
 
(a) If a passenger has entered the starting station code and there is no keyboard entry
for the next 15 seconds, the system should reset.
 
(b) After the display of the station numbers and the fare, the system should wait for
30 seconds and then only reset.
 
(c) The system should display “READY” initially and after reset.
 
(d) Also extend the system design to convey the error status.

we can assume that we have 3 station to make it simple A,B and C .
From A to B the cost is 1.30 and from A to C the cost 1.50 , B to C 1.90
« Last Edit: September 11, 2011, 11:25:12 am by thunderconan » Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 131
Posts: 8690
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

All this seems fairly simple but there are a couple of things I can think of

How many stations are there? You need a table to lookup the cost from A to B and If there's a lot is could get a bit large. Still a Mega would probably handle it.

More importantly how are you going to update this table in 6 months time when the prices change?

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 318
Posts: 26927
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Smells of...homework.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 131
Posts: 8690
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, I got a PM saying that there will only be 3 stations. Must be a really small town smiley

_____
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

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

hey there can you assist me with the same design. Thanks
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The requirements seem to be missing lots of features that would be required for this to be a workable system, so I guess the intent is just to mimic the user interface of a ticket purchasing system. In that case you just need a display and a keypad, and there are plenty of options for those and plenty of examples showing how to use them.
Logged

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

Offline Offline
Jr. Member
**
Karma: 0
Posts: 76
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't have deep knowledge in arduino. But i think u can use arduino uno for your project.
you can use shift registers in series for driving the 7 segment displays.
If you are just considering 3 stations then u can just use all the combinations in your program>
ie,
A to B
B to C
A to C.


i think this helps.


Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 76
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

BTW if there is any mistake,sorry.
Logged

Pages: [1]   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: