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?
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
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
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.
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...
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,