From: slos <new.stephane.los@gmail.com>
Subject: Re: Raspberry Pi SenseHAT / AstroPi
Date: Tue, 23 Jan 2018 13:30:36 -0800 (PST)
Date: 2018-01-23T13:30:36-08:00 [thread overview]
Message-ID: <e07875fc-d7e8-4c78-b2d0-01d86168b37a@googlegroups.com> (raw)
In-Reply-To: <p47s1r$rbi$1@gioia.aioe.org>
Le mardi 23 janvier 2018 18:40:16 UTC+1, Dmitry A. Kazakov a écrit :
> On 2018-01-23 16:45, slos wrote:
>
> > To play with Raspberry Pi I have a SenseHAT, renamed from AstroPi, which is a HAT with some sensors :
> > https://www.raspberrypi.org/documentation/hardware/sense-hat
> >
> > Since it was designed to go in space, I would have thought an Ada library to be available... ;-)
> > But I could not find one. :-(
>
> Way too expensive and useless for automation purposes.
Well, I just wanted to play with some sensors and there are some on this SenseHat which costs by the way less than 40 Euros.
And connecting it to a PLC could be fun by allowing to control some process / machine like with a Wii Remote :
https://en.wikipedia.org/wiki/Wii_Remote
> There are
> virtually thousands of different hats you cannot expect all of them
> supported.
Of course since the HAT connector provides only signals like GPIO, I2C, SPI, UART, you can connect whatever you want to it. And of course you can design your own.
>
> Anyway for [semi-]serious use one usually designs a new one. E.g. for a
> BeagleBone board our partner designed a hat with many A/D converters and
> a tiger chip.
This SenseHat is for discovering / fun / demo / what you can think of, and isn't that expensive. And one can just plug it on top and use the provided software to start playing.
>
> The problem is that the architecture of ARM boards does not allow use of
> modular components. A monolithic sensor/actuator board never has a
> chance to meet the requirements, so one must design it new each time.
Or use one that fits with their needs.
>
> > So what can be found is a Python library on top of a C++ one.
>
> Actually I would expect a proper driver. A C library means it must run
> with root privileges. Not good.
Why would you need root privileges to run a C library ?
You have to set the proper rights to a user or group and that should suffice.
>
> > But maybe I have missed something already done in Ada ?
>
> What for? If you say that there is a C library, you can call it directly
> from Ada.
No, I said there is a C++ library and a Python binding on top.
Actually the Python library uses the C++ library for some sensors and devices directly for joystick and framebuffer.
>
> P.S. We could consider supporting it in our middleware, but as I said,
> at first glance it looks too expensive and much useless.
It could allow some people interested in Ada language to play on an inexpensive target. Is it useless ?
The Raspberry Pi was designed exactly for that purpose. Teaching and experiments for anyone interested in.
> Then it does
> not scale other architectures. We usually support boards / protocols
> available for more that just Raspberry Pi. Raspberry Pi has a very bad
> call among customers. One can show it as proof of the concept but
> nothing more.
>
> --
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de
Stéphane
next prev parent reply other threads:[~2018-01-23 21:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-23 15:45 Raspberry Pi SenseHAT / AstroPi slos
2018-01-23 16:33 ` Dennis Lee Bieber
2018-01-30 23:00 ` Luke A. Guest
2018-01-23 17:40 ` Dmitry A. Kazakov
2018-01-23 19:18 ` Dennis Lee Bieber
2018-01-23 20:29 ` Dmitry A. Kazakov
2018-01-23 21:30 ` slos [this message]
2018-01-23 22:02 ` Dmitry A. Kazakov
2018-01-23 23:03 ` Dennis Lee Bieber
2018-01-25 11:12 ` Philip Munts
2018-01-29 14:40 ` slos
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox