The Shop > Electronics & IC Programing
EasyPIC-6 Development Board by MikroElectronica - Take"2"
raynerd:
--- Quote from: soli20 on September 28, 2011, 07:55:23 AM ---could any one help me in my project
--- End quote ---
What actually is your project??????? :doh:
Bluechip:
--- Quote from: craynerd on October 02, 2011, 02:51:10 PM ---
--- Quote from: soli20 on September 28, 2011, 07:55:23 AM ---could any one help me in my project
--- End quote ---
What actually is your project??????? :doh:
--- End quote ---
According to his other post, he's doing a robot .. narrows it down a bit ... maybe...
BC
John Rudd:
--- Quote from: craynerd on October 02, 2011, 02:51:10 PM ---
--- Quote from: soli20 on September 28, 2011, 07:55:23 AM ---could any one help me in my project
--- End quote ---
I already posted in his other thread asking what experience he had et-al.....
Maybe I missed his reply? :scratch:
What actually is your project??????? :doh:
--- End quote ---
matnewsholme:
--- Quote from: craynerd on September 24, 2011, 06:43:00 PM ---
My humble opinion - if you want to "play" at it, for £35 you just can`t beat the arduino but the EasyPIC6 really is a fantastic piece of pro kit and gives you the flexibility and speed to write and edit code very quickly, without the faff of breadboard circuits!
I know there are a few on here which are much better at coding than me and I`m sure they will give you there more experience opinion!
--- End quote ---
Chris
do you think the power feed you did last year could be implemented on an arduino board? been playing with arduino for a few weeks and want to do something similar to what you did.
Mat
raynerd:
Mat, The power feed could definately be done on the arduino, infact, Kwackers who visits here, the chap that made the rotary table divider code, has been working on a 3 axis power feed for the arduino. In other words, a three axis controller!!
I`m only playing with arduino at a very basic level and I must admit I`m quite a bit better with the Mikro stuff despite them apparently being similar! I guess if your use to coding, the syntax is the same but when your not really use to it, the difference between the two is vast in my opinion!
The basics of the code I used was to have a pulse in an interrupt.
void interrupt(){
if (modeRun = 1) //do we want to move the motor
PORTA.b1 = 1; // pin high to the stepper controller
delay // have a v short delay
PORTA.b1 = 0; // pin low
Then I had it so that in the main code something like:
if (goButton) // if we press the go/start button
modeRun = !modeRun // flip modeRun on and off - i.e press button, motor runs and again it stops.
if (directionButton) // if we press the direction button
PORTA.b2 = !PORTA.b2 //direction flips between on and off, left and right
---------
I literally had something like that wrote down for my first code. Infact, I bet you could do with without the interrupt just to test it:
main code {
if (goButton) // if we press the go/start button
modeRun = !modeRun // flip modeRun on and off - i.e press button, motor runs and again it stops.
if (directionButton) // if we press the direction button
PORTA.b2 = !PORTA.b2 //direction flips between on and off, left and right
while (modeRun) //when modeRun is on
{
PORTA.b1 = 1; // pin high to the stepper controller
delay // have a v short delay
PORTA.b1 = 0; // pin low
}
Then just hook it up and see!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version