Programming the OZ-SER-1 Chip
Programming the oz-ser-1 chip is accomplished by using the 6 pushbuttons which can be seen on the application circuit. The functions of these 6 buttons are as follows;
1- Previous step
2- Next step
3- Next servo
4- Save the step data to the nonvolatile memory
5- Rotate the axis of the selected servo unticlockwise.
6- Rotate the axis of the selected servo clockwise.
In normal operation, the recorded program is run continuously. Every step lasts about 2 seconds and announced by a beep. And program beginnings are also announced with two beeps.
By pressing the "4" button, the chip enters the setup mode, the movement of the servos stop at the position data of the first step of the program.
Now the servo positions can be arranged one by one starting with servo no 0.
An information display consisting of 5 leds and a piezo buzzer gives visual & audible information to the user about which step is the system in, the programming and running processes.
'5' and '6' buttons are used to give each servo the desired position. '3' button passes the system to the next servo. 5 and 6 buttons control the position of only one servo at a time and that servo is selected by the button no 3. The selected servo can be seen by the servo no LEDs.
When all 4 servos of a program step is arranged to the necessary positions, first thing to do is to SAVE that step by the button no 4. Then we may proceed to the next step of our program by pressing the 2 button. We can wander around steps of our program by using 1-2 buttons seeing the entered servo position for every step.
Each time the save button (4) is pressed, the program end pointer is relocated to the step where the save button is pressed.
When programming is complete, the user can make the system begin normal operation by powering it off and on again.
For the easy usage of the push buttons, they must be located nicely on the pcb not too far from each other and not too close either. A small sign which shows the function of each button would be also very nice for easy usage later on. Below is a simple control panel design to be used in this system;
Though the program is stored to the inside nonvolatile memory, it is not necessary to re enter it when the power goes off and on. The circuitry will start repeating the program continuously as the power is applied. The stored program can be deleted or changed many times necessary. The maximum number of erasing-writing to this memory which can be done by the chip is more than hundred thousand times. So lifecycle is not a problem.