Write an app for Raspberry Pi, physical use of GPIO pins & USB host

Hi there! I need an app that will run on a Raspberry Pi Zero. It needs to communicate with a USB device that streams data over a standard serial port interface at 115200 bps, and a standard 10-button USB controller in the following sequence:

0. Autostart the app when the device is powered on.

1. Wait for a physical pushbutton #1 attached to a GPIO to be pressed.

2. Open a serial port on the attached device at the speed of 115200.

3. Save the serial output to a text file until the word "END" is received.

4. Compare the saved file with the master file stored in a local folder (let's say, "/documents/[url removed, login to view]")

5. If the files match, signal a green LED (LED #1) attached to a GPIO pin.

6. If the files mismatch, signal a red LED (LED #2) attached to a GPIO pin.

7. Wait for the user to press the physical pushbutton #2 attached to a GPIO pin.

8. Query the USB gamepad for the pressed buttons (UP, DOWN, LEFT, RIGHT, A, B, START, SELECT, LSHIFT, RSHIFT).

9. If the button UP is pressed, light up an LED #3 at a GPIO pin. If released, turn the LED off.

10. If the button DOWN is pressed, light up an LED #4 at a GPIO pin. If released, turn the LED off.


11. If a physical pushbutton #1 is pressed at any moment, return to Step 1.

12. If a physical pushbutton #2 is pressed at any moment, go to Step 8.

Overall, there are expected to be two USB downstream devices: Serial port and USB gamepad. 2 physical pushbuttons. 10 + 2 LEDs (1 for each button on the gamepad, 2 to signal Serial comm status).

Skills: Raspberry Pi, Software Development

See more: raspberry-control-gpio-pins-securely, software write mq4, software write chip epson, embedded software, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, use facebook app website, free software write book, usb host embedded, use organizer app iphone, software write book, embedded usb host bluetooth, bluetooth usb host module

About the Employer:
( 10 reviews ) Dongguan, China

Project ID: #13428912

Awarded to:


Hello I can do this project. I only have Raspberry Pi3. I think this should not matter actually. What is the USB->serial adapter? FTDI? Best regards, Denis Poduzov

$211 USD in 3 days
(3 Reviews)

7 freelancers are bidding on average $192 for this job


[login to view URL] (pi, pi camera) [login to view URL] (pi, recognizing signs) [login to view URL] (arduino, rc car) [login to view URL] More

$300 USD in 3 days
(1 Review)

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have More

$200 USD in 6 days
(0 Reviews)
$205 USD in 6 days
(0 Reviews)

Good day! My name is Mike and I provide graphic design with a focus on UI/UX. My design principles are simple, clean and beautiful in the details. I also provide programming services (Web, Android and iOS development). More

$166 USD in 7 days
(0 Reviews)

Dear Sir, I would like to present my self as prospective candidate to do your project. i have sound knowledge in raspberry pi hardware and software. i also have good knowledge in programming languages such as Python an More

$56 USD in 3 days
(0 Reviews)

Hello, I am an electronics and communication engineer.I have been working with raspberry pi from last 3 years. I have worked in interfacing Digital and analog interfaces. I am confident I can do your project within More

$155 USD in 5 days
(1 Review)

Hi, I am an Android Expert, with Linux, Server Backend Knowledge. I have also worked on IOS Recently I have worked on Arduino and RPi Projects. One of them was coming up with a Tangible Interface with a cube shape, More

$250 USD in 4 days
(1 Review)