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,
Am adding pwm to my Pic program to drive 2 darlington transistors that in turn drive 12v led strips and a 12v fan.
While it all works ok on a frequency of 2500hz , wonder if there is any standard forumula for determining the best pwm frequency or is it literally just random ?
dc motor uln2003a
Hi Mifbase,
That's really good to hear - well done !
Doing it yourself from scratch is so much more rewarding and you learn a heck of a lot more about things as well.
So, what's next ? - a stepper or servo motor !! :D
regards
Richard
Re: Buil Fail Error
The build error report states what the error is and on what line of the code the errors are occurring.
If you click on any error line of the error report it will automatically take you to that error point in your code.
Its impossible to know what the cause of the errors are...
transistor dc motor 24v
Suggest you read up on H bridge and dc motor drive a bit more before you attempt any more building - this looks a good start -
http://www.mcmanis.com/chuck/robotics/tutorial/h-bridge/index.html
As you will see your current circuit is just a little bit out - the...
h bridge uln2003
Glad you got it working - before I can answer your question - need to know what you are trying to achieve - or just experimenting.
For simple stop start control you can use a relay, for reversing the motor you can also use relays, but that needs more than one.
If you want...
winpic
As mvs said you are wasting your time and money with the jdm programmers - not a hope with the dspics.
If you can program the 18Fs then you could program a 18F2550 and build yourself a clone of the Pickit2, circuits in the free Microchip Pickit2 User Guide, - but in the end that will...
humidity sensor pic
The SHT sensors just use two standard i/o lines , between 3 to 5v, for their Data and Clock signals, so virtually any Pic chip can be used.
There are plenty of code examples around in C or Assembler - see Sensirions site for a start..
uln2003a example
Found a similar motor at work - at 5v it takes 500ma dropping to 350ma at 3v3, so as mentioned by FvM the start up current will be much greater.
My uln2003 circuit , with 2 inputs and 2 outputs commomed together did drive it from a 5v source - it would also just turn the...
uln2003 circuit
You diagram looks ok, but from your earlier picture and wiring pins 1 & 16 may be damaged.
Suggest you try a different pair - say 6 for control signal, and 11 for output.
Before connecting the motor to these new pins, test the circuit with a resistor and led from pin 11 to...
uln2003a pic
First of all, have you tested the motor to see if it works ? - it looks like a wiper motor so could be 12v or 24v dc - but most will run from 6v dc upwards, but even with no load they can take well over 300ma dc.
Suggest you connect it to a large battery, via a 3A fuse and your...
uln2003a circuit
A circuit diagram would help - but looking at your breadboard it looks like you do not have pin 8 neg, and pin 9 +24v connected on the uln2003?
Also a motor of that type can easily exceed the current handling of the uln2003, would suggest you fit a relay if you are going to...
jdm programmer for 16f877a
Its a wel known fact that JDM programmers seldom work - there are plans on the web for the Pro16 parallel port programmer and for the Pickit2 USB programmer.
You can spend your time and money better by buying a proper Microchip Pickit2 or one of the well supported...
pickit2 rfpic
from - **broken link removed**
Q14. How do I program these RF Microcontrollers like PICrf12F675?
The RF Microcontroller can be programmed using any of the Microchip Programmers like PICKIT2 / MPLAB ICD2 / MPLAB PM3 through Microchip MPLAB IDE.
For details please refer the...
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.