Find Jobs
Hire Freelancers

Raspberry Pi / PC socket connection in C++

$250-750 USD

Completed
Posted about 10 years ago

$250-750 USD

Paid on delivery
I want to do an IO communication performance test with an Raspberry Pi (512 MB RAM, RASPBERRY PI TYPE B, incl. Ethernet). I want so send a trigger to a Raspberry Pi input. The Raspberry Pi should send the trigger via Ethernet connection to a PC. The PC should create a response and send this response back to the Raspberry Pi. The response should set an IO output of the Raspberry Pi. The communication should be as fast as possible. Raspberry Pi Program This program should be written in C++ and compiled with VisualStudio 2010. You can define a port and a socket technology for the communication to the PC. (I would recommend a UDP stream because of the performance) The user should be able edit the PC IP address in a config/ini/txt file. With start of the program it should connect automatically to the C++ program on the PC. The program should start up with the Raspberry Pi automatically. The program should listen on a Raspberry Pi input. (You can define the pin) And it should listen to the response from the C++ program on the PC. With each trigger (0->1 signal) the Raspberry Pi should send a message to the PC program. This message should include the timestamp/tickcount/high performance counter [ms/µs/processor ticks] when the last Triggercount (§1) and the current trigger (§2) was received. When the Raspberry Pi receive a Triggercount number from the PC program it should send the last 4 bits to the output. e.g. Triggercount = 1 -> Output0 = 1, Output1 = 0, Output2 = 0, Output3 = 0; Triggercount = 2 -> Output0 = 0, Output1 = 1, Output2 = 0, Output3 = 0; Triggercount = 3 -> Output0 = 1, Output1 = 1, Output2 = 0, Output3 = 0; Triggercount = 4 -> Output0 = 0, Output1 = 0, Output2 = 1, Output3 = 0; ... Triggercount = 255 -> Output0 = 1, Output1 = 1, Output2 = 1, Output3 = 1; ... Triggercount = 1001 -> Output0 = 1, Output1 = 0, Output2 = 0, Output3 = 1; ... It could be a console application, no GUI needed. Windows Program This program should be written in C++ and compiled with VisualStudio 2010. It should work under win XP and 7. The Program should wait for a connection and messages from the Raspberry Pi. With each received trigger, an internal trigger counter (Triggercount) should increase. The program should print out in the console window the Triggercount, timestamp/tickcount/high perfomance [ms/µs/processor ticks] when a trigger was received and the two timestamps (§1),(§2) from the Raspberry Pi. e.g. 1,87324789,0, 2389478975 2, 87325788, 2389478987, 2389479982 3, 87326790, 2389479995, 2389480985 4, 87327792, 2389480999, 2389481987 5, 87328795, 2389482018, 2389482993 ... It could be a console application, no GUI needed. Delivery I want to use Visual Studio 2010 to compile the project. The delivery should include the program and the operating system for the Raspberry Pi. I will copy your delivery to a 4GB SD-card. The Program should start automatically with startup of the Raspberry Pi. All parts should be usable for commercial purpose. (So check the license of the OS, tools and libs you are using) I need the compiled solution with sample settings and all source code. No installer, setup or graphical interface needed. Your source code should follow the current methods of development. I expect a delivery after ~14 days. I expect an offer in the range $251 ... $500. Documentation & test Provide a [login to view URL] which describes the basic steps to setup: - How to copy the OS to the SD-card. - The number of input and output pins on the Raspberry Pi. - How to set the PC IP on the Raspberry Pi. You have to test the following: - Is the input and output working? - Is the error handling working correctly? - Is the time output working and the numbers correct?
Project ID: 5508319

About the project

14 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I'm working on this kind of work. I have all the solution for your requirement. I can complete this project about 10 days. You will not regret picking me.
$250 USD in 10 days
4.9 (5 reviews)
3.8
3.8
14 freelancers are bidding on average $1,025 USD for this job
User Avatar
Hi Sir, I am ready to work for you.I have 9 years of experience in C/C++ , java and, MySQL. please see some of my works also check my reviews you will get better idea about my skill.I deliver quality work within time frame. Please visit my profile once. Thanks with regards, Amit
$578 USD in 7 days
4.9 (72 reviews)
6.7
6.7
User Avatar
Hello, I have extensive experience working with Win / Linux. I program in VS2010/Eklips. I have the necessary equipment available for testing.
$500 USD in 3 days
4.9 (27 reviews)
5.9
5.9
User Avatar
Hi, The task you want to develop is quite "a classic' in desktop computers world ( at least the sockets part) I believe i should be able to deliver a first demo (or show you a live demo via webcam) in 6 days maximum. The whole project, documentation and full delivery included should not take more than 10 days to finish. I just need one day to prepare a visual studio environment, because i don't usually program embedded systems using that (i do prefer eclipse based IDE because i am used to that at work ..) Contact me back if you are interested. Cheers PS: as i understood, by a trigger you mean the change in an input pin from 0 TTL to 1 TTL. Please correct me if i am wrong.
$444 USD in 10 days
5.0 (23 reviews)
5.7
5.7
User Avatar
Can help... I am an Expert; I have the type b model... Lets Start! Please start a Discussion with me and we can get started from there... Please check the past projects I have handled and check my reviews for what employers have to say about my work... Can start right now...
$2,500 USD in 15 days
5.0 (10 reviews)
4.4
4.4
User Avatar
hi i would like to take on this project, please see my credentials. thanks. i have created applications like this before.
$555 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$555 USD in 20 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Предложение еще не подано
$1,263 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
i'have done projects like this in raspberry with c/c++ socket and ftp connection developed using Eclipse with cross compilation.
$555 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, 1. I understand your projects: + Raspberry Pi (model B) : acts like trigger detector + PC apps : acts like command center + Both communicate by ethernet connection 2. I have a team with another two guys, who are very familiar with socket programming and writing firmware, apps on Linux OS. This will help doing faster. More over, we've already use Raspberry Pi for couple of apps. 3. We will make this projects in details : + On the Raspberry Pi, read GPIO and send trigger through ethernet + On windows, read on socket and parser trigger to process then send back to Pi. + We can provide you all the source code (include makefile) on Raspberry Pi side. 4. We can complete in 10 days. 5. If you see us as the most suitable for your projects. We can talk about more details later. Regards,
$333 USD in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Munich, Germany
5.0
13
Payment method verified
Member since Jan 13, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.