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.
okay i will explain u abt my project..... there is a timer mode in my project.... if i give particular time delay..the light has to switch on at that time...for that i am using 16 bit timer... it has to work between 1 min to 240 mins. for example i want to switch on light after x mins.....i...
hi sir,
i am using ATTINY88 ..i am using this timer value for timer mode i am using 16 bit timer for that...and using potentiometer i am varying the voltage..and i have to convert the ADC value to time....
this is the output i have to get
ADC Value Time in min ADC...
hi...jinzpaul4u..tanx for the reply....is it possible to convert adc value to time?? if u tell me how ..it will be soo helpful for me....tanx in advance..
hi...
i am using 10 but ADC and internal voltage ref is 1.1 v. i connected potentiometer to the 5th cannel of ADC. can anyone tell me how to calculate temparature from ADC value..with one example...tanx in advance
hi.....tanx to u all..... it worked.....like spudboy488 said...i intialised timer for 4Mhz and interrupt trigger at 8 sec....and in isr i incremented counter to 225..... it gave 30 mins delay......Bingo :)
hi..tanx for reply.....
1024 is the maximum prescaler divisor..though i use it..i wont get required delay.....is there any other way to get 30 mins of delay??
hi..i am working on attiny88.... i want to turn off light after 30 mins....for that i am using a 16 bit timer... and system clock is 4Mhz.....for 4Mhz= 1/4000000 =0.00025 ms. so it takes 0.00025 ms per tick.... for 65535*0.00025 = 16.383 s. the max delay is 16.383 sec....how could i get 30...
thank you sir,
SREG_I_bit = 1; this is for enabling the global interrupt right?? ......
OCIE1A_bit = 1; it is also sets I bit in SREG ...why we need to enbale it again..if we already enabled global interrupt by SREG_I_bit = 1;
and the values which u have given on comapre...
hi,...
i am using a dimmer in my project..for that i want to intialise a 16 bit timer and for every 2.5ms,5ms,7.5ms..it has to generate interrupt....the time period of the clock must 10ms.....can anyone tell me...how to make the timer to generate interrupt at 2.5ms, 5ms, and 7.5 ms...
hi everyone,
i want to design a touch switch using qt600- attiny88-qt8. in my project i want to intialise 3 touch key sensors for three bulbs. and using a device config switch i want to make it work for three modes i.e gang switch(just ON and OFF), timer mode(ON for specific time then...
hi...
i am working on a project called touch switch...i am using QT600-ATTINY88-QT8 evaluation board...i am enabling two keys...and using those keys.... iwant to toggle portd3 and portd4 for GET_SENSOR_STATE(6), AND PORTB6 and PORTB7 for GET_SENSOR_STATUS(7)......can anyone please help me..why...
hi,
i am using code composer studio 5 and i have written code for msp430f4784. i2c driver for eeprom AT24C128.....i am getting compilation error in interrupt service routine macro..please help me out......
/*---------------------------------------------------------------------------*/
/*...
hi..
i am a newbie to embedded system....i pretty confused on how to write a code to set a system clock frequency for msp 430 f4784...here is my question..
A clock source of 32Khz is attached to the clock inputs of an MSP430F4784 controller, Set up the controller MCLK to 4Mhz and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.