Hi Dave, thanks for your answer! Yes, I already have a diode across the relay, I forgot to draw it on the diagram.
I am just not sure if the interval diode in the opto can resist a punch from the...
Type: Posts; User: financecatalyst; Keyword(s):
Hi Dave, thanks for your answer! Yes, I already have a diode across the relay, I forgot to draw it on the diagram.
I am just not sure if the interval diode in the opto can resist a punch from the...
Do I need to put a diode across the terminals of this opto based on the attached configuration (I have to switch from the high side!) ? I selected this opto thinking that it comes with a diode...
Thanks. I am actually switching a 24v relay. Minimum current is 30mA, 35 or above to be safe. Would it be wise to assume:
1) 500%is at 5v. At 24v will be 6 or 7 times?
2) if the above assumption is...
I am thinking of using the above opto : Datasheet=http://uk.rs-online.com/web/p/products/8076591/
What I am not clear about is that how much current should I program the led for to get 35mA & 70mA...
I am looking at this flow sensor for one application: http://www.farnell.com/datasheets/81401.pdf
I have never used one before so I have a basic question about this model. It is about the flow...
I am using M95 module from Quecetel. I am sending data to my server and facing a weird problem. I wonder if someone else can give me some idea.
I use AT+QISEND=128 to send 128 bytes at one time....
:confused: Nops :( the same error still exists.
BTW if its not too much to ask, can you also upload the compiled HEX file so I can get some results in the mean time someone helps to resolve the...
Thanks Demon, this is just a trial program and I wanted to set the PIC up properly before arranging the code nicely with labels etc.
Would it be possible if one of you guys can upload your copy of DT INT and REEnter. I will try compiling with them. It compiles fine if I remove the Interrupts!
I am using PBP3 with MPLAB v8.90.
@Richard - Tried taking everything out of the ISR except Bity=1. Problem stays the same.
Ignore the first While1 please.
Thanks. A few confirmations
Device is 18LF45K22 and it is compiled for the same device
Include 18LP file is commented
First while1 is commented in my file, must be a mistake while...
I have the following code: (Using PIC18LF45K22)
Include "modedefs.bas"
INCLUDE "DT_INTS-18.bas"
INCLUDE "ReEnterPBP-18LP.bas"
INCLUDE "ReEnterPBP-18.bas"
DEFINE OSC 4
;----[Device...
Can anyone please tell me where to download DT Int files for 18F series? I tried from the website (http://www.dt-ints.com/DT_INTS-14/intro.html) but clicking on 18f series opens up a page with no...
I would like to switch 52v. To be safe I would like to know if there is any ic in the market like ULN2803 which can switch up to 60v (to be safe) and have ideally same or more channels on it. Thanks
I know that. But latency causes problem.
I missed that.
wsave var byte $70 SYSTEM ' safe for W in all banks
ssave var byte BANK0 SYSTEM ' save STATUS
psave var byte BANK0 SYSTEM ...
Here you are:
ISR:
asm
movwf wsave ; Save WREG
swapf STATUS, W
clrf STATUS ; Point to bank 0
movwf ssave ; Save STATUS...
Anyone?????
Hello there. I have written a simple code but it seems not to work properly. I am not sure what I am missing here and any help will be appreciated.
The code is as follows:
#CONFIG
ifdef...
Can Hserin/out , Debugin/out and serialin/out work in the same code for example in a 16f877a?
Like one pair does hserin/out, another pair goes for debug and third pair for serialin/out.
I want to...
I am getting '[HD44780] Controller received data whist busy' error while simulating in proteus. Is there any delay I should consider, if then when and how much? Thanks
code:
Gosub clear lcd...
Thanks a lot. Problem solved (for now).
I'll be BACK!
I want to display a few numbers on an 16x4 lcd.
If I have 502, I want to divide it by 256 and display the number in decimal like 1.96
I have created a routine but something is wrong as the...
Thanks a lot for the help. It is working. But could you explain my doubts please?
I understand why clock idles high (as data comes on falling edge), BUT why read before sending clock mode?
...