Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 1st January 2007, 08:39 PM   (permalink)
Default Interface Question

Hey all,

I have been searching for weeks for information about how to make a simple (or not so simple im finding) interface between a vending machine (MDB Plug) and a com port for a pc.

the vending machine MDB Plug has the following connections on a 6 pin plug.

1 = Power Output 34 VCD
2 = Power Return
3 = Not Used
4 = Master Recieve (Min. input current (active) 15 mA @ 1 V)
5 = Master Send (Min. Source current (active) 100 mA @ 4 V)
6 = Communications Common


All i would like to do here is see the data coming from the MDB plug and eventualy write a small program to send data back to the vending machine.

my problem here is im not entirely sure where to even start on a project like this. im new to the electronics side of things and would like some advice more then anything on exactly what im dealing with and where to start out finding the information on a project such as this.

thank you so much for any advice offered.
Carnivore is offline  
Reply With Quote
Old 1st January 2007, 08:47 PM   (permalink)
Default

You would need to find out what the serial commands are to communicate with the vending machine in software or it will be all for nothing in the end. Maybe ask the manufacturer for the protocal or something.
dknguyen is offline  
Reply With Quote
Old 1st January 2007, 08:52 PM   (permalink)
Default

Quote:
Originally Posted by dknguyen
You would need to find out what the serial commands are to communicate with the vending machine in software or it will be all for nothing in the end. Maybe ask the manufacturer for the protocal or something.
Correct. the manufactures have this information and are very cooperative in providing it. my problem is more in the way of the acctual building of the link between the machine and the pc.
Carnivore is offline  
Reply With Quote
Old 1st January 2007, 11:46 PM   (permalink)
Default

Assuming the protocol is RS232, is the vending machine using TTL/CMOS voltage levels (0 and +5V), or -12V and +12V logic states?
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Reply With Quote
Old 2nd January 2007, 01:20 AM   (permalink)
Default

Quote:
Originally Posted by gramo
Assuming the protocol is RS232, is the vending machine using TTL/CMOS voltage levels (0 and +5V), or -12V and +12V logic states?
No, the vending machine does not use the mentioned voltage levels or logic states. and there in lies the problem im having. the vending machine is using the MDB/ICP Standard (Multi-Drop Bus / International Communications Protocal Interface Standard).


My problem is that im not real sure where to start. I have requested and recieved information from the vending manufacturers on the MDB/ICP Standard (close to 400 pages worth), see first post for specifics on the connection itself. I also found that the data itself is being transmitted in Byte Format like the following:

Baud rate 9600
1 start bit
8 Data bits
1 Mode bit
1 Stop bit

11 Bits total

does this clarify the situation at all?? sorry for the very beginner like post. any help i can get would be great.
Carnivore is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
pc I/O interface card raus Electronic Projects Design/Ideas/Reviews 4 30th May 2006 09:53 PM
how to interface a mechanical part with C# parthi2929 Robotics Chat 3 14th April 2006 11:10 PM
Basic Transmission question CamNuge General Electronics Chat 2 8th March 2006 10:08 PM
Question on parallel interface timing. Eclipsed General Electronics Chat 1 13th March 2004 04:28 AM
Question on interface Never01 General Electronics Chat 1 1st March 2004 02:41 AM



All times are GMT. The time now is 06:47 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.