OSEPP Uno R3 Plus

Discussion in 'Linux Hardware' started by bashcommando, May 4, 2014.

  1. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    I got a brand new microcomputer for Christmas(YAY!). However when following the tutorial it assumed that it was plugged into my serial port. But, I have a laptop, so I used a USB connection. What now?

  2. arochester

    arochester Well-Known Member

    Messages:
    853
    Likes Received:
    273
    Trophy Points:
    63
    Does this help?
    - http://osepp.com/learning-centre/start-here/uno-r3-plus/
  3. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    There is nothing that says COM ANYTHING in my /dev/ directory.
    Output of
    Code:
    ls /dev/
    :
    Code:
    adsp  log  shm  tty25  tty5  vcs1
    agpgart  loop0  snapshot  tty26  tty50  vcs2
    audio  loop-control  snd  tty27  tty51  vcs3
    autofs  MAKEDEV  sndstat  tty28  tty52  vcs4
    block  mapper  sr0  tty29  tty53  vcs5
    bsg  media0  stderr  tty3  tty54  vcs6
    btrfs-control  mem  stdin  tty30  tty55  vcs7
    bus  mixer  stdout  tty31  tty56  vcs8
    cdrom  net  tty  tty32  tty57  vcsa
    char  network_latency  tty0  tty33  tty58  vcsa1
    console  network_throughput  tty1  tty34  tty59  vcsa2
    core  null  tty10  tty35  tty6  vcsa3
    cpu  port  tty11  tty36  tty60  vcsa4
    cpu_dma_latency  ppp  tty12  tty37  tty61  vcsa5
    disk  psaux  tty13  tty38  tty62  vcsa6
    dri  ptmx  tty14  tty39  tty63  vcsa7
    dsp  pts  tty15  tty4  tty7  vcsa8
    fb0  random  tty16  tty40  tty8  vga_arbiter
    fb1  rfkill  tty17  tty41  tty9  vhost-net
    fd  rtc  tty18  tty42  ttyS0  video0
    full  rtc0  tty19  tty43  ttyS1  watchdog
    fuse  sda  tty2  tty44  ttyS2  watchdog0
    fw0  sda1  tty20  tty45  ttyS3  xconsole
    hpet  sda2  tty21  tty46  uinput  zero
    input  sda5  tty22  tty47  urandom
    kmsg  sg0  tty23  tty48  v4l
    lirc0  sg1  tty24  tty49  vcs
  4. arochester

    arochester Well-Known Member

    Messages:
    853
    Likes Received:
    273
    Trophy Points:
    63
    I don't know if this is significant but the com ports in linux start with ttyS0 (that's ends in zero) and go on from there, the next one would be ttyS1.

    Type "ls /dev/ttyS*" to see them. Just because there may be (for example) a ttyS3 file, doesn't necessarily mean that there exists a physical serial port there.
    Last edited: May 5, 2014
  5. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    It won't work I try:
    Code:
    sudo python
    import serial
    ser = serial.Serial('/dev/ttyS0', 96000)
    Then it gives me a error, I tried all the numbers from 0-3
  6. arochester

    arochester Well-Known Member

    Messages:
    853
    Likes Received:
    273
    Trophy Points:
    63
    You could try emailing the manufacturer or posting to their forum (which doesn't seem to have a lot on it.)
  7. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    430
    Trophy Points:
    83
    Is your board like the Arduino UNO? I connect to an Arduino Uno through /dev/ttyACM0 (can be ttyACM1 sometimes though). This is through a USB serial cable (Printer Cable).

    Also, have you tried using the Arduino IDE? Probably works with that board too.
  8. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    Did you happen to see the output of
    Code:
    cat /dev/
    But it is like the Arduino Uno
  9. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    430
    Trophy Points:
    83
    I did. When the Uno is attached to the system the file in /dev should be created. You may also be able to create the /dev/file with makedev.
  10. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    How do I use makedev?
  11. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    430
    Trophy Points:
    83
    Code:
    mknod /dev/ttyACM0 c 166 0
  12. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    430
    Trophy Points:
    83

Share This Page