Continue to Site

Welcome to EDAboard.com

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.

Recent content by kle0ps

  1. K

    Pull up RB1 on pic18f2520

    I set PORTB as ouputs and i set PORTBbits.RB0==1; (HIGH) but when i measure the voltage on RB0 was zero - - - Updated - - - Finally i fix it. I change PORTBbits.RB0==1 to PORTA=0b00000001; Thank you mate!
  2. K

    Pull up RB1 on pic18f2520

    Hello mate I know that, but i want to connect my pic18f2520 with arduino. i want to sent HIGH (3-5V) from RB1 to arduino only when I want, not continuously
  3. K

    Pull up RB1 on pic18f2520

    Hello guys. Does anyone know how to pull up only RB1 on PIC18F2520? I use C18 compiler Thank you
  4. K

    Home Security alarm project

    Finally i fixed the code. Thank you for your help!:)
  5. K

    Home Security alarm project

    I changed this code: void Delay20TCY() //20 clock cycles, 2.5mS { Delay10TCYx(2); } to void Delay20TCY() { Delay10TCYx(50); } i don't know if its correct but its now working fine with the Clear Screen! :smile: I found this delay generator but i don't understand the code...
  6. K

    Home Security alarm project

    The clock frequency is 40 MHz - - - Updated - - - Yes i added delay before and after screen command and its working but alexx said that "This will not fix the problem, but it will help you understand what is going on, before the second print." - - - Updated - - - The initialize is it this...
  7. K

    Home Security alarm project

    I have done this and it working fine!
  8. K

    Home Security alarm project

    Hello alexxx My final code is the following: #include <p18f2520.h> #pragma config WDT=OFF , OSC=INTIO67 , PWRT = ON, LVP=OFF, MCLRE = OFF #include <delays.h> #define CLEAR_SCREEN 0b00000001 #define FOUR_BIT 0b00101100 #define LINES_5X7 0b00111000 #define CURSOR_BLINK 0b00001111...
  9. K

    Home Security alarm project

    I dont know, but i think the problem is with the delays. The delays for pic18f2520 is much faster than those who did the pic18f1220.
  10. K

    Home Security alarm project

    Thank you for the datasheet. I changed this but it doesn't fix the problem with lcd
  11. K

    Home Security alarm project

    When i change this #define RS_PIN LATAbits.RA6 #define E_PIN LATAbits.RA7 i have error
  12. K

    Home Security alarm project

    I changed the RS to RB0 and E to RB1 but it doesn't fix it. I think the #define DATA_PORT PORTA is only for RA0,RA1,RA2 and RA3
  13. K

    Home Security alarm project

    This is my LCD connection circuit
  14. K

    Home Security alarm project

    I use this LCD: **broken link removed**
  15. K

    Home Security alarm project

    First it print ("Hello World") on fist line and after 1 second it print ("ello again") on fist line. I use c18 compiler. I tried your code but i have error to this line void WriteChar(char *data) i think is the * - - - Updated - - - Ps. This code it was for pic18f1220. i tried to this pic and...

Part and Inventory Search

Back
Top