Vallarfax
Posts: 2
Joined: Tue Feb 10, 2015 1:52 pm

About to start a project, need some advice

Tue Feb 10, 2015 2:23 pm

Hi, I will soon start on a project where I will use a RPi B+. I have never programmed a RPi before so I just wanted to ask for some advice.

My part of the project is to make a GUI on a laptop that shows videostream from the RPi camera module. From this GUI I need to control the GPIO on the RPi (motors will be connected to the GPIOs). The communication between the laptop running the client program and the RPi will be through an ethernet cable (without Internet access).

A rough explanation is: from a laptop I want to control the GPIO when I press buttons on my keyboard, the RPi will send data from sensors and videostream from a camera back to the laptop. They will communicate with an ethernet cable without access to the Internet.

I have programming experience with Delphi and thought about using this on the laptop for the GUI and using sockets (Indy) to connect the laptop and RPi. As I said before, I have never worked with a RPi and don't know if this is a good way to go. What programming language should I use on the RPi?

Thanks

-rst-
Posts: 1316
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

Re: About to start a project, need some advice

Tue Feb 17, 2015 1:46 pm

Vast majority of GPIO code examples and also other stuff on RPi is available in Python. Which is fairly handy language and should include everything you seem to need.

Another option as your background in Delphi you might want to take a look at FreePascal and Lazarus.

Web application with browser user-interface would of course be very much 'in mode' but possibly not the best for this use case.
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'

Return to “General programming discussion”