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 all,
I'm using MiKroC to program a PIC16f877a, and i want to configure pins A0,A1 as analog pins wile A2-A5 as digital input. i use this code but it didn't work
ADRESL = 0x03;
ADRESH = 0x00;
TRISA = 0xFF;
had i forget anything to put in the code ?! any modifications...
Dear
the circuit is given by the instructor, although i wrote the code in MikroC and it's running good, can i convert my code to assembly and use MBLAB ?!!
Here is the code
int i;
char DSP_code1[10]= {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00};
char DSP_code2[6] =...
Dear all,
My friend have an assignment in the Micro-controllers course, he has to write an assembly code to control a traffic light using PIC16f877a attached to a 7-segment display s the following flow chart
the circuit in Proteus is attached below
I look for your help as soon as possible
Hi all,
can anyone help me in making pic16f877a communicate with a PC via the LAN switch ?
any one worked on "Stellaris® Serial-to-Ethernet Reference Design Kit" can help me ?
why you think that ?!!
what is the problem with this code ?!!
- - - Updated - - -
the previous code work in proteus well
but didnt work on hardware
i replace every part of the circuit but the problem still exist
Hi all
I was working on my project for more than month i stuck in a problem that the hardware serial communication doesn't work or it sends me a rubbish values.
may any one help me to convert my code to hex file on his compiler and try it on real pic ?!!
i will be thankful to all of you, i need...
really i did the loop test now.. the cable is working
but i still have the problem, i didn't chose any option to send the data in inverted mode - note that i get the data correctly virtually -
I stuck here, no time to think :(
Yes dear, I used 9600 bps as a baud rate on the two sides
I don't know what is the software you talk about "Invert" ?!!!
I don't know how to make a loop on the cable
- - - Updated - - -
I used 4Mhz crystal to get 9600 bps baud rate !!
if there any problem how to fix it ?!
Hi all
I have a project connecting pic16f878a to the pc
i programmed it using mikroc. When testing serial communication virtually i recieved the data correctly. But when I test my hardware i recive rubbish letters on hyperterminal.
May anyone help me with that problem ?!!
I should submit my...
Thanks a lot for your help :)
but what you mean by [IR/Bluetooth] ?
do you have any schematics and codes for PIC microcontroller ?!
after the data delivers to PC, how could i define the Bluetooth as input keyboard for the PC ?
Plz help me :)
Hi All ..
I'm interested to convert the wired keyboard of the computer to Wireless one using Bluetooth technique and PIC16f877A.
Any one can help me in the circuit design for the keyboard and computer sides.
and what is the Bluetooth module i can use here ??
Please Answer Me ... It's Urgent :(
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.