Go to advanced search

by lawfix
Tue Apr 14, 2015 9:55 pm
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Dear all !! I came back to you after some travels for business. Since this long time i find a way with this new code found on the internet Arduino Side #include <RF24.h> #include <RF24_config.h> #include <SPI.h> #include <OneWire.h> #include <DallasTemperature.h> OneWire oneWire(2); DallasTemperatur...
by lawfix
Fri Apr 03, 2015 8:58 am
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Hello,

This is my pin :

Raspberry ====> NRF24L01

3v3 ==> VCC
GND ===> GND
CE0 ===> CSN
SCLK ===> SCK
MISO ==> MISO
MOSI ==> MOSI
GPIO22 => CE

I don't need to do sudo command because i'm running my pi in root mode.

I think i just need to adapt the program to my wire, don't you ?
by lawfix
Thu Apr 02, 2015 9:24 pm
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Dear all, First i check is my SPI was on, and everything is ok. I install all the app that's you recommand : apt-get install python-dev apt-get install python3-dev apt-get install python-pip apt-get install python3-pip pip install spidev pip-3.2 install spidev So now, the error is different : root@r...
by lawfix
Wed Apr 01, 2015 9:12 pm
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Hello ! I try to follow your instruction, step by step and when i execute nRFReader that's the return : Traceback (most recent call last): File "nRF24Reader.py", line 172, in <module> radio.begin(0,17) File "/root/lib_nrf24.py", line 373, in begin self.spidev.open(0, csn_pin) IOError: [Errno 2] No s...
by lawfix
Tue Mar 31, 2015 9:18 pm
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Hello, I try to use your own library, but when i import them i have this error : root@raspberrypi:~/rf24libs# python test.py Traceback (most recent call last): File "test.py", line 12, in <module> radio = NRF24() TypeError: __init__() takes exactly 3 arguments (1 given) I try to open the library.py ...
by lawfix
Mon Mar 30, 2015 8:49 pm
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Thanks a lot, i'm looking on it right now
by lawfix
Mon Mar 30, 2015 11:23 am
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Dear Daniel, Thanks a lot for your multiple answer ! I couldn't answer before because i had to travel for work... Could you give me the code of your python program for the pi to read it with attention ? Tonight, i will try to use your RF24 lib for the pi. Thanks a lot for your answers and your patie...
by lawfix
Wed Mar 25, 2015 6:56 pm
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Dear Daniel, Of course i read your topic ! I think i will try to read again and reinstall one more time because i think it's just a little error. I'm using a PC to code the Arduino with the original software. I don't think the problem comes from the arduino because when i add some print function to ...
by lawfix
Wed Mar 25, 2015 10:14 am
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Thanks in advance for your return. Isn't too short two month ? I still have trouble with my code. I try to reinstall the RF24 library for the pi and now i have a strange error... When i try to launch my code ''python test.py'' for example, the error is " no module named RF24'' I don't understand why...
by lawfix
Mon Mar 23, 2015 7:54 pm
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Hello danjperron, Thanks for your example. I will try asap to transpose it to my raspberry with my DS sensor. For a lower consuption, i saw many sensors which use the narcotic library. Moreover, it depend the number of time you want to awake your arduino to take your temperature or something else. T...
by lawfix
Sun Mar 22, 2015 8:46 pm
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

Re: DS18b20 rx on pi

Dear all,

Thanks for your answer.

Why do you want to use the USB ? To connect arduino in RF24 and read the recever through USB ?

Thanks davef21370 but i need RF24 to connect more than one sensor and moreover sensors will be in different room !

Thanks for all for any help :)
by lawfix
Sun Mar 22, 2015 10:54 am
Forum: Python
Topic: DS18b20 rx on pi
Replies: 37
Views: 7543

DS18b20 rx on pi

Dear all, I'm creating a homestation for my house and i would like to create my own sensor. I use a DS18b20 on a arduino nano to transmit the temperature to the pi. Unless the code works for my arduino, i have more difficulties to receive the temperature from the arduino. My wires are correct becaus...
by lawfix
Wed Feb 25, 2015 10:55 am
Forum: Beginners
Topic: nrf24L01 Arduino & B+
Replies: 4
Views: 669

Re: nrf24L01 Arduino & B+

There is no relationship between this product and what i'm looking for...
by lawfix
Tue Feb 24, 2015 11:23 am
Forum: Beginners
Topic: nrf24L01 Arduino & B+
Replies: 4
Views: 669

Re: nrf24L01 Arduino & B+

Dear all,

Does someone have any idea ^^
by lawfix
Mon Feb 23, 2015 3:19 pm
Forum: Beginners
Topic: nrf24L01 Arduino & B+
Replies: 4
Views: 669

nrf24L01 Arduino & B+

Dear all, I post this topic because i have some difficulties to send a information from an arduino nano to my raspberry B+. I try to create a sensor with a ds18b20 connected to the arduino. Then, the aim is to send the temperature to the raspberry through the wireless nrf24L01. But, i install the li...
by lawfix
Thu Jan 15, 2015 11:04 pm
Forum: General discussion
Topic: Raspberry Pi Control Panel - A PHP Control Panel
Replies: 16
Views: 15111

Re: Raspberry Pi Control Panel - A PHP Control Panel

Thanks for this app !

It makes me discover Justgage.

I will try to install it asap !
by lawfix
Mon Jan 12, 2015 10:17 pm
Forum: Raspberry Pi OS
Topic: Raspbian lxde turn slowly
Replies: 3
Views: 714

Re: Raspbian lxde turn slowly

Thanks for your answer.

But i don't have think about it because it's brand new one... from element14 :\
by lawfix
Mon Jan 12, 2015 9:46 pm
Forum: Raspberry Pi OS
Topic: Raspbian lxde turn slowly
Replies: 3
Views: 714

Re: Raspbian lxde turn slowly

Hello everybody ! So i try to install another older raspbian version but it does'nt work anymore. I try many time apt-get update, upgrade, but my raspberry is ok for raspbian. Does someone could have an idea ? Is it possible that's the problem comes from my sd card ? Or do you think it's the raspber...
by lawfix
Sun Jan 11, 2015 11:10 pm
Forum: Raspberry Pi OS
Topic: Raspbian lxde turn slowly
Replies: 3
Views: 714

Raspbian lxde turn slowly

Hi there, I upgrade raspbian version of my raspberry, i choose the raspbian of december the 24th. But, when i start the lxde with the command "startx" my desktop run very slowly. For example, when you move the mouse, the cursor take 1 or 2s of delay to move. I try to overclock the raspberry, to chan...

Go to advanced search