Friday, January 3, 2014

Raspberry Pi and APRS through rtl-sdr

I am not home, so I can't try this...but I found this snippet...

  1. $ rtl_fm -f 144.390M -s 22050 | multimon-ng -v 10 -t raw -A -
 and multimon-ng seems to be the key to this all...

this post seems to have trouble compiling the multimon-ng on the Pi
 http://tubbyaustin.blogspot.com/2013/03/compiling-multimon-ng-for-raspberry-pi.html


 this one is using the Pi to decode pagers...but describes the installation of multimon-ng (and the rest of rtl-sdr)
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=45142&p=357671


Sorta like the ADS-B data, this will simply be the raw messages...at this point...


Now this guy is using a graphic display

http://blog.bluedaylabs.com/2013/07/raspberry-pi-aprs-using-xastir.html

Xastir is the graphics display program.

 http://m0hpj.wordpress.com/2012/11/16/aprs-on-raspberry-pi-with-xastir/

Seems like Xastir is a full on APRS interface...not just a display...

...I might have to attempt connecting  a TH-D7 with build in TNC via serial to USB to the Pi...

http://www.youtube.com/watch?v=PdZ_vywomZk

http://www.xastir.org/wiki/XASTIR_Manual#Kenwood_TH-D7A_with_GPS



Wireless Previews from Canon (or other digital) camera to iOS, Android, or PC.

Yea, title is a bit long, but I wanted to really explain this.

Unless you are just shooting some snapshots for fun, most  folks want a good image.  It is very hard to get feedback on if the image was good or not until you pull the card and view it on a monitor. (there are some other expensive technologies to do this...)

For me, I need to see if I got a good focus on a long exposure shot...I just can't do it on the LCD on the back of the camera.

As you saw a while ago, I do have the ability to tether my Android device to the Canon camera for live view etc...and that is very handy.

But maybe I want to remotely check the images or I want to give clients near instant feedback on shots. (not me but a buddy of mine is doing this).


I present a hack from a German language website.  Do It Yourself - Wireless File Transfer.



It is in German, Google will translate it, but it screws up some of the code in the process.  I recommend having one window with the translation, and one untranslated, so you can cut and paste the code.

The summary is, TP-Link builds a small battery powered wifi router the TL-MR3040.  It is designed to have a 3G/4G usb modem plugged in and act as a hotspot.

This bit of code installs OpenWRT onto the device to make it a more open platform.  Then it installs gPhoto2 to allow the MR3040 to talk to your camera.  Most cameras are supported, but check the list to be sure.

Luckily the author Benedikt Weimer hosts all the files needed on his server, so it is easy to get and install.

I won't copy his instructions here...I might make a bigger mess.   But I will say, he uses the 'vi' text editor.  If you are not used to it (like me)...to stop editing hit ESC, then colon ':' then command...'w' to write 'q' to quit.

so :w or :q

He uses :wq, but I did them separately to be sure.

Some notes...

The first part of his installation you log into the router and upload openwrt firmware...The ones he supplied didn't work for me (I have a v2.2), I had to download from OpenWRT the latest 'trunk' version. (near bottom of page).

The second part, you log into the 3040 using Putty then edit the OpenWRT installation to put the 3040 on YOUR network.  So if you are using 192.168.1.1 as your home network router's address, then copy his instructions...otherwise change as necessary.   The reason for this step is to make the rest of the installation using his server files much easier.

Other than that, I copied everything he did, every setting, even the passwords/usernames...with the exception of the step that has you put the MAC address of your router...use your own MAC address.


In my setups, the reboot command was not working for whatever reason, so if I needed a reboot, I would turn the 3040 off, wait a bit, then turn back on.

Speaking of switches, the other switch on the 3040 I set to AP...don't have any idea if it makes a difference.


So let's assume it is working (one way to find out is use the 'TOP' command while you have putty connected to the 3040...it will show the processes running.  (and CTRL-c to exit)  but honestly, if you can log into the new wifi router on the 3040, you are probably ok.
(note you can see gphoto2, parse-photos.sh, etc)

So now what.

He includes a Java app to run on your PC, and links to an Android app and iOS app.   The iOS app is $20.  (site is now down...use Wayback machine)   The iOS app is ShutterSnitch

I tested all three, the Android app didn't do the job.  It is a FTP server app, and it receives connection and file info from the 3040 but no pictures are transferred.   (it may be a limitation of my hacked Nook...I will soon get a Nexus7, and we will see if that changes anything)

The Java app seemed to work, not as pretty as the iOS version, but free.

The iOS app is the best, (once you put the password you had in the 3040 installation 'benedikt' in my case) it connects to the 3040 and starts receiving pictures.



You can see some quick shots I took of my monitors and dirty desk with morning OJ glass in front...screenshot from iPhone, an iPad would obviously give a bigger preview.


I am using a Canon 1000D (Rebel XS), and it takes from 20 to 30 seconds to move a preview to either the iOS device or PC.   I think it is partially the camera...but maybe I made a gross error in the software installation process...My buddy's setup with newer camera only takes 6-7 sec to move the photo.

SOME ADDENDUMS...

In the years since I wrote this, there has been more write-ups and demos listed.  Here is a short list of what I found...

https://www.shuttersnitch.com/forums/

http://www.dslrfilmnoob.com/2013/12/11/tp-link-tl-mr3040-wireless-field-monitor-dslr-controller/


https://play.google.com/store/apps/details?id=eu.chainfire.dslrcontroller

https://www.youtube.com/watch?v=xnlYzt6zcpw


http://www.fotopxl.de/blog/wlan-router-dslrdashboard-shuttersnitch.html

http://dslrdashboard.info/fixed-ios-version-available/




EVEN MORE ADDENDUMS...

I found that I couldn't log into ddwrt on the TP-Link...I guess I forgot the password...

...long story short I did a 30/30/30 reset on it which got me back into telnet.then SSH.

And then I did this...  https://www.youtube.com/watch?v=kAlyVRbtgyw

And to install the software I went here  http://www.fotopxl.de/blog/wlan-router-dslrdashboard-shuttersnitch.html

Original website is down.

Thursday, January 2, 2014

iPhone 4S iOS7.04 Untethered Jailbreak!

It amazes me how much the iOS jailbreaking has progressed since the old days...

I just knocked out the update to iOS7.04 and then Jailbroke my 4S.

There is nothing weird to watch out for.

Some recommendations.
-Make an unencrypted backup of your iOS device before doing this.

-Download the iOS7.04 update first on your computer (through iTunes) THEN update your phone.

-Let all the apps and things finish syncing

-Do a backup of that new iOS7 install with all your data sync'd.



Now do the jailbreak.

The folks at evad3rs did the evasiOn7 iOS7.x jailbreak.

But minimal info there...

So I looked at this RedmondPie page, with video and did it...

It takes a while...between all the syncs and reboots...so be patient, give yourself an hour or so (assuming you already have iOS7 downloaded.


Enjoy!