Skip to main content

Posts

Showing posts from October, 2014

quick update

Got to work on this more yesterday. Tinkered with the Arduino code for both the RF receiver and the servo controller as well the the Raspberry Pi side of the code.  There's still issues from time to time during the sending of messages, and I do think it's something in the Raspberry Pi's code side. I'll have to start digging into the RF library to see what's going on.  Also, when the message is sent, the servo seems to be a bit inconsistent in behavior. I'm starting to think it's a power-based issue. As for now, the device is still too unstable to replace current system.

finally getting back to it

Things went by pretty quickly this month, and I was not able to play around with this project much.  I did tinker with it every now and then, but I was never able to get myself past the residing issue of compiling the RF library in the Raspberry Pi. It seemed people are generally interested in the project linked in the previous post, as people were actively posting comments on it.  Couple of days ago a user posted a solution to the compile issues (changes to method names and usage of pre-defined values for parameters), and I thought I should try following it to see if it works.  The code indeed compiled, and I was able to change it a little more to be more fitting to my project.  On the Arduino side, it might be a premature assumption, but it seemed like the Arduino was unable to handle messaging through the RF and controlling the servo at the same time. My assumption is that the inability to control them in separate threads is causing some timing issues, but I mig

fun with the nrf24l01+

What I am trying to do nowadays is to get the "open sesame" system to work wireless. The servo that opens the door is currently connected directly to the Raspberry Pi, which limits the use of the Raspberry Pi for just this purpose, and I was starting to want to have it around for more things. The NRF24l01+ is a neat, cheap little device I found in the internet that gives devices a means to communicate with each other wireless through a 2.4 GHz network. I've been looking at this site for a good sample to follow and build upon. Currently, I have not been able to build the Raspberry Pi source given from that site on my own, but someone in the comments managed to upload a working, built binary for it, which I have been using so far for testing. I'll eventually have to be able to build it on my own, as I'll probably have to change the code for my purposes. I've been playing around with it, and I've been able to make lights blink. However, everything