Suoritettu

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

Taidot: Raspberry Pi, Ohjelmistokehitys

Näytä lisää: raspberry-control-gpio-pins-securely, software write mq4, software write chip epson, 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, scanner usb host, usb host device embedded, lpc2468 usb host stack, emsys usb host linux, vxworks usb host issues, usb host driver embedded system

Tietoa työnantajasta:
( 10 arvostelua ) Dongguan, China

Projektin tunnus: #13428912

Myönnetty käyttäjälle:

poduzov

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 3 päivässä
(3 Arvostelua)
3.5

7 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

goldsea808

[url removed, login to view] (pi, pi camera) [url removed, login to view] (pi, recognizing signs) [url removed, login to view] (arduino, rc car) [url removed, login to view] Lisää

$300 USD 3 päivässä
(1 arvostelu)
4.1
technologicsols

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 Lisää

$200 USD 6 päivässä
(0 arvostelua)
0.0
$205 USD 6 päivässä
(0 arvostelua)
0.0
Aromday

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

$166 USD 7 päivässä
(0 arvostelua)
0.0
isurutech

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 Lisää

$56 USD 3 päivässä
(0 arvostelua)
0.0
kchakraborty

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 Lisää

$155 USD 5 päivässä
(1 arvostelu)
0.0
gurtajs4

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, Lisää

$250 USD 4 päivässä
(1 arvostelu)
0.8