← İşler

Auto-Start Nano Control Script

Bütçe: $100.0 FIXED / ⭐ 0.00 (0) El Salvador

python, raspberry-pi, arduino, automation, scripting, linux, embedded-systems

I already have a small Python script that runs well on a Raspberry Pi. I now need it finished and adapted for a Nano board so that, once the board is powered, the program launches automatically and drives the attached hardware until it is shut down or loses power—then it must start right back up on reboot. The Python Code today is simple on the PI v4, when attached to voltage I want the Nano to check air pressure then if out of spec turn on motor. and just run that routine ever hour. If unplugged it starts over. If plugged in it just keeps checking and pumping as needed. Lets assume functionally the program is 75-90% good enough -- as in it works but I'm sure the professional would "Professionalize" then do the batch to code the Arduino Nano. Core scope • Refactor the existing Pi code where necessary so it recognises the Nano's GPIO layout and standard protocols for motors, sensors and lights. • Package all dependencies and create a clean, repeatable Windows batch file that flashes / copies everything to the Nano, installs the required libraries, and enables the service (systemd or equivalent) that auto-starts the script on boot. • Test end-to-end: after flashing, plug in power only; the Nano should load the OS, start the service and immediately allow device control without manual intervention. Deliverables 1. Updated Python source ready for the Nano board. 2. Windows batch installer with clear inline comments. 3. Brief README covering setup, pin mapping and how to stop/restart the service manually. 4. Confirmation video or log showing an uninterrupted power-cycle test. Acceptance criteria The firmware is considered complete when a fresh Nano, flashed solely with the provided batch file, reboots and reliably operates the connected motors, sensors and lights using standard interfaces. If you have experience migrating Pi projects to Nano and automating systemd services, I'd love to get this wrapped up quickly.
Upwork'te aç