Timeline for Serial communication between PC and Arduino via RS232 using C++
Current License: CC BY-SA 3.0
25 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 31, 2018 at 12:02 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 1, 2018 at 11:37 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 1, 2018 at 11:21 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 2, 2018 at 10:23 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 2, 2018 at 7:24 | answer | added | 25mhz | timeline score: 2 | |
Apr 2, 2018 at 6:52 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 3, 2018 at 6:25 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 1, 2018 at 5:49 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 2, 2018 at 2:25 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 3, 2017 at 1:26 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 3, 2017 at 1:12 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 3, 2017 at 22:31 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 3, 2017 at 21:42 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 4, 2017 at 18:44 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 4, 2017 at 11:26 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 4, 2017 at 10:25 | answer | added | Martynas | timeline score: 0 | |
Jun 4, 2017 at 8:34 | history | edited | Greenonline | CC BY-SA 3.0 |
Typos and code formatting
|
Jul 29, 2014 at 19:51 | comment | added | user50333 | @ChrisStratton i didn't realize that...well thanks! That did exactly what I was hoping! | |
Jul 29, 2014 at 19:43 | comment | added | Ignacio Vazquez-Abrams | You don't send it through USB, you send it through the virtual COM port. | |
Jul 29, 2014 at 19:42 | comment | added | Chris Stratton | The existing USB interface emulates a serial port, so you would use the exact same serial APIs, and simply a different port name (whichever one you use for downloading sketches). Also make sure to close the Arduino serial monitor before you try talking to it from your program. | |
Jul 29, 2014 at 19:41 | comment | added | user50333 | @ChrisStratton The only problem with working with the existing USB serial interface is I cannot figure out how to send data through USB using C++. It was trivial to learn how to send data through RS232, but I can't find any info on doing it through USB. Additionally, wouldn't there be a conflict if I tried to have one program writing COM5 while the Arduino's terminal was viewing COM5? | |
Jul 29, 2014 at 18:32 | comment | added | Chris Stratton |
Additionally the "FFFFFFFA" most likely comes from sign exstension when a mistakenly-signed byte value is implicitly converted to a larger int type. Declare your variable unsigned char instead.
|
|
Jul 29, 2014 at 18:31 | comment | added | Chris Stratton | You cannot connect RS232 cable pins directly to microcontroller pins for two reasons. First, the excessive voltage will likely destroy the inputs. Second, the signals must be inverted in sense when moving between RS232 standards and logic level signals used by the ATMEGA's UART. You need a level translator, or to replace the true serial connection with a logic-level USB-serial one. Is there a reason you can't use the Arduino's existing USB serial interface? | |
Jul 29, 2014 at 18:30 | history | migrated | from electronics.stackexchange.com (revisions) | ||
Jul 29, 2014 at 18:26 | history | asked | user50333 | CC BY-SA 3.0 |