Post by boyandimov on Sept 26, 2017 7:37:11 GMT
I've been trying a lot to make my project using Raspberry Pi3 connected with Arduino UNO + RFM69, but unfortunately didn't have a success.
Then I decided to change a little bit my project and wanted to remove other boards like Arduino and leave only Raspberry Pi3.
Finally, after a few days I got a success connecting almost all of my sensors to Raspberry Pi3 and manage them via Cayenne system.
A little bit more of Cayenne:
It's a free system, which everyone can install on Raspberry Pi/Arduino to manage it and make something even better.
Of course I'm still not using RFM69 or something else for remotely connecting the sensors, but for beginners like me it's better to start first with "cables" and after that go in harder things.
I've started with my Temperature sensors first.
I used DHT11 sensors for my project while I was trying them with RPI3 <-> Arduino UNO <-> RFM69.
Of course I successfully added them in Cayenne and they worked pretty good with this system.
The problem was that they are not so good as a sensors and after a little search in Google I found that DS18B20(Temperature sensor) is better and the good thing - it's programmed in Cayenne, so you don't have to do anything else.
You have to establish the connection simply with:
1. Connected GND of the DS18B20 to GND of Raspberry Pi3 - in my case I used GPIO pin 6 which is GND.
2. Connected DATA of the DS18B20 to the GPIO pin 4(physically pin 7). I used GPIO pin 4, because it's good for this "one-wire" connection and Cayenne will automatically find my DS18B20 temperature sensor.
3. Connected VCC of the DS18B20 to the 3.3V GPIO pin 1.
Of course between DATA and VCC I'm using 4.7K Resistor.
Here is an example of the connection:
The good thing is that you can connect as many DS18B20 Temperature sensors as you want using the same connection.
Like connection described in the example below:
In my case I've got two sensors for now and successfully connected them.
This is my Cayenne management:
And my connection:
Then I decided to change a little bit my project and wanted to remove other boards like Arduino and leave only Raspberry Pi3.
Finally, after a few days I got a success connecting almost all of my sensors to Raspberry Pi3 and manage them via Cayenne system.
A little bit more of Cayenne:
It's a free system, which everyone can install on Raspberry Pi/Arduino to manage it and make something even better.
Of course I'm still not using RFM69 or something else for remotely connecting the sensors, but for beginners like me it's better to start first with "cables" and after that go in harder things.
I've started with my Temperature sensors first.
I used DHT11 sensors for my project while I was trying them with RPI3 <-> Arduino UNO <-> RFM69.
Of course I successfully added them in Cayenne and they worked pretty good with this system.
The problem was that they are not so good as a sensors and after a little search in Google I found that DS18B20(Temperature sensor) is better and the good thing - it's programmed in Cayenne, so you don't have to do anything else.
You have to establish the connection simply with:
1. Connected GND of the DS18B20 to GND of Raspberry Pi3 - in my case I used GPIO pin 6 which is GND.
2. Connected DATA of the DS18B20 to the GPIO pin 4(physically pin 7). I used GPIO pin 4, because it's good for this "one-wire" connection and Cayenne will automatically find my DS18B20 temperature sensor.
3. Connected VCC of the DS18B20 to the 3.3V GPIO pin 1.
Of course between DATA and VCC I'm using 4.7K Resistor.
Here is an example of the connection:
The good thing is that you can connect as many DS18B20 Temperature sensors as you want using the same connection.
Like connection described in the example below:
In my case I've got two sensors for now and successfully connected them.
This is my Cayenne management:
And my connection: