ScotK
Full Member
Posts: 113
|
Post by ScotK on Jan 8, 2020 17:21:22 GMT
OK, I do show connection from the 15 pin connector, pin 10, to the stepper wheel number pins. And the number of connected pins varies based on what number I press. Seems to me like I'm missing a connection from somewhere to pin 10.
|
|
ScotK
Full Member
Posts: 113
|
Post by ScotK on Jan 8, 2020 18:13:02 GMT
Anyone have a schematic for an APU11? Or an APU10? Pin 10 should be identical on either. I haven't found one yet.
Edit: Or maybe I'm just misunderstanding the schematic in the SCH1 manual. I guess if it's a wiring schematic it wouldn't have everything on it like gears and stuff.
|
|
ScotK
Full Member
Posts: 113
|
Post by ScotK on Jan 8, 2020 18:46:42 GMT
Ron, if I'm reading the schematic correctly, there's a switch in the SCH1 APU schematics lableled 2P21 that when in its default normally closed position would connect pins 9 and 10 in the 15 pin connector. That's what would connect the signal cable to the numbers on the stepper wheel.
|
|
|
Post by Ron Rich on Jan 8, 2020 19:37:49 GMT
Scott, I don't think so-- BTW-- I misspoke earlier--it's 40 VDC applied to the step-up coil, not 25 vac. on the solid state steppers.
|
|
|
Post by spetersen on Jan 8, 2020 20:10:27 GMT
Ron, if I'm reading the schematic correctly, there's a switch in the SCH1 APU schematics lableled 2P21 that when in its default normally closed position would connect pins 9 and 10 in the 15 pin connector. That's what would connect the signal cable to the numbers on the stepper wheel. After looking at the schematic for a while, I think you are correct
|
|
|
Post by Ron Rich on Jan 8, 2020 20:24:39 GMT
Scott K, I do not have the service manuals here--just going by my great--but sorta foggy, memory-- ! Ron Rich
|
|
scudie
Junior Member
Posts: 88
|
Post by scudie on Jan 8, 2020 22:41:14 GMT
Hi Scott Put a piece of wire from terminal 9 to terminal 10. As you don't have the APU, contact WS is missing, so there is a break in the circuit. Cheers Scudie
|
|
ScotK
Full Member
Posts: 113
|
Post by ScotK on Jan 9, 2020 20:44:08 GMT
Thanks for the confirmation everyone. I connected 9 and 10, now every contact on the pulse train is reading 5v with no buttons pressed, as it should, and it should now be working.... except I ran into another road block.
Somehow I burned out the optoisolator. Which makes me think that it's not going to be reliable long term and has me wondering if I should just drop it and connect the signal line directly to the input on the Pi. Or replace the opto with a relay that won't be possible to burn out.
Rather frustrating to say the least. Made me think again if I should just remove the pulse train entirely and use the buttons as raw inputs into the Pi, and convert the entire wallbox to 5v and LED. No points to clean, no pulse train to read, 100% reliable input, lower energy consumption. Also means no going back though.
|
|
scudie
Junior Member
Posts: 88
|
Post by scudie on Jan 9, 2020 21:18:09 GMT
Glad to hear that you got the selections sorted, There are a few videos on the net / YouTube of raspberry pies connected to wallbox's so it is doable! Don't know how though. Cheers Scudie
|
|
|
Post by spetersen on Jan 10, 2020 0:57:11 GMT
If you try to use the buttons directly there will be a huge amount of wiring changes,there is someone on the net that did it that way. I have not had any issues with the optoisolator on the 2 boxes I converted, and they have had heavy use. You may be able to connect it directly, I would check the signal pulse voltage, against the hat, vs it's ratings. (directly to the Pi 3.3v is the limit)and the signal would be inverted from what it is now.(like mine) You would connect the 5v to the signal wire through a 200 ohm resistor, and connect the signal wire to the input on the hat.
|
|
ScotK
Full Member
Posts: 113
|
Post by ScotK on Jan 10, 2020 2:32:48 GMT
|
|
|
Post by spetersen on Jan 10, 2020 9:19:25 GMT
If you rectify the 24V you will get 35vdc. If you look at the other conversions linked,you will see what people had to do to make it work. The person that converted to just using the buttons, did so because they made a mistake taking things apart, and couldn't go back. The issue with using only the buttons would be that you would need 28 additional inputs, or you would need to matrix them in some way. It could be done with an old USB Keyboard controller, the way they do it on MAME cabinets. The buttons would no longer lock. Using a relay might work,I would use a small one as it's fidelity would be better, separating the number and letter pulses would complicate things more, the number / letter gap is "huge"(>200ms vs 40-50 ms) compared to the gap between the individual number / letter pulses. I suggest you read through the conversions in the links to see what they did and why, it's a very good read. I was not able to find a link to the conversion where they used just the buttons, I remember reading it clearly. The other choice would be the ready made solutions for ~$140 Which side of the opto was burned out?
|
|
ScotK
Full Member
Posts: 113
|
Post by ScotK on Jan 11, 2020 3:24:56 GMT
|
|
|
Post by spetersen on Jan 11, 2020 12:41:03 GMT
That could work, The Omron solid state relay it's based on, has a switching time of 1ms, which seems fine. I am not sure how to connect it, I don't know what the CH1 terminal does. Ask the seller if it comes with a datasheet or hook up diagram. This one describes it better
If the diode side of the opto burned out, the ssr is just as sensitive, if the output side burned out, then this is more robust
The opto that you bought has a second channel, so you can try again Before you try, put a meter between the signal terminal on the consollette and chassis,With the 5v disconnected, if you see any voltage while selecting, something is wrong.
|
|
ScotK
Full Member
Posts: 113
|
Post by ScotK on Jan 12, 2020 17:59:17 GMT
I'm going to switch to the second channel of the opto, just worried about long term reliability. I believe the input side burned out. You had mentioned that you had a dropping resistor before your opto input, I was thinking I burned out my opto due to the 5v input even though from what I read I thought it was 5v tolerant. I was hoping the solid state relay was a bit more tolerant, but at least it's guaranteed ok at 5v.
|
|