Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
TriXwooDT

TriXwooD

@TriXwooD
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store
About
Posts
16
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Double SPI Radio Raspberry Pi
    TriXwooDT TriXwooD

    @TriXwooD Update:

    Two radio's (or alternative pins for one radio :-))
    for the nrf24l01

    For Raspberry Pi with 40 pins header (pi zero, pi 3,..)

    Note on post above: I tried spi1.0 instead of spi0.0 and spi0.1 and it works... (cs lines not interfering?)
    Still not sure why did spi0.0 and spi0.1 not work... what did I wrong there? It should be possible to share the mosi/miso/sclk/gnd/3.3v pins... (maybe it is the cs? or ce?... anyway)

    This probably means rfm69 wired correctly and a nrf24l01 will work both at the same time on a pi ;-)

    Can I compile one gateway with both rfm69 and rf24 enabled at the same time, thus not running two gateways?

    For now two gateways running on a pi zero (pi3 with bluetooth not yet tested)

    Step Zero
    Enable spi1 in /boot/config.txt

    sudo nano /boot/config.txt
    
    dtparam=spi=on
    dtoverlay=spi1-1cs,cs0_pin=36
    

    First Radio Pin
    Same as Building a Raspberry Pi Gateway page (with irq pin 15!)

    First Radio Configure
    With irq pin 15!

    cd MySensors
    

    Configuring...

    ./configure --my-transport=nrf24 --my-rf24-irq-pin=15 --spi-spidev-device=/dev/spidev0.0 --spi-driver=SPIDEV --my-port=5003
    make
    

    Running...

    cd bin 
    sudo ./mysgw -d
    

    Second Radio Pin

    0_1505780471573_Screen Shot 2017-09-19 at 02.20.38.png

    pin 01 3.3v
    pin 33 for irq
    pin 35 miso
    pin 36 cs
    pin 37 ce
    pin 38 mosi
    pin 39 gnd
    pin 40 sclk

    Second Radio Configure
    (in another terminal)

    A copy of the source

    cp -r MySensors MySensorsSecond
    cd MySensorsSecond
    

    Configuring...
    Note the port is 5004 instead of 5003, you can not run two gateways on the same port

    ./configure --my-transport=nrf24 --my-rf24-irq-pin=33 --my-rf24-ce-pin=37 --my-rf24-cs-pin=36 --spi-spidev-device=/dev/spidev1.0 --spi-driver=SPIDEV --my-port=5004
    make
    

    Running...

    cd bin 
    sudo ./mysgw -d
    

    it works... Fin!

    currently running openmilight on radio 1 and mysensors on radio 2 ;-)

    Hardware

  • 💬 MySensors Gateway for Raspberry PI
    TriXwooDT TriXwooD

    I tried two radios and 2 instances of mysensor gateway running from separate directories... not really succesfull... on spi0 (spi0.0 and spi0.1) using the select line.

    going to try spi0 and spi1 next...

    https://forum.mysensors.org/topic/7702/double-spi-radio-raspberry-pi

    OpenHardware.io raspberry mysensors gateway

  • itho, duco, orcon, zehnder or storkair perilex ventilation controller!
    TriXwooDT TriXwooD

    3 level ventilation control with power on/off.

    I put it all on a github page!

    https://github.com/tristan79/Vento

    Hardware
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular