DrWhoF said:Where do you have details on "6-pulse" commands from?
What do you mean by 6-pulse?
IanP said:DrWhoF said:Where do you have details on "6-pulse" commands from?
What do you mean by 6-pulse?
GOOGLE ..
https://pdf1.alldatasheet.com/datasheet-pdf/view/137371/STMICROELECTRONICS/UAA4000.html
6-pulse-sequence: see attached picture ..
IanP
Where do you have this from?IanP said:I recon t[p] should be 2ms, t[1] = 5ms, t[0] = 8ms and t[g] = 20-25ms ..
Have you come to similar conclusion?
:idea:
DrWhoF said:Where do you have this from?
I can't find any reference.
IanP said:A subroutine that generates Channel 1 string may look like this:
Channel1:
CALL TimeZero
CALL TimeZero
CALL TimeZero
CALL TimeZoer
CALL TimeOne
CALL TimeG
RET
‘ micro = PICAXE-18X .. out0 ..
start:
main:
if pin0 = 0 then Channel_01 '
if pin1 = 0 then Channel_02 '
if pin2 = 0 then Channel_03 '
if pin6 = 0 then Channel_04 '
goto main
' - - - - - - - - - - - - - - - - -
Channel_00: ‘ wave = 0 0 0 0 0 0
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_G
goto main
Channel_01: ‘ wave = 0 0 0 0 0 1
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_One
gosub T_G
goto main
Channel_02: ‘ wave = 0 0 0 0 1 0
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_One
gosub T_Zero
gosub T_G
goto main
Channel_03: ‘ wave = 0 0 0 0 1 1
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_One
gosub T_One
gosub T_G
goto main
Channel_04: ‘ wave = 0 0 0 1 0 0
gosub T_Zero
gosub T_Zero
gosub T_Zero
gosub T_One
gosub T_Zero
gosub T_Zero
gosub T_G
goto main
T_Zero:
high 0 ‘ output 0 = 1
pause 2 ‘ wait 2 mseconds .. pulse width = 2ms
low 0 ‘ output 0 = 0
pause 6 ‘ wait 6 mseconds .. space widht = 6ms
return
T_One:
high 0 ‘ output 0 = 1
pause 2 ‘ wait 2 mseconds .. pulse width = 2ms
low 0 ‘ output 0 = 0
pause 3 ‘ wait 3 mseconds .. space width = 3ms
return
T_G:
high 0 ‘ output 0 = 1
pause 2 ‘ wait 2 mseconds .. pulse width = 2ms
low 0 ‘ output 0 = 0
pause 20 ‘ wait 20 mseconds .. space width = 20ms
return
end
main:
if pin0 = 0 then Channel_01 '
if pin1 = 0 then Channel_02 '
if pin2 = 0 then Channel_03 '
if pin6 = 0 then Channel_04 '
goto Channel_00
goto main
' - - - - - - - - - - - - - - - - -
I would like to replace non-available part UAA4000 with a microcontroller to generate Pulse-Position-Modulation.
The circuit is rather complicated and it uses 922 keypad decoder, 4066 switches, some transistors and HC154 – all to control the inputs of the UAA4000.
My plan is to use simple switches (pull-up to Vcc and switch to GND), I need only 10 of them, and to program a microcontroller to generate coded information (PPM) as if it was done by the UAA4000.
Any suggestion?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?