Raspberry Pi Hardware Interface on VASt Goodies

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Raspberry Pi Hardware Interface on VASt Goodies

Louis LaBrunda
Hi All,

I have posted the Raspberry Pi Hardware Interface on VASt Goodies.  I also posted two test applications whose names start with "RaspberryHardwareInterface".  The main interface application consists of two interfaces to the Raspberry Pi GPIO hardware.  One uses the daemon interface and one doesn't.  The base (non daemon) interface crashes the VA Smalltalk VM but I posted it anyway in the hope that the VM will be fixed eventually.  The daemon interface works just fine.

The VA Smalltalk VM for the Raspberry Pi is a "just for fun" project on Instantiation's part.  I am not speaking for them but I think they are very interested in it but other things come first.

The daemon test application contains a GUI program that tests the interface by randomly turning on and off GPIO pins.  The window shows which pins are on by testing the value of the pin through the interface.  So, if a light bulb is lit, the pin it actually on.  The program is a good example of how to make some of the calls to the interface.

There are many devices that can be connected to the Raspberry Pi.  The interface tries to make controlling them easy.  Much of this code has been ported from the Squeak Smalltalk version of the interface.  There are major differences between VA Smalltalk and Squeak, so much of the code is a complete rewrite.

I have only tested the code that directly controls the GPIO pins as simple pins and not any of the more complicated devices (I don't have them).

I have also written a Seaside program called RaspberryRelay, that I will post about shortly.

Lou

P.S.  This is at its core the same interface that Seth posted about and included in an ECAP a while back.  I renamed a lot of things in order to prepare for both a base and daemon interface.  So, you should get the latest from VASt Goodies.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Raspberry Pi Hardware Interface on VASt Goodies

Mariano Martinez Peck-2
Thank you Louis for your effort on this project and for sharing it with the community!  
And yes, if there are more folks/customers willing to make some IoT stuff with VA let us know. 

Best regards, 



On Thu, Oct 11, 2018 at 3:30 PM Louis LaBrunda <[hidden email]> wrote:
Hi All,

I have posted the Raspberry Pi Hardware Interface on VASt Goodies.  I also posted two test applications whose names start with "RaspberryHardwareInterface".  The main interface application consists of two interfaces to the Raspberry Pi GPIO hardware.  One uses the daemon interface and one doesn't.  The base (non daemon) interface crashes the VA Smalltalk VM but I posted it anyway in the hope that the VM will be fixed eventually.  The daemon interface works just fine.

The VA Smalltalk VM for the Raspberry Pi is a "just for fun" project on Instantiation's part.  I am not speaking for them but I think they are very interested in it but other things come first.

The daemon test application contains a GUI program that tests the interface by randomly turning on and off GPIO pins.  The window shows which pins are on by testing the value of the pin through the interface.  So, if a light bulb is lit, the pin it actually on.  The program is a good example of how to make some of the calls to the interface.

There are many devices that can be connected to the Raspberry Pi.  The interface tries to make controlling them easy.  Much of this code has been ported from the Squeak Smalltalk version of the interface.  There are major differences between VA Smalltalk and Squeak, so much of the code is a complete rewrite.

I have only tested the code that directly controls the GPIO pins as simple pins and not any of the more complicated devices (I don't have them).

I have also written a Seaside program called RaspberryRelay, that I will post about shortly.

Lou

P.S.  This is at its core the same interface that Seth posted about and included in an ECAP a while back.  I renamed a lot of things in order to prepare for both a base and daemon interface.  So, you should get the latest from VASt Goodies.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.


--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.
[hidden email]

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.