Hello Guest it is June 24, 2019, 04:23:49 PM

Author Topic: Pendant/control panel with PIC 18f4221.  (Read 3714 times)

0 Members and 1 Guest are viewing this topic.

Offline PerE

*
  •  16 16
    • View Profile
Pendant/control panel with PIC 18f4221.
« 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
Re: Pendant/control panel with PIC 18f4221.
« Reply #1 on: August 05, 2007, 02:46:29 PM »
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

Offline PerE

*
  •  16 16
    • View Profile
Re: Pendant/control panel with PIC 18f4221.
« Reply #2 on: August 06, 2007, 04:11:27 AM »
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

Offline Whacko

*
  •  239 239
  • Happy Days
    • View Profile
Re: Pendant/control panel with PIC 18f4221.
« Reply #3 on: August 06, 2007, 06:40:22 PM »
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

Nothing's impossible
Re: Pendant/control panel with PIC 18f4221.
« Reply #4 on: August 07, 2007, 10:10:33 PM »
^^ What he said

Offline PerE

*
  •  16 16
    • View Profile
Re: Pendant/control panel with PIC 18f4221.
« Reply #5 on: August 08, 2007, 07:20:04 AM »
Thanks for the replies. I have purchased a WISP628 and i have already started to program the unit.  ;)
Per