It was because i was using one programming pin (i do not remember which one) as dual mode - input and programming. I know it's possible to do that, although i had problems when doing that... i...
Type: Posts; User: leonel; Keyword(s):
It was because i was using one programming pin (i do not remember which one) as dual mode - input and programming. I know it's possible to do that, although i had problems when doing that... i...
I'm thinking to use the same PIC I/O to drive a led and to be an input from a switch, this is being an input/output just by changing TRIS. It's possible isnīt it? I'm using the circuit attatched
Yes i have a protection relay diode.
I resolved my problem by hardware, i put a 10uF capacitor between +5V and GND. It's possible to resolve this with software? My doubt continues...
What i dont...
I tried but i think it's not working.
But i'll try more... If you remember another way to do it???
Sorry but another questions concerning PIC16F505.
When i drive my relay it seems my PIC reset's, because it goes to my programs beginning.
I already put my "master clear enable" to internal and...
Thank you.
yes, but what's the instruction to clear in option_reg<5>
clear ?
Hi.
I'm using 16F505 and i want to put RC5 as an output. In datasheet says that it has dual purpose RC5/TOCKI.
Even if i put TRISC to use as an output it cannot drive my led. I think TOCKI...
yes, i already thought... It was my first solution.
But micro-power opamps are expensive, and consumes a little more than MCP3553.
You're right Dave. I took a better look after, and i read what you say.
Probably i will follow you're advise, but first i will see if there are another cheaper solution... (but i don't think so...)...
Using MCP3553 probably will work, but my circuit is to be supplied with 4 batteries of 1.5V, +-700mAh. MCP3553 has 170uA of current supply it's a little too much.
I would like to have a consume of...
Sorry but i don't understand... ???
Hi.
I'm trying to read directly from a PIR sensor (3.3mVpp) using a PIC.
I read in Microchip AN700 it's possible using Delta-Sigma Converter to increase resolution (to 20 bits !!!!) then sense...
Well, i think i solve my problem.
I have a 78L05 well regulated output with a 10nF ceramic capacitor between +5V and GND, also i also have flyback diodes across inductive loads.
What i did was to...
Hi...
Sorry to be out so long!
I'm facing a big problem with reset condition on PIC16F57, this is, when i turn on a motor by a relay sometimes my microcontroller makes a reset. I faced the same...
Yes, i know how to see the code in assembler...
But my ideia it was to read the code in "C" or "PicBasic".
I think when you say: "Thankfully there is no reverse compiler back into PICBasic" i think...
Allow me to do one stupid question...
There are any way through an *.hex file know the source code?
The *.hex file was made in another compiler (i think "CCS")
I've seen more carefully what all people wrote and i decided to change my approach... I'll not use any mobile phone. Instead a modem.
I've seen a modem "Q2400" from wavecom that supports AT...
I'm starting a project where i need to send an sms when a contact closes.
As i said i'm in the begginning so i need a little help to start.
Here's the ideia:
- i have an old 3210 nokia phone and...
there are any way to clear my return adress saved on the stack?
It was my mistake... I forgot to copy return, but it has!
Sorry but I don't understand what you want to say!
...
start:
...
if portb.1 = 1 then
gosub dez
portc.1 = 1
gosub dez
portc.2 = 1
gosub dez
portc.3 = 1
Hi...
There are any problem putting a goto inside a gosub?
Sometimes i have strange problems and i donīt see anything in my code that might cause this problems. The strange thing is sometimes doing...
Hello.
I'm starting a new project that has one 4-20mA output from a sensor. 4mA corresponds to one decimal value and 20mA corresponds to another decimal value. If for example my output itīs 8mA i...
It's just a warning...
PBP will take care for you, you don't need to worry!
Just be ware if you're using call instruction (see PBP manual).