Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 29th April 2008, 03:55 PM   (permalink)
Default PWM Sort of question

Hi i know i have been gone for a while just been studying and stuff. I was wondering is there like a chip with just PWM feature on it? like the have a/d chips and stuff how about pwm? Like if i have a PIC with 1 PWM channel on it can i use another chip to communicate with that PIC ...

Like:
1 Pic
1 PWM Chip

Pic <---> PWM Chip?

Sorry if this is a stupid question

Basically so i can have more PWM outputs.
AtomSoft is online now  
Reply With Quote
Old 29th April 2008, 04:04 PM   (permalink)
Default

Hi,
Not sure about the external PWM, but I know there're many PIC have more than 1 PWM module (CCP).
PIC18F2331/2431/4331/4431 are made for PWM, up to 4 channels. Unfortunately I haven't used them before.
__________________
Superman returns..
bananasiong is offline  
Reply With Quote
Old 29th April 2008, 04:06 PM   (permalink)
Default

thx a bunch
AtomSoft is online now  
Reply With Quote
Old 29th April 2008, 07:02 PM   (permalink)
Default

How many PWM outputs do you need? Is it for a servo motor. You can do software PWM very handy for multiple servo motors.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Reply With Quote
Old 30th April 2008, 01:00 PM   (permalink)
Default

well the actual use is unknown yet just wondering really but i use it mostly for the ability to lower voltage (duty cycle i think) Like im using my only one right now to control a lcds backlight for dimming and stuff. Unless i can do it another way that doesnt require like a set value (ex: Resitors)
AtomSoft is online now  
Reply With Quote
Old 30th April 2008, 01:12 PM   (permalink)
Default

On 28pin PICs dual PWM is common, some PICs have very fancy enhanced PWM I/O such as H-Bridge drivers.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Reply With Quote
Old 30th April 2008, 01:34 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
On 28pin PICs dual PWM is common, some PICs have very fancy enhanced PWM I/O such as H-Bridge drivers.

cool! didnt know that...

So now knowing i want to controll power to a certain object like a LED or Motor or anything of the sort what would you suggest using? Like is there like a Microchip version of a resistor where i can controll how much output power from my own pic?

Better said like a DIGITIAL POT.

Last edited by AtomSoft; 30th April 2008 at 01:37 PM.
AtomSoft is online now  
Reply With Quote
Old 30th April 2008, 02:07 PM   (permalink)
Default

MCP41010 - The MCP41010 single-channel digital potentiometer features 8-bit resolution (256 wiper steps), and an industry-standard SPI™ serial interface. The wiper position varies linearly and is controlled via the SPI interface. The MCP41010 has a resistance value of 10 kohm...

If you want a chip with a lot of PWM look into the 18F1330. Using the onboard PLL you can run FOSC at 32 MHz without exteran crystal! The down side it that all the PWM only leaves you with 2 timers and the SPI and I2C interfaces are missing.

Quote:
Originally Posted by AtomSoft
cool! didnt know that...

So now knowing i want to controll power to a certain object like a LED or Motor or anything of the sort what would you suggest using? Like is there like a Microchip version of a resistor where i can controll how much output power from my own pic?

Better said like a DIGITIAL POT.
EDIT: Datasheet for digital pot

Last edited by 3v0; 30th April 2008 at 02:10 PM.
3v0 is offline  
Reply With Quote
Old 30th April 2008, 02:23 PM   (permalink)
Default

AWSOME 3v0! Thanks alot i didnt know they existed lol Im going to order all three types: 10k 50k and 100k
AtomSoft is online now  
Reply With Quote
Old 30th April 2008, 02:28 PM   (permalink)
Default

Quote:
Originally Posted by AtomSoft
AWSOME 3v0! Thanks alot i didnt know they existed lol Im going to order all three types: 10k 50k and 100k
They are very awsome. They are also fairly fast. You can switch them fast enough to use as a simple DAC for voice. See the "Talking Fish Hack" over at MondoTechnology.
3v0 is offline  
Reply With Quote
Old 30th April 2008, 02:32 PM   (permalink)
Default

ok cool will sure do...
http://mondo-technology.com/

Thats the address right?
AtomSoft is online now  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Capacitor Charge/Discharge question ThermalRunaway General Electronics Chat 25 12th August 2008 04:48 PM
PWM signal problem iznalgnaij Robotics Chat 4 25th March 2008 12:40 PM
PIC PWM outputs? Andy1845c Micro Controllers 33 30th November 2007 03:06 AM
PWM using software AtoD jeremygaughan Micro Controllers 11 27th November 2007 11:11 PM
High speed data logging question cubdh23 Micro Controllers 3 19th August 2004 11:54 AM



All times are GMT. The time now is 06:34 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.