Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Midi simulation with proteus

Status
Not open for further replies.

Jman 31

Member level 2
Joined
Sep 18, 2009
Messages
49
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,675
Hi,

I hope I am not posting this in the wrong forum. Anyways, I am trying to input a midi signal to the Proteus compim (virtual serial port). I have a virtual midi piano that runs through Midi Yoke (Ox) to a virtual midi to serial converter. That converter is ported to the Proteus compim simulation. I have signal all the way to the virtual serial-to-midi converter, but there it stops (see the red arrow).

I can't get any communication to the Proteus compim (virtual serial port). I have included a photo with my settings. Also Com2 is a virtual serial port. I tried also using com1 which is an actual port.

Any advice would be greatly appreciated!

LARGER IMAGE

MidiSimulation-1.jpg
 
Last edited:

I was wondering if maybe i posted this in the wrong place? I can't seem to get any communication with the Proteus compim no matter what i do. I must be missing something..... Not much info out there on this issue.
 

Your virtual com has baud rate 57600, maybe if you set the proteus component to the same baud rate will help,
also change the parity to none (in proteus virtual ).
Maybe set the midi cam to lower baud rate and try again.
The correct port should be COM2.

I haven' used this component so I can't help much

Alex

---------- Post added at 18:41 ---------- Previous post was at 18:31 ----------

Do you have any other application that you can use to read com2?

Try with hypererminal,
programs -> accessories -> communications -> hypererminal ans select com2 to see if you get any data

Alex
 

Your virtual com has baud rate 57600, maybe if you set the proteus component to the same baud rate will help,
also change the parity to none (in proteus virtual ).
Maybe set the midi cam to lower baud rate and try again.
The correct port should be COM2.

I haven' used this component so I can't help much

Alex

---------- Post added at 18:41 ---------- Previous post was at 18:31 ----------

Do you have any other application that you can use to read com2?

Try with hypererminal,
programs -> accessories -> communications -> hypererminal ans select com2 to see if you get any data

Alex

OK. Thanks for the tips Alex. I had already tried all of that stuff except the hyper terminal thing. I am using win 7 so I am not sure where the hyper terminal is. Do you have any idea where it is in windows 7? Or if it is included?

EDIT: Did a search and it appears that hyper terminal is not packed with windows 7. i will see if I can find an alternative.

Regards,
J
 
Last edited:

Ok I have had success!!!! I am now able to send messages from my virtual midi piano to the serial (compim) port on Proteus! Whoohoo! Thanks very much Alex for your helpful tips! I have another question though. If I convert a midi signal to a serial input, does it change the nature of the signal? i.e. if my atmega reads midi signal, will the signal have to be converted back to midi or is it still the same signal? Sorry for the very noobish question, but I am not sure how all of it works.

Thanks for any thoughts,
J
 

I would be curious to what was the problem and the compim wasn't working when you tried, what did you change?

I have no idea of the midi protocol but it seems to be a serial protocol that uses bytes so it is probably similar to serial but I suppose it depend on what the converted is doing also.
Some midi specs. MIDI Specification

Alex
 

Thanks for the link Alex, I will look it over. As far as what fixed the problem, I changed a couple of things. First, I got a new motherboard and processor yesterday so that may have had some effect. I installed a virtual serial pair (com1 and com2) since the new motherboard doesn't have a serial port. When I used HyperTerminal, I realized that when you use a pair you must set the output to one com port and the input to the second half of the pair. so Com1 and Com2 etc. When I did that, the midi info was displaying on Virtual Terminal. So then I did the same thing on Proteus and it started reading the information.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top