element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi with EnOcean Pi and EnOcean USB 300
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 12 replies
  • Answers 11 answers
  • Subscribers 676 subscribers
  • Views 3868 views
  • Users 0 members are here
  • enocean-pi
  • enocean
  • raspberry_pi
  • raspberry pi
  • raspeberry_pi_accessories
  • raspberry pi 3
Related

Raspberry Pi with EnOcean Pi and EnOcean USB 300

electronics8263
electronics8263 over 8 years ago

Good afternoon,

 

I was wondering if anyone would kindly help me with an issue.

 

I bought an EnOcean USB 300 and an EnOcean Pi, to try and get either to work with a Raspberry Pi. I have been following the official instructions until it came to these commands for the USB 300 and EnOcean Pi respectively:

 

hexdump -C < /dev/ttyUSB0

hexdump -C < /dev/ttyAMA0

 

Once I enter these commands, there is no output or error messages. According to the linked document there should be numbers outputted. I have tried with two different Raspberry Pi 3s with fresh and up to date raspbian OS, plus a Raspberry Pi Zero, and every time there is no output or error message when I enter these commands. I have tried searching google and forums, and I could not find an answer. I tried the USB 300 in a windows PC, and it worked, so it is not broken hardware. I have not got as far as installing fhem server either, so that cannot be affecting anything. I have set the Baud to 57600 as well using

 

stty -F /dev/ttyUSB0 57600

 

Does anyone have any suggestions? I might be missing something simple! Or is the fact that there is no output unimportant?

 

Many thanks in advance

Henry

  • Sign in to reply
  • Cancel
  • clem57
    0 clem57 over 8 years ago

    What does the output from "lsusb" show? Are there other USB devices? Are they on a powered hub? If using the Raspberry Pi 3, there are addtional setps need to complete this install.

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • electronics8263
    0 electronics8263 over 8 years ago in reply to clem57

    Hi Clem,

     

    Thanks very much for the prompt response, it's really appreciated. image

     

    Below are lsusb outputs for the EnOcean USB 300, with and without the keyboard and mouse attached:

     

    pi@raspberrypi:~ $ lsusb

    Bus 001 Device 006: ID 046d:c077 Logitech, Inc.

    Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT 232 USB-Serial (UART) IC

    Bus 001 Device 004: ID 413c:2101 Dell Computer Corp. SmartCard Reader Keyboard

    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter

    Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    pi@raspberrypi:~ $ lsusb

    Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT 232 USB-Serial (UART) IC

    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter

    Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

     

    The keyboard and mouse and plugged directly into the Raspberry Pi 3, no powered hub.

     

    What are the additional steps Clem? I thought I followed the linked guide exactly, but I might have missed something obvious (I have some linux knowledge, but am new to the Raspberry Pi).

     

    As an aside, I SSH'd into the Pi 3 having removed the mouse and keyboard but hexdump -C < /dev/ttyUSB0 still did not output any numbers.

     

    Many thanks again

    Henry

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • clem57
    0 clem57 over 8 years ago in reply to electronics8263

    I see you have an attached fast ethernet on USB. Why? I am worried that the power of the USB is limited and I know from experience these take quite a bit. If you really need it, a power usb hub will be the answer.

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • shabaz
    0 shabaz over 8 years ago in reply to clem57

    Hi Clem!

     

    I believe it is already on the Pi, basically there is a USB port on the Pi's SoC, and it goes to some on-board combined Eth/USB hub, so that lsusb command is showing what is already on the Pi's PCB. (i.e. the Pi doesn't have a direct interface for connecting to Ethernet).

    I couldn't find a block diagram, so I drew this up a couple of months back, it may have errors since it is partly guesswork in the absence of schematics : ( but if anyone spots mistakes I will correct it). The LAN9514 chip on the right, and from it egresses the multiple USB ports and Ethernet.

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fvan
    0 fvan over 8 years ago

    Have a look at my post on setting up EnOceanPi on the Pi3, that should work: [Pi IoT] Alarm Clock #05: EnOcean Pi and Sensors

     

    It contains all info on setting up UART and EnOceanPi on a Raspberry Pi 3.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • electronics8263
    0 electronics8263 over 8 years ago in reply to shabaz

    Hi Clem and Shabaz,

     

    Thanks very much for your thoughts and the diagram. I SSH'd into the Pi via wifi (so no USB or ethernet attached), with the same result (no output on hexdump -C < /dev/ttyUSB0). Do either of you have any other ideas about why this might not be working? I'll give Frederick's post a go in any case.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fvan
    0 fvan over 8 years ago in reply to electronics8263

    Have you tried the same command, but with "sudo" ?

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • electronics8263
    0 electronics8263 over 8 years ago in reply to fvan

    Hi Frederick,

     

    No output with sudo either I'm afraid.

     

    When reading through you post though, I think I may have misunderstood what hexdump -C < /dev/ttyUSB0 or hexdump -C < /dev/ttyAMA0 are supposed to show. I thought the hexdump was showing the Pi gateway sending data, hence why I though I had done something wrong. Is it actually the Pi gateway listening for EnOcean nodes' signals, like sensors?

     

    Assuming the answer is yes, I feel very silly!! No wonder I had no outputs showing, I have not even bought any sensors yet, I was just trying to get a gateway working! I think my only defence is that the official instructions said that you should get outputs after typing this command, with no mention of turning on your sensors.

     

    Thanks again for your help guys. If any of your are in the Nottingham UK area, message me and I'll buy a you pint!

     

    Final noob question, would this:

    PTM 210 ENOCEAN, MODULE, SWITCH, RADIO TX, 868MHZ | Farnell element14

     

    work well as an introductory sensor?

     

    Thanks again

    Henry

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fvan
    0 fvan over 8 years ago in reply to electronics8263

    That is correct: the hexdump command will show the data received by the gateway, sent by the sensors. No sensors = no data.

     

    If you want to play with sensors, this kit contains a switch, a contact and temp sensor: SENSOR KIT-868 ENOCEAN, SENSOR KIT FOR RASPBERRY PI, 868MHZ | Farnell element14

    Just be sure to pick the correct frequency to match that of your gateway, otherwise no data either. image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • electronics8263
    0 electronics8263 over 8 years ago in reply to fvan

    That makes sense now, thank you so much Frederick. Once the new kit arrives today, I'll let you know how I got on, and mark the thread closed etc. image

     

    Thanks again

    Henry

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject 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