Main > Main Forum
cheapy 'Zero Delay' USB encoder
InfantSorrow:
' Well throw me a freakin bone here Scott... we're in a VOLCANO, we're surrounded by liquid hot MAGMA.. ' lol
When i connect the encoder to usb port windows says usb device reported an error.
When i disconnect the button its fine.
PL1:
*Returns from feeding the ill-tempered sea bass and working on the shark-head-mounted lasers.
(Research note to self: Don't use the long drywall screws for this application. They're a bit too long -- the sharks develop a nasty twitch and/or swim funny.)
------
Not sure what's wrong.
Disconnect the coin wire between the ZD and the coin mech but leave ground connected.
- Does the board still error when plugged in?
- If not, does shorting the ZD coin wire to ground register as a button press?
Check the voltage between the coin mech coin wire and ground -- does it drop from 5v to 0v when you drop in coins? (a digital meter may not respond fast enough to register this, but you should see a twitch on an analog meter)
Anyone have a ZD and a coin acceptor setup like this?
I don't have comparable hardware, so there's not much else I can do to help here. :dunno
Scott
InfantSorrow:
@Scott
When I just leave the ground connected it is still giving the error.
I have picked up a problem though. When i check the voltage between the coin wire and ground it shows as 3.8v (I flipped the NO to NC so i could check the closed circuit state for the voltage. This state results in 0v only when a coin is dropped, correct? On NC, this happens for the moment I drop the coin.)
I used a 5.1v zener diode, perhaps this is taking too much voltage away?
Once again, thanks for the help Scott :cheers:
PL1:
The fact that it's erroring with just the ground connected is a troubling sign.
Try separating the two circuits.
On the ZD:
-What is the voltage difference between the button leads?
On the coin mech:
- What is the voltage difference between the coin mech coin wire and ground?
- What voltage is it when the zener diode is disconnected?
Unless the zener is damaged, it should only regulate voltages that exceed 5v, any voltage at or below 5v shouldn't be affected.
The only other option that comes to mind is that you bought a coin mech that is designed to connect to a 3.3v microcontroller.
The model number of the coin mech and a link to the page where you bought it may also prove helpful. ;D
Scott
EDIT: Most of the time, I'll read all the posts in Main/Project Announcements/Woodworking/Artwork/Forum Discussion/Wiki Discussion/Pinball before I notice a PM or e-mail -- just sayin'. ::)
BobA:
Check to see you are using the actual ground wire on the zd. Colors do not matter the ground comes from the wire closest to the edge of the card.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version