Everything is free except PicBasicPro.
This sounds like a first project for you. Start with someting like blinking a LED at the push of a switch... Then come back to this, but up in post #4 there is a link showing how to write to the module.
Everything is free except PicBasicPro.
This sounds like a first project for you. Start with someting like blinking a LED at the push of a switch... Then come back to this, but up in post #4 there is a link showing how to write to the module.
Dave
Always wear safety glasses while programming.
you are right, this is the first project for me, so i'm really starting from scratch. ive seen post #4 but i have one question, what will i do with that code after compiling it, whats next? will i burn it to the pic? i really need your answer on this to start. thank you.
Most that use Pic Basic are probably writing the code using Micro Code Studio, you can use any text editor though MCS is pretty good.
When the code is written and the compile button is clicked MCS starts PBP which is a comand line program. PBP will turn the BASIC code into Assembly code. Then either PM or MPASM starts, this is selectable. PM or MPASM will turn the Assembly file into a HEX file.
The HEX file is what gets written to the PIC.
To get the HEX into the PIC a piece of hardware called a programmer is used. There are many to pick from. The programmer will have software to control the flow of data into the PIC and read back what was written to verify the code on the PIC.
Now the PIC is ready to power up and run.
What all do you have so we can help you get started with some learning code?
Dave
Always wear safety glasses while programming.
i have downloaded the pbp compiler but its just in a demo, it can only compile 30 lines. do you know any alternative compiler?
as for the materials that i have, i have here a pic16f877a and a programmer module for that pic. the vdip2 that i have ordered will be arriving soon.
please correct me if i'm wrong,
i will burn the program to the pic, then, i will connect the pic to the vinculum using uart mode. then the pic will be the one to issue commands to the vinculum and there is no need for the 232 connections. is that right?
also, how i'm i going to apply the vinculum command sets such as WRF and CLF ? will the compiler be able to understand them?
Have you read the code examples posted here? How to read and write are both here.
As for a compiler, PBP is the only one I will recommend.
Practice blinking LEDs with the demo version and other small things first. Then try something bigger later.
You will not be able to make this work as a first project even if you had the full version of PBP.
Dave
Always wear safety glasses while programming.
about the shorts programs like the blinking leds, i have done that already. i already know how to program and burn in pic micro controller. my only problem is to connect it to the vdip, since this is my only first time to use the vinculum so.. was i right with this statement? :
"i will burn the program to the pic, then, i will connect the pic to the vinculum using uart mode. then the pic will be the one to issue commands to the vinculum and there is no need for the 232 connections"
Bookmarks