Hi good day. This is my second post here and i am very new with Arduino.
Please help me out.
I. I have machines with the following Interface Pin
Pins
Orange, Black:GND
Black:+5VD
Brown: Coin 1 Signal
Gray: GND
White: Coin Box Switch
SkyBlue: Service Switch
Blue: Coin 2 Signal
Yellow:Ground
II. This interface use to control coin payment and this is the one I want to convert and control payment using software.
III. The project will consist of at least 10 machines and a distance of the machine is not more than 1 meter away with each other. The floor area of the project location is around 50SQM to 200SQM
IV. Payment System/Server is located somewhere within the floor area of the location, The software development of Project for Payment System is not in this topic. Payment System will only send command to Arduino project via LAN Ethernet or WIFI or any suggestion you may have is better fits for my project.
V. Ideas
Computer, +16 port switch, lan cables, arduino uno (10pcs), ethernet shield(10pcs)
Computer, esp8266 (10 pcs), arduino uno(10pcs)
is this 2 option is the best? please suggest if there's other solution for me.
i'm a software developer, but have not tried using arduino and these amps, voltages & wattages may not be easy for me...and trying to watch some basic on how to do it, and looking for adviser or hoping some will guide me with this project... thanks thanks
oops sorry my english not that good. please bear with me.
yes i have 10 machines, is a laundry business. it uses coin drop or token to run.. would like to replace the coin payment system, instead a system that will send the machine a signal that there's a coin dropped so it will allow user to start it..
my idea is to send udp message via lan from my computer, then arduino/ethernet receive the message then send signal to machine coin was dropped. something like this... or any idea?
I would say use a laser and photo resistor to activate a transistor. when the coin/coins pass it will signal the Arduino to activate
a relay to turn the machine on to run cycle then when cycle is done break the holding circuit to the relay coil.
dekdimaya:
yes i have 10 machines, is a laundry business. it uses coin drop or token to run.. would like to replace the coin payment system, instead a system that will send the machine a signal that there's a coin dropped so it will allow user to start it..
Are you saying that you want to stop using the coin receivers and in place of them use an Arduino on each machine to give the machine the same signal that it would get if the coins had been inserted?
my idea is to send udp message via lan from my computer, then arduino/ethernet receive the message then send signal to machine coin was dropped. something like this...
I'm not clear why you are thinking of using a LAN.
There are two questions in my mind?
What is the role of the PC / why does the PC need to send a message?
@robin2
yes, actually there's no coin receiver at all, we can buy coin receiver then attach to it. so im thinking instead of buying make arduino+ethernet to attach for each machine.
1 computer installed somewhere between 10 to 15meters away and will act as server, then this computer will send udp data to ethernet which will have their ip address each then arduino process data convert to signal to coin interface. the computer is the payment system example they pay P100 pesos, in case in the phlippines and the token cost P25, the computer will send to lan 4 token signals. thats just example.
dekdimaya:
1 computer installed somewhere between 10 to 15meters away and will act as server, then this computer will send udp data to ethernet which will have their ip address each then arduino process data convert to signal to coin interface. the computer is the payment system example they pay P100 pesos, in case in the phlippines and the token cost P25, the computer will send to lan 4 token signals. thats just example.
OK, things are getting much clearer.
But I still have a couple of questions
Why are you thinking of using ethernet and UDP? That seems to me to make things expensive as each Arduino will need an Ethernet shield. And it will make the programming more complex. Why not just use serial or wireless for communication. You could attach an Arduino to the PC and it could then send messages to the Arduinos on the different machines. The nRF24L01+ wireless modules are cheap, reliable and easy to use.
Why would the PC bother to send a complicated message (for example with the number of tokens) to the Arduino on the machine. Wouldn't it be sufficient just to send an ON or OFF signal?
Another separate thought is that you could perhaps wire the "coin box" system on each machine so it is on permanently and then use a single Arduino attached to your PC to operate relays that turn the power on or off for each machine. Just extend the power cables from the machines back to some place where it is convenient (and safe) to fix the relays.
dekdimaya:
hi thanks, i want to monitor the payment and properly control the machine,
I have never doubted that. But what you say in Reply #16 is not a response to the points in my Reply #15.
Indeed you have introduced another element by saying you want to monitor the payment because, in Reply #14, you said there is no coin receiver. So where do the payments enter the system?
sorry, but the only idea i know how to communicate is UDP, that is why im looking for better solution or ideas, can i extend the cable of the machine? what cable i will use? because on my idea i just use lan cable and rj45
here's my scenario. customer goes to staff in the payment system/computer server pay what ever she need. and the staff just receive cash then click paid for what ever service she/he likes, then the system automatically send messages to the machines, so it records the payments and the machine will only get credits on what ever the system sends. they cannot operate the machine unless it receive signal