SSC-32 LED Code

Hi,

I need some programming assistance for my Led System. My setup includes 6 LED’s connected to the SSC-32(V2) Servocontroller.The LED’s connected to pin 3,7,11,19,23,27 with the black(GND) and red(VCC) cable. I use no cable connection to the pulse(yellow) channel. I read the manual for the SSC-32 and some topics here in this forum but nothing explain how to low the VCC channel on the SSC-32(V2) Servocontroller. My question is it possible to low the VCC channel for each bank separately and if yes how programm this with an BasicAtomPro28 µC?

I test this code with the cable connection to the pulse(yellow) channel and to ground(GND) and it works very well.

	if (DualShock(1).bit2 = 0) and LastButton(0).bit2 then	
		serout SSC32,i38400,"#",LEDRM,LEDRM2,"L",13]
		pause 500
		serout SSC32,i38400,"#",LEDRM,LEDRM2,"H",13]				
	endif

… but thge problem that I have is I use 220Ohm resistors for each leg and the led illumination is very bad depending on the resistor, further the power consumption via the logic channel is to high and affect the operating time for the robot. The only possible solution for me is to power the LED’s via the servochannel.

Regards
Matthias

The VS lines on the board are direct traces from the pins on the output ports to the VS terminals. There is no way to remove the VS from any of the channels. What you need is a simple switch. It can be either a pulse converter switch like the Dimension Engineering Pico Switch, or just make a transistor switch like is illustrated here.

viewtopic.php?f=26&t=2463

Do you need the SSC-32 already?

You might consider using a 74HCT595 serial-in-parallel out shift register part that can be clocked out with the shiftout command. This would allow you to control 8 LEDs. You’d want to periodically (50PPS) refresh the byte sent to the chip to control your LEDs.

Alan KM6VV

nxp.com/documents/data_sheet/74HC_HCT595.pdf

Hi Alan,

can you explain this a little more please. I have no idea in which way I can implement this in my CH3-R 1.0 code.

Matthias