Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: PerE on August 05, 2007, 06:57:17 AM
-
Hello all.
I want to build my own pendant/control panel for my router and i am going to use a PIC 18f4221 microcontroller. I want to learn to program this unit and use it for controll Mach3. Has anybody done this and what are the hints ? What do i have to think about when i am doing this ? Be gentle to me because it´s hard to learn an old dog (46year) to sit. ;)
Per
-
You might want to start out with one of these as it will give you easy ModBus interface and a few people here on the forum can give you some tips, I'm still learning this CubLoc thing. It is very easy to use even for me:)
http://cubloc.com/product/01_01.php?PHPSESSID=e0f0bcf90b5e4678f73113b69cde25af
-
Thank you but i already have my processor (PIC 18F4221) and i want to program that one for my application.
I want to learn ASM (assembler) and i want to build my own pendant/control panel.
Per
-
If you have never programmed before, youre up for a steep climb. I use PICS for many years, from 8 bit to 16 bit dsPICS. I would suggest you purchase a demo board (PICDEM2 PLUS) and an ICD2 from Microchip, but if the cash is low, there is another way. I implement the modbus on the dsPIC30F6014A and the dsPIC33 range which gives 40MIPS. The modbus is advanced programming, you need to implement CRC (Cyclic redundancy Check).
Whacko
-
^^ What he said
-
Thanks for the replies. I have purchased a WISP628 and i have already started to program the unit. ;)
Per