referring to fig1 there is shown a sectional view of a rice cooking apparatus in accordance with an embodiment of the present invention . as shown in this drawing , a rice storage chamber 4 is defined at the upper portion of a housing 24 to store rice therein . beneath the rice storage chamber 4 , measuring means 6 is disposed which serves to measure an amount of rice . a rice washing chamber 8 is also defined in the housing 24 beneath the measuring means 6 . mounted on the bottom of the housing 24 is a motor 10 which has a rotating shaft 12 provided with a first gear 14 . a second gear 16 is engaged with the first gear 14 . the second gear 16 is firmly vertically supported by a vertically extending support shaft 18 fixed to the bottom of the housing 24 . disposed above the second gear 16 is a turntable 22 which is operatively connected to the second gear 16 via a second rotating shaft 20 . along the peripheral edge of the underside of the turntable 22 , bearings 26 support the turntable 22 to rotate with respect to the housing 24 . on the turntable 22 , a rice cooker 28 is laid which contains rice therein . in the housing 24 , a first light emitting circuit 30 and a first light receiving circuit 32 are disposed such that they face each other . the first light emitting circuit 30 serves to transmit a position signal to the rice cooker 28 whereas the first light receiving circuit 32 serves to receive a response signal transmitted from the rice cooker 28 . the rice cooker 28 is provided at its lower portion with a second light receiving circuit 34 and a second light emitting circuit 36 both disposed at the peripheral edge of the rice cooker 28 . the second light receiving circuit 34 serves to receive the position signal transmitted from the first light emitting circuit 30 whereas the second light emitting circuit 36 serves to transmit the response signal to the first light receiving unit 32 . as shown in fig2 the housing 24 is provided with an annular coupling member 38 having a 90 °- inverted l - shaped cross - section . the coupling member 38 is received at its upper portion in an inverted u - shaped coupling groove 42 provided at the peripheral edge of the turntable 22 such that a bearing support member 40 is interposed between the upper surface of the coupling member 38 and the upper surface of the coupling groove 42 . the bearing support member 40 has a plurality of spaced bearing support holes 44 adapted to keep the bearings 26 separated . the bearing support member 40 also has fixing holes 48 adapted to couple the bearing support member 40 to the coupling member 38 by means of screws 46 , respectively . the coupling groove 42 of turntable 22 has a guide groove 50 receiving the of bearings 26 . on the other hand , the coupling member 38 is provided with support grooves 52 each supporting each corresponding bearing 26 to allow an easy rotation of the bearing . the coupling member 38 also has female sleeves 53 which are thread - coupled with the screws 46 , respectively . as shown in fig3 the motor 10 is fixedly mounted to the housing 24 by means of set screws 54 . magnet pieces 58 are coupled to the rotating shaft 12 of the motor 10 . to the rotating shaft 12 , a fixing member 60 is also coupled by means of a set screw 62 to retain the magnet pieces 58 . referring to fig5 there is shown a block diagram of a control circuit of the rice cooking apparatus in accordance with an embodiment of the present invention . as shown in this drawing , first control means 64 is installed in the housing 24 to control the entire rice cooking operation . preferably , the first control means 64 may be a microcomputer . second control means 68 is installed in the rice cooker 28 to communicate with the first control means 64 . preferably , the second control means 68 may be a microcomputer . key input means 70 is connected to an input port i1 of the first control means 64 . the key input means 70 inputs the user &# 39 ; s operating commands regarding cooking the rice , such as , for example , the number of persons who will eat , time of day for cooking the rice and etc . the measuring means 6 is connected to an output port o5 of the first control means 64 to receive therefrom a value corresponding to the number of persons who will eat . the measuring means 6 measures an amount of rice corresponding to the value from the first control means 64 and transports the measured amount of rice from the rice storage chamber 4 to the rice washing chamber 8 . a water supply valve 72 is connected to an output port o4 of the first control means 64 via a water supply valve drive circuit 74 . the water supply valve 72 supplies water to the rice washing chamber 8 to allow the rice washing chamber 8 to wash the rice . first interface means 76 is connected between an output port o1 of the first control means 64 and an input port i21 of the second control means 68 to transfer the position signal from the first control means 64 to the second control means 68 . to this end , the first interface means 76 includes the first light emitting circuit 30 and the second light receiving circuit 34 . second interface means 78 is connected between an output port o21 of the second control means 68 and an input port i3 of the first control means 64 to transfer the response signal from the second control means 68 to the first control means 64 . to this end , the second interface means 78 includes the second light emitting circuit 36 and the first light receiving circuit 32 . a hall sensor 80 is connected to an input port i4 of the first control means 64 . the hall sensor 80 receives a magnetic force from the magnet pieces 58 mounted on the rotating shaft 12 of the motor 10 to detect the number of rotations of the motor 10 . the magnet pieces 58 and the hall sensor 80 constitute rotation - number detection means for detecting the number of rotations of the motor 10 to allow the first control means 64 to recognize it . referring to fig6 there is shown a circuit diagram of the control circuit of the rice cooking apparatus in accordance with the embodiment of the present invention . first power supply means 82 is adapted to supply a direct current ( referred to hereinafter as dc ) voltage of 5 v to the first control means 64 and a drive voltage to the motor 10 . to this end , the first power supply means 82 includes a bridge diode 86 for converting an alternating current ( referred to hereinafter as ac ) voltage of 20 v from an external ac power source 84 into a dc voltage of 20 v , a first voltage regulator 88 for converting the dc voltage of 20 v from the bridge diode 86 into a dc voltage of 12 v , a second voltage regulator 90 for converting the dc voltage of 12 v from the first voltage regulator 88 into the dc voltage of 5 v , and a reset switch sw1 for returning the first control means 64 to the initial state . a clock circuit 92 is adapted to output a clock signal to the first control means 64 . to this end , the clock circuit 92 includes a crystal oscillator x1 and capacitors c5 and c6 . a motor drive circuit 94 includes and gates u2 and u3 for receiving a clock signal from an output port o3 of the first control means 64 and a rotation - direction signal from an output port o2 of the first control means 64 , and a transistor q7 and darlington circuits q3 and q6 being turned on when output signals from the and gates u2 and u3 are normal direction signals . as being turned on , the transistor q7 and the darlington circuits q3 and q6 apply a voltage to the motor 10 in the normal direction . the motor drive circuit 94 further includes a transistor q2 and darlington circuits q5 and q4 being turned on when the output signals from the and gates u2 and u3 are reverse direction signals . as being turned on , the transistor q2 and the darlington circuits q5 and q4 apply a voltage to the motor 10 in the reverse direction . the first light emitting circuit 30 includes a transistor q8 being turned on / off in response to the position signal from the first control means 64 , and a light emitting diode tp1 being turned on / off in response to the on / off states of the transistor q8 . the first light receiving circuit 32 includes a light receiving transistor rp1 and a transistor q9 being sequentially turned on in response to the response signal from the second light emitting circuit 36 , and an inverter u4 for outputting a high level voltage to the input port i3 of the first control means 64 when the light receiving transistor rp1 and the transistor q9 are turned on . the second light emitting circuit 36 includes a transistor q11 being turned on / off in response to the response signal from the second control means 68 , and a light emitting diode tp2 being turned on / off in response to the on / off states of the transistor q11 . the second light receiving circuit 34 includes a light receiving transistor rp2 and a transistor q10 being sequentially turned on in response to the position signal from the first light emitting circuit 30 , and an inverter u5 for outputting a high level voltage to the input port i21 of the second control means 68 when the light receiving transistor rp2 and the transistor q10 are turned on . second power supply means 96 is adapted to supply a dc voltage of 5 v to the second control means 68 . to this end , the second power supply means 96 includes a bridge diode br2 for converting the ac voltage of 20 v from the external ac power source 84 into a dc voltage of 20 v , and a third voltage regulator 98 for converting the dc voltage of 20 v from the bridge diode br2 into the dc voltage of 5 v . now , a method of controlling the rice cooking apparatus with the above - mentioned construction in accordance with the embodiment of the present invention will be described with reference to fig7 a to 10 . in fig7 a , 7b , 8a , 8b and 10 , the reference character s designates step . fig7 a and 7b show the steps for placing the cooker in its normal position , and fig8 a and 8b show the steps for causing rice to be evenly distributed in the cooker . first , it is , as a prerequisite for cooking , assumed that no rice is stored in the rice storage chamber 4 and that the rice cooker 28 is not laid on the turntable 22 . it is also assumed that the ac power source 84 is connected to the first power supply means 82 of the housing 24 . as a result , the first power supply means 82 supplies the dc voltage of 12 v to the motor drive circuit 94 through its output terminal vm12 . the first power supply means 82 also supplies the dc voltage of 5 v to an input port i2 of the first control means 64 through its output terminal vm5 . thereafter , at step s1 , if the user puts the rice cooker 28 on the turntable 22 and inserts a plug ( not shown ) connected to the rice cooker 28 into a receptacle , the ac power source 84 supplies the ac voltage of 20 v to the second power supply means 96 . in the second power supply means 96 , the bridge diode br2 receives the ac voltage of 20 v from the ac power source 84 and outputs the dc voltage of 20 v to the third voltage regulator 98 which then feeds the dc voltage of 5 v to an input port i22 of the second control means 68 . then , when the reset switch sw1 of the first power supply means 82 is turned on by the user , it applies an initialization command to a reset terminal / rst of the first control means 64 . in response to the initialization command from the reset switch sw1 , the first control means 64 sets the initial value of a parameter turn - count to 0 , which indicates the number of rotations of the motor 10 . the first control means 64 also sets the initial value of a parameter in - count to 0 , which indicates the number of optical signals applied to the input port i3 of the first control means 64 . the first control means 64 also sets the initial value of a parameter time - interval to 0 , which indicates a high level duration of an optical signal from the output port o1 of the first control means 64 . further , the first control means 64 outputs a high level signal as shown in fig9 a to the motor drive circuit 94 through its output port o2 to rotate the motor 10 in the normal ( i . e ., clockwise ) direction . the first control means 64 also outputs a clock pulse signal as shown in fig9 a to the motor drive circuit 94 through its output port o3 to rotate the motor 10 . the first control means 64 also outputs an optical signal as shown in fig9 a to the first light emitting circuit 30 through its output port o1 . as shown in fig9 a , the optical signal from the first control means 64 is provided with pulses beginning with low level , each of which has a predetermined width t . in the motor drive circuit 94 , the and gate u2 outputs a low level signal and the and gate u3 outputs the clock signal . the transistor q1 is turned on in response to the clock signal from the and gate u3 , thereby causing the transistor q2 to be turned off . also , the transistor q7 and the darlington circuits q3 and q6 are sequentially turned on . as a result , current from the output terminal vm12 of the first power supply means 82 flows to a ground terminal through the darlington circuit q3 , a reactor l1 , a plus (+) terminal of the motor 10 , a minus (-) terminal of the motor 10 , a reactor l2 and the darlington circuit q6 , resulting in the motor 10 being rotated normally or clockwise . therefore , due to the arrangement of the gearing 14 , 16 the turntable 22 is rotated counterclockwise , thereby causing the rice cooker 28 to be rotated counterclockwise as shown in fig4 b . the first control means 64 discriminates at step s2 whether the flag time - interval indicative of the high level duration of the optical signal from the output port o1 thereof is equal to the predetermined time interval t . if yes at step s2 , i . e ., if it is discriminated that the parameter time - interval is equal to the predetermined time interval t , for example , 500 μsec , the first control means 64 proceeds to step s3 . the first control means 64 discriminates at step s3 whether the optical signal from the output port o1 thereof is high in level . if yes at step s3 , i . e ., if it is discriminated that the optical signal from the output port o1 is high in level , the first control means 64 proceeds to step s4 . at step s4 , the first control means 64 outputs the optical signal of low level to the first light emitting circuit 30 through its output port o1 . at step s5 , the first control means 64 sets the initial value of the parameter time - interval to 0 . the first control means 64 discriminates at step s6 whether the optical signal received at the input port i3 thereof is high in level . if no at step s6 or if it is discriminated that the optical signal received at the input port i3 is not high in level , the first control means 64 proceeds to step s7 . the first control means 64 discriminates at step s7 whether the parameter in - count indicative of the number of optical signals received at the input port i3 thereof is equal to a predetermined number , for example , 3 . if yes at step s7 , i . e ., if it is discriminated that the parameter in - count is equal to the predetermined number , the first control means 64 recognizes that the rice cooker 28 has been placed in its normal position as shown in fig4 a and then proceeds to step s7b . at step s7b , the first control means 64 outputs a low level signal to the motor drive circuit 94 through its output port o3 . in the motor drive circuit 94 , the transistors q1 , q2 and q7 are all turned off in response to the low level signal from the first control means 64 , thereby causing no voltage to be applied to the motor 10 . as a result , the motor 10 is stopped , and the turntable 22 and the rice cooker 28 are thus stopped . on the other hand , if no at step s2 or if it is discriminated that the parameter time - interval indicative of the high level duration of the optical signal from the output port o1 is not equal to the predetermined time interval t , the first control means 64 proceeds to step s8 . at step s8 , the first control means 64 increments the parameter time - interval by one unit time , for example , 100 μsec . the first control means 64 discriminates at step s9 whether the optical signal received at the input port i3 thereof has been changed in level . if yes at step s9 , i . e ., if it is discriminated that the optical signal received at the input port i3 has been changed in level as shown at time t1 in fig9 a or time t2 in fig9 b , the first control means 64 proceeds to step s10 . at step s10 , the first control means 64 increments the parameter in - count by one . the first control means 64 also outputs a low level signal to the motor drive circuit 94 through its output port o3 to stop the motor 10 . then , the first control means 64 proceeds to step s13 to prevent the snarl of a power line connected to the rice cooker 28 , as will be mentioned later . on the other hand , if no at step s9 , i . e ., if it is discriminated that the optical signal received at the input port i3 has not been changed in level , the first control means 64 proceeds to step s13 to prevent the snarl of the power line connected to the rice cooker 28 , as will be mentioned later . if no at step s3 , i . e ., if it is discriminated that the optical signal from the output port o1 is not high in level , the first control means 64 proceeds to step s11 for the production of optical pulse . at step s11 , the first control means 64 outputs a high level signal to the first light emitting circuit 30 through its output port o1 . in the first light emitting circuit 30 , the high level signal from the first control means 64 is applied to a base of the transistor q8 via a resistor r9 , thereby causing the transistor q8 to be turned on . as the transistor q8 is turned on , a voltage is applied to the light emitting diode tp1 , so that light can be emitted therefrom . in the second light receiving circuit 34 , the light receiving transistor rp2 is turned on by the light emitted from the light emitting diode tp1 in the first light emitting circuit 30 . as the light receiving transistor rp2 is turned on , the transistor q10 is turned on to apply a low level voltage to the inverter u5 . as a result , the inverter u5 outputs a high level voltage to the input port i21 of the second control means 68 . then , the first control means 64 proceeds to step s5 to set the initial value of the parameter time - interval to 0 . if yes at step s6 , i . e ., if it is discriminated that the optical signal received at the input port i3 is high in level , the first control means 64 proceeds to step s12 . at step s12 , the first control means 64 increments the parameter in - count by one . the first control means 64 also outputs a low level signal to the motor drive circuit 94 through its output port o3 to stop the motor 10 . the first control means 64 discriminates at step s13 whether a rotation - number signal from the hall sensor 80 received at the input port i4 thereof has been changed in level . if yes at step s13 or if it is discriminated that the rotation - number signal from the hall sensor 80 received at the input port i4 has been changed in level , the first control means 64 proceeds to step s14 . at step s14 , the first control means 64 increments the parameter turn - count indicative of the rotation - number of the motor 10 by one . the first control means 64 discriminates at step s15 whether the parameter turn - count indicative of the rotation - number of the motor 10 is equal to a predetermined value , for example , 180 . if yes at step s15 , i . e ., if it is discriminated that the parameter turn - count is equal to the predetermined value , the first control means 64 recognizes that the power line connected to the rice cooker 28 is liable to snarl due to the excessive rotations of the rice cooker 28 and then proceeds to step s16 to rotate the rice cooker 28 in the opposite direction to the present direction . at step s16 , the first control means 64 discriminates whether the rotation - direction signal from the output port o2 thereof is a normal direction signal or a high level signal . if yes at step s16 , i . e ., if it is discriminated that the rotation - direction signal from the output port o2 is the normal direction signal or the high level signal , the first control means 64 proceeds to step s17 to rotate the motor 10 in the reverse direction . at step s17 , the first control means 64 outputs a low level signal to the motor drive circuit 94 through its output port o2 . in the motor drive circuit 94 , an inverter u1 inverts the low level signal from the first control means 64 and outputs the resultant high level signal to the and gate u2 . at step s18 , the first control means 64 sets the initial value of the flag turn - count indicative of the rotation - number of the motor 10 to a second predetermined value , for example , - 180 . the first control means 64 also sets the initial value of the flag time - interval to 0 . the first control means 64 further sets the initial value of the flag in - count to 0 . further , the first control means 64 outputs a low level signal as shown in fig9 b to the light emitting circuit 30 through its output port o1 . at the same time , the first control means 64 outputs a clock signal as shown in fig9 b to the motor drive circuit 94 through its output port o3 . in the motor drive circuit 94 , the and gate u3 outputs the clock signal to a base of the transistor q1 and the and gate u2 outputs a low level signal to a base of the transistor q2 . next , the transistor q7 is turned off , and the transistor q2 and the darlington circuits q4 and q5 are turned on . as a result , current from the output terminal vm12 of the first power supply means 82 flows to the ground terminal through the darlington circuit q5 , the reactor l2 , the minus (-) terminal of the motor 10 , the plus (+) terminal of the motor 10 , the reactor li and the darlington circuit q4 , resulting in the motor 10 being rotated reversely or counterclockwise . therefore , the turntable 22 is rotated clockwise , thereby causing the rice cooker 28 to be rotated clockwise as shown in fig4 c . the first control means 64 then proceeds to step s2 to allow the first light emitting circuit 30 to output the optical signal in pulse form to the second light receiving circuit 34 , as mentioned above . on the other hand , if no at step s13 , i . e ., if it is discriminated that the rotation - number signal from the hall sensor 80 received at the input port i4 has not been changed in level , the first control means 64 proceeds to step s15 to discriminate whether the motor 10 and the rice cooker 28 are excessively rotating . if no at step s15 , i . e ., if it is discriminated that the flag turn - count indicative of the rotation - number of the motor 10 is not equal to the predetermined value , the first control means 64 recognizes that the motor 10 and the rice cooker 28 are not rotating excessively and then proceeds to step s2 to continue to rotate the motor 10 and to allow the first light emitting circuit 30 to output the optical signal in pulse form to the second light receiving circuit 34 , as mentioned above . if no at step s16 , i . e ., if it is discriminated that the rotation - direction signal from the output port o2 is not the normal direction signal , the first control means 64 proceeds to step s19 to change the rotating direction of the motor 10 . namely , the motor 10 is presently rotating in the reverse direction or counterclockwise by the motor drive circuit 94 operating in response to a reverse direction signal or a low level signal from the output port o2 of the first control means 64 . at step s19 , the first control means 64 outputs the normal direction signal or the high level signal to the motor drive circuit 94 through its output port o2 to rotate the motor 10 in the normal direction . in the motor drive circuit 94 , the inverter u1 inverts the high level signal from the first control means 64 and outputs the resultant low level signal to the and gate u2 . the first control means 64 then proceeds to step s18 . at step s18 , as mentioned previously , the first control means 64 sets the initial value of the parameter turn - count indicative of the number of rotations of the motor 10 to the second predetermined value . the first control means 64 also sets the initial value of the parameter time - interval indicative of the high level duration of the optical signal from the output port o1 thereof to 0 . the first control means 64 further sets the initial value of the parameter in - count indicative of the number of optical signals received at the input port i3 thereof to 0 . at the same time , the first control means 64 outputs a low level signal as shown in fig9 b to the light emitting circuit 30 through its output port o1 . on the other hand , if no at step s7 , i . e ., if it is discriminated that the parameter in - count indicative of the number of optical signals received at the input port i3 is not equal to the predetermined number , the first control means 64 recognizes that the rice cooker 28 is not placed yet in its normal position and then proceeds to step s13 to discriminate whether the motor 10 and the rice cooker 28 are excessively rotating in one direction as mentioned above . in the case where the rice cooker 28 is placed in its normal position in the housing 24 as mentioned previously , the user applies the number of persons who will eat and the rice cooking reservation time to the key input means 70 , which then outputs the corresponding operating commands to the input port i1 of the first control means 64 . when the present time of day reaches the rice cooking time , the first control means 64 outputs a value corresponding to the number of persons who will eat . the measuring means 6 measures an amount of rice corresponding to the value from the first control means 64 and transports the measured amount of rice from the rice storage chamber 4 to the rice washing chamber 8 . the first control means 64 then outputs a water supply signal to the water supply valve drive circuit 74 through its output port o4 for a water supply time corresponding to the above value therefrom . in response to the water supply signal from the first control means 64 , the water supply valve drive circuit 74 supplies an ac voltage of 220 v to the water supply valve 72 to open it . at the same time , the first control means 64 performs the control operation as shown in fig8 a and 8b . namely , at step s31 , the first control means 64 sets the initial value of the parameter turn - count indicative of the number of rotations of the motor 10 to 0 . the first control means 64 also sets the maximum value cmax of the parameter turn - count to 180 . the first control means 64 further sets the initial value of a parameter turn - direction indicative of the rotating direction of the motor 10 to 1 . then , the water supply valve 72 supplies water to the rice washing chamber 8 to allow the rice washing chamber 8 to wash the rice . the rice washing chamber 8 pours the washed rice into the rice cooker 28 . at step s32 , the first control means 64 discriminates whether the water supply valve 72 is still open , to further discriminate whether the rice is being poured into the rice cooker 28 . if no at step s32 , i . e ., if it is discriminated that the rice is not being poured into the rice cooker 28 , the first control means 64 recognizes that the rice pouring has been finished and then proceeds to step s33 to place the rice cooker 28 in its normal position . the first control means 64 discriminates at step s33 whether the parameter turn - count indicative of the number of rotations of the motor 10 is 0 . if yes at step s33 , i . e ., if it is discriminated that the parameter turn - count is 0 , the first control means 64 recognizes that the rice cooker 28 has been placed in its normal position and then proceeds to step s34 to stop the motor 10 . at step s34 , the first control means 64 sets the parameter turn - direction indicative of the rotating direction of the motor 10 to 0 as the reverse direction signal . the first control means 64 also sets the parameter turn - count indicative of the number of rotations of the motor 10 to 0 . at the same time , the first control means 64 outputs a low level signal to the motor drive circuit 94 through its output port o3 to stop the motor 10 . as the motor 10 is stopped , the turntable 22 and the rice cooker 28 are stopped . on the other hand , if yes at step s32 , i . e ., if it is discriminated that the rice is being poured into the rice cooker 28 , the first control means 64 proceeds to step s35 to alternately rotate the rice cooker 28 to the left and right , so as to spread the rice evenly in the rice cooker 28 . at step s35 , the first control means 64 discriminates whether the parameter turn - count indicative of the number of rotations of the motor 10 is the maximum value cmax . if no at step s35 , i . e ., if it is discriminated that the parameter turn - count is not the maximum value cmax , the first control means 64 proceeds to step s36 to continue to rotate the motor 10 in the present direction . at step s36 , the first control means 64 discriminates whether the parameter turn - direction indicative of the rotating direction of the motor 10 is 1 . if yes at step s36 , i . e ., if it is discriminated that the parameter turn - direction is 1 , the first control means 64 proceeds to step s37 to rotate the motor 10 in the normal direction . at step s37 , the first control means 64 increments the parameter turn - count indicative of the rotation - number of the motor 10 by one . at the same time , the first control means 64 outputs a high level signal to the motor drive circuit 94 through its output port o2 . the first control means 64 also outputs a clock signal to the motor drive circuit 94 through its output port o3 . as a result , the motor 10 is rotated normally or clockwise . as the motor 10 is rotated clockwise , the turntable 22 and the rice cooker 28 are rotated counterclockwise . therefore , the washed rice from the rice washing chamber 8 poured into the rice cooker 28 can be spread evenly in the rice cooker 28 . the first control means 64 then proceeds to step s32 to discriminate whether the rice is being poured into the rice cooker 28 , as mentioned above . on the other hand , if no at step s36 , i . e ., if it is discriminated that the parameter turn - direction indicative of the rotating direction of the motor 10 is not 1 , the first control means 64 proceeds to step s41 to rotate the motor 10 in the reverse direction . at step s41 , the first control means 64 increments the parameter turn - count indicative of the rotation - number of the motor 10 by one . at the same time , the first control means 64 outputs a low level signal to the motor drive circuit 94 through its output port o2 . the first control means 64 also outputs a clock signal to the motor drive circuit 94 through its output port o3 . as a result , the motor 10 is rotated reversely or counterclockwise . as the motor 10 is rotated counterclockwise , the turntable 22 and the rice cooker 28 are rotated clockwise . therefore , the washed rice from the rice washing chamber 8 poured into the rice cooker 28 can be spread evenly in the rice cooker 28 . the first control means 64 then proceeds to step s32 to discriminate whether the rice is being poured into the rice cooker 28 , as mentioned above . if yes at step s35 , i . e ., if it is discriminated that the parameter turn - count indicative of the rotation - number of the motor 10 is the maximum value cmax , the first control means 64 proceeds to step s38 to change the rotating direction of the motor 10 . at step s38 , the first control means 64 discriminates whether the parameter turn - direction indicative of the rotating direction of the motor 10 is 1 . if yes at step s38 , i . e ., if it is discriminated that the parameter turn - direction is 1 , the first control means 64 proceeds to step s39 to rotate the motor 10 in the reverse direction . at step s39 , the first control means 64 sets the parameter turn - direction indicative of the rotating direction of the motor 10 to 0 . the first control means 64 also sets the parameter turn - count indicative of the number of rotations of the motor 10 to 0 . the first control means 64 then proceeds to step s32 to discriminate whether the rice is being poured into the rice cooker 28 , as mentioned above . on the other hand , if no at step s38 , i . e ., if it is discriminated that the parameter turn - direction indicative of the rotating direction of the motor 10 is not 1 , the first control means 64 proceeds to step s40 to rotate the motor 10 in the normal direction . at step s40 , the first control means 64 sets the parameter turn - direction indicative of the rotating direction of the motor 10 to 1 . the first control means 64 also sets the parameter turn - count indicative of the number of rotations of the motor 10 to 0 . the first control means 64 then proceeds to step s32 to discriminate whether the rice is being poured into the rice cooker 28 , as mentioned above . if no at step s33 or if it is discriminated that the parameter turn - count indicative of the number of rotations of the motor 10 is not 0 , the first control means 64 proceeds to step s42 to return the rice cooker 28 to a position before the rice was poured therein . at step s42 , the first control means 64 discriminates whether the parameter turn - direction indicative of the rotating direction of the motor 10 is 0 . if yes at step s42 , i . e ., if it is discriminated that the parameter turn - direction is 0 , the first control means 64 proceeds to step s43 to rotate the motor 10 in the normal direction . at step s43 , the first control means 64 decrements the parameter turn - count indicative of the rotation - number of the motor 10 by one . at the same time , the first control means 64 outputs a high level signal to the motor drive circuit 94 through its output port o2 . the first control means 64 also outputs a clock signal to the motor drive circuit 94 through its output port o3 . as a result , the motor 10 is rotated normally or clockwise . as the motor 10 is rotated clockwise , the turntable 22 and the rice cooker 28 are rotated counterclockwise . the first control means 64 then proceeds to step s33 to discriminate whether the rice cooker 28 has been placed in its normal position , as mentioned above . on the other hand , if no at step s42 , i . e ., if it is discriminated that the parameter turn - direction indicative of the rotating direction of the motor 10 is not 0 , the first control means 64 proceeds to step s44 to rotate the motor 10 in the reverse direction . at step s44 , the first control means 64 decrements the parameter turn - count indicative of the rotation - number of the motor 10 by one . at the same time , the first control means 64 outputs a low level signal to the motor drive circuit 94 through its output port o2 . the first control means 64 also outputs a clock signal to the motor drive circuit 94 through its output port o3 . as a result , the motor 10 is rotated reversely or counterclockwise . as the motor 10 is rotated counterclockwise , the turntable 22 and the rice cooker 28 are rotated clockwise . the first control means 64 then proceeds to step s33 to discriminate whether the rice cooker 28 has been placed in its normal position , as mentioned above . as stated above , the rice cooker 28 is rapidly rotated alternately to the left and right when it receives the washed rice from the rice washing chamber 8 . therefore , the rice can be spread evenly in the rice cooker 28 . next , the user puts the lid 100 on the rice cooker 28 , and the second control means 68 outputs a heating signal to a heater ( not shown ) of the rice cooker 28 . in response to the heating signal from the second control means 68 , the heater generates heat , thereby causing the rice to be boiled . cooking the rice can be accomplished by sufficiently boiling and then steaming the rice . the signal transfer operation of the second control means 68 installed in the rice cooker 28 will hereinafter be described in detail with reference to fig1 . fig1 is a flowchart illustrating the step of transferring signals in the rice cooker , which is included in the method of controlling the rice cooking apparatus in accordance with the embodiment of the present invention . upon receiving the dc voltage of 5 v from the second power supply means 96 at step s1 , the second control means 68 sets the initial value of a parameter signal - count to 0 at step s51 , which indicates the number of optical signals received at the rice cooker 28 . also at the step s51 , the second control means 68 outputs a low level signal to the second light emitting circuit 36 through its output port o21 . the second control means 68 discriminates at step s52 whether the optical signal from the second light receiving circuit 34 received at the input port i21 thereof has been changed in level . if yes at step s52 , i . e ., if it is discriminated that the optical signal from the second light receiving circuit 34 received at the input port i21 has been changed in level , the second control means 68 proceeds to step s53 to discriminate the changed level of the optical signal . at step s53 , the second control means 68 discriminates whether the optical signal received at the input port i21 thereof is high in level . if no at step s53 , i . e ., if it is discriminated that the optical signal received at the input port i21 is not high in level , the second control means 68 proceeds to step s54 to discriminate whether the rice cooker 28 has been placed in its normal position . at step s54 , the second control means 68 discriminates whether the parameter signal - count indicative of the number of optical signals received at the input port i21 thereof is equal to a predetermined number , for example , 3 . if yes at step s54 , i . e ., if it is discriminated that the parameter signal - count is equal to the predetermined number , the second control means 68 recognizes that the rice cooker 28 has been placed in its normal position in the housing 24 and then proceeds to step s55 to initialize the parameter signal - count . at step s55 , the second control means 68 outputs a low level signal to the second light emitting circuit 36 through its output port o21 . the second control means 68 also sets the flag signal - count indicative of the number of optical signals received at the input port i21 thereof to 0 . on the other hand , if no at step s52 , i . e ., if it is discriminated that the optical signal from the second light receiving circuit 34 received at the input port i21 has not been changed in level , the second control means 68 continues to perform step s52 to discriminate whether the optical signal from the second light receiving circuit 34 received at the input port i21 thereof has been changed in level . if yes at step s53 , i . e ., if it is discriminated that the optical signal received at the input port i21 is high in level , the second control means 68 proceeds to step s56 . at step s56 , the second control means 68 increments the parameter signal - count indicative of the number of optical signals received at the input port i21 thereof by one . at the same time , the second control means 68 outputs a high level signal to the second light emitting circuit 36 through its output port o21 . in the second light emitting circuit 36 , the transistor q11 is turned on in response to the high level signal from the second control means 68 . as the transistor q11 is turned on , a voltage is applied to the light emitting diode tp2 , so that light can be emitted therefrom . the light emitted from the light emitting diode tp2 in the second light emitting circuit 36 is transferred to the light receiving transistor rp1 in the first light receiving circuit 32 . then , the second control means 68 proceeds to step s52 to discriminate whether the optical signal from the second light receiving circuit 34 received at the input port i21 thereof has been changed in level . on the other hand , if no at step s54 , i . e ., if it is discriminated that the parameter signal - count indicative of the number of optical signals received at the input port i21 is not equal to the predetermined number , the second control means 68 recognizes that the rice cooker 28 is not placed yet in its normal position and then proceeds to step s52 to discriminate whether the optical signal from the second light receiving circuit 34 received at the input port i21 thereof has been changed in level . as apparent from the above description , according to the present invention , when the rice cooker is laid on the turntable and powered by the user , it is rotated to be placed in its normal position . when the rice cooker receives the washed rice from the rice washing chamber , it is rapidly rotated alternately to the left and right to spread the rice evenly therein . therefore , the present invention has the effect of performing the rice cooking operation conveniently and simply and shortening the rice cooking time . although the preferred embodiments of the present invention have been disclosed for illustrative purposes , those skilled in the art will appreciate that various modifications , additions and substitutions are possible , without departing from the scope and spirit of the invention as disclosed in the accompanying claims .
a rice cooker is placed on a turntable , and uncooked rice is poured thereinto . as the uncooked rice is poured - in , a motor rotates the turntable alternately clockwise and counterclockwise to cause the rice to be evenly distributed therein . the cooker carries a signal emitter which is received by a receiver that is connected to the motor for controlling the motor .