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 alvinthen

  1. A

    Interfacing PIC18F2220 with SD card via SPI

    Hi, I've uploaded the zipped file. The power supply was from the project board. I'm using C18. There's one thing to mention about, from the schmatic above, the voltage after the red LED is not always 3.3V when connected to the MMC. not sure what caused this. Thanks!
  2. A

    Interfacing PIC18F2220 with SD card via SPI

    Hi, I've tried the 512mb micro sd card and 128mb mini sd card from nokia (took out from an old phone), transcend 2gb micro sd, all are used with SD card adapter Thanks!
  3. A

    Interfacing PIC18F2220 with SD card via SPI

    Hi, As the title suggests, I'm trying to interface a PIC18F2220 with a SD card via SPI mode. I've not successfully initialize the SD card. I've sent 80+ clock pulses with the chip disabled and CMD0 with chip enabled. I should wait for a R1 Response with value of 0x01 before continuing to CMD1...
  4. A

    PS/2 Barcode Scanner with PIC18F2220

    Gosh, I just found out I was doing something dumb, the cable supplied with barcode scanner contains one male and one female PS/2 port, and I thought both of them are connected internally so I probe the female sides which is totally not connected. -.- I'll proceed with coding now, thank you very...
  5. A

    PS/2 Barcode Scanner with PIC18F2220

    Well, the thing is I didn't even connect the barcode scanner to the PIC, I was merely supplying 5V to the barcode scanner from the project board and probe the clock and data line. Is that the right thing to do? I'll go ahead trying with the keyboard now, thanks for the advice!
  6. A

    PS/2 Barcode Scanner with PIC18F2220

    Hmmm, I guess I might as well test it on the PIC, but the thing that bother me most is the result from the oscilloscope. Anyways, there's only PIC16 and 18 in my college.
  7. A

    PS/2 Barcode Scanner with PIC18F2220

    I was doing RS232 barcode scanner at first, but half way through my supervisor asked me switch to PS/2 and leave the RS232 for PIC to PC communication. Anyways, are there any necessary initialization like LCD? Do I need to initialize it before it can start transmitting signals? Because from what...
  8. A

    PS/2 Barcode Scanner with PIC18F2220

    Hi, I'm trying to interface a PS/2 barcode scanner (CS-600 from Code-Soft) with PIC18F2220. I've several doubts needed to be cleared. I've tried supplying 5v directly from power supply to the PS/2 port and observe the signal at the data and clock lines using an oscilloscope. Then I tried to...
  9. A

    PIC18F45K20 with barcode reader

    hi, i'm now trying to interface the PIC with a PS/2 barcode scanner. I've read through this link **broken link removed** but i have something unsure. Do I treat the barcode scanner as a keyboard? Do I need to do any initialization? I've tried to trace the data and clock lines with oscilloscope...
  10. A

    PIC18F45K20 with barcode reader

    Hey thanks for the help, I've managed to make the LCD to function with the coding from **broken link removed** I just merely changed the codes from hi-tech to mcc18, i still dunno what's the different between the codes you provided and from the link. Thanks alot anyways, you've been a big help...
  11. A

    PIC18F45K20 with barcode reader

    Only one line of the LCD is visible, but not displaying anything. Using C18, I'm working on it right now. Is the initializing sequence correct? I'll feedback to you asap.
  12. A

    pic 16f877a qnd lcd jhd162a help

    This is my code: any help pls? //LCD Testing #pragma config OSC = INTIO2 #include "p18f2220.h" #include "delays.h" // LCD display ports etc #define LCDdata LATA // data port #define LCDstatus LATBbits // control/status port #define RS LATB0 // read/write bit in LCDstatus #define E...
  13. A

    PIC18F45K20 with barcode reader

    I've set it to digital but still the same thing, the LCD still had not initialized properly. Here's my code //LCD Testing #pragma config OSC = INTIO2 #include "p18f2220.h" #include "delays.h" // LCD display ports etc #define LCDdata LATA // data port #define LCDstatus LATBbits //...
  14. A

    PIC18F45K20 with barcode reader

    I tried setting the delay to 20ms, i'm using RB0 and RB1 for RS and EN, RA0 to RA3 for the data bits. I'll try again with the delay tomorrow. Thanks alot again, you've been a big help to me :) By the way, I'm using pic18f2220 right now, i've set OSC = INTIO2, the internal oscillator is 8MHz, do...
  15. A

    pic 16f877a qnd lcd jhd162a help

    Hi, sorry for bringing up this old post, do you mind sharing your coding for initializing the LCD? I'm using the same LCD but I failed to initialize it using 4 bit interface mode. Thank you very much

Part and Inventory Search

Back
Top