I have a couple of questions that may be very stupid but I feel you guys are very nice to us lower tier dudes so I’ll ask away.
I am currently working on a project that I expect will get pretty complex, at least to me. It will be a coin/money counter. I have looked at brainstormed on several different ideas on how to do the electronics part of it and would like your opinions.
Your input/ideas would be MUCH appreciated!!!
1. Information will be displayed on a 16x2 LCD. A push button will allow the display to change between total number of coins, number of quarters, $$ in quarters, etc… The information would be gathered as follows:
i) Will run off external power. (plug in to wall)
ii) Variable w0 is the total dollar amount in the bank.
iii) Variable w1 is the total number of coins.
iv) Count the number of currency inserted and store them in the variables (b4(pennies), b5(nickels), b6(dimes), b7(quarters),b8(dollars))
I have everything drawn out and the initial test is good but there are some issues and some things I simply just don’t grasp.
1. The whole splitting w0 in to b0 and b1 thing. WOW. Crazy stuff. Anyone care to take another stab at it for me?
2. In order to count the coins I was planning on doing a simple switch (one I took off an old printer) but would some type of optical switch be better? I’m making an order and don’t mind ordering what’s needed but just looking to understand.
3. Is there a good way to allow for error checking when/if the switch gets stuck in the closed position so it doesn’t see 10,000 nickels instead of 1 stuck nickel?
4. I am currently using a 28x1 for the project. Would this project pose any need for an X2 part (fingers crossed)since I am going to have to use a 14m (I believe) for the inputs to be sure I don’t miss any coins inserted. (I also have a 40x1 and an 18x)
My apologies for the long post!
Code is at home and I'm at work. This outlines it well though.
Thank you!
I am currently working on a project that I expect will get pretty complex, at least to me. It will be a coin/money counter. I have looked at brainstormed on several different ideas on how to do the electronics part of it and would like your opinions.
Your input/ideas would be MUCH appreciated!!!
1. Information will be displayed on a 16x2 LCD. A push button will allow the display to change between total number of coins, number of quarters, $$ in quarters, etc… The information would be gathered as follows:
i) Will run off external power. (plug in to wall)
ii) Variable w0 is the total dollar amount in the bank.
iii) Variable w1 is the total number of coins.
iv) Count the number of currency inserted and store them in the variables (b4(pennies), b5(nickels), b6(dimes), b7(quarters),b8(dollars))
I have everything drawn out and the initial test is good but there are some issues and some things I simply just don’t grasp.
1. The whole splitting w0 in to b0 and b1 thing. WOW. Crazy stuff. Anyone care to take another stab at it for me?
2. In order to count the coins I was planning on doing a simple switch (one I took off an old printer) but would some type of optical switch be better? I’m making an order and don’t mind ordering what’s needed but just looking to understand.
3. Is there a good way to allow for error checking when/if the switch gets stuck in the closed position so it doesn’t see 10,000 nickels instead of 1 stuck nickel?
4. I am currently using a 28x1 for the project. Would this project pose any need for an X2 part (fingers crossed)since I am going to have to use a 14m (I believe) for the inputs to be sure I don’t miss any coins inserted. (I also have a 40x1 and an 18x)
My apologies for the long post!
Code is at home and I'm at work. This outlines it well though.
Thank you!