an embodiment of the children &# 39 ; s riding toy of the present invention is indicated in general at 10 in fig1 . while the children &# 39 ; s riding toy is illustrated as a spring horse , it is to be understood that the children &# 39 ; s riding toy of the present invention could take the form of alternative types of riding toys . as illustrated in fig1 , the riding toy features a body , indicated in general at 12 , which is mounted to a base 14 via spring assemblies 16 a - 16 d ( with spring assembly 16 c located behind the horse body 12 in fig1 and therefore not visible ). as illustrated for spring assembly 16 b , each spring assembly preferably includes a resilient member in the form of a tension coil spring , illustrated in phantom at 18 , having one end attached to the horse body via front support rod 20 , which passes through the body 12 of the horse . the opposite end of the coil spring 18 is attached to the top end of corner post 22 of the base 14 . a rear support rod 24 also passes through the horse body 12 and is connected to the spring assemblies 16 c and 16 d . a protective sleeve 24 covers the coil spring 18 of spring assembly 16 b . the remaining spring assemblies 16 a , 16 c and 16 d feature a similar construction . the connections of the spring assemblies , and the spring assemblies themselves , preferably take the form of those illustrated in commonly assigned u . s . pat . no . 7 , 402 , 111 to michelau et al ., the contents of which are hereby incorporated by reference . the spring assemblies are each also preferably provided with a safety strap ( not shown ) made from woven fabric or the like . the safety straps are connected between each frame corner post and the front and rear support rods of the horse body . the body 12 is preferably constructed from molded plastic , while the base 14 is preferably constructed from steel . the body preferably features a seat 28 upon which a child may sit , as well as a head 30 featuring handles 32 a and 32 b , which a child may grip with his or her hands while riding the spring horse . the horse also features foot rests for the child rider in the form of stirrups 34 a and 34 b . as illustrated in fig2 , the head portion 30 of the horse body of fig1 is hollow so as to define a chamber 36 . positioned within the chamber is an electronics module , indicated in general at 40 . as illustrated in fig2 and 3 , the electronics module 40 features an integrated circuit ( ic ) chip 42 , as well as a battery compartment 43 for holding batteries to power the electronics module . any programmable electronic device may be substituted for the ic chip 42 . as illustrated in fig3 , the electronics module further includes a first or main motion sensor 44 , a second or auxiliary motion sensor 46 and a sensor connector 48 . the ic chip 42 includes a microcontroller 52 and a sound synthesizing circuit 54 . in the illustrated embodiment , the second or auxiliary motion sensor 46 takes the form of a ball sensor , such as is available from shenzhen linyuan hardware spring factory of guangdong , china , that is oriented to produce signals corresponding to up and down or bouncing movement , illustrated by arrows 56 of fig1 , of the horse body . the first or main motion sensor 44 may be any type of commercially known motion switch or sensor , such as is available from mobicon holdings ltd . of hong kong , that detects fore and aft or rocking movement , illustrated by arrows 58 of fig1 , of the horse body . the main motion sensor 44 , ball sensor 46 and connector 48 all electronically communicate with the microcontroller 52 of the ic chip 42 . as illustrated in fig3 , the electronics module also includes a power switch 62 , batteries 63 and a speaker 64 . the power switch 62 turns the electronics module on and off and the speaker communicates electronically with the sound synthesizing circuit 54 . with reference to fig2 , the electronics module includes a speaker compartment 66 that houses the speaker 64 of fig3 and includes a grating 68 that permits sound from the speaker to exit the speaker compartment . the batteries 63 of fig3 are housed in the electronics module battery compartment 43 of fig2 . housing the electronics module within the chamber 36 defined within the horse body protects the electronic components of the electronics module from damage . as illustrated in fig1 and 2 , the head portion 30 of the horse features a simulated mouth 72 . a light sensor tube 74 is positioned within the chamber 36 of the horse head 30 so as to be positioned adjacent to the simulated mouth 72 . as illustrated in fig2 and 4a , the light sensor tube 74 features a bottom 76 having an opening 78 positioned within the simulated mouth . as illustrated in fig3 , a light sensor 82 is positioned within the interior 84 . while any commercially known light sensor may be used as light sensor 82 , suitable light sensors are available from , for example , coleman electronics co ., ltd . of guangdong , china . light sensor tube 74 preferably is constructed of plastic and may feature either a closed or open top ( since it is exposed to the dark interior chamber 36 of the horse body head portion ). as will be explained in greater detail below , the light sensor interacts with the microcontroller and other components of the electronics module to provide chewing and eating sound effects when a simulated food item , such as toy carrot 85 of fig4 a , is placed in the simulated mouth 72 of the horse . as illustrated in fig2 and 3 , light sensor 82 communicates electronically with the ic chip 42 of the electronics module 40 via wire 86 . the wire 86 preferably connects to the ip chip 42 via a connector 48 so that the light sensor 82 and electronics module 40 may be disconnected from one another for removal and repair or replacement of the electronics module . as illustrated in fig4 a and 4b , the bottom panel 92 of the electronics module 40 features the speaker compartment grating 68 , power switch 62 and a battery compartment cover 94 ( which provides access to electronics module battery compartment 43 of fig2 ). the battery compartment cover 94 is preferably secured to the electronics module bottom panel 92 in a removable fashion via a fastener such as screw 96 . as a result , as illustrated in fig4 b , the battery compartment cover 94 may be removed so that the batteries 63 of the electronics module may be replaced . furthermore , the bottom panel 92 of the electronics module preferably attaches to the horse head portion 30 via fasteners such as screws 98 so that the electronics module may be easily removed as a unit for repair or replacement . operation of the electronics of the children &# 39 ; s riding toy of fig1 - 4b will now be explained with reference to fig5 , which shows the logic performed by the microcontroller 52 of fig3 . as indicated by block 102 of fig5 , a user must first turn the electronics module on via power switch 62 of fig3 for the riding toy to provide sound effects in response to the user &# 39 ; s interaction with the toy . as indicated at 104 in fig5 , the microcontroller first checks for rocking motion via the main motion sensor 44 of fig2 and 3 . if the riding toy is being ridden so as to provide a rocking motion of the horse body with respect to the base ( and a surface upon which the base is supported ), the microcontroller will receive greater than zero signals per second from the main motion sensor . as indicated at 106 in fig5 , the microcontroller then checks if the speed of the rocking motion is such that the main motion sensor is providing less than 15 signals / second to the microcontroller . if so , as indicated by block 108 , the microcontroller triggers the sound synthesizing circuit ( 54 in fig3 ) to play a horse walking sound effect through the electronics module speaker ( 64 in fig3 ), that is , the sound made by hooves when a horse is walking on a surface . if the speed of rocking motion is not less than 15 signals per second ( signals / second ), the microprocessor checks if the speed is greater than or equal to (& gt ;=) 15 signals / second or less than 93 signals / second , as indicated at 110 in fig5 . if the speed of rocking motion causes the main motion sensor to provide signals to the microcontroller at a rate in this range (& gt ;= 15 signals / second and & lt ; 93 signals / second ), then , as illustrated by block 112 , the microcontroller triggers the sound synthesizer circuit to play a horse trotting sound effect through the speaker . if the speed of rocking motion is not in the range of & gt ;= 15 signals / second and & lt ; 93 signals / second , the microprocessor checks if the speed is & gt ;= 93 signals / second and & lt ; 234 signals / second , as indicated at 114 in fig5 . if the speed of rocking motion causes the main motion sensor to provide signals to the microcontroller at a rate in this range (& gt ;= 93 signals / second and & lt ; 234 signals / second ), then , as illustrated by block 116 , the microcontroller triggers the sound synthesizer circuit to play a horse galloping sound effect through the speaker . if the speed of rocking motion is not in the range of & gt ;= 93 signals / second and & lt ; 234 signals / second , the microprocessor checks if the speed is & gt ;= 234 signals / second , as indicated at 118 in fig5 . if the speed of rocking motion causes the main motion sensor to provide signals to the microcontroller at a rate & gt ;= 234 signals / second , then , as illustrated by block 120 , the microcontroller signals the sound synthesizer circuit to eliminate all sound effects . alternatively , the microcontroller can be programmed to signal or activate the sound synthesizer circuit to play a music sound effect through the speaker . of course alternative sound effects may be substituted for those described above and illustrated in fig5 . returning to 104 in fig5 , if the child user is not riding the toy so as to produce a rocking motion , the microcontroller checks to see if the light sensor 82 of fig3 has been activated , as indicated at 122 . more specifically , as described previously and indicated in fig3 and 4a , the light sensor 82 is mounted in a light sensor tube 74 having a bottom 76 featuring an opening 78 . with reference to fig4 a , a child user can simulate feeding the horse riding toy by inserting an item , such as artificial carrot 85 , into the simulated mouth 72 of the horse such that the opening 78 of the light sensor tube 74 is covered . with reference to fig3 , this causes the interior 84 of the light sensor tube 74 to become dark . as a result , light sensor 82 is triggered and it sends a signal to microcontroller 52 which in turn signals or activates the sound synthesizer circuit 54 to play crunching , munching and chomping sounds , “ neigh !” sounds , or other sound effects that relate to a horse being fed , through the speaker 64 ( fig3 ). this is indicated by block 124 of fig5 . if the main motion sensor and light sensor have not been activated at 104 and 122 in fig5 , respectively , as indicated at 126 in fig5 , the microcontroller checks if the horse is being ridden so as to produce a bouncing motion . more specifically , the microcontroller detects that the horse is being ridden in such a manner so as to provide a bouncing motion when it receives signals from the ball sensor ( 46 in fig2 and 3 ). if the microcontroller detects that bouncing motion is present , it checks if the speed of the bouncing motion , as detected by the ball sensor , is greater than 4 signals / second , as indicated at 128 in fig5 . if the speed of the bouncing motion exceeds this threshold , the microcontroller triggers the sound synthesizing circuit to play a horse walking sound effect through the electronics module speaker , as indicated by block 130 . the microcontroller is programmed so that activation of any of the sound effects of blocks 108 , 112 , 116 , 120 , 124 and 130 of fig5 preempts the previously activated sound effect . as indicated by line 132 in fig5 , after each sound effect is triggered ( blocks 108 , 112 , 116 , 120 , 124 and 130 ), microcontroller processing loops back to the start of the flow chart of fig5 to check if any of the three sensors have been activated or deactivated . the hierarchy arrangement of the main motion sensor , light sensor and ball sensor ( at 104 , 122 and 126 , respectively ) in the flow chart of fig5 means that the sensors will preempt one another with the following priority : main motion sensor ( walk , trot gallop , music )— highest priority light sensor ( feed )— middle priority ball sensor ( walk )— lowest priority as a result , if , for example , the light sensor has been activated so that feeding sound effects are being produced ( 122 and 124 in fig5 ), and then a child begins riding the horse so that a rocking motion is produced , the feeding sound effects will stop and either a walking , trotting , galloping or music sound effect will play ( blocks 108 , 112 , 116 or 120 ) based on the speed of the rocking motion as described above . as another example , if the horse is being ridden in a bouncing motion at a speed sufficient to produce walking sound effects ( 126 , 128 and 130 in fig5 ), and then the rider starts rocking the horse so as to produce a rocking motion , then the walking sound effect will stop and either the walking , trotting , galloping or music sound effect will play based on the speed of the rocking motion . by providing various sound effects based upon the speed of the child user &# 39 ; s rocking motion , the embodiment of the riding toy of the invention described above motivates the child to rock faster . in addition , the riding toy provides various interactive play features for activities related to riding ( rocking and bouncing ) or activities other than riding ( such as simulated feeding ). this increases the child &# 39 ; s interest in and enjoyment of the riding toy . in addition , the modular construction of the electronics module permits it to be easily removed from the body of the horse for replacement or repair . it should be noted that while the embodiment of the present invention has been described above with regard to rocking and bouncing motions , other types of motions could be substituted and are within the scope of the present invention . while the preferred embodiments of the invention have been shown and described , it will be apparent to those skilled in the art that changes and modifications may be made therein without departing from the spirit of the invention , the scope of which is defined by the appended claims .
a riding toy includes a body with a spring assembly supporting the body on a base so that the body may be moved in first and second motions with respect to the base . the riding toy also includes a microcontroller and first and second motion sensors responsive to the first and second motions , respectively . the first and second motion sensors are positioned on the body and in electronic communication with the microcontroller . a sound synthesizing circuit is in electronic communication with the microcontroller and a speaker . the microcontroller is programmed to provide a first sound effect when the first motion sensor detects the first motion and a second sound effect when the second sensor detects the second motion . the first sound effect is varied based on a speed of the first motion and preempts the second sound effect if both the first and second motions are taking place simultaneously . the riding toy also includes a light sensor in electronic communication with the microprocessor . the microprocessor activates the sound synthesizing circuit to produce a third sound effect when the light sensor is triggered .