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 am trying to interface the 4*4 matrix keyboard with lpc2148, I wrote the code for that, and to display the key pressed in the lcd, but it didn't work.
The keyboard connections:
columns: column 1 to column 4 connected to P1.21 to P1.24
rows: row 1 to row 4 connected to P1.17 to P1.20...
Hey guys I found that I have some problem with the Keil settings, as in the image attached, when this "use memory layout for target dialog" is ticked I got something in the LCD, even though I got weird characters rather than the expected ones, but at least there is something there. I don't know...
1\ IOCLR0 = 0x00003000; //here I cleared RW and RS
2\ IOSET0 = 0x00000400; //here I made En = 1
3\ IOCLR0 = 0x00780000; //here I cleared p.19 to p.22 for the data
4\ IOSET0 = a; //the command will be sent here
5\ delay(10000); //now En = 1, this delay is...
Sorry Ravi I just saw your comment, yeah I succeeded in glowing a LED and I wish I could help you with your project. So what do you need to know, and I can send you my thesis if you need.
Sorry for the latency again.
Thanks for your quick reply.
yeah I got black boxes which means nothing went to the lcd, not even the commands. In fact I tried another code ( which came with the kit for interfacing the lcd) and it worked fine.
I need to figure out what the problem with my code.
Hi guys
I am trying to interface LPC2148 with 16*2 LCD and I got nothing at all in the LCD, I don't know why, here is my code -I thought that it should work -
Note: Data connected to P0.19 P0.20 P0.21 P0.22
Enable P0.10
RS P0.13
RW P0.12
#include <LPC214X.H>...
hello wimRFP, sorry again for latency but i just finished my exams.
now am writing my thesis about the wireless transmission of power through inductively coupled resonators if you remember.
practically i used an ordinary signal generator instead of the suggested colpitts oscillator, and i came...
am trying to understand the impedance matching technique and having some problems.
for the circuit attached, what is the load impedance that achieve maximum power to it ?
thanx WimRFP.
but why the input is square wave ? and in which frequency should the oscillation be ? because the maximum amplitude got in 500 KHz -not the rsonant frequency of any LC circuit- ?
i asked you earlier about the rectifier circuit and why do i need it ?
@FvM: as i mentioned am using the parasitic capacitance of the coil to hit the resonance, you are right i didn't use a seperate capacitance in the simulation since i am now concerned only with building a suitable oscillator.
@WimRFP: i didn't get the matching you're trying to explain ! since...
hello
thanx again for make it easier, i got the components of the circuit and will construct it soon, then will reply.
now i have another question,not related to the oscillator circuit nor amplification. it is about the impedance matching and how can i use it to obtain better results ?
i read...
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.