Blog

All Blog Posts  |  Next Post  |  Previous Post

Our little New-Year gift for Pascal developers

Thursday, December 31, 2015

On this last day of the year, we'd like to introduce a first version of a little New Year's gift for you, Pascal developers. If you are, like us, excited about Internet of Things, embedded software development, DIY projects, controlling electronics from your code, ... we have for you a first version of our new free & open-source bundle of hardware access components for Raspberry Pi. You can download full source code from here

  
This is a first small step into making interfacing with all kinds of external electronic devices like sensors, displays, step motor, input devices etc... as easy as setting a few properties or calling a few methods of a class. If you would for example like to measure some analog voltage and display the result on a small LCD display, this becomes as simple as:
var
  v: integer;
  s: string;
begin
TMSLCLAdaDispl16x2.Init;
v := TMSLCLAdaADC12B.ReadChannel(0);
s := 'Value: ' + IntToStr(v) + 'V';
TMSLCLAdaDispl16x2.DrawText(s);
end;

At this moment we have components for following Raspberry Pi breakouts and more are coming...

Adafruit 4 digit 7 segment display


Adafruit monochrome 128X32 OLED graphic display


Adafruit 12bit DAC


Adafruit 12bit 4 channel ADC


Adafruit RGB 16x2 LCD + keypad


Adafruit barometric pressure/temperature sensor


We of course also welcome you to contribute to this open-source package. Contact us with your suggestions, feedback, contributions.

Bruno Fierens




This blog post has received 5 comments.


1. Thursday, December 31, 2015 at 2:57:50 PM

Cool Bruno!

Ii assume the code runs on the RasPi? In other words, is it written for freepascal udner noobs?

Han Limburg


2. Friday, January 1, 2016 at 6:05:15 AM

Is this component set for Delphi or for FPC?



Yogi Yang


3. Friday, January 1, 2016 at 9:52:50 AM

It is for FPC and works with Raspbian on Raspberry Pi 2

Bruno Fierens


4. Thursday, January 21, 2016 at 8:01:54 PM

Very good for the Pascal community.
It urges me to give RaspberryPi a try!


Didier


5. Sunday, June 23, 2024 at 4:43:25 PM

would like to see the rasp camera added to it

Ere Ebikekeme




Add a new comment

You will receive a confirmation mail with a link to validate your comment, please use a valid email address.
All fields are required.



All Blog Posts  |  Next Post  |  Previous Post