![]() |
![]() |
![]() |
|
|
|||||||
| 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? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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. |
|
|
|
|
|
|
(permalink) |
|
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.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
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 |
|
|
|
|
|
|
(permalink) | |
|
Quote:
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. |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| 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 |