Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi guys,
I did circuit attached in image below. Im using a pic18F4553 with mikroC. I use picflash2 to load the code.
I dont understand what is happening with the mclr pin sometimes the pin goes up to 10,61 volts when i put a resistor between vcc and mclr it decreases.
But sometimes it works...
Hi,
Can anybody check on my code please? because The Timer1 is not working, in datasheet of pic18F4553 there is nothing about it, i'm only using pic18F4550.
i'll put in attached proteus and mikroc file.
Thank you again,
Okay thank you. :-D
I have another problem to solve always in the same program of the PIC. I have a car battery voltage between 0 and 16 volts which I divide by 4 since the pic does not exceed 5 volts (this is why I needed to multiply by four to get the full information), I acquired the AN0...
Hi everybody,
Thank you guys for your help :), sorry for being late for the reply.
I've told you before that I'm using a RN-42 bluetooth module and I'm trying to configure it (mode, baudrate..). I get inspired by this website(...
mmmmmm..okay . I tought thatlowbyte = result[i];
highbyte = result[i] >> 8; are enough they do the same things as built in routines
- - - Updated - - -
how could i do that :s ?? I think im gonna need 3bytes.
- - - Updated - - -
how could i do that :s ?? I think im gonna...
see this :)
- - - Updated - - -
when its 2.5 V *4 =07FF*4=1FFC its okay u send highbyte then lowbyte we can see in hyperterminal FC1F
but for 3 V*50= 0999*50= 1DFE2 , in hypertminal its E2DF ? why is the other bytes not displayed ?
thank you but it doesnt work. because i have for example for my input AN3 : 3V that corresponds to 0999 multiplied by 50 = i have to find 1DFE2 or for AN0 :2.5V corresponds to 07FF multiplied by 4 = 1FFC . when i simulate your code the result isnt correct in hyperterminal. (ADC of 12 bits)
this is my code I'm stuck in the adc part I'll explain what I do:
I have 7 analog channels to be converted:
AN0: need to be *4
AN1:
AN2:
AN3: need to be * 50
AN4: need to be * 50
AN5: need to be *4
AN6: need to be *4
but in the simulation all channels are correct except for 50 ?? here is my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.