Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi,
I am using MCP23017 with I2C to ON & OFF driver IC ULN2803 pins.It means to high and low pins of ULN2803.As per my applicatioin its working, but it regulaty reseting.So,what is the problem.My code is in below.
void IOex()
{
MCP23017_Write(IODIRA, 0x00); // Declaring A port as output...
Hi
I can run the 6V 2A Stepper motor with the help of L298N driver.But how to increase and decrease the RPM of motor with the help of PWM without changing delay.And is the L298 driver is protect-able or not?
Thanks and Regards,
M SAI KIRAN.
Thank You Susan,
My requirement is to save the data into pc in a file with usb communication.That is data from uart is displayed on terminal.But my requirement is to save the uart data as a file in pc through usb and the data also stored in EEPROM.So how to program usb, I can't...
Hi,
Is there an wrong in my code or Is there any need to short the two channels that I used to get the required output.Otherwise any changes in my program.
Thanks and Regards,
M SAI KIRAN.
Hi,
I have configured 2 input capture channels to capture two 16 bits individually( MSB LSB) of 32 bits and timer as 32-bit by combining timer2 and timer3. here is my code
*************** input capture *************************
void IC_INIT(void)
{
// Register 13-1: ICxCON: Input Capture x...
Hi,
I am using dspic30f5011 controller and I can generate PWM wave by using output capture compare module.Now,I want to control the 4-wire bipolar stepper motor with PWM i.e, rotation speed.So,what driver I have to use?
Thanks and Regards,
M SAI KIRAN.
Hi,
With 32 bit timer,the input capture channel captures the 16 bit lsb that is from timer 2.If timer 2 values are maximum then values will be updated into timer 3.But I have only one channel available on my controller as per the design. when I want the higher values the input capture...
Hi,
With 32 bit timer and 1:1 prescaler I can't handle the 16 bit lsb and 16 bit msb values.So that I come back to 16 bit timer with 256 prescaler. But with this timer I am getting the values with error like 0.3 to 0.6.So how to reduce the error.
Thanks and Regards
M SAI KIRAN.
Hi,
I set the timer as 16 bit and prescaler is 1:256 and I can't get the 100% accuracy in frequncy.I got the difference like 0.4 to 0.6 Hz.So,Is there any chance to get 100% accuracy. Suggest to me.
Thanks and Regards,
M SAI KIRAN.
Hi,
After the discussion with you,I checked for 32 bit timer and then I configured the timer 2 and timer 3 as a 32 bit timer.My timer configuration is shown in below.
void timer_init(void)
{
T2CON =0; //disable Timer2
TMR2 =0x0000; //Timer2 reg
PR2 =0xffff...
Hi,
I configured the Timer2 & Timer3 as a single 32 bit Timer as per the data sheet.In this Time2 contains 16 LSB values and Timer3 contains 16 MSB vlaues.So,as per 32 bit timer I think I can measure the frequencies from 1 Hz to 1 MHz.But Input capture buffer is 16 bit that means it can only...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.