element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Forum EOP 350 - How to use as Gateway?
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 17 replies
  • Subscribers 7 subscribers
  • Views 2738 views
  • Users 0 members are here
  • forget_me_not
  • enocean
  • iot_home_intelligent
  • enocean_eop_350
  • forget-me-not-challenge-2014
Related

EOP 350 - How to use as Gateway?

vish
vish over 11 years ago

Hello All,

I'm trying to use EOP350 as a gateway to my PC. i changed the jumper setting to 'GATEWAY' and now I want to see the serial dump from EOP350 in PC. When I connect EOP350 to PC( running linux ), it shows two USB ports -- ttyUSB0 and ttyUSB1. In this USB0 is not at all responding. USB1 is responding, but i think I'm not sure about what is the correct baudrate to set. I tried everything from 9600, 19200 to 115200, but the response I'm getting is not the one I used to get with my EnOcean Pi( ESP protocol ). While setting to 57600bauds, i'm getting continuous streams of 0x00 with 0xE0 here and there. image I'm testing the response by pressing the rocker switch. I'm supposed to receive 21Bytes + 21Bytes( Press and Release ), but what I'm receiving is different

@9600 buads : 14Bytes + 14Bytes

@19200 buads : 24Bytes + 22Bytes

@57600 buads : 31Bytes + 30Bytes

I'm using 8N1 configuration for serial monitor( It worked perfectly with EnOcean Pi at 57600bauds ).

 

Can anybody please tell me what is the correct baud rate to set?

 

Thanks ahead,

vish

  • Sign in to reply
  • Cancel

Top Replies

  • vish
    vish over 11 years ago in reply to mcb1 +1
    Good point!! It's in moments like this I wish I really had an oscilloscope But I'm connecting it to my USB. Does the polarity will affect USB communication?
Parents
  • verrverr
    0 verrverr over 11 years ago

    I do not know if it can help but in my video i show how to use EOP 350 for sniff sensor packet.Pas Home / EOP 350 Basic use

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • vish
    0 vish over 11 years ago in reply to verrverr

    Yes I saw that, but that doesn't give any clue about the baudrate.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 11 years ago in reply to vish

    Not sure if it helps, but the Gateway they talk about in the manual is for the Transceivers, rather than a comm port to your PC.

     

    I had a look and it certainly didn't to how the programmer talks to the software.

     

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • mcb1
    0 mcb1 over 11 years ago in reply to vish

    Not sure if it helps, but the Gateway they talk about in the manual is for the Transceivers, rather than a comm port to your PC.

     

    I had a look and it certainly didn't to how the programmer talks to the software.

     

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • vish
    0 vish over 11 years ago in reply to mcb1

    But if I switch my jumpers to gateway, I'm able to get some hex dump in serial monitor while pressing rocker switch. So I guess it can act as gateway. Only thing I have to find is the baudrate.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 11 years ago in reply to vish

    You might also want to look and see that the data coming out is the correct polarity. (it may require inverting)

     

    It made some comment about it in the manual. (sorry don't have it avaliable at the moment)

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • vish
    0 vish over 11 years ago in reply to mcb1

    Good point!! It's in moments like this I wish I really had an oscilloscope image

    But I'm connecting it to my USB. Does the polarity will affect USB communication?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ravi_butani
    0 ravi_butani over 11 years ago in reply to vish

    Nop... polarity dont cause any damage to your setup ... but You will get junk data...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • vish
    0 vish over 11 years ago in reply to ravi_butani

    No..no...I'm not talking about damaging the setup.

    Even if the TCMxxx module speaks a different polarity, I'm using EOP connected via USB in my PC. And I assume in USB communication, EOP will take care of this.

    May be I'm wrong, but can't figure out why I'm wrong image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 11 years ago in reply to vish

    serial data is serial data, and is simply a sequence of 1's and 0's.

    However if the data sequence is inverted, you won't get the right representation

    eg Ascii A = Hex 41 which is 1000001 but if you invert the data 0111110 you get Hex 3E or >

    http://en.wikipedia.org/wiki/ASCII#ASCII_control_code_chart

     

    The USB connection simply changes the data stream and sticks it out the USB socket, so it will pass whatever.

     

    This doesn't explain the number of bytes you are seeing, but since the start and stop may also be inverted, it can't be guaranteed.

     

     

    You can use a logic analyser to see the data. This is a very cheap one using a Freescale KL25z

    http://mcuoneclipse.com/2013/02/03/turning-the-freedom-board-into-a-logic-analyzer/

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube