I have a client that uses the telephone switch kit k6501
and asks me if we can ask the service technician a change in PIC programming:
Like I said I need the pic program modification kit 16c55xt velleman 6501.
We summarize only the changes because they have all the manual and the original program obviously. As for the physical circuit modifications would do. I just need the pic with the new functions.
I commented that probably gain about 40 kit k6501. With the new programming for the pic only be 10 units.
Well I’m going to new functions.
Outputs would be used pic:
RA0, RA1, RA2, RA3
In the current design, the port “RA0” is used as input to set the “lift” to 3 or 9 “blasts” that now configure the port as output and off the ability to adjust the number of rings for pick up.
The system would have to accept and interpret the following codes sent by DTMF tones:
Phone keypad RA0 RA1 RA2 RA3
XX 0 0 all outputs to “0” 0 0 0 0
XX 1 1 output “1” ON 0 0 0 1
XX 2 1 output “2” ON 0 0 1 0
XX 3 1 output “3” ON 0 0 1 1
XX 4 1 output “4” ON 0 1 0 0
XX 5 1 output “5” ON 0 1 0 1
XX 6 1 output “6” ON 0 1 1 0
XX 7 1 Out “7” ON 0 1 1 1
XX 8 1 output “8” ON 1 0 0 0
XX 9 1 Output “9” ON 1 0 0 1
XX 1 2 exit “10” ON 1 0 1 0
XX 1 3 exit “11” ON 1 0 1 1
XX 1 4 exit “12” ON 1 1 0 0
XX 1 5 Output “13” ON 1 1 0 1
XX 1 6 exit “14” ON 1 1 1 0
XX 1 7 exit “15” ON 1 1 1 1
Each time you activate one of these outputs the pic will generate a short, sharp dual tone, except with the shutdown code XX 0 0 will generate a single tone serious.
Then I describe a series of special codes that also have to accept and interpret the pic:
X X * * lock. It accepts commands. Returns off tone (single tone serious) when attempting to run another command.
X X * # unlock. Telephone accepts commands. Returns output tone activated (dual-tone sharp).
X X # # TEST. Double tones generate outputs that are to “1” and a serious tone with only the output is “0”.
Example: RA0 = 1, RA1 = 0, RA2 = 1, RA3 = 0
Generate:
Double acute severe single-pause-pause-pause-double acute severe only
…
Como te dije necesito la modificación del programa del pic 16c55xt del kit de velleman 6501.
Te resumo solo los cambios pues ellos tienen todo el manual y el programa original obviamente. En cuanto a las modificaciones del circuito físico las haría yo. Solo necesito el pic con las nuevas funciones.
Te comento que probablemente adquiera unos 40 kit k6501. Con la nueva programación del pic solo serían 10 unidades más.
Bueno voy a las nuevas funciones.
Se utilizarían las salidas del pic:
RA0, RA1, RA2, RA3
En el diseño actual, el puerto “RA0” está utilizado como entrada para configurar el “descuelgue” a 3 o 9 “pitadas”, ese puerto lo configuraremos ahora como salida y anularemos la posibilidad de ajustar el número de tonos para descolgar.
El sistema tendría que aceptar e interpretar los siguientes códigos enviados por tonos DTMF:
Teclado teléfono RA0 RA1 RA2 RA3
X X 0 0 todas las salidas a “0” 0 0 0 0
X X 1 1 salida “1” en ON 0 0 0 1
X X 2 1 salida “2” en ON 0 0 1 0
X X 3 1 salida “3” en ON 0 0 1 1
X X 4 1 salida “4” en ON 0 1 0 0
X X 5 1 salida “5” en ON 0 1 0 1
X X 6 1 salida “6” en ON 0 1 1 0
X X 7 1 salida “7” en ON 0 1 1 1
X X 8 1 salida “8” en ON 1 0 0 0
X X 9 1 salida “9” en ON 1 0 0 1
X X 1 2 salida “10” en ON 1 0 1 0
X X 1 3 salida “11” en ON 1 0 1 1
X X 1 4 salida “12” en ON 1 1 0 0
X X 1 5 salida “13” en ON 1 1 0 1
X X 1 6 salida “14” en ON 1 1 1 0
X X 1 7 salida “15” en ON 1 1 1 1
Cada vez que se active una de estas salidas el pic generará un doble tono corto y agudo, excepto con el código de apagado X X 0 0 que generará un solo tono grave.
A continuación describo una serie de códigos especiales que también tendrá que aceptar e interpretar el pic:
X X * * bloqueo. No acepta comandos. Devuelve tono de apagado (un solo tono grave) cuando se intenta ejecutar otro comando.
X X * # desbloqueo. Acepta comandos telefónicos. Devuelve tono de salida activada (doble tono agudo).
X X # # TEST. Generará tonos agudos dobles con las salidas que estén a “1” y un solo tono grave con la salida que esté a “0”.
Ejemplo: RA0=1, RA1=0, RA2=1, RA3=0
Generará:
Doble agudo-pausa-solo grave-pausa-doble agudo-pausa-solo grave