71 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
91
views
Interfacing of 8086 using Proteus
Image without decoder
Image with Decoder
This is my Circuit which interfaces 8255 with 8086 to simulate a blinking LED at the ports.
In my previous circuit the addresses of the ports were at 00H, 02H, ...
1
vote
1
answer
89
views
Temperature sensor (LM35) with Atmega16 simulation
I am simulating the LM35 sensor with Proteus and Codevision application. The project is to show the temperature on the LCD and 7seg.
Now everything is working but it does not show the Negative numbers ...
0
votes
1
answer
98
views
Displaying temperature and humidity in Proteus using Arduino
I need to do this project:
Design a circuit that includes an Arduino Uno board, a temperature and humidity sensor (22DHT), two dot matrices with drivers, a touch sensor, and some resistors. The ...
1
vote
1
answer
91
views
STM32F103 go wrong in Proteus - GPIOA causes BUS_FAULT [U1_CM3CORE] on supposedly unclocked peripheral
I am sure that I had turn on the clock on GPIOA, but for some unknown reason my STM32F103 simulation on Proteus did not work properly. The simulation log has many lines of this message:
"Access ...
0
votes
0
answers
166
views
C program for AVR ATmega328P restarts after interrupts (Proteus 8)
The program is written in C and compiled for AVR microcontroller ATmega328P. The program is being debugged in Proteus 8. After all interrupts are executed, the program restarts from the initialization ...
0
votes
2
answers
144
views
PIC16F877A Assembly, Why does this code never go to the ISR when Timer1 Overflows?
Very new to assembly programing and im trying to make a blinking LED, here is my code:
#include p16f877a.inc
counter equ 0x20
org 0x00
goto main
org 0x04
goto ISR
main
bsf INTCON, ...
0
votes
1
answer
464
views
Drawing an image with ILI9341 Display And STM32F103C8T6
[pic1]
[pic2]
i am trying to draw this image in the ili9341 diaplay, but as you can see the colors are broken and i dont know how to fix.
also this is the C array of the image: link
i generated the ...
0
votes
2
answers
1k
views
How to create 2 square waveforms of 50% duty cycle in 8051 with Assembly
I'm trying to create two square waveforms of 230 and 460Hz through p2.6 and p2.7 ports of 8051 in Proteus Simulation environment. It will also change its behavior with a switch input from p2.0. When ...
0
votes
1
answer
781
views
How to transmit and receive data through serial UART port in DOSBox
DOS provides a variety of interrupts such as transmitting and receiving a word of data to/from a specific COM port. There are not enough guides on how to do that. After spending much time on it, I ...
0
votes
1
answer
142
views
Why my leds does not response to my interrupts
Im working on a project which will use pa1 and pa2 as external interrupts and using pb12 pb13 pb14 pb15 as led outputs.My aim is that when i press pa1 leds will turn on from pb12 to pb15 in an order,...
0
votes
1
answer
324
views
STM32F401xx I2C driver using registers
I want to use two STM32F401xx MCU in proteus. One of them is to be a master and the other is to be a slave.
This is my code for the master:
Uusing (MicroC Pro For Arm) program.
#include <stdint.h&...
1
vote
2
answers
242
views
PIC18F4580 isn't turning the LED on in Proteus
I have this code for the MCU (pic18f4580) :
#include <pic18F4580.h>
#pragma config OSC=HS
#pragma config LVP=OFF
#pragma config PBADEN=OFF
#pragma config WDT=OFF
#pragma config MCLRE=ON
#...
1
vote
1
answer
632
views
Why am I getting this error in proteus: "Invalid opcode 0xFFFF at PC=0x0008"
I need to write assembly code for my ATmega8 microcontroller that will generate 12-bit triangular voltage with a frequency ranging from 10 Hz to 1 kHz. Additionally, the code should allow controlling ...
0
votes
1
answer
72
views
Is there an solution to stop looping this
Settings of the MCU:
This is the circuit in Proteus:
I wrote this code for the led to blink for one time only but it's blinking for infinite times.
Could anyone tell how to stop automatically ...
0
votes
2
answers
1k
views
How to adjust external clock in STM32?
I want to trigger STM32 using an external clock. That is, I want data to be output from STM32 at every clock pulse. How to configure external clock in STM32 CubeIDE?
Information: The card I use is the ...