November 24, 2024, 10:35:04 AM

News:

Got VSA?  Want to use your Prop-SX?  Now you can!  See the VSA section of the Library forum for Prop-SX code that works with VSA.


Activating the AP-16+ using a microcontroller

Started by rbjung17, February 17, 2011, 09:40:56 PM

Previous topic - Next topic

rbjung17

Hello,
I am currently working on a project where I am using my microcontroller(HCS12) to control the start and stop of different output devices. One of those devices being the AP-16+ Audio Player. I am wanting to see what the best way to interface these two devices together. I was thinking, since I have the 18 VDC, 3 amp power supply, I would have it connected to a normally-open relay so that when microcontroller activates the relay it will power the AP-16+ and play its .wav files. If you can please provide me with any specifics on the interfacing I would appreciate it.
Thanks,
Roger

JonnyMac

Have you downloaded the documentation?

-- http://www.efx-tek.com/downloads/ap-16_docs.pdf

If your microcontroller can send serial data at 2400 or 38400 baud then you can simplify your connection. The new firmware (1.7) even allows remote relay control.

Note: If your microcontroller is not able to send/receive half-duplex serial on the same IO pin then you'll need to add a resistor (4.7K) between your TX and RX pins, and connect the AP-16+ SERIAL.W (RX) pin to your device's RX pin. Anything you send from your TX pin will end up in your RX buffer so you'll have to filter that (easy to do). Also, you must ensure that your device and the AP-1+ have common ground which you can get on the SERIAL.B pin.
Jon McPhalen
EFX-TEK Hollywood Office