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
Open Source Hardware
  • Technologies
  • More
Open Source Hardware
Forum Sense Hat Detection?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Open Source Hardware to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 3 replies
  • Answers 1 answer
  • Subscribers 314 subscribers
  • Views 1414 views
  • Users 0 members are here
Related

Sense Hat Detection?

davidmoss1701@gmail.com
davidmoss1701@gmail.com over 9 years ago

I posted a question yesterday about a SenseHat error message that Python couldn't detect the device;

 

Python 3.4.2 (default, Oct 19 2014, 13:31:11)

[GCC 4.9.1] on linux

Type "copyright", "credits" or "license()" for more information.

>>> from sense_hat import SenseHat

>>> sense = SenseHat()

Traceback (most recent call last):

  File "<pyshell#1>", line 1, in <module>

    sense = SenseHat()

  File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 36, in __init__

    raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)

OSError: Cannot detect RPi-Sense FB device

>>>

 

I have since done some research, and if I do a i2cdetect 1 command, I get in response 1c, 46,6a, 5c,and 5f!  Is this what I should see?  I am ready to return the device for another one if I can't sem to get this one to work, so any help would be greatly appreciated!

Thanks

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Please anyone? I have the same problem....

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

    Those are the correct i2c addresses for the sensors. 0x46 should have shown up as UU (that's the bus master)

     

    Have you tried to make sure all updates are installed?

     

    Have you tried this thread: https://www.reddit.com/r/raspberry_pi/comments/3yg0rz/sense_hat_and_jessie/

     

    There are many threads online about the Sense Hat. I've got an entire class of students using them successfully. I followed the directions at: https://www.raspberrypi.org/documentation/hardware/sense-hat/

    and created a micro SD image for the students. Worked first time, every time.

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

    I have the same problem. Trying everything on Pi2 and Pizero

     

    Python 2.7.9 (default, Sep 17 2016, 20:26:04)

    [GCC 4.9.2] on linux2

    Type "copyright", "credits" or "license()" for more information.

    >>> from sense_hat import SenseHat

    >>> sense = SenseHat()

     

     

    Traceback (most recent call last):

      File "<pyshell#1>", line 1, in <module>

        sense = SenseHat()

      File "/usr/lib/python2.7/dist-packages/sense_hat/sense_hat.py", line 39, in __init__

        raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)

    OSError: Cannot detect RPi-Sense FB device

    >>>

    • 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