The opening (or the pressing) of SW1 or SW4 will result in pin 18 on U3 to go to ground thus turning on (playing) CH1 of the MP3 player.izon said:
I have a question. Will the closing of either SW1 or SW4 result in an output at U3 (ULN2803) pin 18? And the output from pins 17,16
in similar manner from SW2 and SW3? Just want to be sure so my wiring will correspond if it differs from schematic.
Yes.izon said:
I have gotten the MP3 unit with the configuration for "NPN open collector circuit" as you indicated... is this correct?
As far as I can tell, yes.izon said:
Also is it correct to have the MP3 unit's power leads directly connected to the + and - 24vdc supply?
Please forgive my somewhat off-thread information, but I thought I would add to @elec_mech's information, how to easily add the user identification. After the word QUOTE at the beginning of the quote and before the right bracket, insert (manually) an equals sign followed by a quote, the user name, and a closing quote. Like the example below (extra spaces inserted so that it is not recognized as a formatting command):I haven't figured out how to do a proper quote where the quote automatically includes izon said: this, this, this, but I can tell you how to do basic quoting.
Used to be easier with the old site - you'd select Quote first then the cursor would automatically be placed between the quote designators and you'd just paste the text.
- Copy and paste the text you want to quote into the new message.
- Highlight the message with your mouse (move cursor to one end, hold down left mouse button, and scroll until all text is highlighted).
- In the menu above the new message click on Insert (newspaper-looking icon).
- Select Quote from drop down menu.
- Done.
I've seen other's do a much better job by including the name of the poster of the quoted text, but I haven't been able to figure out how to do that other than manually typing and bolding that portion which seems like a lot of work. Hopefully someone will shed some light on this.
Congratulations! Glad to hear you're learning from scratch.izon said:I'm thrilled that it worked !... never having attempted anything like this.
I'd have to see how you're wiring it. In a nutshell, connect +24V power to the red lead of the beacon. Connect the black lead to pin 15 of U3 (ULN2803).izon said:The problem I do have is that connected my "flashing red beacon" will not light up.
LET dirsB = %00000000 ' Make all B pins outputs
LET pinsB = %00000000 ' Turn off all outputs on port B
LET dirsB = %11111111 ' Make all B pins outputs
LET pinsB = %00000000 ' Turn off all outputs on port B