Tagged Questions
-4
votes
0answers
28 views
Timer map for the timers currently used in microcontroller [closed]
I'm new to this microcontroller programming. I found this forum very informative.
I've to prepare a timer map. I would like to know what exactly that "timer map" will contain.
Any examples or links ...
0
votes
2answers
168 views
Building a 12 hour timer
So, i want to make a timer that will turn on/off a circuit. I want to turn on the connected device at 08:00 and stop it at 20:00, so the interval is 12 hours. Correct me if i'm wrong but i can't use ...
-2
votes
1answer
73 views
How can i make a timed circuit which switches on at a certain time? [closed]
Tbh, I have no background in making any electronic stuff. I have always been a computer programmer but this is one instresting application I wish to develop.
We have an immersion rod for heating ...
0
votes
1answer
101 views
Performing different actions on the same timer
I am working with MC9S08AW60 on the Board-DEMO9S08AW60E. I have written the following code to perform Serial Comm, LED sequence and Keyboard Tx-RX.
...
1
vote
1answer
183 views
Timers and internal clock generator on Freescale MCU
I am using MC9S08AW60A with DEMO9S08AW60E Board (Freescale). I have studied about the timers given with the MCU. I wish to know how exactly to Implement timers by code. The Freescale suite also comes ...
1
vote
3answers
198 views
Ideal Hardware Timer Setup Routine
Imagine you were trying to write a C routine for an 8bit microcontroller that converted a desired timespan (be it seconds, milliseconds, hertz, etc). to the corresponding hardware timer preload value ...
5
votes
3answers
434 views
Which of these approaches for a watchdog timer?
I recently learned about watchdog timers, and am trying to implement one for my circuit for the purpose of resetting my (AVR) microcontroller if it hangs (i.e., doesn't respond to the watchdog).
...
-1
votes
2answers
1k views
Creating 1 hour delay with 89C51 micro controller
I am writing an Assembly Program function for 89C51 which can create one hour delay. I can't use any other micro controller as only 89c51/52 is available locally. So I am stuck here because even when ...
4
votes
4answers
783 views
Maximum attainable delay with Micro controller
I am designing a microcontroller based delay circuit to implement delays of 2 hours, 1 hour, 45 minutes, and 30 minutes. The circuit will automatically turn on off a relay after this time period has ...
2
votes
1answer
159 views
What does granularity mean?
I was wondering what granularity means? It is used in the context of:
A background task that performs a simple operation. The granularity of the background task, specifying the number of ...
0
votes
1answer
112 views
what is the default internal clock for pic16f1946?
While going through the data sheet, section 5.3.1 says: "Default system oscillator determined by FOSC bits in Configuration Word 1". How can find the value of this default clock, is it 8MHz or 31khz?
...
1
vote
1answer
287 views
Writing to timer counter while timer is running
I'm using PIC16F1947 for a project. The project requires real time tracking so a stable 32768 Hz crystal is connected with the Timer1 oscillator. The Timer1 oscillator circuit and the crystal will ...
6
votes
4answers
1k views
Reading a 16-bit timer on an 8-bit MCU
Since an 8-bit MCU can't read the whole 16-bit timer in one cycle, this creates a race condition where the low-word can roll over between reads. Does the community have a preferred method of avoiding ...
3
votes
4answers
334 views
Delayed power supply startup
I would like to make a circuit that turns on a power supply to a microcontroller after holding down a button for a period of time (say 2 seconds). To make matters slightly more complicated, if ...