SoftModem Data Communication (a)

Introduction: SoftModem Data Communication (a)

Arduino connects to the PC using an USB port. Anyway, that USB connection is actually used like a Serial (RS232)
connection (remember the old 56K external modems? most of them where connected using a Serial interface). The Arduino IDE uses it to upload our programs to the board but the serial connection can also be used for any other kind of communication.

Arduino also has digital pins 0 (RX) and 1 (TX) which can be used to directly connect Serial interfaced wires into Arduino. They deliver the same signals sent on the USB Serial interface.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Step 1: Parts List and Wire Diagram

Parts list: two Arduino , two Arduino UNO, three Dupont wires
Wire diagram:

Step 2: Step 3: Softmodem for Arduino

There are some versions about Softmodem Arduino library, you can click

https://code.google.com/p/arms22/downloads/list?can=2&q=Softmodem&colspec=Filename+Summary+Upload

to download.

Step 3: Step 3: Some Problems About Softmodem.h File

I chose Softmodem-005.zip, after downloading ,input to Arduino and when
compiler ,there are some errors (I use 1.5.6 version of the Arduino IDE), can modify the SoftModem.h file under SoftModem.h file ,the results as follows:

code in here :

http://learn.linksprite.com/uncategorized/softmodem-data-communication-a/

Step 4: Step 4:softmodem.cpp File

Step 5: Step 5: Sample Code

The code is very simple, it is a Arduino sending data, another is Arduino receiving data.
Code one is responsible for sending data:

code is here:

http://learn.linksprite.com/uncategorized/softmodem-data-communication-a/


Step 6: Step 6: Results

Be the First to Share

    Recommendations

    • Trash to Treasure Contest

      Trash to Treasure Contest
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    Discussions