Raspberry PI - analog sensors with Arduino

Raspberry PI - analog sensors with Arduino

Shlomo Solomon shlomo.solomon at gmail.com
Tue Aug 2 19:14:04 IDT 2016


Actually, since my purpose is to experiment and learn , **getting my
hands dirty** with datasheets, etc is OK.

By what you write, I assume you have some experience or knowledge, so
I'll ask what I really should have asked in my original post. There are
many sensor kits on e-bay, but although some of them mention Raspberry
PI, it seems that they are not "really" meant for the PI, but for
Arduino.

Assuming, I'm willing to **dirty my hands**, do you think they should
work on a PI? 

I'm including a link to a typical kit.

http://www.ebay.com/itm/322176545722?_trksid=p2055119.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT




On Tue, 2 Aug 2016 18:40:05 +0300
Rabin Yasharzadehe <rabin at rabin.io> wrote:

> קח בחשבון שיש הבדל מהותי בין שימוש בצ'יפים נטו לבין מודולים מוכנים,
> לרוב מודולים יעשו לך את העבודה הקשה של התממשקות עם ה-CHIP וגם קינפוג
> ברמת החיווט!
> כמו כן גם יחשפו לך את המידע על פרוטוקול סיריאלי פשוט כמו RS232, בלי
> שתצתרך להמיר אותו.
> 
> אם אתה לוקח ADC למשל ומנסה להשתמש בו AS-IS אתה צריך לעבור על
> ה-DATASHEET שלו כדי להבין כיצד להביא אותו למצב עבודה.
> ולהבין כיצד לבצע איתו דגימות וכיצד לתרגם את התשובה שלו לערך עשרוני.
> 
> --
> Rabin
> 
> On 31 July 2016 at 12:37, Shlomo Solomon <shlomo.solomon at gmail.com>
> wrote:
> 
> > Thanks to Kobi and Jason.
> >
> > In the meantime, I've done more research, and I see that there are
> > several ADC (analog digital converter) chips available to help the
> > PI use analog input.
> > Since my main purpose is to learn to use and program the GPIO pins
> > on the PI, I guess that would be a good solution - especially since
> > my C++ skills are REALLY rusty and I'm much more comfortable with
> > Python.
> >
> > Again - thanks for your replies
> >
> >
> > On Sun, 31 Jul 2016 09:25:31 +0300
> > Kobi Zamir <kobi.zamir at gmail.com> wrote:
> >
> > > Hi, I also think like Json.
> > >
> > > For the first time you play with an arduino, use a board that has:
> > >
> > > 1. a usb connector for programming and i/o
> > > 2. pre-soldered connectors
> > > 3. use standard arduino connector arrangement (like in the arduino
> > > uno)
> > >
> > > For example:
> > >
> > http://www.ebay.com/itm/UNO-R3-ATmega328P-Development-Board-for-Arduino-Compatible-Free-USB-Cable-/191617917471
> > >
> > >
> > >
> > > On Sun, Jul 31, 2016 at 9:03 AM, Jason Friedman
> > > <write.to.jason at gmail.com> wrote:
> > >
> > > >
> > > >
> > > >> I have absolutely no knowledge about the Arduino, but I've seen
> > > >> clones advertised on e-bay for less than $2 - link below.
> > > >>
> > > >> Can anyone tell me if this as actually a working solution and
> > > >> if the low price is actually possible?
> > > >>
> > > >>
> > > >>
> > > >>
> > http://www.ebay.com/itm/1PCS-Pro-Mini-atmega328-5V-16M-Replace-ATmega128-Arduino-Compatible-Nano-/152160908037?hash=item236d7f3305:g:MMcAAOSw2GlXLD~U
> > > >>
> > > >>
> > > > Arduino is probably the easiest / cheapest way to access analog
> > > > sensors. While quality of these do vary, I have had good
> > > > experience with these very cheap units. Note that you need to
> > > > program these devices via a USB cable and an FTDI programmer
> > > > (you can also find one on ebay for a few dollars). I would
> > > > recommend for someone new to Arduino that you get an Arduino
> > > > uno / sparkfun redboard (or a chinese clone of one of these) -
> > > > they have the programmer built into the board (so you just plug
> > > > it via USB to your computer). They also have headers soldered
> > > > onto the board already, so you can connect sensors, LEDs, etc
> > > > without soldering, which is good for getting started.
> > > >
> > > > Jason
> > > >
> > > >
> > > >
> > > >> --
> > > >> Shlomo Solomon
> > > >> http://the-solomons.net
> > > >> Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5
> > > >>
> > > >>
> > > >> _______________________________________________
> > > >> Linux-il mailing list
> > > >> Linux-il at cs.huji.ac.il
> > > >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > Jason Friedman, PhD
> > > > Senior Lecturer
> > > > Department of Physical Therapy
> > > > Tel Aviv University
> > > > email: write.to.jason at gmail.com
> > > > web: http://curiousjason.com
> > > >
> > > > _______________________________________________
> > > > Linux-il mailing list
> > > > Linux-il at cs.huji.ac.il
> > > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> > > >
> > > >
> >
> >
> >
> > --
> > Shlomo Solomon
> > http://the-solomons.net
> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5
> >
> >
> > _______________________________________________
> > Linux-il mailing list
> > Linux-il at cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5




More information about the Linux-il mailing list