Search Engine

1000 Threads found on Delay Using Atmel
using calculator "delay" function. You should point input threshold, output threshold and input and output edge type (rising or falling) and edge number. Then you can plot this expression or print in ascii file.
dear friends can anybody help me design a robot which senses the doorbell and speaks welcome when anybody enters in the house how can i go about it .can i program it using atmel 8051 and what are the steps to follow thanks vicky
Hi. Below code can control long time delay using timer interrupt 0. Regards, pjyc $EP $NOSB $MR ;$NOGE $XREF $DEBUG $TITLE ( LEDBLKT0 ) ; delay using Timer interrupt 0. ; This Application is LED blinking every 1/2 second. ; System Clock : 11.0592Mhz ; BLK_TIME EQU 50 ; BLK_TIME/100 = (...)
How to make 31 days delay, using 16F84A? Please Help me.
i am designing Mixer using atmel's U2795B with LO at 2.25GHz and RF at 300MHz. IC is showing very low resistence (80 Ohm) between supply and return path (ground) and because of this a very large current starts flowing exceeding the maximum current rating of IC. if any one has used this IC reply me.
I would like to know how to build 1 second delay using IC LM555, I mean the schematic which 555 used as monostable multivibrator. Any help is greatly appreciated.
hi can any one tel the example of how to write the code for creating delay using counter. can u give a simple example vhdl code
Hi, I am trying to implement the project of SMS (send/receive) on PSTN by using atmel 89S51 microcontroller. Currently i m thinking to use XR-2211 and XR-2206 for FSK, but i dont know how to implement it. Can anyone please help me out for that? Regards, Thanks
i have to generate a delay using a function void my_delay( int number, char us_ms_sec_min) these are the arguments passed..... us = microsec, ms = millisec, sec and min,....... kindly give me an idea.... programming using keil 'C' also i want to implement a program for frequency generation using (...)
hi friends, Can any body help me to write equations using atmel Wincupl for PAL. I want to write eqations for DIV-34 counter using PAL IC 22v10. If you have any sample code :?: Thankyou in advance Rgds Amarnadh
Hi guys,is there anyway I could get time delay using D Flip flops?I've tried googling it but all I get is info. on 555 IC timers. What sort of time delay do you want (1mS, 1 min...)?
hello guys.i really need your help.i'm using atmel microcontroller.i need your idea how to write a using what method?for source code i'm using keil uvision software.please help me!!
Hi, Here the example of C18 MPLAB compiler code to generate delay using timer 0: Void delay() { T0CON=0x08; TMR0H=0x35; TMR0L=0x00; T0CONbits.TMR0ON=1; while(INTCONbits.TMR0IF==0); T0CONbits.TMR0ON=0; INTCONbits.TMR0IF=0; } I want to write the same code using CCS compiler without (...)
Can anyone tell me how to generate exactly 20ms delay using 89S52?? pls help
An acquired solution will be to implement the delay using a hardware timer. Set the timer to desired delay , then wait the interrupt to rise when the delay has elapsed. Waiting can be implemented as you want, better without blocking microcontroller.
Or, from PicList: ; delay = 7 seconds ; Clock frequency = 4 MHz ; Actual delay = 7 seconds = 7000000 cycles ; Error = 0 % cblock d1 d2 d3 endc ;6999998 cycles movlw 0x3F movwf d1 movlw 0x43 movwf d2 movlw 0x10 movwf d3 delay_0 decfsz d1, f goto $+2 decfsz d2, f goto $+2 decfsz d3, f goto delay_0 (...)
Circuits, codes or modules whatever you named in VHDL is clock based(sequential type codes) so any time specifications should be based on clock. 32 cycles means counting 32 rising or falling edges of clock. I don't understand it well but you want to give an output with a delay value such as 32 cycles. I mean you produced an value and outputted i
pls send me c program code for generation of pwm pulses by using atmel 89c51 microcontroller and having variable duty ratio
Hello, I need a way to implement a carry chain delay for a high resolution TDC. I am only doing simulations in verilog, but I do not know how to create this time delay using verilog. any help would be appreciated, I am attempting to implement this design my DFF will need to re
Hi, Can somebody guide me how to generate 500 ms delay using any of the timer like Timer 0 or Timer 1 of ATMEGA8.
Can't say about the C language, but in ASM, it can be written like this. I guess your C compiler will support assembly with 'ASM' initial in every line. MOV R1, 0EH LOOP: MOV P2, #00H CALL delay MOV P2, #0FFH CALL delay JMP LOOP delay: MOV TMOD, #01H MOV TH0, #00H MOV TL0, #00H SETB TR0 JNB TF0, $ CLR TF0 DJNZ R1, delay RET
I am designing a waveguide filter using HFSS and need to see the group delay of the filter but I donnt know how to see it in HFSS.I think maybe using the "output variable" in the postprocessing but I cannt not edit the formular. help , plz!
use this little application to generate the exact delay u is in assembly code..u can embedded the assembly code in C.
Which languge do you use? If you use C18, you can use delay library functions.
hi the program help is good but may not satisfu you dor the delay of 1 usecond , i think there is no basic command for that , but u could use the assembly comand 'nop' inside the basic code
hi can any tell how to writ vhdlcode to introduce delay which is synthesizable like a<=b after 50 ns; c<= d after 30 ns;
HI I want to generate delay of 1sec using timer register of atmega32,plz any budy provide me code in assembly language i m using avr studio.reply immediately
Hello Kazzam, First you must develop an 1us delay. Which you can use a series of NOPs or a loop or something. #define delay1us NOP(); NOP(); NOP(); NOP(); NOP(); NOP(); NOP(); Then it is most simple to just make the larger delays loop over smaller ones. Which adds a little inaccuracy, but I assume as you are not (...)
The minimum delay would be one 'nop()' instruction. Which with a 4 Meg oscillator would give you 1uS delay. An 8 Meg oscillator would give you your 500nS delay.
asm("nop") is equivalent to delay of 200 ns @ 20MHZ CLK -- Amr Ali
from where u got that 250msec delay code?? and guess what?
Hi friends Please tell me how to calculate delay for an 2-input NAND gate using spectre calculator.NAND gate has two inputs and one output.between which input and output i have to take the to do this .How to calculate leakage power and dynamic power using spectre calculator.Please help me its very urgent in my (...)
Hi all, i just started PIC programming few days ago . I prefer HIGH TECH C compiler for programming (in MPLAB). For making delay, i use void delay(unsigned int z) { int j; for(j=0;j<=z;j++) } but i dont know how to make exact delay like 1ms,1 sec, 1 minute , etc... pls help me....... :|
void delay(unsigned int us) { unsigned int x; T1CON=0x8010; //timer 1 enable with prescale of 1:8 while(TMR1using this piece of code.. i think this will give more accurate delay than you previous code.. U can heck it on oscilloscope or make large delay of second (...)
I am using pic16f877a timer1 to create 2ms delay. Crystal frequency is 20mhz. I have loaded the value 55536 in tmr1 register to count 10000 but somehow its not working. void main() { TRISB=0; PORTB=0; GIE_BIT=1; PEIE_BIT=1; T1CON=0X00; TMR1IE_BIT=0; TMR1L=0XF0; TMR1H=0XD8; TMR1ON_BIT=1; while(1) { i
what is the time output you are getting... adjust the delay to be approximate to your requirement... you get accurate value of delay only in assembly program and not in C.. In C program you get nearest value.... So its more of trial and error method.... just run theled for required time and stop it for 5 sec and again start the led blink... k
Use large L and smalle W MOSFET to work as a resistor. And use Cgs of MOSFET as capacitor. RC will lead to delay.
ImageShack? - Online Photo and Video Hosting This is the circuit diagram of the project im working on. I have a few queries. 1) My Leds connected to P0.0 and P0.1 are not glowing. Is the resistance value too high? 2) The lcd backlight glows but no characters are displayed. 3) Are the 2 reset pins
I'm trying to create a delay with N minutes using timer 1 .. I found the following code #include <16F628A.h> #fuses INTRC_IO, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP #use delay(clock=4000000) //====================== void main() { int16 delay = 0; SET_TIMER1(delay); SETUP_TIMER_1(T1_INTERNAL | (...)
hi i have one txt file, containing the times and some symbols code, i want to read it using atmel89S51, the txt file is in my PC, but i want to save it on RAM/Mu or any other storage media, how can i do it the pattern of txt file is like this day , Symbol code1, time 1, symbol code 2, time 2 ............. 0,12:00,0,12:00,0,12:00,0,12:00,0
Hello, I am new to system verilog. I am trying add a randomized delay to a module. i tried doing this, but didnt work del = $urandom_range(0, 9); data_dev_slot <= ##del wr_data; can somebody please help me on this. Thanks, Rohit
hi, im using the timer newly and i dono how to create a delay value for 1sec. please anyone help me how to program or what the value i should need to give for the timer registers. and im using a 12MHz crystal.
HI all, Somebody please tell me how to generate a delay of 15min off time and 10 min on time using ATTINY2313. Please its very urgent. I tried using built in delay subroutine in MICRO C for AVR, but its not working. Please guide me. Thanking you
Hi, There are a couple of different ways to produce a time delay, either by a software delay or by using the internal Timer 0 of the pic chip. What times they can produce depends on the Crystal frequency you are using, so you must first state what that is. Both hard and software delays only (...)
Hi all, I am trying to build a block that can have a 50ns delay between input and output. This is for some further logic circuit. I am using some basic digital logic, and I know inverter can achieve this function. However, in my simulation library, each inverter only has around 50ps delay. That means if I want to achieve 50ns (...)
Hi there Recently I tested a circuit and I just get S-parameters I want to plot Group delay, and I don't know how to use Matlab's code to do that... Could anybody help me? Thx
You can check this graphically by drawing all signals and putting delta markers.. In additionalto, the delay may not be same for all signal levels so you should define a reference point-for instance- 50% of the rising edge. That's why graphical examination is better..
Here is some nice microcontroller projects using atmel AVR MCUs: Oscilloscope using a microcontroller and a TV: Projects in Neurobiology and Behavior : Student Projects: Digital Oscillos
Hi man, use word "after" Look at Bye
Hi all, Need your advice: I'm using atmel eeprom AT24C16A. I write 15bytes into the eeprom page 0 at word adress of 0x0000, no problem, verify by read-back. Next, after 10ms delay, I write only 5 bytes into page 0 but at word adress of 0x0003. This time I read back and found that it has overwritten my first 5 bytes (...)