micro-stepping pwm motor

Started by Luis in Piclist13 years ago 1 reply

Hi all ! I need make a stepping motor 1.8? in micro-stepping mode in: 0,05? . who know to build it whith PIC ?? I...

Hi all ! I need make a stepping motor 1.8? in micro-stepping mode in: 0,05? . who know to build it whith PIC ?? I will try with CI-3973 (Alegro), but I need a exemple to run it... (sorry my english...)


help pic12f675

Started by vaishnavi236 in Piclist14 years ago

hi, i am doing a project " micontroller based pwm swithching charge controller for solar photovoltaic system using...

hi, i am doing a project " micontroller based pwm swithching charge controller for solar photovoltaic system using pic12f675".problem is the ckt is ready but i find it difficult to programme it using mplab s/w since i am not well versed in s/w.so we need a program for


PID Control With the PIC

Started by Bennet Williams in Piclist13 years ago 2 replies

Does anyone have or know of a source for good PID control code (written in C) for the PIC. I intend to do drive motor speed control...

Does anyone have or know of a source for good PID control code (written in C) for the PIC. I intend to do drive motor speed control with a 16F876A using the built-in PWM hardware. Thanks, BRW


Re: Problem involving configuring pins for analog/digital operation

Started by Eirik Karlsen in Piclist10 years ago

Jason, The PWM (analog output(s)) have dedicated pins, and you can't move these around. And the A/D options available in ADCON is what you have...

Jason, The PWM (analog output(s)) have dedicated pins, and you can't move these around. And the A/D options available in ADCON is what you have to play with... no way around this! You must adapt your program and circuit layout accordingly. Yes ports can be reconfigured at runtime, and this is sometimes done, although not all that common. If you do this take care so no output pin drives curr...


pwm snippet?

Started by timbomcnuckle in Piclist11 years ago

Hi folks, I am attempting a few various H bridge configs for a project I have been working on- the platform is an RC truck 'toy' made by...

Hi folks, I am attempting a few various H bridge configs for a project I have been working on- the platform is an RC truck 'toy' made by Radio-shack. Not quality by any means but does have some good qualities in this case (well designed diffs for a toy[4x4, rear motor gearbox has driveshaft powering front diff]) In the end I will be using the diffs only and scrapping most everything else--on...


dsPIC33FJ128MC802 PWM motor control

Started by KM6VV in Piclist9 years ago

Hi John, I see you're a ham too! I'm KM6VV. Central coast, CA. I'm starting a dual motor control project for a microbot robot. Two DC...

Hi John, I see you're a ham too! I'm KM6VV. Central coast, CA. I'm starting a dual motor control project for a microbot robot. Two DC motors with encoders (Lynxmotion), and a dsPIC33FJ128MC802. I'm currently playing with application note 696 code on an 18F4620 while I wait for the dsPIC. The ds is a little different! I've not yet figured out what are the comparable settings for...


IOC, RC Schmitt Trigger and Tcy Question

Started by mdgolfbum in Piclist14 years ago 3 replies

I'm looking at alternatives to measure the frequency of a PWM encoded signal. I'm considering using the IOC capability and ...

I'm looking at alternatives to measure the frequency of a PWM encoded signal. I'm considering using the IOC capability and measuring the time between zero crossings. Two consecutive zero crossing delays of short duration within tolerance of the nominal would imply an encoded &quo


help pic18 eccp

Started by jr goco in Piclist14 years ago 1 reply

hi! has anyone been able to work on pic18's eccp pwm mode? i cannot seem to make the single mode work.. ...

hi! has anyone been able to work on pic18's eccp pwm mode? i cannot seem to make the single mode work..


pwm module and hbridge circuit

Started by jr goco in Piclist13 years ago

hello! i would like to know the reason why the motor control i implemented on a pic18f252 works with my hbridge circuit when i...

hello! i would like to know the reason why the motor control i implemented on a pic18f252 works with my hbridge circuit when i added a series resistor of 1k ohms to both ccp pins? btw the hbridge circuit i used is the one in the intelligent positioning system appnote by mic


18lf252 ccp2mx documentation error ?

Started by Chris in Piclist12 years ago

Apologies if this has come up before. I've ported some 16f876 code over to an 18lf252 to benefit from the larger memory. I'm using the PWM ...

Apologies if this has come up before. I've ported some 16f876 code over to an 18lf252 to benefit from the larger memory. I'm using the PWM output from CCP2 and discovered, after a good head scratching session, that only when you set the config bit for CCP2MX to on will it set itself up so that it DOESN'T mux with the portb pin the documentation points to .


pic16f628 and single servo

Started by smitty505000 in Piclist14 years ago 6 replies

Hello, I am looking for some sample code to control a single r/c (hobby) servo from the pwm module in a pic16F628. I am making a...

Hello, I am looking for some sample code to control a single r/c (hobby) servo from the pwm module in a pic16F628. I am making a small version of the old Big Trax toy. I have the robot part made and need to make the trailer now. I want to put an r/c servo in it that will rotate a


Short PIC Program - Help needed badly

Started by Devon Lee in Piclist13 years ago 18 replies

Hi there, I'm a newbie in PIC programming using assembly language. Recently, I've written a short program using PIC16F876...

Hi there, I'm a newbie in PIC programming using assembly language. Recently, I've written a short program using PIC16F876 which involves PWM and ADC. I've tested the program in the lab but it does not function in a proper manner. I've tried reading and edit


Servo pulse using Timer1

Started by kg4pid in Piclist13 years ago 2 replies

I'm just starting a small project using a 12F675 and would like to use Timer1 to time the PWM signal going to a remote ...

I'm just starting a small project using a 12F675 and would like to use Timer1 to time the PWM signal going to a remote controlled servo. The typical 1ms to 2ms pulse with 1.5ms being centred. I've done a few small projects but I've never used Timer1 befor


site has moved

Started by Dennis Clark in Piclist14 years ago

Hi all, For any of you that have looked in the past or are trying to look at my PIC projects (serial PWM, servo controllers,...

Hi all, For any of you that have looked in the past or are trying to look at my PIC projects (serial PWM, servo controllers, etc.) I've moved the site. I'm now at http://www.techtoystoday.com - alternatively you can modify the links y


sine wave genaration using pic 16f8xx

Started by eddivya in Piclist14 years ago 9 replies

hai what is the maximum frequency that can be possible to generate "sine wave in PWM mode" using pic 16F8xx. please give me...

hai what is the maximum frequency that can be possible to generate "sine wave in PWM mode" using pic 16F8xx. please give me reply as soon as possibe.It is very urgent in my project. Regards Ramu


PIC was restarting when driving motor...

Started by rrothe64 in Piclist14 years ago

I misread a motor spec and wound up sending about 6amps through a TIP120 which was being driven by a PIC16F84(a) using PWM. The...

I misread a motor spec and wound up sending about 6amps through a TIP120 which was being driven by a PIC16F84(a) using PWM. The PIC reset, although the power supply was capable of delivering much more than 6amps (at 12v. I'm using an ATX PC Power supply with the necessary j


Problem with CCP Modules

Started by Sanjyot Katti in Piclist15 years ago 6 replies

Hello Everybody, I am using PIC 16F73 micro which has 2 CCP modules. The hardwrae is basically a motor controller + data ...

Hello Everybody, I am using PIC 16F73 micro which has 2 CCP modules. The hardwrae is basically a motor controller + data acqusition card. CCP1 module I have configured for capture mode to measure frequency. CCP2 module is configured for PWM mode. I have to use both


using microcontroller to generate gradually-changing frequencies

Started by Mark Farnell in Piclist14 years ago 1 reply

I wish to design a PWM variable voltage variable frequency non- sinusodial inverter to control a 3 phase asynchronous motor. ...

I wish to design a PWM variable voltage variable frequency non- sinusodial inverter to control a 3 phase asynchronous motor. Since this inverter is for asynchronous induction motor, therefore the microcontroller has to decide the FREQUENCY of the output by itself to drive th


USB Programmer

Started by martin de lange in Piclist15 years ago

Microchip released an apnote for the Pickit1 USB powered programmer that needs no external power supply. It uses the USB 5v...

Microchip released an apnote for the Pickit1 USB powered programmer that needs no external power supply. It uses the USB 5v with a pwm voltage booster to get the vpp voltage up to 9-13v adjustable. It uses


Re: 1 khz sine wave genaration in PWM mode using pic 16f8xx

Started by Rambabu Edubilli in Piclist14 years ago

hai   I need to produce 1khz sine wave using pic 16f870.(resolution of 5 bit) please advice me some logic to do so. or...

hai   I need to produce 1khz sine wave using pic 16f870.(resolution of 5 bit) please advice me some logic to do so. or anybody have code please send me.                & nbsp; thank u