Well you could certainly write something in Java but there are already programs available to move files around. From the simple, FTP, to Samba shared files. If you want your Pi to really be a file server, Samba is the way I would go.
Your sensor will measure air pressure and that changes all the time. It needs to be corrected for that and elevation. The simplest method to correct it is to find an airport near you and get their altimeter setting. This is their pressure reading adjusted for their elevation. If you are in the U.S. ...
Found that hashes, thanks! When I try to use them to revert or advance the kernel I get an error message about something not being gzipped? I thought it might be because of an anachronistic rpi-update script but I tried going from old to new and new to old and got the same message every time. Thanks,
I had the problem on all 4 of my Pis. I reloaded the OS on all of them in an attempt to duplicate the problem today but I couldn't. Needless to say I was going crazy. But I did find out what was causing the problems: the w1-gpio device tree overlay. If that is active and it is on GPIO pin 4 it inter...
I looked at the site https://github.com/Hexxeh/rpi-update and it says "To upgrade/downgrade to a specific firmware revision, specify its Git hash (from the https://github.com/Hexxeh/rpi-firmware repository) as follows: sudo rpi-update fab7796df0cf29f9563b507a59ce5b17d93e0390" but if you go to that p...
I've been playing around with some DHTxx sensors and using both PIGPIO and the device tree code and found that if the kernel is upgraded to #810 that it interferes with PIGPIO. Reading of the DHTxx sensors with my program before kernel #810 was rock solid but after I got significant error rates. I l...
It must have been a static link issue. I did a make uninstall, deleted the PIGPIO directory, deleted the pigpio files in /usr/local/lib, reinstalled and ran my program and it still showed V31. Then I recompiled it and now it's using V36.
Thanks for the code! I looked through it but there is a lot I don't understand. It looks to me like he is checking for level changes in both directions. That requires considerably better resolution than just checking low going transitions. I do like his trick for determining whether a DHT11 or DHT22...
I tried deleting the pigpio.zip file and the PIGPIO directory, downloading and doing a new make and install but it still shows version 31. Clearly I'm missing a step somewhere?
Using the dht11-overlay with the new sensors I got today, the DHT22 works about 75% of the time and the DHT11 sensors don't ever give valid data. All of them work just fine using PIGPIO C code that I wrote to read them. I don't really understand how these overlays work but I'm assuming there are som...
dhcpcd is a dhcp client. If he has the lastest software he has dhcpcd5 installed and it will give him both a static and dhcp address if he configures /etc/network/interfaces with the usual setup. See the link on how to set up a static address if you have dhcpcd running.
So I'm not sure why you are using RXTX if you've got the USB end of the converter plugged into your PI? Does your converter device have a driver? And does that driver have a buffer? If so I would just set the device parameters and read and write directly to the device with Java. I've used some ether...
Thanks for that link. I did get it working (sort of), lots of errors but then I put my DHT22 in backwards and that's it until next week when I get a new one .
I saw this post (https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=98543&p=746882&hilit=dht11+dtb#p746882) about using the DHT11 device tree overlay. Is there some more complete information somewhere on how this works and how to get the data? Is there a DHT22 version available? I see the overl...
Somewhere along the way an upgrade modified my /etc/network/interfaces file with the 'manual' word instead of dhcp or static and I ended up with two IP addresses, my static one and a dhcp address. I finally had time to play with it and found out that dhcpcd5 works differently than whatever was in it...
Well that's embarrassing, it actually works writing to my PiGlow, what doesn't appear to work is i2cdetect. I guess I shouldn't have even installed it I would never have known it didn't work.
I'm having a problem using mail. When finished entering text for an email, you press CTRL-D to end entry and send the email. The program ignores the CTRL-D. I've tried using the . by itself on the last line (which is the way I remember doing it from years ago) but that doesn't work either. The resul...