Cannot send AT commands in minicom Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How do I send an AT command in minicom or cu?Minicom status stays offlineMinicom doesn't workWhy does serial device only work on one USB port?AT commands in screen/minicomWhy does minicom configuration always connects on /dev/ttyUSB1?Avoid password prompt while using minicomNot able to add timestamp to minicom readingsPython scripts cannot find ttyACM0 Serial portUbuntu 18.04, Arduino 1.8.5, NodeMCU v1 will not flash even with all requirements met. Why?
What is this single-engine low-wing propeller plane?
What's the difference between `auto x = vector<int>()` and `vector<int> x`?
Disable hyphenation for an entire paragraph
Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?
Should I call the interviewer directly, if HR aren't responding?
do i need a schengen visa for a direct flight to amsterdam?
How discoverable are IPv6 addresses and AAAA names by potential attackers?
Is the Standard Deduction better than Itemized when both are the same amount?
When is phishing education going too far?
Gastric acid as a weapon
What would be the ideal power source for a cybernetic eye?
Why is black pepper both grey and black?
If a contract sometimes uses the wrong name, is it still valid?
How to do this path/lattice with tikz
What is the musical term for a note that continously plays through a melody?
Single word antonym of "flightless"
What do you call a phrase that's not an idiom yet?
How do I stop a creek from eroding my steep embankment?
What's the purpose of writing one's academic bio in 3rd person?
Bonus calculation: Am I making a mountain out of a molehill?
Can a non-EU citizen traveling with me come with me through the EU passport line?
What are the pros and cons of Aerospike nosecones?
Models of set theory where not every set can be linearly ordered
How much radiation do nuclear physics experiments expose researchers to nowadays?
Cannot send AT commands in minicom
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How do I send an AT command in minicom or cu?Minicom status stays offlineMinicom doesn't workWhy does serial device only work on one USB port?AT commands in screen/minicomWhy does minicom configuration always connects on /dev/ttyUSB1?Avoid password prompt while using minicomNot able to add timestamp to minicom readingsPython scripts cannot find ttyACM0 Serial portUbuntu 18.04, Arduino 1.8.5, NodeMCU v1 will not flash even with all requirements met. Why?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to use minicom
to communicate with an ESP8266 Wifi chip using AT commands. I log into minicom
and I type command "AT". The normal answer of the chip would be to send "OK" back to minicom
. However, after typing "AT", once I type "Enter" the cursor goes back to the beginning of the line and nothing happens. It is as though the command had not been sent.
I log into minicom
with
sudo chmod a+rwx /dev/ttyUSB0
sudo minicom -D /dev/ttyUSB0 -b 115200
In the Arduino IDE Serial Monitor, I am able to communicate with the chip by setting baud = 115200 and "Both NL & CR". When sending command "AT", the chip sends back answer "OK". I am trying to reproduce the same in minicom
.
Any idea why the command doesn't get sent ?
Update
I saw in many minicom
tutorials that command prompt cmd>
should appear. Yet it does not appear on my screen. Maybe this is an indication that minicom
is only in "listening" mode, and not in "waiting for command from the user" mode ?
serial-port arduino minicom
add a comment |
I am trying to use minicom
to communicate with an ESP8266 Wifi chip using AT commands. I log into minicom
and I type command "AT". The normal answer of the chip would be to send "OK" back to minicom
. However, after typing "AT", once I type "Enter" the cursor goes back to the beginning of the line and nothing happens. It is as though the command had not been sent.
I log into minicom
with
sudo chmod a+rwx /dev/ttyUSB0
sudo minicom -D /dev/ttyUSB0 -b 115200
In the Arduino IDE Serial Monitor, I am able to communicate with the chip by setting baud = 115200 and "Both NL & CR". When sending command "AT", the chip sends back answer "OK". I am trying to reproduce the same in minicom
.
Any idea why the command doesn't get sent ?
Update
I saw in many minicom
tutorials that command prompt cmd>
should appear. Yet it does not appear on my screen. Maybe this is an indication that minicom
is only in "listening" mode, and not in "waiting for command from the user" mode ?
serial-port arduino minicom
1
The 'Update (Solved !)' section should really be submitted as an answer - you are allowed and in fact encouraged to answer your own questions on stack exchange.
– AJMansfield
May 22 '18 at 15:28
add a comment |
I am trying to use minicom
to communicate with an ESP8266 Wifi chip using AT commands. I log into minicom
and I type command "AT". The normal answer of the chip would be to send "OK" back to minicom
. However, after typing "AT", once I type "Enter" the cursor goes back to the beginning of the line and nothing happens. It is as though the command had not been sent.
I log into minicom
with
sudo chmod a+rwx /dev/ttyUSB0
sudo minicom -D /dev/ttyUSB0 -b 115200
In the Arduino IDE Serial Monitor, I am able to communicate with the chip by setting baud = 115200 and "Both NL & CR". When sending command "AT", the chip sends back answer "OK". I am trying to reproduce the same in minicom
.
Any idea why the command doesn't get sent ?
Update
I saw in many minicom
tutorials that command prompt cmd>
should appear. Yet it does not appear on my screen. Maybe this is an indication that minicom
is only in "listening" mode, and not in "waiting for command from the user" mode ?
serial-port arduino minicom
I am trying to use minicom
to communicate with an ESP8266 Wifi chip using AT commands. I log into minicom
and I type command "AT". The normal answer of the chip would be to send "OK" back to minicom
. However, after typing "AT", once I type "Enter" the cursor goes back to the beginning of the line and nothing happens. It is as though the command had not been sent.
I log into minicom
with
sudo chmod a+rwx /dev/ttyUSB0
sudo minicom -D /dev/ttyUSB0 -b 115200
In the Arduino IDE Serial Monitor, I am able to communicate with the chip by setting baud = 115200 and "Both NL & CR". When sending command "AT", the chip sends back answer "OK". I am trying to reproduce the same in minicom
.
Any idea why the command doesn't get sent ?
Update
I saw in many minicom
tutorials that command prompt cmd>
should appear. Yet it does not appear on my screen. Maybe this is an indication that minicom
is only in "listening" mode, and not in "waiting for command from the user" mode ?
serial-port arduino minicom
serial-port arduino minicom
edited 2 hours ago
Pablo Bianchi
3,13521836
3,13521836
asked Jul 31 '16 at 13:55
phodorphodor
3732618
3732618
1
The 'Update (Solved !)' section should really be submitted as an answer - you are allowed and in fact encouraged to answer your own questions on stack exchange.
– AJMansfield
May 22 '18 at 15:28
add a comment |
1
The 'Update (Solved !)' section should really be submitted as an answer - you are allowed and in fact encouraged to answer your own questions on stack exchange.
– AJMansfield
May 22 '18 at 15:28
1
1
The 'Update (Solved !)' section should really be submitted as an answer - you are allowed and in fact encouraged to answer your own questions on stack exchange.
– AJMansfield
May 22 '18 at 15:28
The 'Update (Solved !)' section should really be submitted as an answer - you are allowed and in fact encouraged to answer your own questions on stack exchange.
– AJMansfield
May 22 '18 at 15:28
add a comment |
1 Answer
1
active
oldest
votes
Moving the OP answer to an actual answer:
Ok so the trick seems to be to type a command in minicom
, then type Enter, then type CTRL+J.
I found the following tip in the ESP8266 datasheet (tip related to the same issue in utility screen
):
Unfortunately the updated firmware versions require
Carriage-Return-and-New-Line line endings and there appears to be no
way to configurescreen
to send both with one key press. Instead, you
need to press or Ctrl-M then follow that with Ctrl-J.
In other words, the ESP8266 expects to see CR-NL after each command. When typing "Enter" in the minicom
window, it sends character Carriage-Return (CR). This is why my cursor goes back to the beginning of the line. Then by typing Ctrl-J, it sends the New-Line (NL) character. The cursor moves to the next line and the ESP8622 understands the instruction, thus sending back "OK" to minicom
.
I still do not see the cmd>
prompt in minicom
, but this is not an issue... Maybe this prompt does not appear in all versions of minicom
(I am using 2.7).
add a comment |
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
);
);
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%2f805262%2fcannot-send-at-commands-in-minicom%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Moving the OP answer to an actual answer:
Ok so the trick seems to be to type a command in minicom
, then type Enter, then type CTRL+J.
I found the following tip in the ESP8266 datasheet (tip related to the same issue in utility screen
):
Unfortunately the updated firmware versions require
Carriage-Return-and-New-Line line endings and there appears to be no
way to configurescreen
to send both with one key press. Instead, you
need to press or Ctrl-M then follow that with Ctrl-J.
In other words, the ESP8266 expects to see CR-NL after each command. When typing "Enter" in the minicom
window, it sends character Carriage-Return (CR). This is why my cursor goes back to the beginning of the line. Then by typing Ctrl-J, it sends the New-Line (NL) character. The cursor moves to the next line and the ESP8622 understands the instruction, thus sending back "OK" to minicom
.
I still do not see the cmd>
prompt in minicom
, but this is not an issue... Maybe this prompt does not appear in all versions of minicom
(I am using 2.7).
add a comment |
Moving the OP answer to an actual answer:
Ok so the trick seems to be to type a command in minicom
, then type Enter, then type CTRL+J.
I found the following tip in the ESP8266 datasheet (tip related to the same issue in utility screen
):
Unfortunately the updated firmware versions require
Carriage-Return-and-New-Line line endings and there appears to be no
way to configurescreen
to send both with one key press. Instead, you
need to press or Ctrl-M then follow that with Ctrl-J.
In other words, the ESP8266 expects to see CR-NL after each command. When typing "Enter" in the minicom
window, it sends character Carriage-Return (CR). This is why my cursor goes back to the beginning of the line. Then by typing Ctrl-J, it sends the New-Line (NL) character. The cursor moves to the next line and the ESP8622 understands the instruction, thus sending back "OK" to minicom
.
I still do not see the cmd>
prompt in minicom
, but this is not an issue... Maybe this prompt does not appear in all versions of minicom
(I am using 2.7).
add a comment |
Moving the OP answer to an actual answer:
Ok so the trick seems to be to type a command in minicom
, then type Enter, then type CTRL+J.
I found the following tip in the ESP8266 datasheet (tip related to the same issue in utility screen
):
Unfortunately the updated firmware versions require
Carriage-Return-and-New-Line line endings and there appears to be no
way to configurescreen
to send both with one key press. Instead, you
need to press or Ctrl-M then follow that with Ctrl-J.
In other words, the ESP8266 expects to see CR-NL after each command. When typing "Enter" in the minicom
window, it sends character Carriage-Return (CR). This is why my cursor goes back to the beginning of the line. Then by typing Ctrl-J, it sends the New-Line (NL) character. The cursor moves to the next line and the ESP8622 understands the instruction, thus sending back "OK" to minicom
.
I still do not see the cmd>
prompt in minicom
, but this is not an issue... Maybe this prompt does not appear in all versions of minicom
(I am using 2.7).
Moving the OP answer to an actual answer:
Ok so the trick seems to be to type a command in minicom
, then type Enter, then type CTRL+J.
I found the following tip in the ESP8266 datasheet (tip related to the same issue in utility screen
):
Unfortunately the updated firmware versions require
Carriage-Return-and-New-Line line endings and there appears to be no
way to configurescreen
to send both with one key press. Instead, you
need to press or Ctrl-M then follow that with Ctrl-J.
In other words, the ESP8266 expects to see CR-NL after each command. When typing "Enter" in the minicom
window, it sends character Carriage-Return (CR). This is why my cursor goes back to the beginning of the line. Then by typing Ctrl-J, it sends the New-Line (NL) character. The cursor moves to the next line and the ESP8622 understands the instruction, thus sending back "OK" to minicom
.
I still do not see the cmd>
prompt in minicom
, but this is not an issue... Maybe this prompt does not appear in all versions of minicom
(I am using 2.7).
answered 2 hours ago
Pablo BianchiPablo Bianchi
3,13521836
3,13521836
add a comment |
add a comment |
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%2f805262%2fcannot-send-at-commands-in-minicom%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
1
The 'Update (Solved !)' section should really be submitted as an answer - you are allowed and in fact encouraged to answer your own questions on stack exchange.
– AJMansfield
May 22 '18 at 15:28