Adding arduino library in Proteus 8
I dont have library folder, when i install proteus 8. Where do i add arduino library. At internet solution for proteus 7 is given but when i installed proteus 8 it does not have library folder.
Proteus design of arduino pro mini with servo motor
.the PWM signal from the pro mini IC ATMEGA-328 has to send to servo motor through serial communication.Ihvae two questions .
1)how PWM signal value is 0-255 ?if it is that,that data transmitted is 8-bit so it makes 256 combinations.it is alright.i agree!! but why when we connect the serial port we have to use only 1 pin of IC to transmit PWM signal to the servo ? is that 1 pin of the IC transmits 8 bit data??
2)how should i connect the servo motor to the IC.which pin should be connected so that serial PWM signal goes ..i mean which pin of IC has to be connected to which serial port pin for PWM transmission and why .
3)any good programming book link for coding pro mini in keil or matlab
proteus simulation: serial communication using two 8051
hi i am trying to do a proteus simulation of serial communication of two microcontrollers as shown in the attachment but unable to do it..as the optocoupler connected to it does not work and there is no sign of signal in the TxD pin and the led glows automatically in simulation.
the logic i want to do is i want to send a letter say 'D' serially from microcontroller 1 and if i receive the same in the microcontroller 2 i want the led to glow.
the coding i used is
micro 1:
org 0000h
mov a,#00h
mov p1,a
mov p3,a
halt:
jb p1.0,abb
sjmp halt
abb:
mov TMOD,#20h
mov TH1,#-3
mov SCON,#50h
setb TR1
mov SBUF,#'D'
here: jnb TI,here
ret
micro2:
org 0000h
mov a,00h
mov p1,a
mov p3,a
mov TMOD,#20h
mov TH1,#-3
mov SCON,#50h
setb TR1
clr RI
rpt:jnb RI,rpt
mov a,SBUF
cjne a,44h,next
next:setb p3.1
end
could not find where wrong ???
Led not blinking using 8051!
Hey guys!
I setup a breadboard circuit to do the basic single led blinking test using a AT89C52 chip. However, I do not get any blinking, it just lights up until power is stopped. I had only enabled a single bit for port0.0. The code is below. However, the led lights up even if I connect it to any other port. Is it a problem with my code? Please check it. Thank You.
[code]#include<reg52.h>
sbit led = P0^0;
void delay(int time) //This function produces a delay in msec.
{
int i,j;
for(i=0;i<time;i++)
for(j=0;j<1275;j++);
}
void main()
{
while(1)
{
led=0;
delay(500);
led=1;
delay(500);
}
}
[/code]
Problem with changing the sheet size in Proteus
I am using Proteus to simulate my circuits.
I want to simulate a circuit that is bigger then the normal working sheet, and when I try to change the sheet size to A3 for example the program closes.
did anybody encounter this problem?
thanks...
Traffic light system using 555 timer
I want to build a traffic light system that uses only the 555 timer with astable and monostable configuration only (without decoder or counter). Please help me.....
Beginner wanted a delay timer trigger with 555 timer.
Hello everyone!
I have the following scenario.
When a 9v battery is switch on, it waits 5 seconds, then a reed relay is activated.
I am a complete beginner in this so please explain to me as if I'm an idiot.
I only know about capacitor, relays, and diodes at this point.
Am I making any sense?
thank you,
Multiple State LED Flasher
I am looking for advice on the best/most efficient way to set up a sequence of led flashing events without the use of a microprocessor. The start of the sequence will be initiated by an optical sensor detecting a switch on position. The sensor output will remain high in the on position and low in the off position.
Once triggered the single led will turn on steady for 1 minute and then begin flashing at 1 flash per second for 1 minute (on 1 sec/off 1 sec). At the end of that minute it will start flashing at a rate of 1 flash per 250ms (on 250ms/off 250ms) and remain in this state until the switch is moved to the off position. So the led conditions are:
Off
Steady On
1 Sec Flash
ΒΌ Sec Flash
Off
I am thinking I can do this with a couple of 556 timers but am not sure how to trigger the sequences. Any advice would be greatly appreciated or perhaps 555's are not the best route to take. Again I would appreciate any advice. Thanks to all.
Need help on traffic light project!
Hi,
I just started learning logic gates and I have a project on a traffic light system. I don't know how to start since this project is tasked to us even without learning much into the lectures. Hence, I need some assistance on how to start this project. I am trying to use 74191 up/down sync counter in this project as well.
Below is the project guideline on what I am suppose to come out with. Good tips and diagrams will be appreciated.
A traffic light controller produces five output signals. Three output signals named Veh_Red,
Veh_Amber, Veh_Green control the flow of vehicles while the other two signals named Man_Red,
Man_Green control the flow of pedestrians. Veh_Red and Man_Green are always asserted at the
same time. Similarly, it applied on Veh_Green and Man_Red. Each traffic light indicator will last for
seven seconds in the following steps:
1) 7 seconds for Veh_Red and Man_Green
2) 7 seconds for Veh_Green and Man_Red
3) 7 seconds for Veh_Amber
The process is repeated. A push button is used for pedestrians to cross the road. Three seconds after
pressing the push button, the traffic light controller will trigger to the step (3), 7 seconds for
Veh_Amber. So the pedestrians can cross the road after ten seconds pressing the button. A seven
segment display is used to show the remaining time for pedestrians to cross the road. It only works
in Step (1). It is noted that push button should not work during Step (1) and the 3-second waiting
time.
D1 Project Guideline:
D1A: Implement the push button and a three second counter
D1B: Implement the main controller part
D1C: Implement the seven segment display