Category Archives: c-lazarus

Free Pascal / Lazarus

UDP Communications between a Raspberry Pi and an Arduino Using Lazarus / Free Pascal

In my prior post, I created a program for the arduino and a Free Pascal program for the PC that allowed them to communicate via UDP. You will want to refer to that post as it contains most of the … Continue reading

Posted in c-lazarus, c-rpi | Tagged , | Leave a comment

UDP Communications between a PC and an Arduino Using Lazarus / Free Pascal

I recently blogged about communicating between a PC and an Arduino using Serial Communications. While this might be useful once in a while, in reality if I want to talk to an arduino from my PC I would prefer using … Continue reading

Posted in c-arduino, c-lazarus | Tagged , | 3 Comments

Serial Communications (USB) between a Raspberry Pi and an Arduino Using Lazarus / Free Pascal

In this blog post I’m going to discuss how to connect a Raspberry Pi to an Arduino via USB and then communicate between them serially. If you want to communicate between an arduino and an RPI using I2C, see this … Continue reading

Posted in c-lazarus, c-rpi | Tagged , | 5 Comments

Serial Communications between a PC and an Arduino Using Lazarus / Free Pascal

I’ve communicated between a PC and an Arduino via UDP in the past, but I have never tried to use the serial connection (USB) on the Arduino. So in this experiment I have setup an arduino with various sensors and … Continue reading

Posted in c-arduino, c-lazarus | Tagged , | 14 Comments

Accessing Raspberry Pi GPIO using Lazarus/Free Pascal

Note, this post covers writing to a GPIO pin. If you want to read a GPIO pin, have a look at this post: Reading Raspberry Pi GPIO Pins using Lazarus / Free Pascal Last experiment for the day: I want … Continue reading

Posted in c-lazarus, c-rpi | Tagged | 14 Comments

Accessing Real Time Clock on Raspberry Pi using Lazarus/Free Pascal

I’ve really been buckling down and trying to get lots of time in on I2C today. Once being able to communicate with Arduino from my Raspberry Pi using Free Pascal, I wanted to try to read a real time clock … Continue reading

Posted in Arduino/RPI I2C, c-lazarus, c-rpi | Leave a comment

Raspberry Pi/I2C with Lazarus/Free Pascal

(This post discusses communication between arduino and raspberry Pi using I2C. If you want to use the USB connection as a serial connection, see this post: Serial Communications (USB) between a Raspberry Pi and an Arduino Using Lazarus / Free … Continue reading

Posted in Arduino/RPI I2C, c-lazarus, c-rpi | 7 Comments