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, 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!
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!
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...
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...
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!
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.
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...
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...
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...
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...
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.
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...
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 //...
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...
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
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.