Darrel,
I guess that I just never got into the habit of using includes. I almost always have an assembly language ISR at the begining of my programs and I could probably make different ones up...
Type: Posts; User: cupajoe; Keyword(s):
Darrel,
I guess that I just never got into the habit of using includes. I almost always have an assembly language ISR at the begining of my programs and I could probably make different ones up...
I write a bit of software and I very seldom use includes. I follow a routine similar to Melanie's in that I tend to structure all of my programs the same way, pretty much as Melanie described. One...
I still use this board in commercial projects and I can't make the artwork freely available. I can tell you that it is a breeze to layout. I have posted the silkscreen images and I can sell the...
Art,
The resistor network on A5 can be used to monitor the input voltage.
Sorry for the small error. You are correct the schematic has D5 mislabeled.
As for why I used two pins of port C to...
Well now. You need two serial ports on a pic that only has one hardware uart. I recently overcame this same problem by using a triple dual channel analog mux/demux (CD4053) between the pic and the...
What program are you using to program your PIC? Is it a bootloader?
If you are programming your pic onboard thru a serial cable using a bootloader then you need to load the bootloader software...
If you use in circuit serial programming then you need to load the bootloader file for the 16F877A -20 as well as selecting the 16F877A.
Hope this helps.
Joe
Thanks for the links Luciano. Very good information.
Regards,
Joe.
Thats not quite what I mean. A pic has a few different interrupts. Things like timer0, received character, and portb.0 are all things that can interrupt the processor. Portb.0 is an external...
Some advice. Always use a hardware UART when you can.
I do bullet proof comms using an asm routine and a harware UART. However, if I had a small program and I didn't want to write an assembly...
I use the BANK option when declaring variables to ensure that the entire variable is in a known bank. Here is a sample.
'Variables
aflag var byte 'individual bits are used...
If you are uncomfortable with assembly and don't want to or don't have the time to try and learn it you could try to handle the interrupt from inside your basic program.
To do this you turn the...
Hi,
I write assembly interrupts often and the main reason that I do this is for timing. I would not recommend jumping into, out of, back into and finally out of the ISR just to increment some...
I know that this isn't going to be very helpful but I use ASM interrupts with an LCD alot and I don't have any problems. I would check you're context saving as Melanie suggested. Also try writting...
Cocacolakid,
Are you driving these relays with your PIC? If so how?
I guess what I am asking is: Are you sure that the noise isn't coming from the coil of the relay? Can you hook a relay up...
Tom,
The value of the pot doesn't really matter as long as its over say 5k. You see you are going to set up a voltage divider across Vcc and ground with the wiper going to the A/D pin. Then I...
That's right my secrets out. I have done a few projects that involve user interfaces and I like to use a pot to scroll through menu items. I also use a single button and assign it different...
Eric,
I posted the schematics for my 877mCu PCB and an I/O module that interfaces with it. It is located in the schematics forum. Here is the link.
...
Here's the last one. This is the silkscreen for the I/O module.
Regards,
Joe Kupcha
Here is the schematic for the I/O module.
Regards,
Joe Kupcha.
Heres the silkscreen for the above schematic.
Regards,
Joe Kupcha
I am reposting my 877mCu schematic and silk screen images along with the schematic and silkscreen of an I/O module that interfaces to it. I am reposting so that all of the image links will be in one...
Eric,
I figured you new the basics about PLCs and PICs.
I have posted a universal 877 PCB in the schematics forum. I can also post a generic I/O PCB if you are interested. The I/O board...
Eric,
I develop industrial machines for the food industry. I use both PLCs and PICs. I will attempt to answer your questions / observation.
I believe that you aren't comparing apples to...
I have used a dremel tool (high speed rotary tool) with an abrasive cutting disc. Some care needs to be used as an abrasive disc can burn the board if left in one place too long. Also you need a...