Search Engine

23 Threads found on Virtual Terminal Proteus Code
I want to show analog value on serial monitor in proteus using arduino.I use the A0 pin of arduino for analog reading.code is compiled successfully in arduino software.when I burn the hex file in arduino in proteus software virtual terminal show reading 1023.I have connected potentiometer to A0 pin of (...)
help me, please ! i'm connecting labview to MCU by virtual terminal . i use pic 16f887 to transmit data from MCU to labview, MCU transmit 12 datas regarded as 12 channels. but there are still errors. i simulate on proteus , write code on ccs.116183116184116185116
plz any provide me simple basic Assembly code for PIC16f877a for serial communcation or here it is my code ,,point the problem inthis code.... when i load it to proteus ,after connecting virtual terminal with PIC ,,virtual terminal is showing some (...)
I don't understand what is your problem .The code is working fine on proteus .If you are checking on real hardware attach the circuit.otherwise you are using proteus virtual virtual terminal you have to turn on echo to see both Transmitted and recieved value.actually it shows the value on (...)
There is a bug in proteus related to baudrate. Change baudrate to 1200 bps or 2400 bps in proteus virtual terminal. It will display properly. Keep baudrate as 9600 bps in code. I don't know of any bug in proteus using a PIC at 9600 baud or at any other baud rate. I have just written a (...)
I am learning rs232 serial communication and ı write code and ı simulate this code in proteus but not work. here is my code : #include #include #include #define _XTAL_FREQ 4000000; void init() { BRGH=1; SPBRG=25; SYNC=0; SPEN=1; TXEN=1; } void (...)
it's the first code in UART so i'm trying to simulate it and i use the virtual terminal on proteus but nothing appear i don't know why ?? the code : /* * Uart_Driver.c * * Created: 7/29/2013 4:33:00 PM * Author: Belak Magdy */ #include void UARTinit(); void (...)
I'm using proteus to simulate a simple communication between PIC16F877A and a Serial Port. I Installed VSPE, I created 2 virtual Ports COM2 and COM3, I picked "pair" in VSPE so that COM2 and COM3 are connected together. In proteus I added the PIC and the COMPIM, I edited the properties of COMPIM so that it works as COM2, all other (...)
Do not use MAX232 in proteus, in conjunction with the COMPIM. It uses digital ('TTL') levels like the virtual terminal, while transforms the phisical port to a virtual port.
Connect the RxD of virtual terminal (VT) to TxD of mcu and connect TxD of VT to RxD of mcu in proteus and simulate.
Hi Zakir; Here is a well working and debuggable proteus project (NOT mine !). Written in Boost C, no LCD but RS232 virtual terminal, however I hope it helps you.
hello eveyone, I'm trying to make a simulation of SD card with ISIS proteus , the code for the Microcontrolleur is in C langage! but I don't know why i don't get something in the virtual terminal !!! help mee pleaaazz!!! here is the code: // This function sends carriage-return and line-feed to USART // (...)
TMOD = 0x20; //Timer-1, 8-Bit Auto Reload Mode TH1 = 0xFD; //9600 Baud Rate When Crystal Used is 11.0592MHZ SCON = 0x50; TR1 = 1; //Start Timer this is right Check your crystal frequency in proteus and also adjust the baud rate to 9600 by double clicking on virtual terminal Hope this may solve
Why does the code below send continous no of 'U' in proteus simulation virtual terminal.I am using winavr for programming atmega8 By putting "cli();" instruction in ISR should have disabled interrupt. but 'U' is being continuously delivered. what is the problem here?? #include #include (...)
Did you set the proteus PIC model oscillator accordingly? as well as the baud rate for the virtual terminal?
hello sir, i m trying rs232 serial communication using 8051 , i m using proteus to simulate it i m using virtual terminal to check the digit or character transmitted . i m getting binary data on port2 and corresponding ascii is to be sent on the Vterminal for display plz guide me to the correct code and (...)
I am using 18F2550 connected to a DS18B20 using PORTC.RC1, compiled with MikroC for PIC and virtual terminal in proteus. The terminal is working, but the rest doesn't Here's the code I am using char t; int temp; void ds1820_read() { Ow_Reset(&PORTC, 1); // 'Reset (...)
look for a virtual serial port... it will simulate two serial ports (COM4 y COM5) on your PC, one for your GUI (COM4) which communicates with the seccond (COM5), so use a terminal or even the COMPIN of proteus
hi, i am doing pic16f877a uart interrupt programming and i also draw schematic in proteus 7 but when i load hex file in proteus it give warning like this STACK OVERFLOW PUSHING RETURN ADDRESS OF INTERRUPT due to this data will not display on virtual terminal so help me thanks my code is (...)
When I simulate the following code with PIC simulator IDE , it works well . However when I simulate it with "proteus" , using virtual terminal , I get lot of zeros. Can anyone pls tell me why it's so? void main() { UART1_init(9600); // initialize USART module // (8 bit, 9600 baud rate, no parity bit... while (...)
I am using proteus software. And i have written a code to send 8 bit parallel data serially (89C51). To observe data i have use virtual terminal. I am observing hex data on the virtual terminal. But Data whatever i am sending is not matched with received data. I am getting wrong data of (...)
I use ISIS 6.9 for simulating a communication between PC and PIC16F877A. I want send data to PIC by using virtual terminal. But my problem is ,the virtual terminal just send keyboard ASCII codes to output. But i must send data like this "0x04 0xF4 0x01 ..." that the equivalent character did not found on (...)
I think the problem is crystal freq. you should set it to 5Mhz (it's because the code is written for picdem2 plus demo board i you see its working and showing '6' at the terminals rb0-rb3 (0110) Don't forget to set virtual terminal's baud rate to 2400 Ps:i agree with your av