Unconfigured Ad Widget

Collapse

Raspberry Pi + Arduino

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ninety
    Veteran Member
    • Nov 2012
    • 4062

    Raspberry Pi + Arduino

    Raspberry pi B+ + Arduino Uno

    Or

    Raspberry pi B+ + Alamode


    What have I gotten myself into.... So many things to mess around with..

    CNC

    Pretty neat little gadgets.. micro controller... micro computer..

    I might try to integrate something with some alarms or with security cameras.. Anyone mess around with the Arduinos?

    I should have probably got the Alamode.. but wasn't aware of it when I ordered..

    going to set up a multiple sensor data logger.. then move onto integration of alarm/cctv systems..

    I have no programming experience to say.. I played with C+ and VB decades ago.. but it all has a ton of examples that I should be able to pull from..
    NRA Member
    The Constitution does not bestow wisdom. It's up to the body politic to be wise. -Patriot
    All that is required for evil to prevail is for good men to do nothing.
    -Edmund Burke
    I'd much rather go to my grave never needing my gun, than go there wishing I had it.
    - Phil Dalmolin

    The Battle of Athens was illegal too.
  • #2
    rvicta
    Member
    • Mar 2013
    • 465

    You know there's the Raspberry Pi 2, right?

    Comment

    • #3
      Ninety
      Veteran Member
      • Nov 2012
      • 4062

      No.
      LOL
      Off to Google.
      NRA Member
      The Constitution does not bestow wisdom. It's up to the body politic to be wise. -Patriot
      All that is required for evil to prevail is for good men to do nothing.
      -Edmund Burke
      I'd much rather go to my grave never needing my gun, than go there wishing I had it.
      - Phil Dalmolin

      The Battle of Athens was illegal too.

      Comment

      • #4
        ExtremeX
        Calguns Addict
        • Sep 2010
        • 7160

        Yup... Arduino is awesome...

        I have a few active projects still in the works, like a case annealing machine and some other gun/reloaded related things.

        My last Arduino project was an electronic powder trickler which uses a stepper motor and motor driver.

        For use with a digital scale... Controlled manually using a Jog Wheel or Buttons for momentary press continuous run speed, and pots to control the speed of each button.

        For use with a beam scale... I have two photo sensors which control speed and when to stop based on beam position. Basically an Analog Scale "Chargemaster".

        I can get my powder trickler out of the way. Its actually quite ergonomic and nice when you don't have to keep moving the trickler to get access to the pan.





        Last edited by ExtremeX; 06-14-2016, 11:28 PM.
        ExtremeX

        Comment

        • #5
          Ninety
          Veteran Member
          • Nov 2012
          • 4062

          That is bad ***.

          How much are the photo sensors ? Those are basically a laser line that's a complete circut then gets tripped when an object crosses its path correct ?

          Have you thought about getting tour own circut board printed up ? I heard its cheap enough to do. Or getting a case to hold it all.. read somewhere people with 3d printers making them up for a fair price.

          The you tube video didn't load for me the other nite but it is about a cnc setup using the audrino.. makes me think of the ghost gunner...

          Never knew these things exsisted. Pretty neat stuff. And super affordable.

          I looked into the rpi2. Faster cpu. Probably should of gotten that one .. but I will next time. 35$ for a computer with a faster processor then most of the computers I built years ago for hundreds.
          NRA Member
          The Constitution does not bestow wisdom. It's up to the body politic to be wise. -Patriot
          All that is required for evil to prevail is for good men to do nothing.
          -Edmund Burke
          I'd much rather go to my grave never needing my gun, than go there wishing I had it.
          - Phil Dalmolin

          The Battle of Athens was illegal too.

          Comment

          • #6
            pepsi2451
            Senior Member
            • Feb 2006
            • 1629

            The arduino and the raspberry pi are both awesome. I started with the arduino and moved on to the pi.

            Arduinos are cool because they are cheap enough you can stick one in anything. I bought a bunch of parts (atmega328s, voltage regulators, 16mhz crystals, caps, ect) cheap on ebay so I could make custom arduino based pcbs. So far I have just been doing one-off projects and etching my own pcbs using the toner transfer method. I started off with through-hole but I'm making the switch to smd now.

            The pi is also very cool. I really like the camera module. A while back I started working on a pi based security camera but didn't get around to finishing it. I recently got a camera module for it with no ir filter so I can use ir leds to capture video at night.

            The first time I used the Pi and Arduino together I used the arduino to control a bank of ir leds, a pir motion detector and a servo mounted to the trigger of a pellet gun, the pi had a camera and controlled the arduino. I put it in my chicken coop, connected to it over wifi and used it to shoot rats from my computer. It worked ok.

            Comment

            • #7
              UberPatriot
              Senior Member
              • Jul 2012
              • 2069

              Check out Adafruit.
              Location: Olympic Peninsula Washington

              NRA Member

              Comment

              • #8
                Ninety
                Veteran Member
                • Nov 2012
                • 4062

                Originally posted by pepsi2451
                The arduino and the raspberry pi are both awesome. I started with the arduino and moved on to the pi.

                Arduinos are cool because they are cheap enough you can stick one in anything. I bought a bunch of parts (atmega328s, voltage regulators, 16mhz crystals, caps, ect) cheap on ebay so I could make custom arduino based pcbs. So far I have just been doing one-off projects and etching my own pcbs using the toner transfer method. I started off with through-hole but I'm making the switch to smd now.

                The pi is also very cool. I really like the camera module. A while back I started working on a pi based security camera but didn't get around to finishing it. I recently got a camera module for it with no ir filter so I can use ir leds to capture video at night.

                The first time I used the Pi and Arduino together I used the arduino to control a bank of ir leds, a pir motion detector and a servo mounted to the trigger of a pellet gun, the pi had a camera and controlled the arduino. I put it in my chicken coop, connected to it over wifi and used it to shoot rats from my computer. It worked ok.
                I'd like to know more about how you made the two communicate. My first project is a multi sensor data logger going thru the audrino and recorded and accessed by the pi.

                I saw the knock off audrinos and a video or two on how to make your own like you described. Basically the one chip is you main board. Bare with me. I have to re learn many things I was interested in a decade or so ago... That chipset controls everything right ? And then u just need resistors and such.. which makes the alamode pretty neat.

                I experimented with making my own boards eons ago as well. Trying to make a device from the anarchist cookbook.... A high pitch speaker nuances alarm.... No luck.. I just found my etch and old boards. Might give it a go again... But I saw someone post about custom pcbs... That is something amazing...

                Originally posted by UberPatriot
                I just watched a video on that last nite... Looks like its an intermediate device to interface between the rpi and arduino... Have you looked at the alamode?




                Also the heatermeter for a self controlled bbq smoker..
                I will return to edit in my comp... Think I totally messed this up.
                Last edited by Ninety; 02-27-2015, 11:53 PM.
                NRA Member
                The Constitution does not bestow wisdom. It's up to the body politic to be wise. -Patriot
                All that is required for evil to prevail is for good men to do nothing.
                -Edmund Burke
                I'd much rather go to my grave never needing my gun, than go there wishing I had it.
                - Phil Dalmolin

                The Battle of Athens was illegal too.

                Comment

                • #9
                  Dubious_Beans
                  Veteran Member
                  • Jul 2010
                  • 3721

                  Originally posted by ExtremeX


                  Hah.. The powder trickler is awesome! Well done!
                  I'll be adding that to my "to do" list. I've got a bunch of small stepper motors that need a job.

                  Ummm... no digital display to show charge amounts and stuff?




                  Originally posted by pepsi2451
                  So far I have just been doing one-off projects and etching my own pcbs using the toner transfer method. I started off with through-hole but I'm making the switch to smd now.
                  Do you have a reflow oven yet for doing SMD?
                  An arduino or other processor, a type K temperature probe, a relay, and a cheap toaster/convection oven from walmart or a thrift store and you're GTG for a simple reflow oven.

                  I can hand solder 0603 parts, and IC's with a lead pitch down to about 0.65mm but a reflow oven makes life ever so much easier, and leadless parts like the QFN package simply can't be soldered by hand.
                  Lots of good parts these days that are available in SMT only with no through-hole available. Technology marches on...

                  Comment

                  • #10
                    Ninety
                    Veteran Member
                    • Nov 2012
                    • 4062

                    Confounded by last post.
                    NRA Member
                    The Constitution does not bestow wisdom. It's up to the body politic to be wise. -Patriot
                    All that is required for evil to prevail is for good men to do nothing.
                    -Edmund Burke
                    I'd much rather go to my grave never needing my gun, than go there wishing I had it.
                    - Phil Dalmolin

                    The Battle of Athens was illegal too.

                    Comment

                    • #11
                      croc4
                      Senior Member
                      • May 2005
                      • 569

                      QFN's can be soldered by hand, done it many times, so can 0201 and 0402, just don't sneeze when working with 0201.

                      If you can't do the above then you have the wrong tools


                      croc4

                      Comment

                      • #12
                        Dubious_Beans
                        Veteran Member
                        • Jul 2010
                        • 3721

                        Originally posted by croc4
                        QFN's can be soldered by hand, done it many times, so can 0201 and 0402, just don't sneeze when working with 0201.

                        If you can't do the above then you have the wrong tools


                        croc4
                        With a soldering iron or with hot air? I've done lots of QFN with hot air.

                        Perhaps "by hand" was the wrong way to phrase it. What I meant was with a traditional soldering iron. I've done BGA with air, but no can do with an iron.

                        I've soldered 0402 parts with an iron but I don't like it much. And I have insufficient magnification and motor skills to deal with 0201. Just too damned small for me. Old age and bad eyesight...

                        Comment

                        • #13
                          pepsi2451
                          Senior Member
                          • Feb 2006
                          • 1629

                          Originally posted by Ninety
                          I'd like to know more about how you made the two communicate. My first project is a multi sensor data logger going thru the audrino and recorded and accessed by the pi.

                          I saw the knock off audrinos and a video or two on how to make your own like you described. Basically the one chip is you main board. Bare with me. I have to re learn many things I was interested in a decade or so ago... That chipset controls everything right ? And then u just need resistors and such.. which makes the alamode pretty neat.

                          I experimented with making my own boards eons ago as well. Trying to make a device from the anarchist cookbook.... A high pitch speaker nuances alarm.... No luck.. I just found my etch and old boards. Might give it a go again... But I saw someone post about custom pcbs... That is something amazing...
                          I just plugged the arduino uno into the pi with usb and used the serial connection with python. I'm sure you could also use the raspberry pi serial gpio pins, just have to remember to bring it down to 3.3v for the pi if your using 5v for the arduino.

                          This page shows the basics of what you need for an arduino, it doesn't have the usb interface or 3.3v regulator like an uno. You can use different microcontrollers or you can get by with even less, for example you could run it off aa batteries with the internal 8 mhz crystal and leave off the voltage regulator and external crystal.

                          I design my boards with eagle cad, its free for small boards and fairly easy to use there are a lot of tutorials available for it. I then print them out on parchment paper with a laser printer, run it through a laminator to transfer it to the pcb and etch with muriatic acid and hydrogen peroxide. Its kind of a pain but its cheap and I can have a pcb in a couple hours instead of having to order one.

                          Comment

                          • #14
                            Ninety
                            Veteran Member
                            • Nov 2012
                            • 4062

                            Originally posted by pepsi2451
                            I just plugged the arduino uno into the pi with usb and used the serial connection with python. I'm sure you could also use the raspberry pi serial gpio pins, just have to remember to bring it down to 3.3v for the pi if your using 5v for the arduino.

                            This page shows the basics of what you need for an arduino, it doesn't have the usb interface or 3.3v regulator like an uno. You can use different microcontrollers or you can get by with even less, for example you could run it off aa batteries with the internal 8 mhz crystal and leave off the voltage regulator and external crystal.

                            I design my boards with eagle cad, its free for small boards and fairly easy to use there are a lot of tutorials available for it. I then print them out on parchment paper with a laser printer, run it through a laminator to transfer it to the pcb and etch with muriatic acid and hydrogen peroxide. Its kind of a pain but its cheap and I can have a pcb in a couple hours instead of having to order one.
                            Wow.

                            I was planning on ish interface... Seems good to go now that rpi has 4 ish ports. It seems to be a non issue.

                            Now. . When I made my own board it was 15 years ago.. I will have to do some research on parchment paper and laser jet printers..

                            Thanks.


                            Who else might be using these devices in firearms related machines.


                            And can we cookie cutter it Like the powder measures....

                            How much did that cost by the way ?
                            NRA Member
                            The Constitution does not bestow wisdom. It's up to the body politic to be wise. -Patriot
                            All that is required for evil to prevail is for good men to do nothing.
                            -Edmund Burke
                            I'd much rather go to my grave never needing my gun, than go there wishing I had it.
                            - Phil Dalmolin

                            The Battle of Athens was illegal too.

                            Comment

                            • #15
                              pepsi2451
                              Senior Member
                              • Feb 2006
                              • 1629

                              Originally posted by Dubious_Beans
                              Do you have a reflow oven yet for doing SMD?
                              An arduino or other processor, a type K temperature probe, a relay, and a cheap toaster/convection oven from walmart or a thrift store and you're GTG for a simple reflow oven.

                              I can hand solder 0603 parts, and IC's with a lead pitch down to about 0.65mm but a reflow oven makes life ever so much easier, and leadless parts like the QFN package simply can't be soldered by hand.
                              Lots of good parts these days that are available in SMT only with no through-hole available. Technology marches on...
                              I don't have one yet but a DIY reflow oven is on my list of future projects. I do have a hot air reflow station but I haven't tried soldering any QFN stuff yet. I'm not sure how small I can go with my current method of etching. I got a set of 0805 caps, resistors and some QFP 32p atmegas, I figure I will start there.
                              Last edited by pepsi2451; 02-27-2015, 12:34 AM.

                              Comment

                              Working...
                              UA-8071174-1