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 2743 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?
  • vish
    0 vish over 11 years ago

    Hi bryan.edelman@enocean.com, you may be able to tell me what's happening?

    • 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
  • Former Member
    0 Former Member over 11 years ago

    Hey,

    the ESP3 uses 57600 baud for communication (see http://www.enocean.com/esp ).
    The eop 350 identify itself with 2 usb devices, one is the programmer itself, the other one is the serial to usb converter.

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

    Hi,

     

    The EOP350 is only a programmer board. So  you need to add a module of some kind. (TCM or STM). Assuming you are using a TCM300 you will need to load the ESP3 firmware on to the TCM300. This is called the GATEWAY CONTROLLER firmware and can be downloaded from the EnOcean website(Development Tools for Energy Harvesting Wireless Modules from EnOcean | EnOcean - Support). The default firmware on the TCM300 does not speak ESP3. Please see the TCM300 manual for details.

     

    Please use Dolphin Studio to Program the TCM300.

     

    -Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • vish
    0 vish over 11 years ago in reply to Former Member

    Hi Bryan,

    Thanks!!! image

    It I would probably test it over tonight and update the thread.

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

    Hi bryan.edelman@enocean.com

    Thanks alot. That worked.

    But now I have a doubt. In the firmware folder, I can see firmwares for different dBm values. Could you please tell me what is the difference between then and when I should use each?

     

    Thanks,

    vish

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ipv1
    0 ipv1 over 10 years ago in reply to Former Member

    Hi Brian

    Can you help here as wellEnOcean STM330 firmware woes

     

    Thanks

    Ip

    • 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