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
29 views

Calling a function that uses HW_Delay inside timer interrupt

I have the following timer interrupt configuration ...
-1
votes
1answer
46 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
72 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
79 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
22 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
47 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
55 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
41 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
34 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
74 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
26 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?
-1
votes
1answer
33 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
40 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
41 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
36 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
91 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
67 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
102 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
536 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
109 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
34 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
67 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
132 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
45 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 ...
0
votes
1answer
30 views

Time triggered switch off

I'm trying to figure a circuit design that when it is powered it outputs high. Then, when it get a pulse as input (low or high, I don't mind) it wait some time and then put the output to low. The ...
1
vote
3answers
49 views

Using the same components for two 555 timers

I am building a circuit to operate a Linear Actuator to open and close a lid. The open and close times are the same. The standard monostable circuit works. There is one switch to tell if the lid is ...
0
votes
2answers
61 views

PIC12F675 micro controller programming

I want to use PIC12F675 to control a relay such that when a switch is pressed, it should generate an output signal which should be ON for 2 seconds and then OFF for 15 seconds. This should continue ...
0
votes
1answer
70 views

Channel 4 in STM32 Advance Timers TIM1 and TIM8 [closed]

There are advance control timers in STM32 family as in STM32F407 and these are specially suited for 3-phase (or 1-phase also) motor control applications using full H-bridge. These timers provide ...
0
votes
1answer
56 views

Nautical map model navigation lights

I would like to create navigation light sequences on old admiralty map of my local area. There are lighthouses and channel markers in area with mix of flashing and times. The single flashes I can use ...
0
votes
2answers
113 views

IC 558 Quad timer chip, single timer in monostable mode

I'm looking at the datasheet / Application Notes for the 558 Quad Timer. Specifically, Figure 5.a Monostable Operation (One Shot) I want to drive a LED with the output. I see from the notes on data ...
0
votes
3answers
107 views

1PPS vs high resolution timer in CPU

We need to use 1PPS (pulse-per second) in our standalone system which is based on arm processor, and has cameras input. The 1PPS is implemented with GPIO which is injecting an interrupt (low to high)...
0
votes
0answers
282 views

STM32CubeMX for UART example

I am trying to run the example given in CubeMX document UM1718, Tutorial 4 - Example of UART communications with an STM32L053xx Nucleo board.. page 230. I wonder what is the purpose of using TIM2 in ...
2
votes
5answers
102 views

Will this 555 circuit prevent a car from disconnecting power to the radio when starting?

To start with I'm a little rusty with electronics, I haven't done much in 20 years and it was only a hobby back then. In my car I have a head unit with a touch screen which relies on software to run ...
2
votes
1answer
137 views

Please help me understand this bjt set up works

This is part of an automotive timer (NOT a 555!) that we have at work. Because I'm extremely bored I'm challenging myself to understand how this one operates. I've spent about 1.5 weeks with tutorials,...
1
vote
1answer
59 views

STM32F3 - diffrence between PWM1 and PWM2

Can anyone explain to me wht is the difference between PWM1 and PWM2 in STM32F3 timer configuration? It is mentioned frequently in documentation, however I can't find the difference between these two ...
-2
votes
1answer
76 views

STM32 GUI for Timers [closed]

The CubeMX for STM32 MCUs gives an easy graphical interface to configure the Clock tree. I wonder if there is similar GUI tool for configuring the peripherals specially the advance timers TIMER 1 and ...
6
votes
1answer
702 views

Inaccurate timer interrupt STM32

I wrote a simple program to toggle an LED on and off using the TIM1 interrupt on an STM32F0 discovery board. CLK Freq = 48MHz Prescalar = 48000 Auto Reload Register = 1000 Using the following ...
0
votes
1answer
101 views

STM32F091 timer as a prescaler for another timer

I would like to chain two 16-Bit timers to each other to make a 32Bit timer. Just like the example in the datasheet [RM0091 figure 147 page 429] but with different timers. I found these two sites: ...
1
vote
0answers
38 views

Simple coountdown timer IC that is independant of supply voltage

I'm designing a shutdown circuit that switches off a SMPS regulator after a 10 second time interval. This is a battery powered application and the battery voltage could be anywhere between 7-15V. I'...
0
votes
0answers
56 views

Inverted 555 Monostable Timer With a Sustained Input

I am using a 555 Timer to control a motor for a science team project. I have to make a Rube Goldberg-like machine and I am not allowed to use Arduinos or Raspberry Pis. However I need to trigger the ...
0
votes
1answer
97 views

555 Timer Giving Unexpected Output (Astable Multivibrator)

I am using this design with the only exception that C2 is 150nF to change timing slightly. When I plug in the circuit and attach an LED across GND and pin 3 output the LED is static on. However, on ...
0
votes
2answers
74 views

555 as slow PWM driver

I would like a slow PWM output, driving a relay turning an AC heating element on and off. I desire a period time of around 10s. What is a realistic upper period time limit for a PWM circuit like the ...
1
vote
0answers
47 views

556 circuit not working

I just got my 556 timers and I wired it up just like the 555 but now: it flashes one HighTime and stays off then... I used this calculator and basic diagram: http://www.ohmslawcalculator.com/555-...
0
votes
0answers
38 views

Problem with using Timer Counter interrupt on Atmel ARM

I'm using an ATSAM4E16C microcontroller and i need to get a 1 millisecond tick. I want to implement this using the timer counter module to trigger an interrupt. The clock frequency is 96 MHz, so using ...