1000 Threads found on edaboard.com: pic18 Timer
am currently working on a project which makes use of mma7260 accelerometer
I want to find out the vibration frequency using accelerometer to monitor
the hardware used here is accelerometer mma7260 with pic18F452
compiler is mikroC pro for PIC
The zero offset voltage out of mma7260 is typically 1.65 Volts,
i want to d
Microcontrollers :: 05-24-2010 07:55 :: amitrana3348 :: Replies: 4 :: Views: 1664
please help me to design a system using pic18 microcontroller that base on the current mechatronics product available in the market. my design shuld use interrupt peripheral, whit at least three of the following item:
1) hardware timer/counter
2) analog to digital converter (ADC)
4) relay/valve/ moto
Microcontrollers :: 08-22-2010 00:34 :: noman87 :: Replies: 6 :: Views: 1794
Does any body know a good pic18 development kit with:
-LED (at least 1)
-ADC (at least 2)
-RS485 (at least 1)
-C compiler and C example code for digital I/O, ADC, RS485, EEPROM, timer included
Thanks for reading
Look at at MMH-pic18
Microcontrollers :: 04-18-2010 15:26 :: yosibv :: Replies: 11 :: Views: 2988
pic18 unlike AVR does not have Clear timer on Compare in timer 0, but only in timer 2. T0 is a 16-bit timer (you can configure it for 8-bit if you want). So it counts from 0 to 65535 and then back to 0.
I gave 0xF82F to TMR0 (H and L), so that means I preloaded it with 63535. So T0 starts counting (...)
Microcontrollers :: 02-23-2010 12:59 :: Tahmid :: Replies: 10 :: Views: 5234
Here are a few tutorials which cover the pic18F timer modules:
Introduction to pic18′s timers ? PIC Microcontroller Tutorial
Microcontrollers :: 01-08-2012 10:26 :: bigdogguru :: Replies: 3 :: Views: 1197
There are several "timer" tutorials available online as well as documentation concerning the topic:
timer0 Tutorial (Part 1) - Microchip
timer0 Tutorial (Part 2) -
Microcontrollers :: 10-13-2012 14:49 :: bigdogguru :: Replies: 7 :: Views: 1895
I'm working with a pic18 and I want to put this PIC into sleep mode and wake it up every 3 minute. How is that possible?
The WDT can put the PIC into sleep only 2.3 seconds.
The IDE I'm working in is MikroC
Microcontrollers :: 07-29-2013 02:19 :: zuser999 :: Replies: 3 :: Views: 343
There is not much in using a timer. You just need to configure the registers correctly. Or you can refer the pic18 reference manual
Microcontrollers :: 08-30-2013 10:50 :: shatruddha :: Replies: 3 :: Views: 459
I am using pic18F452. I am trying to generate to square waves of different frequencies depending on switch level. I am using timer but the not the timer flag (TMR1IF_bit) as interrupt.
Is this possible to generate a pulse without using interrupt.
TMR1L=0x0F; TMR1H=0x0F ;
Microcontrollers :: 09-12-2014 03:11 :: shubham kumar :: Replies: 14 :: Views: 286
have not used pic18 for many years but seem to remember there are #pragma statements to set up the low and high priority ISRs
have you had a look at the Sample pic18 C Template included with MPLABX? it has a file interrupts.c which may be helpful
Microcontrollers :: 10-10-2014 16:29 :: horace1 :: Replies: 11 :: Views: 615
This free 555 timer design program provides for four operation modes (3 astable, 1 monostable), plus 16 application examples, and timer/component specifications.
File size: 253KB
Professional Hardware and Electronics Design :: 09-17-2001 02:54 :: Robin Hood :: Replies: 10 :: Views: 4061
The below picture represent a block diagram of a DWELL timer.
Does anybody know how to design the shematic diagram.(connections)
The two D-type flip-flop(4013)are used as edge triggerning device which activate the monostable that it turn activates the astable.
Please HELP !!!!!!
Professional Hardware and Electronics Design :: 03-26-2002 08:32 :: savvasn :: Replies: 7 :: Views: 2001
this is projekt in Protel 99SE format of timer for driving UV lamp on UV eraser for EPROMS.
Hobby Circuits and Small Projects Problems :: 08-01-2002 14:50 :: bingoboy :: Replies: 2 :: Views: 2508
Hi to all,
Is there anyone having idea/resource about how to implement PLL on a pic18 series micro
PC Programming and Interfacing :: 02-09-2003 17:43 :: ee :: Replies: 1 :: Views: 1619
Maybe this can help you.
PIC17CXXX to pic18CXXX Migration:
You can try to look here as well. Migrating Designs from PIC16C74A/74B to pic18C442:
PIC16 to pic18 Code Conversion Techniques:
PC Programming and Interfacing :: 03-21-2003 17:35 :: ME :: Replies: 3 :: Views: 2698
i want to make simple project.i want to make timer counter.
but only five minute.five minute later counter is stop.
when i press button counter is starting..
5 minute later, automatic alarm and i press button again and stop sound.
or automatic stop (1 minute sound)
yes how is making it?
i want schematic and pcb file..
Hobby Circuits and Small Projects Problems :: 04-14-2003 18:42 :: SeTRoX :: Replies: 8 :: Views: 2070
Please find The timer ratio and pwm caculator for pic micro may be help full for pic programming used
Microcontrollers :: 05-28-2003 06:34 :: Fragrance :: Replies: 0 :: Views: 4181
Hi again this is my projekt for UV Lamp timer. Again in Protel99 SE format.
Hobby Circuits and Small Projects Problems :: 06-14-2003 17:57 :: bingoboy :: Replies: 0 :: Views: 1108
Push the search button, type ucos and 8).
You can download the pic18 and MSP430 ports from .
Microcontrollers :: 09-02-2003 07:51 :: Gorilla :: Replies: 3 :: Views: 1456
I need help. I have designed my first digital schematic with pic18 micro. But i am not sure that it will work. Who can give me advice and/or correct the sch.
Hobby Circuits and Small Projects Problems :: 10-08-2003 07:16 :: Kiki :: Replies: 3 :: Views: 1159
I have icd1 sch only ,but Iwant debug pic18.
Microcontrollers :: 10-21-2003 01:54 :: magding :: Replies: 2 :: Views: 1920
I see ...
Maybe you should also try the Hi-Tech pic18 compiler (a 20 day demo is available at their homepage).
It is not as easy to handle as IAR but the generated code is a bit smaller (if you have problems to fit your application).
Also CCS has a pic18 compiler (similiar to the IAR compiler) but I do not know i
Software Problems, Hints and Reviews :: 10-28-2003 00:56 :: C-Man :: Replies: 4 :: Views: 2447
Anybody know the difference of Code Protection CP Bits and Write Protection WRT bits on pic18 devices?
I thought CP bits inhibits external RD/WR and WRT inhibits internal WR only. However, I "code protect" CPD=0 and enable Writes WPD=1 on eeprom memory, and the cpu can not Write/read bytes of eeprom memory.
I have read the errata sheets and I
Microcontrollers :: 11-04-2003 09:39 :: OskarDust :: Replies: 0 :: Views: 1932
Very silly question but have you wired the MCLR pin ? The pic18 model boots from this so if it's floating nothing will happen and the processor wont make it out of reset...
Microcontrollers :: 01-09-2004 11:52 :: Iain :: Replies: 1 :: Views: 1666
Anybody got a schmatic for a SONY TA-2650 old timer hifi amp ? just the power amp can do !!
Service Manuals, Requests, Repair Tips :: 11-20-2003 08:25 :: viahole :: Replies: 0 :: Views: 2353
I am new in pic micros and I want to know who is the best C compiler for pic18? IAR, HTPICC18 or MCC18?
Microcontrollers :: 01-10-2004 09:23 :: Kiki :: Replies: 13 :: Views: 2007
I couldn't force Proteus (6.2.sp4) to generate a timer interrupt with ATMega16 (timer 1, CTC mode). Is it a Proteus's bug or mine? :) External interrupts with Digital Clock Generator work fine.
Besides, loading of UBROF object files is sometimes strange. For example, my project contains a C main module and an assembler interrupt handler. Pro
Microcontrollers :: 01-22-2004 12:07 :: dimmy :: Replies: 3 :: Views: 1450
:P a nice freeware to design using 555 timer IC.
Software Links :: 02-26-2004 05:10 :: rauol :: Replies: 0 :: Views: 1110
How can I get a saw tooth wave out of a 555 timer?
The desired output frequency is 56khz.
Hobby Circuits and Small Projects Problems :: 03-01-2004 22:59 :: bloomer :: Replies: 5 :: Views: 8401
can I design a digital intel 8251 timer chip model totally?
ASIC Design Methodologies and Tools (Digital) :: 03-24-2004 10:16 :: dada1019 :: Replies: 2 :: Views: 1135
someone knows any site with some source code for pic18 in c++ !??! i tried to find over the net, but only find it in asm, im doing some tests with the pic18, but i need more examples to understand well the mode of work :)
thnx in advance to all! :)
Microcontrollers :: 04-09-2004 07:26 :: darkxp :: Replies: 2 :: Views: 1071
My name is Patrick. This is my first time in this forum.
I ve just bought a PIC 16F877. Wow, so exciting, and I wanted to build my own first application. Well, I dont know if it is feasible or not, because I am a newbie in this field! :(
Ok, this is the specification:
This timer is for marital arts, which allows me to select nu
Microcontrollers :: 04-20-2004 09:46 :: patrick :: Replies: 0 :: Views: 1832
555 timer designing soft for any circuit:
Software Links :: 05-24-2004 00:49 :: alphi :: Replies: 0 :: Views: 1750
a 150W switchmode power supply with 555 timer:
it cheapest method to design such switch mode power supply.
Analog Circuit Design :: 05-24-2004 01:32 :: alphi :: Replies: 14 :: Views: 18223
PICos18 release 1.21
PICos18 - Real-time kernel for pic18 family with sources.
Here's a list of processors tested with this release:
Microcontrollers :: 06-18-2004 03:10 :: tcsa35 :: Replies: 0 :: Views: 1076
Hi all, i would like to find schematics or links for a very small timer, it can be smd, it has to power a coil when the count reaches 0, count from seconds to soming like 10 minutes, have a led display, it can also use a cheap pic, (btw i never did) i live in argentina :( , so like i said it has to be cheaper and the components easy to find...
Analog Circuit Design :: 06-27-2004 07:36 :: psychoboy :: Replies: 2 :: Views: 1005
I am new to electronics as this is my first project, what I am trying to figure out is from my input source what do I need to solder up to a 556 dual timer to create a 1 sec clock pluse then with that pulse I am going to run that into a 4017 decade counter.
Any info would be greatly appreciated, If someone could draw up a small diagrahm showing
Analog IC Design and Layout :: 07-03-2004 09:20 :: FODRacing.com :: Replies: 4 :: Views: 1400
I am using AT89S51 can any one tell how to implement watch dog timer with some code example.
Microcontrollers :: 07-23-2004 09:05 :: ravi_p :: Replies: 5 :: Views: 1847
Hello, I was wondering if anyone can help me with a project. I need to make a timer that will dim a light according to the moons phases. I have a chart of the days and what percent of light is ommited from the source. I was wondering what I would need to make this. It would be used to mimic the moon phases for a fish tank moonlight. Someone m
Hobby Circuits and Small Projects Problems :: 07-24-2004 16:46 :: wegz15 :: Replies: 4 :: Views: 2183
I'm a college student living in an apartment in a bedroom with no windows. I'd like to set up a lighting system that will simulate the sun rising in the morning and setting in the evening. I'd like a lamp to gradually come on in the morning, and gradually dim out at night. However, I don't want the lamp to stay on when I leave the room
Professional Hardware and Electronics Design :: 08-08-2004 16:30 :: Kickthecow :: Replies: 1 :: Views: 1486
Anyone out there who know how to create a 20 mins timer circuit(START,STOP & RESET) and Source code explanation.
I tryed, but nothing happen...
Pls advice me..
Microcontrollers :: 08-23-2004 03:26 :: pasus :: Replies: 4 :: Views: 1500
i have 2 problems here.
1) 555 timer. is 555 timer able to:
when something is activated(switch or any thing that trigger) the 555 timer can activate a LED and the LED would blink for 5 seconds and goes off on itself. Any1 can help me on the circuit design/diagram on how can it work? thanks..
Electronic Elementary Questions :: 10-18-2004 03:54 :: noidea :: Replies: 7 :: Views: 1717
for PIC microcontrollers if want to make your RTOS premptive select the pic18 architecture because the Stack is editable.
Hope u follow the thing
Microcontrollers :: 12-05-2004 08:55 :: swapgo :: Replies: 2 :: Views: 1339
In timer2 ISR I have a unsigned intiger variable.
How I can I equate the lower byte of the variable to TL2 and upper byte to TH2.
so that I can treat the variable as timer value
I think keil has got a method.not sure.
Thanks for the reply
Sorry for the mistake. my question was totally confusing.
Actually on the exte
Microcontrollers :: 11-26-2004 01:00 :: UroBoros :: Replies: 4 :: Views: 1223
I have a timer with the following IC: 6260 B
annexed is the picture.
The customer don't want to change the whole timer because he wants the same P/N end it is not anymore available.
The board is from 1987, IC for a rotating timer.
If anybody has info about this IC it will be very helpful.
Thanks in advance
Service Manuals, Requests, Repair Tips :: 11-28-2004 15:30 :: FANT :: Replies: 3 :: Views: 1599
Is it possible to design a watchdog program for a BS2pe stamp? The problem is when it is powered up for a long period of time it tends to hang like any microprocessor. Should i add a timer of some sort to help this so it will reset it self from time to time and wake on a certian pulse?
Microcontrollers :: 12-12-2004 05:02 :: egg0900 :: Replies: 1 :: Views: 691
In one of my 89C51RD2 programs, I am using timer-2 to generate 100?S delay. I used the following formula to calculate values for RCAP2H and RCAP2L register. 89C51RD2 is used in 12-clock mode and timer-2 is in mode-0 i.e 16-bit auto-reload mode.
RCAP2H,RCAP2L = 65536 - ((Fosc. * delay) / 12)
I want to confirm whether this formula i
Microcontrollers :: 12-13-2004 13:15 :: CMOS :: Replies: 4 :: Views: 1977
I want to make a timer circuit, with 4 7-segment LED as display, with PIC16C54, since no interrupt function in this micro, Anybody can provide some idea for this?
Microcontrollers :: 12-23-2004 10:27 :: taylor2000 :: Replies: 8 :: Views: 5534
I´m interested in building a timer (based on a PIC or AVR) with more or less six outputs and with around eight steps of time each output. Preferibly with a small keyboard and an LCD.
Microcontrollers :: 01-06-2005 18:55 :: astroman132003 :: Replies: 2 :: Views: 607
when a try to download the hex file generated by IAR pic18, i got a CRC error.
i've tried different download software like picall and others. both gives CRC error.
can anyone help please?
Microcontrollers :: 01-10-2005 20:25 :: oigres :: Replies: 0 :: Views: 566