Announcement

Collapse
No announcement yet.

Rasberry Pi Computing.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Rasberry Pi Computing.

    Would anybody here be (or have children - or grandchildren who are) experts in this field of micro computers?

    I want to build something (tilt switch - with 6-8 switched outputs) - scoured the web and cannot find what I want prebuilt.
    But I'm pretty sure that with these cheap computers it has to be easy enough. They've introduced a new simple controller board which may be it too.

    Basically I want to build an ADAPTIVE LIGHTING module. Using an IMU to determine angle. Maybe MEMS though inertia is an issue. I have used magnetometers and they are set off by anything big and metal (trucks). Single axis and 3-4 programmable switch points per side.

    I'm sure it's actually pretty easy - but it's like looking at the ocean and saying - OK I want a fish and I know it's out there somewhere. First you have to learn about boats.

    #2
    Have you thought about using a cheap used Droid phone? They have the technology built in and use it for bubble levels and camera apps etc.

    Comment


      #3
      Originally posted by idk View Post
      Have you thought about using a cheap used Droid phone? They have the technology built in and use it for bubble levels and camera apps etc.
      If I just wanted sensing - there are MUCH cheaper/easier options.
      Has to run off 12V - has to switch a good 3Amps PER relay. I'd prefer closer to 5 or 6 amps.

      I need to be able to program
      "If <rollangle> is GT 5° then switch Relay 1"
      "If <rollangle> is GT 10° then switch Relay 2"
      "If <rollangle> is GT 15° then switch Relay 3"
      etc.

      Found a company in China that does masses of sensors - And if I go analogue I'm sure Ken (Decosse) can point me at a voltage based solution.

      Comment


        #4
        All you need is a rock and a string, don't overcomplicate it.

        Click image for larger version

Name:	Screenshot_20210319-123020.png
Views:	74
Size:	1.07 MB
ID:	11639

        Comment


          #5
          Originally posted by Tripps View Post
          All you need is a rock and a string, don't overcomplicate it.
          Exactly how long have you known me? - Inertial systems really don't work (so I am a bit wary of MEMS) - Nor (from experience) do magnetometers - I think it will require Gyroscopes and Accelerometers.

          Comment


            #6
            One-chip gyro w/ analog out. Run AO to 2-bit (literally) A/D

            crap won’t work.

            Need to find an old school artificial horizon instrument
            Last edited by FE_rex; 03-19-2021, 06:25 PM.

            Comment


              #7
              Originally posted by FE_rex View Post
              One-chip gyro w/ analog out. Run AO to 2-bit (literally) A/D

              crap won’t work.

              Need to find an old school artificial horizon instrument
              Looking at this!.
              https://www.aliexpress.com/item/3280...580d2c80rmqXh3 - Available on Amazon here.

              Comment


                #8
                Looks good to me, but what do I know? Would you hook that up to a Pi and then use that to switch lights on/off?

                Comment


                  #9
                  Originally posted by idk View Post
                  Looks good to me, but what do I know? Would you hook that up to a Pi and then use that to switch lights on/off?
                  Pretty much - yup. Though, I think following FE_rex suggestion I will forget the Pi. Found a neat, though not so little, box with programmable interface and built in relays for 2Amps. That'll suffice for testing.

                  I have a similar but rather old tech box used on mining vehicles. And up to a point it worked really well. Into a a bend and at "x" degrees switched on a LED Spot mounted to point at the road where you need light. Worked well on open roads but was based on magnetic field and Big trucks would convince it I was leaning. With the Adaptive headlights I forgot all about the idea. But want to re-investigate. For now just simple R&D - but one hopes to do a bit of distance again once COVID permits. And on something smaller/lighter than the R3.

                  Comment

                  Working...
                  X