![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
In the process of building my own homebrew pendant to work with Mach3 on my small Sherline mill. It uses a PIC to simulate the quadrature signal normally associated with regular MPG... Tested the code last night and it works fine... no add-on required thus it will work with any version of Mach3... It has 4 dedicated buttons for Axis +, Axis -, Axis Select and MPG Mode. A visual confirmation of selected axis (X, Y, Z) and mode (X1, X10, X100, continuous) via LEDs. The remaining 9 switches are wired but actual functions are configured in Mach3... Power is taken from USB port... Will be working on suitable casing tonight (if I can find the time)... ![]() I'll provide more photo and details at my blog
__________________ Stupid questions make me smarter... See how smart I've become at www.9w2bsr.com ;-P |
|
#2
| ||||
| ||||
| That sure is neat and tidy .Those extra keys ought to offer a great degree of functionality, while allowing you to get close to the work piece. Ahhh, don't ya just love the power and flexibility of those PIC chips. Crikey, I remember when I used to build everything without the help of these beauties!! Oh boy, what a lot of solder boulders! Great work there .Cheers and CNCs, Steve. |
|
#4
| ||||
| ||||
| Speedre, I don't really know the actual name but here's the description from Digikey... SWITCH TACT SPST 12MM MOM N/O The TACT stands for tactile... I just browse in parts store here and picked from their racks... ![]() Photos of the almost complete casing below...
__________________ Stupid questions make me smarter... See how smart I've become at www.9w2bsr.com ;-P |
|
#5
| ||||
| ||||
| My current thinking on label and buttons mapping...
__________________ Stupid questions make me smarter... See how smart I've become at www.9w2bsr.com ;-P Last edited by abasir; 02-27-2008 at 09:14 PM. |
| Sponsored Links |
|
#6
| ||||
| ||||
| Somebody ask me for a little more detail on the setup at my blog, so here I go... 4 top right hand switches are connected to PIC, i.e., Axis +, Axis -, Axis Select, Jog Mode 4 PIC outputs are connected to parallel port, i.e., Quadrature A/B, Axis Select, MPG Mode The remaining PIC outputs are connected to the LEDs... On Axis Select, PIC check current axis selection then pulse the axis select output for about 250ms... to make sure Mach3 registers it... Same on Jog Mode... only two Mach3 mode used (Velocity and MultiStep)... the right number of pulse must be sent to change to the right mode... On Axis+/-, PIC check current mode and send relevant number of pulses (1, 10 or 100 or continuous)... output is quadrature... similar to normal MPG... I'll put up the PCB file and the PIC hex file here if there is any interest...
__________________ Stupid questions make me smarter... See how smart I've become at www.9w2bsr.com ;-P |
|
#8
| ||||
| ||||
Did the label works last night... The label was printed on color laser printer and subsequently laminated on one side with laminating machine... Punched the LED holes with paper puncher... The button holes were cut using circle cutter... 3M spray adhesive complete the process... result below... ![]() p/s: Just realized the X-Axis LED label is wrongly labeled as Z-Axis... dang, I'm just gonna let it be...
__________________ Stupid questions make me smarter... See how smart I've become at www.9w2bsr.com ;-P Last edited by abasir; 02-28-2008 at 07:11 PM. |
|
#10
| ||||
| ||||
The zip file contains - the PCB design and components placement - sample label above (with the mistake corrected) - the hex file to burn into the PIC16F628
__________________ Stupid questions make me smarter... See how smart I've become at www.9w2bsr.com ;-P |
| Sponsored Links |
|
#11
| |||
| |||
| Completed mine.... but not using the PIC... since I already have the MPG... Photos here...
__________________ http://9w2dtr.blogspot.com/ |
|
#12
| |||
| |||
| Thanks very much for the files. I have already started to serach for the PICs and a programmer. Was your programmer a ready to buy or did you build one. I look forward to building the pendant. Will post photo for you when done if you like. Daniel |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My Homebrew | Danka | CNCzone Club House | 0 | 12-31-2007 11:59 AM |
| homebrew CNC Controller | gbowne1 | PIC Programing / Design | 8 | 09-07-2006 06:21 PM |
| Homebrew welder | DSL PWR | Welding, Brazing, Soldering, Sealing | 13 | 01-04-2006 11:51 PM |
| Homebrew CNC Lathe | Deviant | General Metal Working Machines | 24 | 03-06-2005 09:38 AM |
| Homebrew driver - HELP! | chuckknigh | General Electronics Discussion | 3 | 11-10-2004 09:20 PM |