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.
Sorry mate for the delay. I simulate using a breadboarded circuit and the pickit3 in MPLAB
I'm using my sensor to sense magnetic fields to detect cars. it reads but just once and thats it, at the second attempt it gets stuck at while(!BF); in I2CRead(); it waits forever. The error flags are not...
Hey guys this has been a wrench to my gear and its driving me nuts, I ma trying to download an MPLAB v8.87 code into a PIC16f1823 using the Hi-Tech compiler and it connects but keeps bringing up this error message below, I have increased decresead disabled LVP tryed a different pic and it still...
True! thanks
I have initial readings as
raw_x = 175
raw_y = -32
raw_z = 0
without any ferromagnetic material in space, would this be what you've got? how do you improve its sensitivity to magnetic materials? if you've done that because I initially got
raw_x = 58
raw_y = -32
raw_z = 0
for...
Ok, I noticed you used the same physical pin for both scl and sda, is this the case?
void I2CInit(void){
TRISC3 = 1; /* SDA and SCL as input pin */
TRISC4 = 1; /* these pins can be configured either i/p or o/p */
SSPSTAT |= 0x80; /* Slew rate disabled */...
Hey you guys are just awesome!
I'm having to deal with the HMC5883l module as well using the PIC16F1823 (Cuase its extreme low power!). This conversation has really gone a long way in my task.
Hey PA3040, is your code working properly? (the one uploaded here I mean).
great work you guys.
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.