@gohan I changed my getaway to an old good rpi model b, and the temperature node started to work, so I think that the problem was on de getaway wiring or in the getaway code itsef. Thanks
Posts made by dantefff
-
RE: 💬 Temperature Sensor
-
RE: 💬 Temperature Sensor
@gohan , I'm in the same situation as @Vincent-Lgrd. I'm powering my arduino UNO from usb (to test). Is that a possible problem?
-
RE: Odroid c1 as getaway?
@pansen I have no oscilloscope near... Lets talk about it with Odroid community and hope someone could help me
-
RE: Odroid c1 as getaway?
@pansen, @marceloaqno Led seems not to work in pin 100 so I changed to 115. In 115 led is lighted, but when I connect the RF24 I get the same error.
By the way, SPI pins (MOSI, MISO and SCLK) do not light any led, is this ok? -
RE: Odroid c1 as getaway?
Ok. It was as I expected. The pin numbers are right (export number is the one I need to use). I'll try the led in a feew minutes, but I have tested to get the value of that pins and it seems they are the correct ones. Maybe the error was to not especify pullup or pulldown value on the exported pins
-
RE: Odroid c1 as getaway?
But 100 and 101 are export numbers. Does Mysensors use WiringPi numbers or Export numbers?
-
RE: Odroid c1 as getaway?
@pansen Sure! What should I connect? If I connect leds to the spi pins should they blink? And what about the cs and ce pins?
-
RE: Odroid c1 as getaway?
@marceloaqno As expected, once receibed my nrf24, this does not work
Any options to debug this in an easy way?
The nrf24 is working in a rpi1 so nrf24 is ok. -
RE: Mysensors Gateway on OrangePi (Zero) (opi)
Hi to all, I don't know if this is the right thread, but I'm trying to use an odroid c1 as a gateway. I'm posting here because I think you all could help me.
The original thread I have done is this one
https://forum.mysensors.org/topic/6083/odroid-c1-as-getaway
Feel free to go over there and give me advises. -
RE: Odroid c1 as getaway?
@marceloaqno , as you are who made the orange pi how-to, and the code adaptation for spidev, maybe you can tell me if I'm on the right way
-
RE: Odroid c1 as getaway?
OK. I'm making small progress. Nothing amazing but I have not yet my nrf24. I'm using as base the orange pi zero getaway howto.
As I can see spidev is now supported in mysensors so i did this untill now.- Installed Odrobian Jessie (Vanilla) from here: http://oph.mdrjr.net/odrobian/images/s805/
- Loaded modules to work with spidev:
$ modprobe spicc $ modprobe spidev
- Installed gpio-admin to allow plain users to work with gpios from here: https://github.com/quick2wire/quick2wire-gpio-admin
- Exported two pins (now 100 and 101, but I don't know if they are ok or if I need to use another ones) with
# gpio-admin export 100 # gpio-admin export 101
- Configure Mysensors to use spidev and gpios 100 and 101 with
# ./configure --spi-spidev-device=/dev/spidev0.0 \ --my-transport=nrf24 --my-rf24-ce-pin=100 --my-rf24-cs-pin=101
- Build Mysensors with make and test that the communication fails with the nrf24 module (obbious, there is no nrf24 module )
# make # sudo ./bin/mysgw -d mysgw: Starting gateway... mysgw: Protocol version - 2.2.0-beta mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.2.0-beta mysgw: TSM:INIT mysgw: TSF:WUR:MS=0 mysgw: !TSM:INIT:TSP FAIL mysgw: TSM:FAIL:CNT=1 mysgw: TSM:FAIL:PDT
And that's all until my module arrives
-
Odroid c1 as getaway?
I'm asking myself if it would be possible to use an odroid c1 (I have a spare one) as a getaway with direct connection to a NRF24L01+ (like raspberry or orange do)
I think odroid c1 is quite compatible with raspberry gpios (wirepi works in it for example). I'm not expecting to work without modifications, but maybe someone has tried it yet and could save me some time.
Have anyone tested it? Any advise to take in mind?