Gallery, Projects and General > Project Logs
X2 X-axis Stepper motor Power Feed - (possible CNC conversion?)
<< < (15/19) > >>
slowcoach:
Very impressive, good job  :bow: :bow:

Rob  :thumbup:
spuddevans:
Well done Chris  :clap: :clap: :clap: A nice and tidy unit.


Tim
raynerd:
Cheers Guys....yep, it is working well. I had it running earlier today and am quite please with it but I`m actually going to have another hour and reprogramme the chip. I`ve been looking at the data sheets and think I can swap the 16f887 for 18f4520 using the same board and circuit and then use the 18f to convert the current "step" position to a measurement, inch and mm.

BlueChip - I was advised to use C code when I was first introduced to PICs. I wouldn`t change it one bit - C seems excellent! I spoke to a bloke who was into coding in Assembler a few months back, quite a random meeting but and he pratted around for ages showing me some assembler code and man, the number of lines of code he had to do for a simple programe! I could have done it in literally a couple of lines. OK - I don`t have a clue what is happening as much as he does inside the PIC itself but I suppose you have to decide if that matters. To be honest, the few times that I will want a PIC, I`m interested in the function I get from it, not how it is running. I know this is ignorant, but for the time I can afford to invest in it, its good enough for what I want. Great thing about C, is it is pretty much just English!

I use MikroC compiler for my code:
http://www.mikroe.com/eng/products/view/411/mikroc-for-pic/


It is great because I`ve also got Mikroelectronica`s EasyPIC 6 dev board. That being said, you can just use MikroC to generate your hex and then blow it to your chip any way you like.

Regarding those blue LEDs, yes it doubles as a lazer cutter. I`ve managed to put a hole in the ceiling above the controller.!

Chris
Rob.Wilson:
Very cool Chris  :bow: :clap: :bow: :clap: :bow: :clap: :dremel:


Rob  :thumbup:
Bluechip:
Hi Chris

Tks for the info.

Couldn't work out just what they wanted from your link   :scratch:

As I have the 'lite' C18 with the MPLAB, I might have a go with that.
I doubt if I need it to be optimised for the bit of code I do.

I used to fool around with the 16F84 years ago, used ASM with that, as there was nowt else at the time as far as I'm aware. So, just plugged away with ASM when I returned a few months ago. I find it simple but tedious ..

Have fun ...

Dave BC





 
Navigation
Message Index
Next page
Previous page

Go to full version