MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. psk
    3. Best
    • Profile
    • Following 1
    • Followers 0
    • Topics 1
    • Posts 13
    • Best 4
    • Controversial 0
    • Groups 0

    Best posts made by psk

    • RE: MMM-Temperature/Humidity Module (DHT11, DHT22 and AM2302 sensors.)

      @Bangee According to bcm2835 v1.50-

      "Running as root
      Prior to the release of Raspbian Jessie in Feb 2016, access to any peripheral device via /dev/mem on the RPi required the process to run as root. Raspbian Jessie permits non-root users to access the GPIO peripheral (only) via /dev/gpiomem, and this library supports that limited mode of operation.

      If the library runs with effective UID of 0 (ie root), then bcm2835_init() will attempt to open /dev/mem, and, if successful, it will permit use of all peripherals and library functions.

      If the library runs with any other effective UID (ie not root), then bcm2835_init() will attempt to open /dev/gpiomem, and, if successful, will only permit GPIO operations. In particular, bcm2835_spi_begin() and bcm2835_i2c_begin() will return false and all other non-gpio operations may fail silently or crash."

      So i guess we have run with sudo until some other library comes up 😃

      PS: I should!! Its too hot in here… 😃 😃

      @cowboysdude Thanks! Cheers 😃

      posted in Utilities
      psk
      psk
    • RE: MagicMirror is voted number 1 in the MagPi Top 50!

      Awsome!!
      @MichMich Great initiative!!

      Good news for the community!
      Cheers People. \m/

      posted in Announcements
      psk
      psk
    • RE: Introduce yourself!

      Hey guys! greetings from India.
      My name is Prasanth, and I’m 24. Used to be a software engineer. Recently, I got a knee injury while playing football,
      had to undergo surgery and I’ll on bed rest till January.

      So hat’s how I came across magic mirror. Oh! the forum!! this is brimming with creativity. so good to be part of it.
      I’m new to pi and nodejs and I’ve been following this for 3 weeks now, and the support seems to be amazing. \m/

      My raspberry pi is on the way :D. Hopefully I will get to setup one for myself. and some day may be contribute to the community.

      I’ve seen some voice recognition modules here. so thought of making one myself using IBM’s watson speech to text API.
      I’m still working on it. you can find it here.

      see you around guys. Cheers.

      posted in General Discussion
      psk
      psk
    • RE: MMM-Temperature/Humidity Module (DHT11, DHT22 and AM2302 sensors.)

      @cowboysdude DHT11 - This is the sensor that I am using.

      It has three pins -
      +ve - Connected to 5v
      -ve - Ground
      Data - Connected to pin 2

      0_1475147721302_Screenshot_20160929-130338.png

      @Bangee Now, I am running as sudo npm start. Without sudo, it will throw an exception that says it cannot open dev/mem

      0_1475147793966_permission.png

      This is the module screenshot.0_1475147819902_temp.png

      posted in Utilities
      psk
      psk
    • 1 / 1