Hello Enauman,
No, I never finished this project and it was a simple Magneto type lawn mower engine. The necessary inputs for an engine with dynamically changing loads and speeds would be...
Type: Posts; User: ChrisHelvey; Keyword(s):
Hello Enauman,
No, I never finished this project and it was a simple Magneto type lawn mower engine. The necessary inputs for an engine with dynamically changing loads and speeds would be...
The post took out the "Carriage Return" after "a"...
sorry
I see no reason why this couldn't be done. I would guess someone has already done it. Just plain serial communication really. Your PIC is just a screenless terminal.
In fact, if you have the...
Ah, very good.
I will be working on an 18f4550. I have one here and it should offer what I need.
Thanks SO much in advance.
Chris
Hi Mike,
Welcome to the forum.
I was reading through this thread and it looked like something Savnik pointed out might not be too clear. (But very correct.)
Porta.6 and a.7 are reserved for...
I read up a bit on DT's wonderful instant interrupts. How cool is that!? I had heard of it here often but now I see just how powerful that thing is!
I understand that an interrupt can be generated...
Thanks to everyone who replied. Sounds like this will be a "go" then. I didn't hear anyone hitting the brakes, so I'll give it a shot. Maybe I can even try out using Darrell's instant interrupts to...
Just FYI too:
The reason it works for you when using the "High" command, is that "High" automatically sets that port an output...so it works. Explicitly setting the port register as you did requires...
Hi,
I took a look at what you are doing and I have a thought. (Keep in mind I'm still kind of a newbie, but hey, sometimes a second pair of eyes can help:) If I'm totally off, I'm sorry - just...
Hello everyone,
I'm getting more comfortable with PicBasic Pro now and have some successful (albeit fairly simple) projects under my belt. (Still feel quite intimidated by you pros sometimes...
DUH. I am trying to use AN3 with an external crystal! They share the same pin.
Nevermind........
Hi all,
I still consider myself new to PicBasic Pro and in fact, to any programming, and I could really use a second set of eyes on this little piece of my project.
I am using a 12f683, a 20...
Oops, looks like this won't work with the 16f877A. I get an undefined CCP3CON Symbol error.
Hello experts,
Yes, I live in NoobieVille.
I am using a 16f877a and have a need to use a 3rd PWM output, which I found code from Bruce on how to do this. So far so good. It follows below.
...
Yeah, that makes sense. I forgot about the lowbyte, HiByte reference.
No, I don't need that many settings. I was just curious.
Thanks a lot. I think I can get it done now.
Chris
No, wait a minute. Adding won't do it, will it? 01111111 + 01111111 = 11111110
Hmm....
Ah yes, I have my residence in NoobieVille and am traversing the road to dangerous and wild lands more frequently than I am comfortable with. He He..
I knew it had to be simple. So, basically,...
Hi experts,
I would like to create a physically changable but otherwise static byte variable by using an 8 pin DIP switch for a 16f877a to "read." (Apply 5V from a common rail to the pins for "ON")...
I was being tongue and cheek, of course. But really, there is a part on my air conditioner full of Freon that must be 10,000uF! It runs hot though...
Just for the record. I followed through on this and the above idea (using the comparator) works great on a 16f877A with a 20Mhz crystal.
I just tied the output of the HPWM pin to the Comparator...
Hey, what's wrong with "condensers," I always thought it made sense...just cram (condense) those little electrons in there until no more will fit. ;-)
As for "resonators," the more I learn about...
That is a very elegant solution - just what I was looking for.
Thanks, I will look in to this. The link to Melanie's post is very helpful. Since 0 Volts is "low voltage" it should work exactly the...
Assuming a PIC with at least 2 PWM channels, can someone suggest a quick way to output two PWMs exactly 180 degrees out of phase with each other?
I can do it by turning alternating pins on and off...
How does one come to the conclusion that CMCON = 7?
Am I correct in saying that the reason it is seven is because there are only the last three bits in the CMCON register that sets this? Looking at...
Thank you, thank you.
This is definitely what I was missing:
TRISIO = %00111011 ' all inputs except GPIO.2
ANSEL = %00000011 ' GPIO.0, GPIO.1 = analog, rest digital
CMCON0 = 7 '...