Adding sound control to the RCS:
This post regards adding control of the TDA8551T audio amplifier to the RCS System.
- To set the volume of the TDA8551T you have to send pulses high and low signals as relative to the float signal to raise and lower the volume.
- Mute and operational mode is controlled by a second trinary switch. The difference is that this one works on constant signal as opposed to pulses. High signal puts the device in standby, float signal mutes, and low signal set it to operating mode.
- Although I think that mute will be needed to silence the amplifier, if the lowest step is silent it would eliminate the need for the second switch to be computer controlled. This would allow 1 AD5248 to control two amplifiers. If it is needed we will need a second usb to i2c adapter for the fifth finger because there are only 4 address combination for the AD5248.
- Most supporting methods are written with the exception of the one that converts collision to steps. Need to work on an audio executive class as well as the core preProcess and decisionProcess methods.
Collision can be extracted from the corresponding PointMass object which can be found in the data dictionary.
After reviewing the phidgetsExec, it has become obvious why I would want a separate executive for audio.