All is good. I'm just glad I'm able to shift some of the blame from myself to Microchip in this instance.. haha
Thanks for all the help anyway circuit now working like it should, now back to...
Type: Posts; User: davewanna; Keyword(s):
All is good. I'm just glad I'm able to shift some of the blame from myself to Microchip in this instance.. haha
Thanks for all the help anyway circuit now working like it should, now back to...
I cut my teeth on the 16F877 and it is my understanding it does not have an internal oscillator. And it doesn't seem to be in your list Henrik.
You're exactly right Henrick.
I put a 4Mhz osc on it thismorning, works perfectly.
I'm surprised it worked at all with no external osc components.
Cheers
Henrik,
That would explain why I can't find an easy way of turning it on and off. Having said that, in my circuit the OSC pins are left floating. How is it doing anything?
Edit: I think...
After reading more datasheet and looking at the PBP inc file for this chip, the best I came up with in my tired state is to change my first line to....
@ __CONFIG _WDT_ON & _RC_OSC & _PWRTE_ON...
I noticed the LCD_BITS 4 line in your code. I've never used that line before and always used 4-bit LCDs. I added it anyway and no change. I also changed the LCD init line to same as yours, and...
Scampy,
That is interesting and a part of this PIC I don't fully understand. I've used PIC's with Internal OSC before, but quite a while ago and I don't remember being this confused about it.
...
A late night case of "I wonder if" has got me up. Set the command and data times up higher, still the same.
Not real happy with a couple of the SMD solder pads for the pic. The leg has solder, and...
Thanks for thereply.
I haven't gone that high with the numbers so I'll try that in the morning. I made the pcb with a cnc machine, the socket is very close to the pic and the lcd is plugged...
I've had a break from PIC's for a little so I'm a bit rusty, but I don't recall having this many issues in the past.
Just trying to get an LCD to work first on my 16F716. I haven't used this pic...
I have made the problem a lot better by adding a 200uF cap across the output of the regulator. My theory is that keeps the PIC alive long enough to drive the FET completely off. The fault happens...
Dave,
All earths should be disconnected, there are no external sources of power or earth currently.
amge,
I'm not sure I fully follow your circuit there. looks like the buttons are from 12V...
I've making a simple little circuit for my car. It has a 5V reg, to power a 16F676.
Now I want this circuit to be connected to permanent power, but not drain the battery at all when not in use.
So...
Jumper: Thanks for the info on the 4620, looks like the 452 will do, but the 4620 will be better.
Art: I had a quick look at your projects, and you might be interested to know this auto...
It's a factory sensor in the gearbox, but there is more than one. There is also two ECU's, one for the engine, one for the gearbox, that I am replacing, as the engine has been replaced with...
Cheers for that Dave, looks like it will help me out a lot. It's pouring rain here so haven't had a chance to jack the back wheels up and test the car out yet.
But no doubt I will have more...
Apparently I hit enter before I should have before, then I took too long to edit the post. So here is what it was meant to be.....
I apologise in advance for the stupid questions, but I'm pretty...
I apologise in advance for the stupid questions, but I'm pretty green and haven't been able to find an example of what I want to do in the search.
I am trying to read a speed signal coming from a...
Darrel,
From your advice I guess my quickest easiest way of making this work is with pulsein (seeings I have very little interrupt knowledge yet)
My reference to 21kph was if I use COUNT to...
Sorry all! Something unexpected has come up over the last 2 days. I didn't realise I had this many replies! I haven't even had a chance to read over everyone's suggestions yet... I will go...
Is it not possible to use the factory sensor? As it's already in the gearbox, and it is what the factory auto computer uses.
I have this setup on my desk at the moment all connected, and by...
I have built a controller of sorts for my car that does many things. The latest being control the automatic gearbox.
The problem I'm having is reading the speedo sensor. The sensor gives one...
Leo,
To be honest was never able to reliably transmit data. There were many many errors.
I have since found out a few pieces of information that I have not yet had a chance to try. Firstly, do...
I would go that far... you see, that also means, that my nIRQ interrupt pin that would not go high, no matter what, was also assigned as an output... And that is a problem that i have spent a lot of...
I'm a dickhead...
I'm trying to make RF work, and I don't even know how to set a TRIS.....
So after reading the datasheet again, and doing some tests... It seems I've been setting the TRIS as...