Find Jobs
Hire Freelancers

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

$30-250 USD

Completed
Posted about 7 years ago

$30-250 USD

Paid on delivery
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/[login to view URL]") 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).
Project ID: 13428912

About the project

5 proposals
Remote project
Active 7 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
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
5.0 (8 reviews)
4.7
4.7
5 freelancers are bidding on average $159 USD for this job
User Avatar
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 4-5 days. For initial interfacing I may need access to your system via SSH. What kind of usb game pad you are using? Thank you
$155 USD in 5 days
4.9 (5 reviews)
3.6
3.6
User Avatar
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 and C. therefore I could say i will be the best suited candidate to do your project. and i recommended python to do your project. because the scripting language is eazy to code and alter if needed. i could give you lower bidding but the 10% freelancer fee is killing me. i promised to deliver complete and quality program and service if i selected to do your project, as soon as possible. expecting a favorable reply i remain, thank you, Isuru Athukorala
$56 USD in 3 days
0.0 (0 reviews)
1.0
1.0

About the client

Flag of CHINA
Dongguan, China
5.0
33
Payment method verified
Member since Nov 19, 2016

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)
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.