Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. raspberry pi
    Log in to post

    • nrf24_is_hard

      How to make sense of Struct data received from Arduino in RPi via NRF24?
      General Discussion • arduino raspberry pi rf24 • • nrf24_is_hard  

      2
      0
      Votes
      2
      Posts
      11
      Views

      OldSurferDude

      @nrf24_is_hard When I sent data between an Aduino and the RPi I discovered that I have to make the the receiving and the sending structs the same size AND the variables be on 4 byte boundaries. Change your char name[15] to char name[16] Another challenge is that the number of bytes of type int are different. If I remember correctly, Arduino Uno is 2 bytes and RPi is 4 bytes. To make matters worse, some compilers make the least significant byte the first byte of a word and others make it the last byte of a word. eg, sending the value 1 would be received as 16777216 (0x00000001 vs 0x01000000) There are a lot more gotcha's OSD
    • openhardware.io

      💬 Raspberry Pi Fan Breakout
      OpenHardware.io • raspberry pi raspberry gpio breakout board raspberry pi 3 fan breakout • • openhardware.io  

      1
      0
      Votes
      1
      Posts
      14
      Views

      No one has replied

    • jvdk

      Raspberry Pi Ethernet Gateway with local sensors
      Hardware • arduino raspberry pi ethernet gateway • • jvdk  

      5
      0
      Votes
      5
      Posts
      45
      Views

      zboblamont

      @jvdk I agree with the point made by @evb , why would you want to wire connect the ultrasonic node rather than the usual radio connection ? You are adding levels of complexity and power demands for what reason ? My ultrasonic water tank node (pro-mini+rfm69) is now 2 years on the same 2xAA batteries sending in levels every hour (RTC), the only problem encountered - condensation forming a drip on the face of the ultrasonic head during very low temperatures.
    • Jasper van Zuijlen

      Cross compile mysensors gateway
      General Discussion • gateway raspberry pi • • Jasper van Zuijlen  

      6
      0
      Votes
      6
      Posts
      84
      Views

      Jasper van Zuijlen

      As promised, what I found so far: the following dockerfile yeilds a usable cross-compile environment, provided you use it with a Makefile. FROM ubuntu:xenial RUN apt-get update \ && apt-get install --yes \ vim \ build-essential \ git RUN git clone https://github.com/raspberrypi/tools RUN git clone https://gist.github.com/3873805.git /build WORKDIR "/build" CMD ["/usr/bin/make", "CC=/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc" , "HelloWorld"] # Seems I need a real makefile for the above to work. For cross compiling mysensors to work, hoever, you also need to properly seed the variable in configure, for it to work correctly. This is where I left off. Sources: https://stackoverflow.com/questions/18007326/how-to-change-default-values-of-variables-like-cc-in-makefile https://bitbucket.org/mitchallen/pi-hello-cross-compile/src/master/ https://desertbot.io/blog/how-to-cross-compile-for-raspberry-pi https://github.com/mitchallen/pi-cross-compile/blob/master/Dockerfile https://github.com/mysensors/MySensors/blob/development/configure https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin https://www.raspberrypi.org/documentation/linux/kernel/building.md https://www.mysensors.org/build/raspberry
    • jocke4u

      Parallel Gateways
      General Discussion • arduino gateway raspberry pi • • jocke4u  

      10
      0
      Votes
      10
      Posts
      50
      Views

      skywatch

      @jocke4u I run 2 RF gateways and it's not a problem. When you 'migrate' a node to a new gateway make sure to run the mysensors clear eeprom sketch first to get rid of the old routing table or you might have issues.
    • Hubertas

      looking for a UPS for raspberry pi 4
      General Discussion • raspberry pi server ups • • Hubertas  

      6
      0
      Votes
      6
      Posts
      686
      Views

      jlaraujo

      Hi, you can try these power supplies: https://www.aliexpress.com/store/group/UPS-Charge-Function-switch-power-supply/1242857_501520362.html?spm=a2g0o.detail.100008.25.56f87402HSB2Og The are for 12V, but also support an external battery. I have two that work very well.
    • openhardware.io

      💬 Hmi4DinBox
      OpenHardware.io • arduino raspberry pi i2c hmi din enclosure nano pi • • openhardware.io  

      1
      0
      Votes
      1
      Posts
      450
      Views

      No one has replied

    • openhardware.io

      💬 Temperature-Humidity-Pressure Sensor
      OpenHardware.io • arduino temperature esp8266 sensor humidity raspberry pi esp32 pressure • • openhardware.io  

      6
      0
      Votes
      6
      Posts
      1182
      Views

      tiana

      Advantage of this sensor is fast and easy installing by the non qualified personal. The sensor is designed for large agriculture facility with many greenhouses where is needed to be controlled temperature and humidity, the atmospheric pressure is for control the motor of air inlet and outlet. With help of the sensor installed outside the greenhouse provide information about positive/negative pressure inside the greenhouse. Finlay the software read accurate temp/humid value of the Si7021, and only atmospheric pressure of BMP180, the temperature sensor inside the BMP180 is used only by the sensor itself to provide accurate atmospheric pressure measurements. The sensor can be used also for home automation, and drone applications where is needed correction of the UAV barometric sensor compared to the ground barometric sensor, also humidity measurement can help the pilot to calculate more accurate flying time.
    • openhardware.io

      💬 UtiliPi
      OpenHardware.io • raspberry pi i2c gpio adc spi • • openhardware.io  

      1
      0
      Votes
      1
      Posts
      654
      Views

      No one has replied

    • Matteo Benci

      PIR sensor or kinda?
      Hardware • raspberry pi pir motion sensor • • Matteo Benci  

      5
      0
      Votes
      5
      Posts
      1263
      Views

      gohan

      if you find a way to make it work, pls share the project
    • openhardware.io

      💬 RFM69 Raspberry PI Zero(W) Shield(HAT)
      OpenHardware.io • mysensors rfm69 raspberry pi • • openhardware.io  

      15
      0
      Votes
      15
      Posts
      4068
      Views

      gohan

      @neverdie that's quite some money...
    • hek

      💬 Dollhouse
      Announcements • mysensors nrf24l01+ raspberry pi maker faire • • hek  

      2
      0
      Votes
      2
      Posts
      1157
      Views

      dakipro

      Awesome project, I wish I made something like this. (I actually wanted to make something like this when I was in school) Very clean and nice presentation and realization, with a lot of attention to details. All is very realistic, I can imagine that it took quite some time making it. Thanks for sharing the details!
    • bobbybobbybobby

      Problem with mysensor library on Arduino IDE Running on Raspi
      Troubleshooting • raspberry pi arduino nano library • • bobbybobbybobby  

      11
      0
      Votes
      11
      Posts
      3995
      Views

      bobbybobbybobby

      @bobbybobbybobby @pansen and @tbowmo fimaly i got arduino ide running on my rpi!!! i was trying this for about a weeks now. thanks for the support.
    • Ivan Z

      TCP service for Raspberry Pi NRF24l01 direct connection
      Hardware • nrf24l01 raspberry pi • • Ivan Z  

      3
      2
      Votes
      3
      Posts
      2153
      Views

      jbjalling

      Firmware upload doesn't seem to work BR Jonas
    • mfalkvidd

      Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)
      Hardware • gateway raspberry pi raspberry nrf24 raspberry nrf24l01 gpio • • mfalkvidd  

      168
      14
      Votes
      168
      Posts
      174961
      Views

      mfalkvidd

      @ricorico94 welcome to the MySensors commu ity! All you need to do when switching from raspberry pi gateway to ethernet gateway is change the "hardware" configuration in Domoticz. However, if you are just starting out, don't use this gateway. It works for MySensors 1.x only. Use the new raspberry pi gateway instead.
    • Michele Rappazzo

      PiGatewaySerial doesn't write to virtual serial device /dev/ttyMySensorsGateway
      Troubleshooting • raspberry pi serial pigatewayserial tty • • Michele Rappazzo  

      5
      0
      Votes
      5
      Posts
      2602
      Views

      Michele Rappazzo

      I added the capacitor, but there's always the same problem
    • Tango2

      Sending serial commands to sensors
      Controllers • arduino openhab raspberry pi serial • • Tango2  

      9
      0
      Votes
      9
      Posts
      5273
      Views

      Tango2

      @Chester good point, but I was restarting the arduino and still couldn't get this to work correctly. Also, the missing "end" was just missed out of the paste here, it was in my code.
    • kunall

      MQTT gateway freezes on reboot/powering off and back on.
      Troubleshooting • arduino gateway mqtt raspberry pi uno • • kunall  

      2
      0
      Votes
      2
      Posts
      1552
      Views

      hek

      I think the something about order of initialisation was changed that fixed this problem. Try 1.4.1
    • kunall

      Raspberry Pi2 + MQTT Gateway in one box!
      My Project • gateway mqtt raspberry pi • • kunall  

      12
      4
      Votes
      12
      Posts
      7120
      Views

      andriej

      @kunall the best recommendation against openhab for me was ugly interface and problems with running it (java). I was using domoticz since early version with own interface on arduino,now I've switched everything for MySensors. It still lacks some functions but Inwait for further development as even programmers of domoticz start to use MyS hardware
    • Vladut Grecu

      [Tutorial] Raspberry Pi NRF24l01 direct connection
      Controllers • nrf24l01 raspberry pi • • Vladut Grecu  

      56
      4
      Votes
      56
      Posts
      85847
      Views

      hek

      @Fat-Fly MySensors is now natively supported to run on Raspberry. See here for instruction on how to build: https://www.mysensors.org/build/raspberry
    • kunall

      Need help with Turning a LED On/Off with OpenHab and MQTT.
      Troubleshooting • arduino mqtt raspberry pi rpi gateway • • kunall  

      5
      0
      Votes
      5
      Posts
      8767
      Views

      Fay Candiliari

      Hey there @Chaotic ! This is Fay from codebender.cc Thank you for using codebender! I just wanted to let you know that one of the sketches you are using in this comment has been deleted and so it is not available for users to view it. Let me know if you have any question.
    • catcher

      Raspberry PI + MQTT (Mosquitto) + Serial Gateway
      General Discussion • mqtt raspberry pi serialgateway serial protocol • • catcher  

      16
      0
      Votes
      16
      Posts
      17462
      Views

      gvorster

      @catcher Thanks, I tried this Perl script and it is working out of the box with OpenHAB2! And I'm sending with MySensors 2.
    • mainali

      Anyone Using Rpi as MQTT gateway ?
      Controllers • gateway raspberry pi mqtt openhab mqtt broker gat • • mainali  

      1
      0
      Votes
      1
      Posts
      1344
      Views

      No one has replied