Thread: CNC 3020 Enclosure/Upgrade
Threaded View
-
01-03-2014 #11
Your diagram doesn't show, but I'm guessing from your description you've connected the input of the bob ok1a pin2 directly to the base of Q3. This can't work as the base will always be 0.7v above the emitter, which is grounded.
Assuming the ok1a pin2 input is a logic input and not an optoisolator, to make it work, either:
- connect ok1a pin 2 to the collector then reverse your logic, switch closed= high
or
- put another resistor between the pullup-ok1a junction and the base of Q3. I don't know what values you've used so I've shown my calcs and you can run them for yourself. Assuming your led needs 10mA and q3 has a gain of 50 then the current into the base needs to be10/50mA= 0.2mA so the total resistance on the base to 5v rail is (5-0.7)/0.2k=21.5k. If your pullup is say 4.7k then the new resistor needs to be 21.5-4.7=16.8k, the value isn't that critical so use next lowest standard value of 15k. As a check, the ok1a input will see a voltage of (5-0.7) * 15/(15+4.7)+0.7v =4v when the switch is open.
If ok1a pin2 is optoisolated then option 1 may not work and a different calc is needed for option 2.
Hope this helps.Last edited by irving2008; 01-03-2014 at 08:23 AM.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Yet another Chinese 3020 CNC upgrade thread!
By Pointy in forum Machine DiscussionReplies: 31Last Post: 18-02-2014, 01:04 PM -
Help on building an enclosure
By thomashomer1986 in forum General ElectronicsReplies: 12Last Post: 02-02-2014, 06:38 PM -
eBay: 400x600x200 enclosure 40quid
By EddyCurrent in forum Items On eBay UKReplies: 4Last Post: 18-10-2013, 11:14 AM -
19inch Rack Enclosure - interference?
By Washout in forum General ElectronicsReplies: 12Last Post: 22-09-2012, 09:10 PM -
PCB enclosure ?
By manofgresley in forum Electronic Project BuildingReplies: 15Last Post: 10-08-2012, 11:47 AM
Bookmarks