Autorun program after connecting Arduino nanoHow to combine quickly and my python program?Arduino IDE not connecting to microcontrollerHow can I associate .py files to “wine python.exe” and R-click > “Edit with IDLE” on ubuntu 14.04?Running Python script in Abaqus in Ubuntuutilise atom or sublime text in ubuntu Python RubyRun “sudo arduino” with .desktop fileInstallation dependencies when trying to install cx_oracleRun arduino from terminal (snap)No ttyACM0 for Arduino Nano on Ubuntu. How can I attach it?Permission denied to non-root user for USB device

How does one intimidate enemies without having the capacity for violence?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

What typically incentivizes a professor to change jobs to a lower ranking university?

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

Why is this code 6.5x slower with optimizations enabled?

XeLaTeX and pdfLaTeX ignore hyphenation

Is it possible to do 50 km distance without any previous training?

Extreme, but not acceptable situation and I can't start the work tomorrow morning

My colleague's body is amazing

Are there any consumables that function as addictive (psychedelic) drugs?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

How to make payment on the internet without leaving a money trail?

How to calculate implied correlation via observed market price (Margrabe option)

Why CLRS example on residual networks does not follows its formula?

Japan - Plan around max visa duration

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

Draw simple lines in Inkscape

Can a German sentence have two subjects?

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

Could a US political party gain complete control over the government by removing checks & balances?

I probably found a bug with the sudo apt install function

Is it possible to make sharp wind that can cut stuff from afar?

I see my dog run

Can I make popcorn with any corn?



Autorun program after connecting Arduino nano


How to combine quickly and my python program?Arduino IDE not connecting to microcontrollerHow can I associate .py files to “wine python.exe” and R-click > “Edit with IDLE” on ubuntu 14.04?Running Python script in Abaqus in Ubuntuutilise atom or sublime text in ubuntu Python RubyRun “sudo arduino” with .desktop fileInstallation dependencies when trying to install cx_oracleRun arduino from terminal (snap)No ttyACM0 for Arduino Nano on Ubuntu. How can I attach it?Permission denied to non-root user for USB device






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I have read few posts which explained how to write a script and save it on the USB flash drive, which will allow it to run as we connect the device.



I want to know if there is a way where we can overwrite Arduino nano device driver to allow it to run a python script already on the PC?
I don't want user to always run the script before using the required functionality.










share|improve this question









New contributor




Nandu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • So, let me understand this: the script is on PC, when arduino is connected - run the script. Correct ? Basically detect plugged in arduino and fire the script ? Also , what model of Arduino you have ?

    – Sergiy Kolodyazhnyy
    2 days ago












  • Yes. Exactly!! I have arduino nano ATmegav328. Also, I would like it to happen to every PC I attach thay arduino, So, basically I would like to inclue that special program as a part of driver of this arduino.

    – Nandu
    yesterday












  • Arduino itself doesn't include a driver. Drivers are installed on each individual PC. So we can't really make every computer run Python script. What we can do, is make one individual computer detect when Arduino is plugged in and run the script, but it has to live on that computer, not on Arduino. If you'd like me to post an answer about that , let me know.

    – Sergiy Kolodyazhnyy
    yesterday











  • Okay!! I know about cuttlefish which can do all such stuff, but it would be better if I know how it is done at the core. So your answer would be most welcome. ThankYou :)

    – Nandu
    yesterday











  • Also, I wonder how wireless mouse starts working on any PC without installing any software.

    – Nandu
    21 hours ago

















2















I have read few posts which explained how to write a script and save it on the USB flash drive, which will allow it to run as we connect the device.



I want to know if there is a way where we can overwrite Arduino nano device driver to allow it to run a python script already on the PC?
I don't want user to always run the script before using the required functionality.










share|improve this question









New contributor




Nandu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • So, let me understand this: the script is on PC, when arduino is connected - run the script. Correct ? Basically detect plugged in arduino and fire the script ? Also , what model of Arduino you have ?

    – Sergiy Kolodyazhnyy
    2 days ago












  • Yes. Exactly!! I have arduino nano ATmegav328. Also, I would like it to happen to every PC I attach thay arduino, So, basically I would like to inclue that special program as a part of driver of this arduino.

    – Nandu
    yesterday












  • Arduino itself doesn't include a driver. Drivers are installed on each individual PC. So we can't really make every computer run Python script. What we can do, is make one individual computer detect when Arduino is plugged in and run the script, but it has to live on that computer, not on Arduino. If you'd like me to post an answer about that , let me know.

    – Sergiy Kolodyazhnyy
    yesterday











  • Okay!! I know about cuttlefish which can do all such stuff, but it would be better if I know how it is done at the core. So your answer would be most welcome. ThankYou :)

    – Nandu
    yesterday











  • Also, I wonder how wireless mouse starts working on any PC without installing any software.

    – Nandu
    21 hours ago













2












2








2


1






I have read few posts which explained how to write a script and save it on the USB flash drive, which will allow it to run as we connect the device.



I want to know if there is a way where we can overwrite Arduino nano device driver to allow it to run a python script already on the PC?
I don't want user to always run the script before using the required functionality.










share|improve this question









New contributor




Nandu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have read few posts which explained how to write a script and save it on the USB flash drive, which will allow it to run as we connect the device.



I want to know if there is a way where we can overwrite Arduino nano device driver to allow it to run a python script already on the PC?
I don't want user to always run the script before using the required functionality.







python arduino autorun






share|improve this question









New contributor




Nandu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Nandu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago









Philippe Delteil

6201522




6201522






New contributor




Nandu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









NanduNandu

112




112




New contributor




Nandu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Nandu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Nandu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • So, let me understand this: the script is on PC, when arduino is connected - run the script. Correct ? Basically detect plugged in arduino and fire the script ? Also , what model of Arduino you have ?

    – Sergiy Kolodyazhnyy
    2 days ago












  • Yes. Exactly!! I have arduino nano ATmegav328. Also, I would like it to happen to every PC I attach thay arduino, So, basically I would like to inclue that special program as a part of driver of this arduino.

    – Nandu
    yesterday












  • Arduino itself doesn't include a driver. Drivers are installed on each individual PC. So we can't really make every computer run Python script. What we can do, is make one individual computer detect when Arduino is plugged in and run the script, but it has to live on that computer, not on Arduino. If you'd like me to post an answer about that , let me know.

    – Sergiy Kolodyazhnyy
    yesterday











  • Okay!! I know about cuttlefish which can do all such stuff, but it would be better if I know how it is done at the core. So your answer would be most welcome. ThankYou :)

    – Nandu
    yesterday











  • Also, I wonder how wireless mouse starts working on any PC without installing any software.

    – Nandu
    21 hours ago

















  • So, let me understand this: the script is on PC, when arduino is connected - run the script. Correct ? Basically detect plugged in arduino and fire the script ? Also , what model of Arduino you have ?

    – Sergiy Kolodyazhnyy
    2 days ago












  • Yes. Exactly!! I have arduino nano ATmegav328. Also, I would like it to happen to every PC I attach thay arduino, So, basically I would like to inclue that special program as a part of driver of this arduino.

    – Nandu
    yesterday












  • Arduino itself doesn't include a driver. Drivers are installed on each individual PC. So we can't really make every computer run Python script. What we can do, is make one individual computer detect when Arduino is plugged in and run the script, but it has to live on that computer, not on Arduino. If you'd like me to post an answer about that , let me know.

    – Sergiy Kolodyazhnyy
    yesterday











  • Okay!! I know about cuttlefish which can do all such stuff, but it would be better if I know how it is done at the core. So your answer would be most welcome. ThankYou :)

    – Nandu
    yesterday











  • Also, I wonder how wireless mouse starts working on any PC without installing any software.

    – Nandu
    21 hours ago
















So, let me understand this: the script is on PC, when arduino is connected - run the script. Correct ? Basically detect plugged in arduino and fire the script ? Also , what model of Arduino you have ?

– Sergiy Kolodyazhnyy
2 days ago






So, let me understand this: the script is on PC, when arduino is connected - run the script. Correct ? Basically detect plugged in arduino and fire the script ? Also , what model of Arduino you have ?

– Sergiy Kolodyazhnyy
2 days ago














Yes. Exactly!! I have arduino nano ATmegav328. Also, I would like it to happen to every PC I attach thay arduino, So, basically I would like to inclue that special program as a part of driver of this arduino.

– Nandu
yesterday






Yes. Exactly!! I have arduino nano ATmegav328. Also, I would like it to happen to every PC I attach thay arduino, So, basically I would like to inclue that special program as a part of driver of this arduino.

– Nandu
yesterday














Arduino itself doesn't include a driver. Drivers are installed on each individual PC. So we can't really make every computer run Python script. What we can do, is make one individual computer detect when Arduino is plugged in and run the script, but it has to live on that computer, not on Arduino. If you'd like me to post an answer about that , let me know.

– Sergiy Kolodyazhnyy
yesterday





Arduino itself doesn't include a driver. Drivers are installed on each individual PC. So we can't really make every computer run Python script. What we can do, is make one individual computer detect when Arduino is plugged in and run the script, but it has to live on that computer, not on Arduino. If you'd like me to post an answer about that , let me know.

– Sergiy Kolodyazhnyy
yesterday













Okay!! I know about cuttlefish which can do all such stuff, but it would be better if I know how it is done at the core. So your answer would be most welcome. ThankYou :)

– Nandu
yesterday





Okay!! I know about cuttlefish which can do all such stuff, but it would be better if I know how it is done at the core. So your answer would be most welcome. ThankYou :)

– Nandu
yesterday













Also, I wonder how wireless mouse starts working on any PC without installing any software.

– Nandu
21 hours ago





Also, I wonder how wireless mouse starts working on any PC without installing any software.

– Nandu
21 hours ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Nandu is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131481%2fautorun-program-after-connecting-arduino-nano%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Nandu is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Nandu is a new contributor. Be nice, and check out our Code of Conduct.












Nandu is a new contributor. Be nice, and check out our Code of Conduct.











Nandu is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid …


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131481%2fautorun-program-after-connecting-arduino-nano%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?

apt-get update fails to fetch files, “Temporary failure resolving …” errorWhy does apt-get fail to resolve the mirror?Apt-get update not working in Ubuntu 16.04 “temporary failure resolving”Ubuntu 16.04 Server updates - Temporary failure resolving 'ro.archive.ubuntu.com'“Failed to fetch… Temporary failure resolving…” when trying to installTemporary failure resolving ca.archive.ubuntu.comUbuntu 18.04 sudo apt update doesn't work (Failed to Fetch)apt-get error: “Temporary failure resolving 'archive.ubuntu.com' ”“Temporary failure resolving us.archive.ubuntu.com” Live USB rescueTemporary failure resolving 'es.archive.ubuntu.com' on Ubuntu Server15.04 Server fails to update with failed to fetch temporary failure resolving errorsCan't install software from Software CenterApt-get failed to fetch from Ubuntu server with error code 404“Unable to connect” error with apt-get: possible proxy?v12.10 can't apt-get update111: Connection refused when trying apt updateSudo apt-get update