Thread: Cheap Idea for a DRO
Hybrid View
-
11-05-2010 #1Ah Sorry, I must have missed theat out of the installer script. (the inpout.dll is only required to handle the touch switch input on my panel-pc)I installed it and had to go and find/install the required inpout32.dll.
No not your fault :) I added the 'demo' option while testing the ADJ function, so I've only added X&Y to the menu. It will happily display four (or more) scales.The version I installed as far as I could work out could only open two scales (X and Y). Is that a limitation or me being stupid?
Each PIC has the same code, on power up each one detects the status of its pin5, then assigns itself as X,Y,Z or W. When the PIC detects a scale it informs the VB app, which then adds a display panel)
I use 1.5-2m screened cables (soldered to the scale). It would be wise to route them away from strong noise sources.One question I have is whether there is a practical maximum cable length between the reader and the PIC board.
[edit] found a 600mm scale on ebay:
http://cgi.ebay.co.uk/Mill-Lathe-Hor...item439ddc49a7
-
The Following User Says Thank You to BillTodd For This Useful Post:
-
11-05-2010 #2
-
13-05-2010 #3
It was not a problem, it was easy to find and install
That's quite neat, you have thought of everything. I recognised that the ASM code was the same for all PICs on the board which is also a smart move.No not your fault :) I added the 'demo' option while testing the ADJ function, so I've only added X&Y to the menu. It will happily display four (or more) scales.
Each PIC has the same code, on power up each one detects the status of its pin5, then assigns itself as X,Y,Z or W. When the PIC detects a scale it informs the VB app, which then adds a display panel)
I managed to load the project and ASMs and do a successful 'Make' with all of the Include files as well. I just needed to change the location for the files as I don't have a D:\ drive. - it all looks good so far
That's quite a healthy length, much longer than I would need.I use 1.5-2m screened cables (soldered to the scale). It would be wise to route them away from strong noise sources.
Thanks Bill.
-
14-05-2010 #4
Hi Bill,
I have managed to program 4 off 12F675 PICS but for a quick demo breadboard can I just install 1 or 2 Vernier PICs into the RS232 interface driver rather than all 4. If so do I need to install X then Y then Z etc in that order. I'm getting to understand your assembly code but i've not quite figured out the TxSyn operation yet on GP4 in relation to channel time slots.
Cheers, John
-
16-05-2010 #5
I have build a prototype board to test a single channel although the board is built to a level to take 3 of the PICs with expansion for the 4th.
On test with one PIC installed and connected up to a caliper I am getting something and it recognises the correct channel but the displayed valued is very eratic and not representative of the vernier positional movements. I'll need to get the scope out to see why it is so all over the place. Perhaps I have a noise issue with my set-up. The power supplies look quite stable with a DMM but without scoping it there could be some nasty spikes around... I'm getting there slowly.lol
I tried to add a few pics but I'm not sure if it worked
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Website idea.
By qwertyjon in forum General ComputingReplies: 8Last Post: 05-04-2014, 03:29 PM -
Here's an idea hacking a Kress 1050 FME
By m.marino in forum Kress Milling MotorsReplies: 3Last Post: 16-01-2013, 01:05 AM -
Why they don't want to accept my idea?
By hoezap in forum Tool & Tooling TechnologyReplies: 5Last Post: 14-07-2012, 01:15 AM -
business idea?
By homer93 in forum Marketplace DiscussionReplies: 7Last Post: 01-06-2012, 12:56 PM -
BUILD LOG: Mel's Odd Idea
By mel_earp in forum DIY Router Build LogsReplies: 3Last Post: 19-03-2010, 11:54 AM



Reply With Quote


Bookmarks