Hi Pang For example lets take 4 single axis tilt switches that switch 'off' when tilted. Place them on a pcb aligned north, south, east, & west, and tilt the outermost edge of each of the 4 switches so that each just switches 'off'. Now when the board is level all 4 switches are tilted and therefore 'off'. Now if you lower the north side what happens. The north switch just becomes more tilted and remains 'off', the east & west switches roll slightly but do nothing, but the south becomes level and switches 'on'. All that needs to be done is to use this 'on' signal to raise the north side until south switch tilts and is 'off'. So in its crudest form by connecting south's "tilt switch" to north's "raise motor" and the same for north tilt / south motor and again for the east /west the whole thing becomes automatic. oh! and no pic. sorry I did say it was crude. Looking at the original posting I see you mention "jack screw". Assuming the installation is level in the first place why don't you just count the number of turns {mag-read switch, hall effect switch, etc} of each screw and use a pic to balance the number of turns. This would be easier and a lot more fail safe. ----- Original Message ----- From: "Pang" To: Sent: Wednesday, July 10, 2002 9:25 PM Subject: Re: [EE]: Electronic Level Sensor > Hi Mike and Neil, > > Frankly, I am not able to correctly visualise Mike suggestion. Are you > trying to say we can install a few tilt switches with different angles. For > example, > > Sensor A install in such a way that it will be tilted if the platform is > raised by 15 deg. > Sensor B install ........... 30 deg. > Sensor C .......... 45 deg. > > So let say, a car (that's my intention :-)...) is tilted by 15 deg from > normal, then sensor A will be tilted while sensor B & C will not be > tilted.... OR if the tilted angle is 30 then A-off, B-on and C-off. > > What if in-between 15 and 30 deg? I don't know..... > I guess the GP1S36 will be quite useful if it doesn't have the undefined > state between 15 and 75 deg. > > Have never use an ultrasonic or water level sensor before, so wondering how > high a resolution that can provide. Besides, if high resolution is needed > (+-5mm) then the reading could be affected by the water temperature, maybe > then we need another temp sensor....any other ideas?.... > > Best rgds, > pang > > ----- Original Message ----- > From: "Pic Dude" > To: > Sent: Thursday, July 11, 2002 1:58 AM > Subject: Re: [EE]: Electronic Level Sensor > > > > Another option... > > > > I really like water levels, as they are "self-calibrating". > > Perhaps you can use something based on that. For example, > > use a hose with a water-level sensor on both ends. This > > could be something ultrasonic, something optical on the > > outside with colored water, or electrodes in the water, etc. > > And you'd need 2 such arrangements to level a platform with > > 3 adjust points, or 3 arrangements if you have 4 adjustment > > points. > > > > Cheers, > > -Neil. > > > > > > > > > > > > -----Original Message----- > > From: pic microcontroller discussion list > > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Mike Pink > > Sent: Wednesday, July 10, 2002 10:36 AM > > To: PICLIST@MITVMA.MIT.EDU > > Subject: Re: [EE]: Electronic Level Sensor > > > > > > Hi Pang > > > > Just joined the list so may have picked up late on this. > > > > Why not use 4 simple tilt switches (about #0.60/ $1 each ) and tilt each > one > > towards its respective corner so that when level all 4 are 'tilted'. Then > as > > the platform tips over the high side tilt switch will become level telling > > you which direction to adjust. If you want to be really cheap you could > use > > plastic tubes with ball bearings and contact wires. > > > > Hope this helps > > > > Mike > > > > > > ----- Original Message ----- > > From: "Pang" > > To: > > Sent: Wednesday, July 10, 2002 4:33 AM > > Subject: Re: [EE]: Electronic Level Sensor > > > > > > > Hi Scott, > > > > > > I think the datasheet does not state the sense level of +-15 degrees. > Both > > > the transistor will be ON at +15 and -15 degrees. If the degree of > tilting > > > continue to be increase, one of the transistor will have be in undefine > > > state. And that undefine state will continue until it reaches 75 > degrees, > > > where it will be in the OFF state. > > > > > > I didn't get what i been looking for ...(a cheap tilt sensor), but at > > > least this is getting very near to the spec that i want. If only there > is > > a > > > similar component with a slightly better angle characteristics. :-) > > > > > > Best rgds, > > > pang > > > > > > > > > ----- Original Message ----- > > > From: "Scott M. Thomas" > > > To: > > > Sent: Wednesday, July 10, 2002 3:24 AM > > > Subject: Re: [EE]: Electronic Level Sensor > > > > > > > > > > These are not terribly accurate, but they are inexpensive. Can sense > > > level > > > > withing +-15 deg. > > > > > > > > http://rocky.digikey.com/WebLib/Sharp/Web%20Data/gp1s36.pdf > > > > > > > > -----Original Message----- > > > > From: Terence Gunderson [mailto:tgunder@GTE.NET] > > > > Sent: Monday, September 09, 2002 8:19 AM > > > > To: PICLIST@MITVMA.MIT.EDU > > > > Subject: [EE]: Electronic Level Sensor > > > > > > > > > > > > Greetings and thanks in advance for any and all input: > > > > > > > > I need to have a platform automatically level itself. I am looking > for > > a > > > > suitable sensor to electronically sense when the platform is at level. > > > The > > > > output of the sensor will be input to a micro the micro will then > adjust > > > > jack screws until it sees a level condition. > > > > > > > > Terry > > > > > > > > -- > > > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > > > > > > -- > > > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > > > > > > > > > > > > -- > > > http://www.piclist.com hint: To leave the PICList > > > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > > > > > > > -- > > http://www.piclist.com hint: To leave the PICList > > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > -- > > http://www.piclist.com hint: To leave the PICList > > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads