Questions tagged [timer]

Circuit to generate a signal at a specific time after a trigger event. The timing can be defined by an RC time constant, or by clock pulses from an oscillator.

Filter by
Sorted by
Tagged with
0 votes
2 answers
220 views

What kind of microcontroller peripherals can help me to implement a timeout?

I am discovering the world of embedder software with microcontrollers. My need is to check that an input of my system stays high for 2 secondes for example. Since I am not very familiar with ...
2 votes
1 answer
9k views

STM32F4 - Reading general purpose timer count

I'm using the STM32F4 HAL library on an emulated [in QEMU] STM32F4 Discovery board, and trying to configure TIM2 (general purpose timer) and read its' count register (without an interrupt). Currently ...
0 votes
1 answer
2k views

How to count until a number with timer peripheral

I'm trying to use the TIM peripheral to count external pulses until a number and throw a interruption. I'm using STM32F429 and HAL library. I am initializing the TIM2 with this code: ...
0 votes
1 answer
82 views

~12VDC+ Automatic Dimmer Switches

Most automotive vehicles typically have their interior lights fade out 30 seconds or so after the doors are closed. The way I understand it, closing the door will usually depress a momentary on/off ...
-2 votes
1 answer
191 views

Designing a circuit to turn off and on 10 times every 15 seconds [closed]

I want to design a circuit where I flip a switch, which then starts the circuit turning off then on every 15 seconds 10 times. After this "boot up sequence", (after the 10th time) I want it to stay ...
0 votes
3 answers
470 views

Example circuit of fading tone?

I'm looking for a simple circuit, preferably based on the 555 in order to get continuous configurable fading tones (chimes), just like a "door open warning". It will fade in and fade out, not very ...
1 vote
2 answers
914 views

Electronic Plant Watering System Circuit

I have recently seen one of very interesting concepts and it's circuit diagram is present in the page: Electronic Plant Watering System. I felt that it is very useful in our real life also when we go ...
1 vote
2 answers
4k views

4060 Timer Calculation

I am working on an analog timer using a 4060, 4017 & 555 IC to create a circuit. I need a timer which is 48 hours OFF.. 12 minutes ON.. to control a standard relay. So far I have got the circuit ...
-1 votes
1 answer
1k views

CD4060 for programmable timer

I want a timer which will of for 2 seconds in a day and drive relay .Iam planning to use CD 4060 for this purpose. Iam not able to get how to choose R1 and C1 values for the same.Can anyone help me ...
1 vote
0 answers
166 views

pic timer triggers twice

I'm programming a pic18f24k50 using Timer0 to trigger an interrupt every 5ms. I'm handling USB interrupts too Here is the code where I init the timer: ...
0 votes
2 answers
4k views

AVR Watchdog interrupt mode and reset mode

I am going through datasheet of AVR2560V. In page 65 , table 12-1, it says that AVR2560 has 3 mode for watchdog Interrupt mode - WDE = 0, WDIE = 1 ...
0 votes
1 answer
732 views

STM32 Timer Function Generator

I wonder how you can achieve that a GPIO pin accuratly toggles according to a certain pattern. This pattern is fully variable (no PWM) and is stored in memory. My conclusion of this is: The pin has ...
0 votes
3 answers
1k views

BPM Generator with display?

Trying to figure out how to design this with decent precision but having trouble getting this started. I've worked with 555's before but not for precise counting that can be modified in steps. I'm ...
2 votes
0 answers
6k views

STM32F4 HAL - PWM Phase shifting channels on the same timer

I've configured my STM32F407VG (STM32F4Discovery) TIM4 timer using the following code: ...
0 votes
1 answer
254 views

Single motor + Timer. Lift and reverse hand. Single joint robot arm

I need help trying to design a single jointed robot arm that will lift to almost flat on a wall, back down to a right angle position on a timed sequence, repeatedly. It would pause for a few seconds ...
5 votes
2 answers
2k views

Why does 555 timer output change based on load?

I have a 555 timer setup in astable mode, with a frequency of about 1Hz which I measured and verified without load. Out of curiosity, I connected an 8 ohm speaker, expecting not to hear anything. ...
0 votes
3 answers
225 views

Cheapest timer for radio trilateration

I'm building a device that must find its own position on a field (400x400m). Since there will be lot of devices on the field I could not send them their position individually and I want them to be ...
1 vote
1 answer
2k views

555 Timer @1MHz

i am very new to electrical engineering and super unsure what to buy, because this is my first practical project... The task: I want to implement a hardware timer ...
0 votes
1 answer
935 views

What is the difference between a precision timer and LinCMOS timer?

I'm busy with a certain project that needs a 555 timer chip. But there are different kind of timer chips and I don't know what the differences are. What are the differences between a precision timer ...
6 votes
4 answers
27k views

Delay function in ARM programming

I have just started programming on ARM, I had some experience on AVR but not that much. The question is probably too trivial but the material about ARM is too little on the net... sorry anyways. I ...
2 votes
1 answer
5k views

Simple AVR LED blink in assembly - why does this code not work?

I've been trying to blink an LED with AVR assembly. I'm using an ATMega168 chip and avr-gcc toolchain. Here's my code: ...
0 votes
2 answers
1k views

How to scan and differentiate multiple switches through a single input/output pin?

I was reading through the document tips and tricks using 8 bit controllers by microchip and found this diagram.I have seen this in application in some electronic circuits over internet but never found ...
0 votes
2 answers
432 views

Triggering a 555 timer IC

I need to trigger a 555 timer IC in astable mode as soon as it has power. It CAN NOT be done manually through a negative pulse like it usually is. The solution must be compact as space in my project ...
1 vote
1 answer
272 views

8253 / 82C54 timer, clock input

I'm experimenting on a breadboard how to use the programmable interval timer 8253 (actually I'm using the new 82C54, it's the same thing). datasheet: http://www.intersil.com/content/dam/Intersil/...
1 vote
2 answers
3k views

STM32F051R8: PWM timers don't work?

I'm working with MB1034B discovery board and STM32F051R8 microprocessor. I'm trying to output some PWM pulses using hardware timers. I use this tutorial (for STM32F4xx): http://visualgdb.com/tutorials/...
1 vote
1 answer
247 views

AVR ATmega644p: can't clear OC0A pin on CTC mode

I made an IR blaster for controlling TV (on and off) based on ATmega644p. I am using Timer0 in CTC mode to generate 38kHz waveform. This is the code: ...
0 votes
1 answer
132 views

How to put a delay timer on a micro motor small Area

I am trying to put a micro motor basically as small as I can inside of a 1"or so wide tube like a long fishing plug, I am going to put a small prop or propeller on one end. What I need is to be able ...
0 votes
3 answers
7k views

How to blink LEDs with different frequency?

I have a pic32mx and three LEDs. [datasheet pic32mx] (http://hades.mech.northwestern.edu/images/2/21/61132B_PIC32ReferenceManual.pdf) I need a function that gets the number of LEDs and frequency, and ...
1 vote
1 answer
1k views

STM32: Timer Modes

Is is possible to measure the frequency of an input analog signal with the input capture mode of Timers in STM32F4 ? If not, then what is the alternative ? Thank you in advance.
6 votes
1 answer
24k views

PIC: how to set timer0 to give an interrupt at every 1 sec?

I am programming a PIC18F67K22 and I've set it to use a 16X4Mhz Internal RC oscillator with PLL enabled. High level interrupt on TIMER0 overflow I am using MCC18 ...
1 vote
1 answer
711 views

Configuring the rate of Timer interrupts for the STM32F4xx Discovery Board

I'm working on a project with the STM32F407 board and Keil, and as part of a larger project I'm working on I need to configure a timer interrupt. Eventually it will run at around 46 kHz, but for now I'...
-1 votes
1 answer
100 views

How to power 3 different AC circuits without crossing them

I have 3 zones in my house with 3 24v thermostats. These thermostats tie into a zone relay that triggers a 120v line to each circulator to heat that area of the house. I need a way to have my timing ...
4 votes
2 answers
4k views

Using MSP430G2452 Timer + ADC

I'm trying to build a simple guitar tuner using MSP430G2452. The guitar's signal will come through its pickups, via an amplifier and 1kHz filter that I built using LM358. == Context == Now, my ...
0 votes
4 answers
2k views

How To Hold Power ON For Some Time Without Using A Microcontroller or 555?

This is my first question here, so I'm hoping for help. I'd like to take a Momentary event and use it to turn on a device (LED, for starters to model the concept) for a minute (give or take) at a ...
2 votes
2 answers
797 views

555 timer circuit error

I have recently built a circuit with a 555 set in monostable mode which was supposed to turn on three bright LEDs for 51 seconds when a button was pressed.The button was connected with some long wires....
-1 votes
1 answer
151 views

toggling a pin using the hardware compare feature of timer1 AVR

This link - says: "In CTC mode, you can also trigger interrupts, but it is also possible to not use interrupts and still toggle an output pin. Using it this way, the functionality occurs ...
-1 votes
2 answers
594 views

Adding a sensor to a traffic light circuit?

I am using the current circuit to time a basic traffic light that changes every twenty seconds: However, I've been trying to figure out a way to add a way to detect a car stopping at the light, so ...
2 votes
1 answer
690 views

Holding voltage high, for monostable 555 timer pulse

I want to know if there is a simple (and cheap) way to make a momentary button (for which we cannot control the time it holds when pressed!) press to virtually hold for about 1-2 seconds. More ...
4 votes
1 answer
481 views

Interrupt never fires

I'm new to embedded and I've been struggling with this for days. I just don't understand why this doesn't work. I'm using an ATxMega128A1. I want to use a timer overflow interrupt to left shift a bit ...
3 votes
1 answer
8k views

555 Temperature Controlled PWM

I am trying to build a temperature controlled 555 circuit to drive a cpu fan (used for cooling my entertainment center) I built this using slightly different diodes and MOSFET, and it works great (...
1 vote
2 answers
517 views

Turn a METAL HALIDE BULB On/Off in 1 minute Intervals?

OK, let me 1st give you some background information. I need to generate 40,000 lux of light in an indoor environment (in a area of around 5 feet by 3 feet) and I need the ability to turn the light on/...
-1 votes
3 answers
7k views

Reversing polarity of motor with timer

I have a timer that allows me to preset times and run a motor for a predetermined amount of seconds. I need this to reverse polarity as soon as this predetermined time has expired. The timer is a ...
-1 votes
1 answer
334 views

Clock / timer activated 2 second voltage timer for wiper motor project

Ok, I need a 12 volt voltage timer using clock or timer for a wiper motor. I am working on a project in my garage. Simply put, I am wanting to use a wiper motor that will open and close a spring held ...
30 votes
4 answers
8k views

Why would a modern digital clock rely on mains frequency?

I am in the military, stationed in Djibouti, Africa. We generate 240V/50Hz power on base, but some buildings also have 120V outlets, which I assume is transformed somewhere else on base, probably at ...
3 votes
2 answers
1k views

Timer PIC16 not working.. is it my code?

I'm new here as an OP, but I have been visiting this site for years. This time, just looking at other problems hasn't helped me. Hence, I sign up and just ask! I'm creating a countdown timer with 30 ...
0 votes
2 answers
3k views

Resistors and capacitors calculation for 555 timer circuit

I am new to electronics and I want to try an experiment. I want to use a 555 timer to create an automatic food dispenser for my aquarium (something like opening a small door when the timer has ...
1 vote
1 answer
10k views

Stop timer set new value and start again AVR (Interrupt)

I have AVR MCU. I am playing with timer now. What I need ? I have timer counting up with some frequency. In each interrupt I am incrementing variable, and somewhere I need to check value of this ...
0 votes
1 answer
825 views

Variable Timer Circuit w/ Digital Display for Counting Down

I would like to make a timer. The timer will have a 7 segment digital display and will work with a microcontroller of some sort. I would like to be able to put in a time (e.g. anywhere between 0 - ...
1 vote
2 answers
725 views

How to control on/off with multiple LEDs without traditional multiplexing

first post here but I've been doing some research and cant find a definitive answer. Goal: Use some type of voltage-controlled switches in parallel (similar to schmitt trigger) that will accept PWM ...
1 vote
2 answers
1k views

Wrong frequency with Timer1 on Atmega328p in CTC Mode

I want to make a LED blink at a frequency of 0.5 Hz. So, I use an Atmega328p, clocked at 16 MHz, and the Timer1 in CTC mode, which triggers an interrupt every milisecond. Yet, my program, in Atmel ...

1
16 17
18
19 20
23