Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [timer]

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

0
votes
0answers
16 views

Building Micro Switch Circuit for Air Conditioning

We want to build a microswitch using a contactor and a timer from a loq voltage signal The scheme is, Door Contact - Contactor - Timer - Turn the AC Off The contactor im planning to use is this, ...
1
vote
0answers
37 views

CircuitLab simulation of 555 timer - OUT HIGH always delivering 5V irrespective of Vcc?

I've scratched together a design for a 555 timer based driver for an IR540 MOSFET. But in CircuitLab the simulator shows the 555's OUT voltage is always 5V when high, for Vcc ranges 3.3V through 24V. ...
0
votes
0answers
24 views

How to accomplish this timer circuit

I'm trying to accomplish a timer circuit to switch on an LED when a switch is depressed as follows: when switch is closed, light an led when switch is opened again, keep the led on for approximately ...
0
votes
1answer
17 views

How to do a counting of a timer configured in Mplab Harmony framework?

I'm new to harmony framework, and am trying to find how i can count timer iterations, so i'm doing a simple test. I configured the timer like this: Now i want to know if this is the correct way: <...
1
vote
1answer
34 views

Anyone knows what is a driver implementation in Harmony?

When configuring a Timer Driver implementation the option for Dynamic and Static appears. Anyone knows, what does these 2 types mean?
0
votes
3answers
96 views

What Is the timer period of a timer of a Pic

This is causing a bit of confusion to me. I'm assuming that timer period of a timer is the time that it takes for an increment of timer. Am I correct? It works the same way for 8-bit and 16-bit timer,...
0
votes
1answer
45 views

Does the increment of a timer on pic is equal for a pic16 and pic32?

The question is because in porting code from a PIC16F15324T using MCC to a project using a PIC 32MX470F512L. There are portions of code where i have code like this: ...
0
votes
1answer
29 views

Basic timer that doesn't work STM32L4

I'm trying to use timer2 in STM32L475 but it doesn't start firing the interrupt at all. I would like to configure the timer for a minute. ...
1
vote
1answer
38 views

Configuring STM32 timer as frequency counter

I am trying to configuring one of the timer inputs on a STM32 to behave as a frequency counter for an external signal. The STM32 datasheet describes a "input capture mode" in section 17.3.6 (page 342) ...
0
votes
0answers
41 views

The interrupt callback happens at the calculated period of the timer in pic?

I'm trying to set the timer of a PIC32MX470F512LT to happens every 8us. But after seeing on an oscilloscope when the callback of the timer it doesn't seem to ...
0
votes
0answers
67 views

Is there a minimum frequency in PIC32MX470F512L?

I'm still an inexpirient and I'm configuring the PIC, through MCC (Microship Code Configurator) So i set in the MCC a TMR1: The configuration for the ...
0
votes
2answers
22 views

555 Timer with controllable reset

I have a 555 monostable set up which is triggered when an output from another circuit goes low. This then remains on for 10s. This all works almost perfectly. My issue is that when the output from ...
0
votes
1answer
41 views

Will the choice of prescaler and period while configuring a timer influence the MCU load and power consumption?

Let us say we want to configure a 16-bit timer to generate an interrupt every 1 second with a clock running at 8 MHz. We can use several pair of values for the period and prescaler. Let us take the ...
1
vote
1answer
23 views

RCC clock freq in STM32F103

If I select internal clock source to run my TIM3 in TM32F103 (TIMxCLK from RCC) as shown in the attached picture: CK_INT Then how to find out what is the freq of this clock? I am using External ...
1
vote
2answers
46 views

Task Execution time measurement on Keil for STM32F103

Is there any builtin feature available in Keil uVision to measure execution time of a function or task for STM32F103?
0
votes
1answer
59 views

Relay turn off delay with ability to cancel

I want make it so when the switch is turned off, the relay would be still on for about 15 to 30 seconds, and if it is switched on again in that time period it would just continue running. I am ...
0
votes
1answer
37 views

Missing pulse detector for low input?

I'm looking to implement a watchdog circuit. Tried the standard "missing pulse detector" schematic such as one from http://www.falstad.com/circuit/e-555missing.html - and it works well when the input ...
-1
votes
2answers
38 views

How to sync GPS time and pulses of micro-controller

I have two of the devices (a while loop in the code) that need to start at the same time, within 50ms or less of each other. Each is using the same GPS module, and I am using "ARM® Cortex®-M3 Giant ...
0
votes
2answers
46 views

How to make a circuit to pulse an output when a momentary switch is released

I need to make a circuit that has a momentary switch and a light (30mW). When the switch is pressed, nothing should happen, but when the switch is released, I want it to pulse the light for a short ...
0
votes
1answer
44 views

timer interrupt on STM32F303

I'm kind of a newbie so excuse me if this is a beginner's question. tried to find an answer but couldn't find one. I'm working on STM32f3Discovery eval board, with the stm32f303vc on it. The code ...
0
votes
0answers
32 views

Calling a function that uses HW_Delay inside timer interrupt

I have the following timer interrupt configuration ...
-1
votes
1answer
48 views

Help using a 555 timer to increment counter that needs to be pulled low

I need a little help with a project. I'm very new to building circuits. I have this NE555 duty-cycle pulse frequency adjustable square wave generator module, which I have connected to a 12V DC source. ...
0
votes
1answer
78 views

One led is blinking too frequently using the hardware timer (stm32f103vdh6)

i recently started my internship using embedded C and i'm having some trouble with one of the tasks: Two leds should be blinking at 1Hz, one using the hardware timer, and the other one using the RTX ...
0
votes
0answers
84 views

PIC timer1 interrupt never occurs

I am trying to use timer1 interrupt on PIC18F26K83. I use Micro C as compiler. So I set my timer for 30 ms and after that 30 ms, it is supposed to enter an interrupt and light the LED. But it never ...
0
votes
0answers
23 views

How is trigger initially higher than vcc/3 in 555 monostable timer?

I get that the trigger must be lower than vcc/3 in order for the comparator to show '1'. But initially how is the trigger higher than vcc/3? In some text it says trigger is initially vcc and so ...
1
vote
0answers
58 views

How to disable timer on MSP430?

I am new to the TI MSP430G2553. I would like to send a PWM signal like in this picture: (Image source: Adafruit - Understanding Infrared Signals) However I can't do that, because I don't know how to ...
0
votes
1answer
57 views

Calculate Prescaler value for PIC16F877

I am trying to figure out if there's a way to calculate the prescaler value for Timer 0 on the PIC16F877. I've looked at both parts of Microchip's tutorial on timer 0 and some other tutorials: PIC ...
0
votes
1answer
42 views

How to make 555 timer output fall

I am using a 555 timer in the monostable configuration, which means that when I send a pulse to the trigger pin, the falling edge will make the 555 generate a high pulse on the output for some time. ...
0
votes
1answer
35 views

Timer capture STM32

I have some questions about timer capture in the STM32. Is it possible to capture a digital signal? Like this: Actually, I'd like to know how many clock ticks between rising and falling edge, in ...
1
vote
1answer
75 views

Need help to identify this timer

This device is installed in our electrical panel which act as a timer to control the on/off operation for our LED billboard outside my office. I searched around the device for the brand and model it ...
0
votes
1answer
26 views

touch switch time problem

I was looking for a way to make a touch touch switch and i found this circuit on the internet but the problem is , it goes off automatically after few seconds is there any way that i can control it ...
0
votes
1answer
29 views

ATMega328P Timer Problem in Proteus

I have an ATMega328P microcontroller, and I'm learning how it is programmed. I wrote an example for Timer0 and uploaded it into the microcontroller. It works and a led blinks once a second in while. ...
0
votes
3answers
48 views

555 timer and biasing

Why is it that op-amps used as ICs, such as LM741 require a +Vcc and -Vcc for biasing whereas there is no -Vcc for a 555 timer? What determines the biasing for any IC?
-2
votes
1answer
34 views

producing a continuous sound using a timer

I'm looking to produce a pure sound on one frequency to be played via a timer to come on at intervals over a six week period. this is for an undergrad dissertation. would an arduino work and could it ...
0
votes
1answer
35 views

monostable 555 timer - buzzer motor and pulsing

I need this circuit to pulse an LED while running a buzzer motor for an adjustable period RV1 and C1 should give me 1 - 5s of pulse, while RV2 and C2 should adjust the LED ramp times The LED will be ...
1
vote
0answers
43 views

IoT wireless solenoid circuit

I am a Newbie and I do not have a lot of expirience. The circuit has been put together from pieces I have found on the internet. My goal is to develop a reliable wireless solenoid circuit to water my ...
0
votes
1answer
48 views

Using SysTick_Handler in mbed LPC1768 project

I'm trying to use SysTick_Handler in a project which uses the mbed libraries and RTOS, however on compilation, the following error is returned: ...
0
votes
0answers
37 views

PIC I2C clock related problem

I am trying to make an I2C communication with a device by using PIC18F26K83. I use 8 MHz MCU clock. While trying to set I2C clock these options: Use 8 MHz MCU clock & HFINTOSC for I2CxCLK ...
0
votes
3answers
114 views

Minimal components for timer relay

A 5V LED should run for a predefined time period once a button is pressed. The LED should be illuminated for the same duration as the button is pressed, but only once the button is released and ...
1
vote
2answers
69 views

CD4060 and 74HC4060

I am making a clock timer for an analog LED clock with ICs 4060 and 4027. The clock signal is going to drive some 4017s. Supply voltage would be from 5V to 9V. My online supplier site shows two 4060s- ...
0
votes
0answers
170 views

STM32 Input capture PWM frequency measurement problem using HAL

I'm trying to measure time passed between two external interrupts generated by rising edges of a PWM signal (generated using a IC 555 timer). Point is to determine the frequency of the signal. I'm ...
0
votes
2answers
537 views

if(){} else{} if(){} VS if(){} else if(){} in PWM control [closed]

I'm using timer0 and a gpio pin to generate a 300Hz PWM signal on an ATmega2560. The details if you care: F_CPU=16M, timer clock prescaler /256, count_max=208 The frequency changes depending on if I ...
1
vote
1answer
177 views

Delays using Timer in stm32

I am currently trying to achieve delay of 1 uS using timer in stm32 for my application purpose. SYSCLk is set to 16MHZ LSI and define same for timer clock. Timer used is a 16 bit timer. The logic I ...
0
votes
0answers
29 views

Keypad changing ports for usage of Timers

I want to use timers of ATmega 32 ( PD4 and PD5 ) for pwm mean while i'm using Port D for keypad the available ports for me is PA7 and PC7 i want to know how can i change my code of keypad init. ...
1
vote
1answer
37 views

MSP430F2272: Timer B Capture giving shorter measures than the real ones

I'm using: CCS V8 MSP430F2272 DSO-x 2024A Agilent oscilloscope Trying to measure elapsed time between pulses with Timer B, Capture Mode. My square wave source is at 50 kHz and my timer_b clock at 1 ...
0
votes
1answer
90 views

stm32f407 timer setup stm32duino

I'm trying to understand how timers work in this board. I want to make a simple led blink after X amount of microseconds and then keep the led on for X amount of microseconds ...
0
votes
2answers
147 views

Why isn't my 555 cascading timer working?

I've made a 555 cascading timer. First stage is approx 90 seconds, second is 30 seconds. The first two led's light up in sequence as expected, but the 3rd doesn't light. I've checked all connections. ...
0
votes
0answers
12 views

In PIC18F4550,But CCP1 Compare Interrput using Timer1 is not working in Relaese Mode but works if use debug mode with pause & Start

I am using PIC18f4550. I am using Timer0 for time keeping which alone works fine. I have tested CCP1 interrput using TImer1 for pulse generation. It also works fine. When I mergred Timer0 time ...
0
votes
1answer
55 views

Circuit turn on delay question

Check schematic below, On power on, I want to create a delay when the relay turns on of about 20 seconds. Once its on, it stays on until the power is cut. Timing accuracy is not important. Now I could ...
0
votes
2answers
54 views

percision timing ratio of multiple lights blinking with different durations and intervals

I'm learning a lot of this as I go, my background is mostly in programming. I'm trying to setup a timing circuit for two sets of lights going into a model, and am trying to determine the best way to ...