Search Engine

118 Threads found on Pic Generator
TDR should be possible with a pic although I've never tried it. I would suggest a step generator that triggers the pic and sends the signal simultaneously and using the fastest counting speed to time the relection. So the pic is used as a period counter to measure the length. It can then do the calculations and return a (...)
Hi all, I want to build a dual time zone clock with pic or AVR. Need to see Brazil and Italy time in the same display at the same time, may be a two or four line(four is better to see) LCD. If possible using a precise external time base generator like DS1307 or similar ones. Regards, Fernando call sign PU2PLL
HI friends pls help me..... i want to take data from tsop,which is ir nec protocol receiver...and adjust duty cycle of pwm at ccp pin of pic me which pic mcu i use for this.....pls send me code for ir decoder and vary duty cycle of pwm.
It gets confusing sometimes. A CLOCK cycle is one wave of oscillation at the clock input pin or from the internal clock generator A MACHINE CYCLE or 'T' cycle is how long it takes to complete one internal operation, typically either 2 or 4 clock cycles in a pic An INSTRUCTION CYCLE is usually the same as machine cycles because
How many bits resolution do you want for the PWM signal? If you need 32 steps in the sinus curve, I suppose you need at least 5bits resolution in the PWM period. With a resulting frequency out of 6500Hz, it will give a base frequency for the PWM input to be 6656000Hz. Relative high for the pic with a soft PWM generator.
friends how can I get spectral response (frequency domain) of an oscillator like shown in the pic using cadence virtuoso....
I wish to know how to setup 230v source from proteus "generators " - SINE. I worked with dc well. now when I click SINE there are three fields to fill. (I need 230 v ac, 50 hz and also to work with pic I need 2.30v , 50hz source) 1.offset ? 2. amplitude/peak/RMS ? 3. Frequency (I think this is 50hz); VSINE also works the same way w
This might help you. Also why are you not using mikroC PWM library and vary the duty of the PWM at required intervals using a Timer ?
1 cycle =1000000 / in ?S FOSC can be internal (inside the pic) or external , use of a Quartz or an external clock device generator. for Other pic18F you can active a PLL multiplicator => FOSC*4 => 1 cycle= 1000000/ FOSC ?S for executime time Code operation take mainly 1 cycle ( it's explain why we divide FOSC/4) but some
You could buy one of the cheap AD9850 modules from eBay and control it from a pic. You will also need a output amplifier.
hi nea, Download this free loops tool, very useful. Also I would use one of the pic Timers with an interrupt for generating the Freq. E
Had you considered to employ some online PWM calculator for pic16F family such as this one bellow ? pic PWM Calculator & Code generator +++
I am making an ultrasonic generator using half bridge used an IRs2110 two IRF840 an pic microcontroller 16f616, MY controller works fine without power circuit but when i complete my circuit then circuit works and after 3 sec microcontroller stops working. I have tried an isolated supply to microcontroller of 5 volt. IRs2110 have 12 volt supply.
hello, there is no output appearing in real hardware ??? How do you test and see ADC result ? This pic has some special features like a FIFO on ADC ADCON1=00001000 this bit (BFEMT) is read only, and FIFOEN=0 so disabled ADCON2=00000011 left justified ? No delay ? FRC/4 ? try with ADCON2=1 0
That's a strange thing to do but if it's what you want: 1. read the ADC 2. put the ADC value into the baud rate generator. For example if you are using pic16/18 series devices, read the ADC and load the result into SPBRG. Brian.
The tl494 is a veritable chip. If you need switchable output voltages then you could use transistors to switch in and out resistors to ground on the feedback loop, or if your using the chip as a pwm generator switch resistors to ground from pin 3. Or if you want to be clever you might be able to use the vref block within a pic instead of the vref
Dear All, I have made a pic 16f676 based "Automatic generator Start" operates some relays with specified time intervals to star the generator, when Mians power fail.All is working fine,but I am facing a problem in the circuit.When I power up the circuit with the 12V Battery which is also connected to (...)
Please define your parameters more fully. There are too many answers otherwise. Voltage level range (min:max) Frequency Pulse Width Single or multiple outputs, pattern generator??? The immediate answer that occurs to me is to program a small pic to do it; that would give great flexibility. It is not as simple as a handful of multivibrators and lo
i want to work on " Monitoring system for power generators" as my final year engineering project. in this project, i will monitor the load voltage/current, and fuel level of generator and will show it on LCD wirelessly by using gsm. And generator will be turned off in severe conditions. I will use pic micro-controller f
Hello, Am designing an automatic transfer switch using pic microcontroller, can someone help me with how to connect the generator (both single phase and 3 phase). Any schematics will be appreciated Thanks in advance!
Dear friend, Im new in microelectronics and need some help or recommendation to design stepper motoro pulse controller. In attachment can see some graphics design which type pulses I need. In pic. Version_1.png its like Pentagon stepper motor (unipolar) Drivers Designs. obr
This may sound like a very newbie question but how to drive a signal generated by microcontroller to a coaxial cable, do I need some special kind of connector?
I need to draw a circuit diagram how to connect pickup coil (2 wire tacho generator) to a 8 bit pic microcontroler in order to read the signal. I found some schematics on the internet (attachment 1), that I don't see being correctly done. I don't understand why there is a rectifier diode and 10k resistor on the source pin of mosfet, when (...)
Help please! Have bought Rhode Schwarz SMIQ 03B, but working not properly. generator didn't pass callibration - all shown on pic. Sometimes all going good, often getting bad signal full of harmonics - up to 3 GHz, then ALC error appears. Please help with repair, I'm seeking service
A useful tool for working out the baud divisor is here: Brian,
I've dabbled a bit with microprocessors and even taught an online course in microprocessor interfacing (which is concerned more with peripherals than coding). However, I do not have any formal training or on the job training (or at home hobbyist training) in microprocessors such as the pic or HC12. I have written limited code for both in C and a
I assume you are bit-banging a software UART. Is it possible to use the built in hardware UART? You don't tell us which pic and at what clock speed you are using but most pics can generate both those rates at 4MHz and at 20MHz with less than 0.5% speed error. If your pic has a 16-bit baud rate generator it will be even (...)
dear what do you mean by x and y capacitors. C4 looks special frequency filtering capacitor in this circuit. what do you mean by y1 y2, no where in pic
You need to spec the content to the video, not just the Video interface. YOu might consider; Microchip pic 16F84 VGA Output Atmel AVR VGA Text mode Output Atmel AVR graphics VGA output with SDRAM Atmel AVR and ISA VGA card Lattice MachXO CPLD/FPGA VGA generator VGA But I recommend you figure out how
That would depend entirely on your amplifier - it certainly can do so if that's the way it's designed, and adding a voltage offset to the signal is the easy way to get all of it into your pic without having to resort to a negative rail and external ADC. I take it you mean that you are connecting your signal generator directly to the ampli
pic PWM Calculator & Code generator pic PWM Calculator & Code generator
Did you use the automatic project code generator to make that test code for the LCD? If so, it does not work; the CCS compiler uses the wrong defines! The exact same thing happened to me when I made my first LCD test program. This is what to do... Open the LCD.C header file from the Drivers folder under installation (mine is here: C:\Program Fil
Try this link for delay code generation. Delay Code generator
Hi! I'd like to ask what is the difference between the PWM signal produced from a function generator and a PWM signal produced by a pic microcontroller. I am trying to produce PWM signals to drive a DC motor. This PWM signal is fed to the motor driver through a octal transceiver 74LS245. But when I try to drive it using t
Hy 2 all; I am designing a DC-AC converter . I am willing to produce the output nearest to sine wave ( or it could be modified sine wave) I have done PWM DC-AC converter. My Problem is that i have designed my boost ckt with L=10mH AND C=220uF AND R=110 DIODE=10A04 AND pic=16F877A MOS=IRFZ44N 66931 My pic code using
hi to all Ineed help on how this portion of code work THANKX sine: TMR1L = timerone.byte0 TMR1H = timerone.byte1 TeMP = sineval CCP1CON.4 = Temp.0 ' bit 0 CCP1CON.5 = Temp.1 ' bit 1 CCPR1L = Temp >>2 'Bit 2-7 if stepcount = 0 then stepcount =36 stepcount = stepcount -1
pic PWM Calculator & Code generator
Hi I am going to build a governor control for hydro electric project. I would like to use pic micro controller for developing PID logic.The first part of governor consists of frequency control of the hydro electric generator. The frequency sensor is magnetic pickup type. I have seen DC motor speed control project with PID logic using (...)
use a dds like the ad9850 from analog devices you can have a precision of 1/100e of a Hz with it and you can drive it from your pic mcu with serial bus. regards,
Microchip pic, ASM Delay Code, Code generator Welcome to To-pic Mark Crosbie's Homep
hi all out an electronics student and doing my project. i am using pic 18f4431 microcontroller to produce two sinusoidal pulse width modulated signals that i will use to control my H bridge so that i can construct a simple inverter. i have written some code using ccs but on simulating on proteus i am not getting the required output. the
the genset pic you posted above, usually have starter system, called a self. This is similar to a car. A starter motor connected to a battery with gearing is used to start the generator. The flywheel of the generator contains a geared ring, when the starter is switched ON, the gear of the starter motor engages with the geared ring in the (...)
have a look at the dspic Microchip Technology Announces Six New DSCs with 16-bit Audio DAC - Press Release e.g. dspic33FJ32GP302 dspic33FJ64GP802
Hi, I need to provide 1V to 5V variable voltage to a device to control its operation. The present mechanism of Potentiometer has become unreliable. I need to provide a up and down push button which should vary the output voltage from 1 volt to 5 volts. What is the the practical method with common components? PWM possible? or digital poten
Does anyone have a program which obtains a voltage frequency from a function generator and produces a waveform in a text LCD of a pic 18f4520. In another words the LCD of the pic 18f4520 acts as a mini oscillioscope... Pls anyone help... thanks
Better use a new generation pic24F or pic33F with buildin 16 bit DAC or use an external SPI DAC which can run at a much higher freq.
first convert the sinewave to a squarewave usin some opamp like 741 or tlo72..make vcc 5v ok.then program pic as a counter.i think u can use ccp module in pic18 for that.input the squarewave to the pic..done
Hello.... I want to generate Traingular wave using mc..... anyone help me to generate.......
sir, i saw a simulator/emulatir type asm code generates asm code for pic and at89/at90 series asm code. they use that emulator just by clicking by the mouse. they are using just clicking on the port which are drawn in bellow automatically asm code is generated. after finishing this process.they just copy the code
Hi, For pseudo-random code generation, check these links: pic Microcontoller Math Methods - Quick little 8 bit random number generators pic Microcontoller Math Method - Random number generator for the 16F876 using timer 0