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.
My program is ready.
I just need one help. I am uploading the C file here. I want to get hex file from it.
I have compiled it using MIKROC PRO PIC v5.61 and it gives me errors while simulating it. The error that comes is
ATTEMPT TO EXECUTE INVALID OPCODE.
I think its due to the hex file.
I...
Brother, its pic microcontroller and I am programming using MikroC. I guess you are not familiar with it.
- - - Updated - - -
Dont bother about it anymore. I am marking this thread as solved. Thank you all for your precious time.
Brother please look at the last code.
In that a variable aa is being incremented on every iteration, when it becomes 19 it should command LCD to display the character from the second line.
Why doesn't this happen? it happens on the proteus though.
Any idea?
- - - Updated - - -
Not in the last...
Guys look at the last code at least that should work> But no. It doesn't.
The character keeps getting displayed.
First on the first line then third line then second line and then fourth and sooo onnn.
- - - Updated - - -
Can you please tell me how to format it and document it?
I will do it at...
Hello Everyone!
I am trying to interface a keypad with PIC18F452 and trying to make a alphanumeric keyboard with CAPSLOCK, BACKSPACE, SPACE and ENTER capabilities.
The problem is that it works well in proteus but the hardware doesnt seem to pick the pace to keep with the code.
The dimension...
Does it mean that i have to connect 1,8,9,16, all these pins to 5V instead of 12V??
- - - Updated - - -
Because 1,9,16 are going to 5V and only 8 is going to the 12V.
Honestly speaking the motor has nothing on its body that could help us identify it and search for its datasheet. Here the vendors are not that literate as well, this motor has come from scrap and all we know is that it works on 12V.
The IC is not heating up. The voltage levels are being translated properly.
I will trying the idea of introducing cooling phases in the program. And will revert soon.
That's very right!!!
And it works in the beginning, the code works correctly only once and then it starts moving back and forth.
What can be the reason??
- - - Updated - - -
Come on guys! Please help me. I have to complete it today.
- - - Updated - - -
Anyone HELP!!!!
- - - Updated - - -...
First it starts moving in the ACW and completes two rotations that is it goes twice in ACW completing FORWARD group of instructions in the code and then it comes back completing two lapses of BACKWARD set of instructions as in the code.
Then when it has to go in ACW again, it is somewhere...
Okay Klaus here is the actual schematic in Proteus and the actual code. as you can see I have interchanged the B and C wires and the motor works well in the Proteus. I wish it could work in the same way in real. Please tell me brother it will work well in real as well.
void main()
{...
Thank you so muchhhhh for extending this much amount of support to me. I love you all guys. As soon as I reach the office I will do identify the wires.
And the schematic that doesn't seem to be right is the one which is widespread on the internet. So I decided to use it.
But if you have a...
I am working with the Bipolar stepper motor. it has four wires with orange, yelloow, blue, pink colors.
And honestly i dont know which one of them is A, B, C, D respectively.
Okay and here is the schematic that i am using.
- - - Updated - - -
Friend(Klaus) I respect you a lot. I have...
Sir please trust me. I know what I am doing. The only thing that i am not able to understand is the behavior of the motor. The sequence is correct according to the connections made to the L293DNE and it is meant to rotate the motor in the anticlockwise direction.
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.