Search found 83 matches

by rd1196
Sat Apr 23, 2016 7:48 am
Forum: PIC Tutorials
Topic: led flasher problem
Replies: 14
Views: 32054

Re: led flasher problem

That is a very interesting alternative, unfortunately I only have the one pickit2 and Im just using the programming button on MPLABX without any IPE for now since its actually a borrowed pickit2 and I couldnt find the CD with the GUI install anywhere

Thanks a lot
by rd1196
Sat Apr 23, 2016 4:51 am
Forum: PIC Tutorials
Topic: led flasher problem
Replies: 14
Views: 32054

Re: led flasher problem

Yea it seemed so clear in my head a couple of months ago when I was still dreaming about programming PICs but once I started actually programming the code I realized it probably isnt that simple

Thanks for the response
by rd1196
Sat Apr 23, 2016 12:23 am
Forum: PIC Tutorials
Topic: led flasher problem
Replies: 14
Views: 32054

Re: led flasher problem

If you have multiple pics you might want to ask yourself if it'd be easier to use a single chip with more IO pins. Usually that's the better way. well one pic is more than enough for the circuit but I wondered if you wanted to build several prototypes for testing if there was a way to program them ...
by rd1196
Fri Apr 22, 2016 11:12 pm
Forum: PIC Tutorials
Topic: led flasher problem
Replies: 14
Views: 32054

Re: led flasher problem

Alright that makes sense Thank you very much. A quick question though, is it possible to program multiple microcontrollers at once using the same pickit2? lets say I want to have 5 circuits built each with a micro running the same code can I hook them all up to the pickit2 using a breadboard or a PC...
by rd1196
Fri Apr 22, 2016 12:35 am
Forum: PIC Tutorials
Topic: Help with other switching to other types of pic controllers
Replies: 19
Views: 41501

Re: Help with other switching to other types of pic controll

I am many years late to this party but if Jumbosize is by any chance still curious I had a similar problem when I tried to use the LED flasher code Brad provided with a 12f615, my problem was in the cblock h'20' directive where you declare the delay constants since in my case the memory locations fo...
by rd1196
Thu Apr 21, 2016 7:07 am
Forum: PIC Tutorials
Topic: led flasher problem
Replies: 14
Views: 32054

Re: led flasher problem

Hello again guys, I recently got a smaller PIC that has both PWM and A/D converter modules for a current project. I decided to test the LED flasher routine first to see how the PIC behaves and what configurations have to be done differently. I had a read through the datasheet and made some changes a...
by rd1196
Thu Apr 21, 2016 3:26 am
Forum: PIC Tutorials
Topic: led flasher problem
Replies: 14
Views: 32054

Re: led flasher problem

Thank you very much for all the help!
by rd1196
Mon Apr 18, 2016 4:52 am
Forum: PIC Tutorials
Topic: led flasher problem
Replies: 14
Views: 32054

Re: led flasher problem

Alright so first of all I apologize for any bad style in my code it was something I quickly put together as soon as I dug up an old pickit2 to test, I also appreciate the patience to explain any rookie questions I might ask im still struggling to separate what lines of code are specific instructions...
by rd1196
Sun Apr 17, 2016 9:33 am
Forum: PIC Tutorials
Topic: led flasher problem
Replies: 14
Views: 32054

led flasher problem

Hello I wrote my first assembly program yesterday and all it does is go through the numbers 7 to 0 and using that output along with the 7442 decoder to flash through a line of 8 leds, I programmed the pic last night and it worked like I wanted it to except for some reason the outputs were on RB7-5 w...
by rd1196
Thu Apr 07, 2016 2:35 am
Forum: Your projects
Topic: LED PWM
Replies: 6
Views: 18129

Re: LED PWM

Well I havent really used LEDs before so I was just browsing around and I guess I saw that value a couple of times so I just put it there and then just left it and since Im just simulating for now I didnt really think about it much haha but Im guessing a 9V battery or other values and some tweaking ...
by rd1196
Tue Apr 05, 2016 1:35 am
Forum: Your projects
Topic: LED PWM
Replies: 6
Views: 18129

Re: LED PWM

Quick update, I made a couple of changes and managed to get rid of that second npn transistor on the alternate version of the circuit. The circuit works the way I want it to so Im not in much hurry to make any more improvements for now other than looking a little bit closer to the duty cycles. At on...
by rd1196
Fri Apr 01, 2016 11:48 pm
Forum: Your projects
Topic: LED PWM
Replies: 6
Views: 18129

Re: LED PWM

Well if you just dim the LEDs by changing supply voltage with a potentiometer the dimming rate is all over the place, you can go up to 5V on the supply and nothing and then from 6 to 7 you reach the maximum brightness, so I decided to use a PWM so the dimming is more uniform. The PNP/NPN issue I hav...
by rd1196
Fri Apr 01, 2016 1:30 am
Forum: Online Shopping
Topic: Cheap/Simple Supplies
Replies: 2
Views: 11968

Cheap/Simple Supplies

Im a student looking to set up a mini-lab for some hobby/personal projects at home any suggestions on where to find some simple startup level oscilloscopes and DC supplies and such. Nothing fancy Ive seen a couple DC supplies for 60-80$ online and some very decent oscilloscopes for about 250$ someth...
by rd1196
Thu Mar 31, 2016 11:04 pm
Forum: Your projects
Topic: LED PWM
Replies: 6
Views: 18129

LED PWM

Hello, similar to my motor PWM Im trying to design a PWM to achieve a more linear dimming effect for different LED lighting applications. I have a circuit right now to test that consists of three LED's in series powered by a max voltage of 28V, at 28V the current through the LED's is 3mA which gives...
by rd1196
Wed Mar 30, 2016 5:20 am
Forum: Your projects
Topic: DC Motor Controller
Replies: 17
Views: 32143

Re: DC Motor Controller

I made a quick design for a circuit board now that the circuit itself seems to be in place The only detail im somewhat worried about is the connection from pin 4 of the 555 to VCC, I couldnt get around easily so what I did is I managed to connect it to the cathode of the third diode (parallel to the...