Hello Guest it is December 26, 2024, 06:24:38 AM

Author Topic: PART CNC PART MECHANICAL  (Read 33782 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: PART CNC PART MECHANICAL
« Reply #30 on: May 14, 2012, 06:42:43 AM »
Not sure where you would get 5v from these boards as I have never used one. If you use a separate supply you will need to connect the 0v of that supply to the 0v(Gnd) of the board so the signal has a reference.
400 Ohms may be ok, you really need to get the specs of the LED and use one of the online LED calculators to see.
Hood
Re: PART CNC PART MECHANICAL
« Reply #31 on: May 14, 2012, 07:12:05 AM »
Hi Hood
You should know me by now and electronics. Tried your suggestion and all it kept saying was I needed a bigger/more power supply.
This is the optical sensor
http://docs-europe.electrocomponents.com/webdocs/025c/0900766b8025c315.pdf
What am I doing wrong????????
Graham
Re: PART CNC PART MECHANICAL
« Reply #32 on: May 14, 2012, 12:17:03 PM »
Hi all
Going to take 5 volts off a usb port, one wire (red) is this ok?

Hood, have ordered some 220 ohm resistors to save confusing the issue.

Graham

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: PART CNC PART MECHANICAL
« Reply #33 on: May 14, 2012, 01:45:47 PM »
Not sure what you are meaning by "all it kept saying was I needed a bigger/more power supply." What was saying that?

If using the USB you will likely need to also take the 0v from the USB and connect it to the Gnd terminal of the inputs plug so that the signal has a reference.
Hood
Re: PART CNC PART MECHANICAL
« Reply #34 on: May 14, 2012, 05:15:28 PM »
Hi Hood
From your suggestion
"may be ok, you really need to get the specs of the LED and use one of the online LED calculators to see."
Thanks for the advice about grounding the input plug back to the usb. I will have to find out where that is on my BOB.
Graham

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: PART CNC PART MECHANICAL
« Reply #35 on: May 14, 2012, 05:45:21 PM »
One or more of the pins on the connector that has the inputs will be a Gnd pin I would imagine.
Hood
Re: PART CNC PART MECHANICAL
« Reply #36 on: May 15, 2012, 01:15:40 PM »
Should have said 100 ohm resistors

Hi Hood
Thought it was too simple.
Exactly where do you get the 5 volt supply from as there are no obvious connections for it on the BOB TB 6560?
Will I have to get a seperate power supply if so what spec?
I have been given some 200 ohm resisters will two in series be OK as you specify 220ohms?
Graham

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: PART CNC PART MECHANICAL
« Reply #37 on: May 15, 2012, 01:26:59 PM »
200 ohm should be fine.
Hood
Re: PART CNC PART MECHANICAL
« Reply #38 on: May 15, 2012, 04:44:27 PM »
Hood
Heres where I am with the wiring.

Pulse from photo cell is sent via serial port pin one to BOB.
GND is via serial port pin 5 and via the usb to computor.
5 volt is from usb.
In ports and pins I have set pin for pulse to 10.
The PDF for the lathe is not very clear.
Will fit 220ohm resister
My question is what do I set PORT to for pin 10???

Graham

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: PART CNC PART MECHANICAL
« Reply #39 on: May 15, 2012, 05:03:50 PM »
It will be port 1 that you set it to, assuming that is what you have the rest of the BOB connected to.
Hood