We have a design project called as eload vending machine..meaning loading using the pc and the coin slot..we have a multicoin slot..we already set it..it accept 5php and 10php only..it will reject the other denomination..we are using VB6 for our program in interfacing..then we are also using microcontroller RS232..the coinslot is connected to the RS232..our problem is that how can we trap or how can the RS232 identify the two coins...because it needs to be identify at the RS232 the two coins then send the data to the VB6 then the VB6 will know that it already reach the amount..
Example: load of 15, you insert a 5php and 10php..the RS232 will identify that it has one 5php and 10php..then the VB6 accept the data and load it to the respective phone number using the GSM...
Example: load of 15, you insert a 5php and 10php..the RS232 will identify that it has one 5php and 10php..then the VB6 accept the data and load it to the respective phone number using the GSM...