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.
yaa that's cool , but cAn you tell me how to realize such a circuit in real time,, as in how to create one circuit that precisely controls the speed of the DC motor
what ever you start with pic/avr/8051 just don't start with arduino that's my personal advice .. coz you wont be able to learn much starting from arduino
and again personally speaking a good book to start with is " 8051 micro controllers by MAZIDI "
i have already posted the code in the first post itself as an attachment ..
here it is [[ it displays M D E to the lcd using two functions 1. lcddata 2. lcdcmd and a simple delay function
#include<htc.h>
#define _xtal_freq 16000000;
__CONFIG (0x2F0A);
#define ldata PORTD
#define rs RB0...
Nothing still ..
can you tell
1. how to define first port of PORT B in MPLAB using hitech c compiler for pic16f877a
2. what should be the configuration bits set
3. the xtal frequency defined
the hardware lcd i am using is on a development board so the pins Vss Vcc and Vee are already connected to the required terminals internally.There's nothing i can do in it except controlling the contrast through the potentiometer .
Can you please elaborate on the freq and config points , i...
these lines are written in the code ..
[[#define _xtal_freq 16000000;
__CONFIG (0x2F0A);]]
delay value given is [ 250 ] .. (as given in the code in the 1st pdf uploaded)
* do you want to make Xtal frequency =4mhz ?*
also please confirm that denoting first pin of PORT B by [[ RB1 ]] is...
yes, the code is working properly on ISIS,and yes the connections are fine too .
two things that are confusing me
1. the ISIS dig. for Pic16f877a and the one in data sheet are showing different positions of PORTD- 0 & 1 pins
2. are the < configuration bits > and the <XTal frequency causing...
Hello,
Please check the following HiTech C code for 16x2 LCD interfacing.
The 1st line of LCD shows blocks.The code is taken from the Samples and only the connection bits are changed.
But,its not working.
However,if I write similar code in microC,it works.So the connections are right.
Please...
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.