Figured it out.
The problem was "define ADC_BITS 8". Not sure why I did that. Changed it to 10 and it works fine now. :smile:
Type: Posts; User: andywpg; Keyword(s):
Figured it out.
The problem was "define ADC_BITS 8". Not sure why I did that. Changed it to 10 and it works fine now. :smile:
Hi all.
I'm having an issue that is driving me crazy. I'm trying to use a potentiometer on GPIO4 (10K linear - wiper on GP4, ends on 5V and ground).
Originally, I tried to use:
duty =...
The other option (just spitballing here) would be to put a cap across the coil. It slows down the coil release. Not very useful if you need the relay to release fast, but I have used it in a couple...
Thanks much!
Don't know if this will help at all (I haven't read the whole thread yet) but here's one I use on a project of mine. Remember that, in my case, I only have to drive the servo from one extreme to...
I've had this one for a few months now - very happy with it. The resolution is .2mm though (actually .1984mm) and I think you are looking at pretty heavy cash for ACCURATE .1mm resolution. Lots...
I don't think any legitimate user is going to have a problem with that. Its almost ubiquitous on forums around the net.
I vote yes!
Holy crap there's a lot of spam today!
That's kind of what I was leaning toward.
Thanks Henrik
I have a situation where I need to connect two PICs. One is the 'master' and one is the slave. An output on the master goes to an input on the slave (weak pull-up enabled) and I only need to signal...
I thank you Sir. MUCH better resolution, like you said. While I have used DT's Instant Interrupts a little,
I have not used them a lot. I'm starting to get a handle on how you did that. In fact,...
Sorry, forgot to mention that I did define PERIOD_COUNT as a word when I doubled everything.
Thanks,
Andy
I am having a weird problem here, and I'm wondering if someone has any idea
what's going on. I'm building a new version of my charcoal smoker temperature
controller, and decided to incorporate a...
I gave up on clone PICs from China a while back - too many problems. I order from Microchip Direct. Not a whole lot more money, but the quality (and delivery speed!) are there.
Not sure if this helps, the digits of the model number after the dash are different, but this might work.....
http://www.farnell.com/datasheets/21126.pdf
In my case, some of the ic's I was using can ONLY run at 5V. The only thing that could only run at 3.3V was the XBee radio. So it was simpler to run everything at 5V and convert to talk to the XBee.
Thanks - good price.
I've used THIS on a couple of projects and love 'em.
I absolutely LOVE the Programmer-To-Go abilities! When I was tuning the PID loops for my first version of my charcoal smoker controller, I had the smoker going in the back yard. When I wanted to...
Personally, I've never used a bootloader (not even sure if I would know HOW). I've always just put an ICSP header on any circuit I build, That way, when I'm developing a program, I leave the...
Nope. You have to go the advanced editor (at least I do) and select 'Wrap CODE tags'. Looks like this: #
Creates a window like this that you can scroll up and down in
I'm using the 8Mhz internal oscillator. I'm curious how you figured that out though, could you educate me?
What if I used a 10 or 16Mhz crystal? I have both on hand.
Thanks Everyone!
It worked!
The answer was a pull down resistor. It got rid of that slope. I tried a few, and worked out that 4.7K was the highest value I could use. That gave me a final...
From what I understand of what was quoted, 32768Hz was maximum WITHOUT using longs. I'm using an 18F2550, and when I compile, I get the following message:
'[MESSAGE]pic18f2550.pbpinc(285): LONG...
Well, the scope has measurement functions. Again, this is NOT an expensive scope ($75), but it was reporting 38.46KHz and 26uS period......both right in the ballpark of what I was looking for.
...