Go to advanced search

by Antivirusvivente
Sun Nov 10, 2013 5:10 pm
Forum: Italiano
Topic: [GUIDA] Installare Sopcast e riprodurne il flusso su Pi
Replies: 1
Views: 2240

[GUIDA] Installare Sopcast e riprodurne il flusso su Pi

Ok ragazzi, personalmente ero molto interessato a questa cosa, perché uso spesso Sopcast. Probabilmente molti altri come me si saranno posti lo stesso interrogativo, ovvero è possibile riprodurre il flusso senza disporre di due o più dispositivi? La risposta è si. Ho trovato questa guida nella sezio...
by Antivirusvivente
Sun Nov 10, 2013 4:52 pm
Forum: Español
Topic: Raspberry Pi + Sopcast (Solucionado)
Replies: 155
Views: 67835

Re: Raspberry Pi + Sopcast (Solucionado)

Hello guys, sorry but i don't speak Espanol.. I was wondering.. is there a way to play sopcast stream with Raspbian? I can't install XBMC's distros because i need to use my Pi for my home automation project. Any suggestion will be appreciated You don't really need XBMC, just the sp-sc-auth service ...
by Antivirusvivente
Sun Nov 10, 2013 1:55 pm
Forum: Español
Topic: Raspberry Pi + Sopcast (Solucionado)
Replies: 155
Views: 67835

Re: Raspberry Pi + Sopcast (Solucionado)

Hello guys, sorry but i don't speak Espanol..

I was wondering.. is there a way to play sopcast stream with Raspbian? I can't install XBMC's distros because i need to use my Pi for my home automation project.

Any suggestion will be appreciated
by Antivirusvivente
Fri Sep 20, 2013 9:00 pm
Forum: Python
Topic: Stuck with C/C++ library and my project is Python
Replies: 11
Views: 6601

Re: Stuck with C/C++ library and my project is Python

Hard to know what happened-- it may depend on how you've compiled it. A quick look at the repository has a link to a blog that explains how to install the library on your Pi. If you follow all the way through the make install, you can load the library from that directory. If you stop at make, you'l...
by Antivirusvivente
Fri Sep 20, 2013 6:44 pm
Forum: Python
Topic: Stuck with C/C++ library and my project is Python
Replies: 11
Views: 6601

Re: Stuck with C/C++ library and my project is Python

Ok guys, i'm trying with ctypes functions.. i've built my own shared library, which is RF24 library.. but it doesn't work [email protected] ~ $ sudo python prova.py Traceback (most recent call last): File "prova.py", line 3, in <module> testlib = ctypes.cdll.LoadLibrary("/home/pi/gitwork/RF24/librf24-rpi/...
by Antivirusvivente
Thu Sep 19, 2013 2:26 pm
Forum: Python
Topic: Stuck with C/C++ library and my project is Python
Replies: 11
Views: 6601

Re: Stuck with C/C++ library and my project is Python

Read up on the ctypes module in the standard library--it will let you use your C/C++ libraries within Python. An example: import ctypes libc=ctypes.cdll.LoadLibrary("libc.so.6") message=ctypes.create_string_buffer(b"Hello, World!!") libc.printf(message) But is it possible to use external libraries?
by Antivirusvivente
Thu Sep 19, 2013 1:14 pm
Forum: Python
Topic: Stuck with C/C++ library and my project is Python
Replies: 11
Views: 6601

Stuck with C/C++ library and my project is Python

Hello everyone, after a full day of attemps I got my nRF24L01+ completely work between my Arduino and my Raspberry Pi. They exchange messages pretty well, but now there's a big problem. I'm not a GURU in C/C++ and my house automation project is fully written in Python and it includes a lot of librar...
by Antivirusvivente
Wed Sep 18, 2013 9:30 pm
Forum: HATs and other add-ons
Topic: NRF24L01 RF Transceiver
Replies: 252
Views: 139106

Re: NRF24L01 RF Transceiver

Hello guys, i'm having some troubles using this code: http://arduino-for-beginners.blogspot.it/2013/02/setup-nordic-nrf24l01-rf-modules-to.html adapted with this one: http://conoroneill.net/arduino-and-raspberry-pi-communicating-over-2-4ghz-with-cheap-nrf24l01-modules/ And using this one into the Pi...
by Antivirusvivente
Wed Sep 18, 2013 1:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problem using SPI and RF24 library
Replies: 7
Views: 3089

Re: Problem using SPI and RF24 library

Solved changing version with hard float version. Now the problem is another one.. Arduino sends data but the Pi doesn't receive it. I followed this configuration: http://arduino-for-beginners.blogspot.it/2013/02/setup-nordic-nrf24l01-rf-modules-to.html It seems that it doesn't receive data pretty we...
by Antivirusvivente
Wed Sep 18, 2013 12:27 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problem using SPI and RF24 library
Replies: 7
Views: 3089

Re: Problem using SPI and RF24 library

That may be the result of some previous steps. Are you compiling on a soft float machine? Are you compiling for a soft float machine. Your original scripts seemed to be cross-compiling for a hard float architecture. I never met this kind of problem, because i never used my Raspberry for C libraries...
by Antivirusvivente
Wed Sep 18, 2013 12:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problem using SPI and RF24 library
Replies: 7
Views: 3089

Re: Problem using SPI and RF24 library

Did you recompile? g++ -Wall -fPIC -Ofast -c RF24.cpp gcc -Wall -fPIC -Ofast -c bcm2835.c I did the command that you have written to me, and then i do Sudo makefile but i still have these errors: [email protected] ~/gitwork/RF24/librf24-rpi/librf24-bcm $ g++ -Wall -fPIC -Ofast -c RF24.cpp [email protected]...
by Antivirusvivente
Wed Sep 18, 2013 11:36 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problem using SPI and RF24 library
Replies: 7
Views: 3089

Re: Problem using SPI and RF24 library

Same error.. [email protected] ~/gitwork/RF24/librf24-rpi/librf24-bcm $ sudo make g++ -shared -Wl,-soname,librf24-bcm.so.1 -Ofast -o librf24-bcm.so.1.0 RF24.o bcm2835.o /usr/bin/ld: error: RF24.o uses VFP register arguments, librf24-bcm.so.1.0 does not /usr/bin/ld: failed to merge target specific data ...
by Antivirusvivente
Wed Sep 18, 2013 11:26 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Problem using SPI and RF24 library
Replies: 7
Views: 3089

Problem using SPI and RF24 library

Ok guys, i'm trying to connect two master-slave devices to each other, so i bought these 2.4GHz modules and i connected them pretty well to both Arduino and Raspberry Pi.. Here's the topic: http://conoroneill.net/arduino-and-raspberry-pi-communicating-over-2-4ghz-with-cheap-nrf24l01-modules/ I've in...
by Antivirusvivente
Sat Aug 17, 2013 11:29 am
Forum: Automation, sensing and robotics
Topic: ArduinoCommand - Raspberry PI --> Arduino
Replies: 24
Views: 19787

Re: ArduinoCommand - Raspberry PI --> Arduino

Hello guys, sorry for re-up I was wondering if this solution is good to do the job: http://www.ebay.com/itm/1pcs-433Mhz-RF-transmitter-and-receiver-kit-for-Arduino-project-/261041100836?pt=LH_DefaultDomain_0&hash=item3cc7431824#shId And I need a place to buy a cheaper Arduino (a StandAlone version c...
by Antivirusvivente
Sat Jun 22, 2013 9:09 am
Forum: General discussion
Topic: Wireless communication
Replies: 4
Views: 965

Re: Wireless communication

I think you know the answer to your own question, there lots of pages out there documenting home automation solutions with varying degrees of home made contribution to the domestic turnkey all the way up to industrial turnkey solutions. So to answer your question it can be done over wireless. Ardui...
by Antivirusvivente
Sat Jun 22, 2013 8:24 am
Forum: General discussion
Topic: Wireless communication
Replies: 4
Views: 965

Re: Wireless communication

No one can help?
by Antivirusvivente
Fri Jun 21, 2013 3:00 pm
Forum: Italiano
Topic: Etilometro con Raspberry PI
Replies: 8
Views: 1513

Re: Etilometro con Raspberry PI

Certo, o integri il tutto in un unico script in python con i threads, oppure li avvii contemporaneamente al boot di Raspbian.

Ovvio che se i due programmi sono correlati conviene implementare il multithreading e gestire i threads in modo asincrono
by Antivirusvivente
Fri Jun 21, 2013 1:14 pm
Forum: Italiano
Topic: Bus I2C RaspPi rev2 problema
Replies: 12
Views: 2269

Re: Bus I2C RaspPi rev2 problema

Slayer93it wrote:Tornando in topic, come mai i due lm75b vanno in conflitto?
Metti i due sensori, uno 111 e l'altro 000 e prova a vedere se in i2cdetect esce qualcosa
by Antivirusvivente
Fri Jun 21, 2013 1:00 pm
Forum: Italiano
Topic: Bus I2C RaspPi rev2 problema
Replies: 12
Views: 2269

Re: Bus I2C RaspPi rev2 problema

ciao, Di solito non si mettono direttamente sotto tensione, ma si mette una resistenza di pull-up da 10K per evitare che il valore sia floating. State attenti perché così potete danneggiare l'MCP ottimo, grazie per il consiglio .-) PS, ci sono tanti controller di tipo i2c per gestire i relay, perch...
by Antivirusvivente
Fri Jun 21, 2013 12:39 pm
Forum: Italiano
Topic: Etilometro con Raspberry PI
Replies: 8
Views: 1513

Re: Etilometro con Raspberry PI

Devi assolutamente scrivere un programma in python o in C, altrimenti con il bash impazziresti solo
by Antivirusvivente
Fri Jun 21, 2013 11:59 am
Forum: Italiano
Topic: Etilometro con Raspberry PI
Replies: 8
Views: 1513

Re: Etilometro con Raspberry PI

C'è un sensore che si chiama MQ-3 e che è utilizzato anche su Arduino. Per quanto riguarda raspberry non puoi leggere dati se non in forma digitale, e questo sensore è di tipo analogico Ti rimando qui per poter adattare il progetto: http://forum.arduino.cc/index.php?topic=66669.0 Ma quindi devo usa...
by Antivirusvivente
Fri Jun 21, 2013 11:58 am
Forum: General discussion
Topic: Wireless communication
Replies: 4
Views: 965

Wireless communication

Hi guys, i need help with my home-made domotic system developed with Raspberry Pi The ducts installed into my house are very small, and i can't pass the cables for each room. I was wondering if there is a way to connect for each room, two PIR sensors and a relay, and let them communicate with my Dom...
by Antivirusvivente
Fri Jun 21, 2013 11:51 am
Forum: Italiano
Topic: Bus I2C RaspPi rev2 problema
Replies: 12
Views: 2269

Re: Bus I2C RaspPi rev2 problema

Di solito non si mettono direttamente sotto tensione, ma si mette una resistenza di pull-up da 10K per evitare che il valore sia floating. State attenti perché così potete danneggiare l'MCP PS, ci sono tanti controller di tipo i2c per gestire i relay, perché sprecare un MCP? Lo stesso vale per i dis...
by Antivirusvivente
Fri Jun 21, 2013 11:46 am
Forum: Italiano
Topic: Etilometro con Raspberry PI
Replies: 8
Views: 1513

Re: Etilometro con Raspberry PI

C'è un sensore che si chiama MQ-3 e che è utilizzato anche su Arduino. Per quanto riguarda raspberry non puoi leggere dati se non in forma digitale, e questo sensore è di tipo analogico

Ti rimando qui per poter adattare il progetto: http://forum.arduino.cc/index.php?topic=66669.0

Go to advanced search