Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
0answers
41 views

AVR Watchdog Disable Issue

I am using avr atmel 1284p microcontroller. I am using watchdog library "avr\wdt.h". ...
0
votes
1answer
35 views

Open and Close Circuit automatically (Automate Push Button)

I have a simple circuit board with a push button on it. I just want to automate the pressing action every 0.2 sec or so. The push button has two terminals underneath and I understand that I should ...
1
vote
0answers
70 views

strange array values (C, psoc, usbuart)

I am still fairly new to programming, so I'm sorry in advance if my terminology/formatting isn't up to scratch. I am currently working on an element of a musical instrument that will allow me to ...
2
votes
2answers
42 views

how do I implement a start timer in a digital circuit

In vhdl, I know how to code a start timer behavorially. However, if I have to implement such a counter to start based on a trigger, how could I implement such a counter? My trigger is another signal ...
0
votes
1answer
43 views

555 Timer circuit analysis

I am trying to analyse a 555 based timer circuit: My current understanding of the circuit is that the output is changed by the voltage at pins 2/6 (let's call it V). If V drops below 1/3 Vcc, output ...
0
votes
0answers
25 views

STM32f103 multiple TIMER IRQ to generate different timebase using SPL

I am trying to control two LEDs with different delays.I used CUBEMX for code generation and used TIM2 and TIM3 to generate different timebase. It worked without any issue. Simply using TIM2_IRQHandler(...
0
votes
0answers
40 views

Help! NE556 PWM circuit for controlling MC-2100 DC motor driver

I built a 556-powered PWM controller as explained in pg 10 and 11 of this PDF document: https://www.dropbox.com/s/3ous60tvartqibb/Terry%27s%20Dual%20555%20MC-2100%20Driver%20Circuit.pdf?m The ...
1
vote
1answer
68 views

Generating 1 second with avr and timer 0 for Atmega32A

dears: we have to Generate 1 second with atmega32A and mikrobasic software. so I have configured timer 0 and avr with this way: ...
0
votes
1answer
55 views

How is a long timer implemented?

Given the following constraints: ~20% accuracy or better Vcc=5V Input is the falling edge of a TTL signal Output can be TTL or the input to a Schmitt trigger Time between 1-60min adjustable via pot ...
0
votes
0answers
59 views

STM8 - Unable to use timer2 with interrupt

I am trying to run timer interrupt in STM8 microcontroller. But I am not able to do so. I tried to read the counter Register and ARRP, but after loading the value as well both registers had the ...
1
vote
1answer
46 views

Expected behavior of 555 timer in monostable mode

While assembling the 555 timer based circuit below I noticed that 1) the intended delay on pin 3 only works if the switch on pin 2 is closed before attaching the circuit to the 9V power supply. ...
0
votes
2answers
81 views

Using Timer 555 to obtain a frequency multiplier

How can I use a timer 555 IC to obtain a frequency multiplier? I made a frequency divider by using a timer in monostable mode but a multiplier looked difficult. Can somebody tell how can I design a ...
1
vote
1answer
40 views

What's the name of a timeout relay which won't re-trigger if it times out?

I would like to replace the relay which triggers a water pump, with a relay which times out after, say, 10 minutes. And if it times out, it stays locked out until reset. Needs to be 230v AC on both ...
1
vote
0answers
77 views

STM32F407 - how do I run one motor at a time? Why do they ignore delays..?

I'm a newbie. I'm using an STM32F407 discovery board, and I want to control 6 stepper motors using PWM, especially OPM(One Pulse Mode). Till now I've made 3 stepper motors work using Timer 8 (CH1, ...
0
votes
1answer
67 views

STM32 Logic level high and low thresholds

I am scratching my head to find what are the minimum voltage for registering a low digital signal and maximum voltage for registering a high digital signal when I configure GPIO pins of STM32 (I am ...
4
votes
1answer
89 views

How to avoid this voltage when I turn on the circuit?

What I want to do is an Delay ON, but when I press the switch this voltage pass for a brief moment and turns the led on for a moment. How can I avoid this? Should I put the switch somewhere else? ...
2
votes
1answer
103 views

Why can't I route the same signal to multiple pins on an STM32F407?

I have a periodic signal which I want to use as a trigger to two timers - TIM8 and TIM2. When the signal goes high, TIM8 should start running and TIM2 will be clocked once. TIM2 will be configured in ...
1
vote
2answers
48 views

Hold Pushbutton for soft latch after X seconds

What I'm trying to achieve is have a momentary push button that must be held for say 5 seconds before latching on permanently. But the button must be held for entire duration or else timer will reset....
0
votes
0answers
44 views

Suggestions for switching 800VDC converter on/off

I'm stress testing(turning them on-off with load every 300 seconds for 1-2 weeks) the components that we are willing to use. have tested several battery chargers with AC input with using a timer relay ...
0
votes
0answers
11 views

HM-TRP radio module works at 56K data speed but only in delayed chunks

I created the following setup: I created one circuit in which the PC connects to an HM-TRP radio module via a max232 DIP IC. This circuit for the test is the master to all devices and sends a 16 byte ...
0
votes
1answer
46 views

Led as an input photodiode [Arduino AVR]

I’m trying to use a LED as a light sensor(input) connected to a Arduino Nano. I connected the led with the Anode at digital pin 8 (PB0) with a resistance of 56 Ohm and the Cathode at an analog pin A0 (...
0
votes
2answers
117 views

TPL5110 doesn't work with NodeMCU

I am using a TPL5110 timer to drive my NodeMCU, in order to keep battery consumption low, but I can't let it work. I have setup the standard circuit for this timer, as below: Whenever I apply power ...
1
vote
1answer
200 views

TIM2 DMA configuration for stm32h7

My problem: I can't configure DMA to working properly on Input Capture event. Data doesn't transfered and error occurs. ...
2
votes
1answer
55 views

Error setting up timer HAL PeriodElapsed Callback STM32F334R8T

I'm trying to create a microsecond delay function using the STMs regular timer. I wanted to set a timer to fire an interrupt every microsecond and then increment a variable in the call back function ...
0
votes
1answer
308 views

STM32F4: How to get data from multiple channels sampled from a single ADC?

So I have searched everywhere for a solution to this problem but I can find anything. I have three channels connected to ADC1 of my STM32F446ZE-nucleo and I want to ...
0
votes
2answers
89 views

Changing frequency of 555 timer with varicap or capacitor

I have created a 555 oscillator circuit where the output is set to have flashing LED light. Now I have a problem when I change the voltage of the potentiometer, the output frequency does not change. ...
0
votes
3answers
55 views

Delayed, active low, short pulse for reset

I am attempting to create a circuit using a TUSB2036 usb hub IC that automatically starts when it is powered on. The datasheet states for the inverted RESET pin RESET is an active low TTL input ...
0
votes
0answers
35 views

What keeps a delay-off timer energized when you cut off the power?

I've come to understand the function of the delay off timer as follows: When it is energized, it instantly changes its contacts. And when you "de-energize" it, it delays for a preset time and only ...
0
votes
0answers
51 views

Led on for one minute eve if the switch is pressed for more than one minute? [duplicate]

how to make a circuit that when press the switch the led is gonna stay on for one minute and than off even if the switch is still pressed for more than one minute
1
vote
2answers
131 views

Timer1 on stm32f4

Im giving a try to stm32 after a long time programming on avr, and seems like im struggling with timer. I want to use timer for handling freezes: ...
0
votes
3answers
89 views

Can I use a mosfet as a switch to power arduino?

I have a project in which I intend to use a NE555 timer to turn the arduino on/off on specific intervals. I don't want to use the ne555 output directly because of the current limitations of the chip. ...
0
votes
1answer
137 views

STM32405 ADC on Update Event of Timer 1 or 8

I'm not sure what I should be asking for because some of the terminology is confusing to me, but what I'm trying to do is use the two motor timers (TIM1 and TIM8) on the STM32F405 to sample BEMF on a ...
2
votes
1answer
66 views

How to set PWM frequency with high granuality

I want to create a PWM at 100kHz that can have 1000 steps. e.g. when I set CCR1 to 0%, the PWM is off an when I set CCR1 to 499 it should be 50% and obviously at CCR1 = 999, it should be full duty ...
0
votes
1answer
56 views

5mm RGB Led built in IC [closed]

Is there any standalone IC do the same job this 5mm Led (standalone flasher and builtin control IC) does?
0
votes
1answer
66 views

NE555 Circuit stops working after random time

i finished my NE555 circuit and created some pcbs. After a few attempts i could get the circuit working, and tested it successfully. I placed my circuit between a 12V 1.5Hz square wave signal and a ...
0
votes
1answer
46 views

Turn off automatically - timer [closed]

I'm creating a simple circuit and I need it to turn on when I press a button and stay on for the time that I choose on the timer (choose the time on a potentiometer, and it needs to go from like a few ...
0
votes
0answers
94 views

PIC18F452's timers and interrupts

The PIC18F452 datasheet explains that it has 4 timers: ...
0
votes
1answer
52 views

Output Compare Interrupt does not work avr atmega

Hey I'm trying to do blinking led using interrupts on 16 bit timer. My atmega model is Atmega168A. Chip clock rate is 12Mhz. Here is my code: ...
0
votes
0answers
48 views

555 Timer Circuit Simulation Generates an Error

I simulated the circuit below: The expected output is a 50% duty cycle 40 kHz square wave but the simulator (MultiSim) generates an error and doesn't compile. The error message is as follows: "A ...
0
votes
1answer
46 views

Obtaining data from parallel port without the “phantom power” problem

After making failed circuits in the past, I learned that the cause is that the parallel port was producing "phantom power" (aka powering the circuit). This is because I plugged my circuit into the ...
0
votes
1answer
62 views

LED blinking while loop not working AVR timer 0

It is strange and rare. I am trying to blink a LED at PD0 at 2hz, but it doesn't work. Seems to me that while loop doesn't work at all. I have triple checked the code. what is the problem here? ...
0
votes
0answers
32 views

Can a timer capacitor be overriden?

So, I'm using a LTC1980 as a backup power supply regulator. But instead of using batteries as a power source, I'm using super capacitors. Their voltage tend to fall below under-voltage threshold of ...
0
votes
0answers
31 views

Serial baud calculation without using serial interrupt - 8051

Here's the situation. I have a project which utilizes multiple sensors and connects to another unit through standard UART (8N1). Because no data needs to be missed from any device, I made the ...
1
vote
2answers
75 views

How does this TLC556 work?

I'm having trouble understanding what the upper part of an electronic metronome depicted in the below schematic does. I already asked about the lower op-amp part in another topic, but I also can't ...
-1
votes
1answer
58 views

How to pulse an LED for a second with just a single switch, resistors and capacitors?

simulate this circuit – Schematic created using CircuitLab I know you can use 555 and other stuff but I'm trying to do this with just these few components. This circuit is the best that I ...
0
votes
0answers
176 views

STM32F7 + TI ADS127L01: SPI with DMA circular mode + Timer IC for data ready signal + CRC

I've connected a TI ADS127L01 to the SPI2 of a STM32F746 mcu via SPI2 and Timer 2 Channel 4 input capture for the data ready signal. As soon the data ready signal is captured, the SPI TX DMA (which is ...
0
votes
3answers
92 views

Timer interrupt (ISR)

I am using a timer interrupt for multiplexing however my question relates more closely to interrupt service routines. If I set the prescaler and turn on a timer, using the below code I can run code ...
0
votes
1answer
46 views

A question about timer resolution and frequency range

In a manual of this data-acquisition hardware the timer output is state as: "One timer output channel(32-bit)" If a timer is 32-bit, what else info is needed to calculate the max and min freq. timer ...
2
votes
0answers
86 views

Building a device that lights an LED once a minute [closed]

I'm a complete noob in electronics. I want to build a simple battery-operated device that lights an LED for one second, once every minute. What do I need to buy to build it?
1
vote
1answer
415 views

Speed measurement of brushless dc motor with hall sensors with STM32

I have difficulties understanding and finding a solution to find the speed of a BLDC motor. Here is the specs: 3 Phase BLDC with 3x Hall sensors in 120 degrees, 2 pole-pair The image below shows the ...