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;
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
New contributor
|
show 1 more comment
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
New contributor
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
|
show 1 more comment
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
New contributor
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
python arduino autorun
New contributor
New contributor
edited 2 days ago
Philippe Delteil
6201522
6201522
New contributor
asked 2 days ago
NanduNandu
112
112
New contributor
New contributor
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
|
show 1 more comment
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
|
show 1 more comment
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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