Page 1 of 1
PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 8:04 am
by JonnyAlpha
Probably a simple error on my part but I am having trouble getting the tracker software to auto start on my Pi Zero / PITS setup.
I followed the build guide here:
http://www.pi-in-the-sky.com/data/uploa ... manual.pdf
But when I disconnect and reconnect the power after rebooting the Pi (after the last step using sudo halt) my Pi just boots to the RPi login prompt?
The Pi is powered by a standard Pi PSU and I have no batteries connected to the PITS board (does the PITS need an extra power via the battery input as well?
The Red warn light is on (I am indoors), so the PITS is getting power.
Any pointers?
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 8:20 am
by RaTTuS
not having read any of that
sudo raspi-config
and select autologin boot to command line
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 10:14 am
by JonnyAlpha
Did that already now it just boots into the command prompt?
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 11:04 am
by edge0f17
The good news is that you can still login, so you can install the software again.
The part that installs the tracker software is:
cd
git clone
https://github.com/PiInTheSky/pits.git
cd pits
./build
that part may have failed if one of the earlier steps failed.
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 11:27 am
by JonnyAlpha
I already re-did the steps to install the tracker and the problem persists?
I may re-flash the card and start again?
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 11:40 am
by edge0f17
What does it say if you type "cd ~/pits && ./build", because that seems to be failing.
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 2:14 pm
by JonnyAlpha
I'll give that a go and report back. I am in school at the moment prepping some questions for the Y6 after school club that are heading this project up:
1. What does HAB stand for
2. Visit UKHAS.org.co.uk
What does UKHAS stand for?
In the beginners guide (safety) why don’t we use Hydrogen?
3. Using tracker at HabHub.org what balloon call signs are currently in the air?
4. Using the predictor on the same site, if we launched from here today were would our balloon land?
5. Who is Dave Akerman and why is he relevant?
6. Have a look at our web site:
a. How high are we hoping to reach with our flight?
b. What 3 key electronic items do we need in the payload?
7. How will we stop our balloon from falling to fast?
8. How will we find our balloon when it lands?
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 2:53 pm
by daveake
JonnyAlpha wrote:Probably a simple error on my part but I am having trouble getting the tracker software to auto start on my Pi Zero / PITS setup.
I followed the build guide here:
http://www.pi-in-the-sky.com/data/uploa ... manual.pdf
But when I disconnect and reconnect the power after rebooting the Pi (after the last step using sudo halt) my Pi just boots to the RPi login prompt?
This is correct. It used to be that the software appeared on the monitor but a change in Raspbian means that it does not appear. If you re-read the installation instructions you'll see that this is now mentioned. The software is running but the output isn't visible.
You can easily see the tracker output by killing it then restarting manually (again, see the installation instructions where this is covered).
We will probably change the startup script so that the tracker program output can be viewed via the screen command. I've tried this and it works; I just need to change the script and update the instructions.
Dave
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 4:46 pm
by JonnyAlpha
daveake wrote:JonnyAlpha wrote:Probably a simple error on my part but I am having trouble getting the tracker software to auto start on my Pi Zero / PITS setup.
I followed the build guide here:
http://www.pi-in-the-sky.com/data/uploa ... manual.pdf
But when I disconnect and reconnect the power after rebooting the Pi (after the last step using sudo halt) my Pi just boots to the RPi login prompt?
This is correct. It used to be that the software appeared on the monitor but a change in Raspbian means that it does not appear. If you re-read the installation instructions you'll see that this is now mentioned. The software is running but the output isn't visible.
You can easily see the tracker output by killing it then restarting manually (again, see the installation instructions where this is covered).
We will probably change the startup script so that the tracker program output can be viewed via the screen command. I've tried this and it works; I just need to change the script and update the instructions.
Dave
Dave I'm confused (happening a lot lately

)
According to the pits-manual.pdf it says:
Code: Select all
Meanwhile, on your monitor screen you should be seeing plenty of activity. You should not
see any errors – if you do then read the message carefully and see where you went wrong
in following the instructions above; if you get stuck then please contact us for support. The
screen should look something like this:
RASPBERRY PI-IN-THE-SKY FLIGHT COMPUTER
=======================================
RPi Hardware : BCM2708
RPi Revision : 0010
RPi Model A+ or B+
PITS+ Board
etc...................
This is from the manual linked from
http://www.pi-in-the-sky.com/
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 5:07 pm
by JonnyAlpha
Ah just found the slightly different manual / guide here:
http://www.pi-in-the-sky.com/index.php? ... om-scratch
All working fine - many thanks for the help, I am now receiving a strong signal on 434.250Mhz
Question:
Is it ok to setup a payload document on habitat for ground testing? If so I will be able to demonstrate this to my Pi, Code and Chips club next week, walking around the school field whilst some of the chn track back in class?
Re: PITS and Pi Zero Auto Start
Posted: Thu Apr 28, 2016 5:24 pm
by JonnyAlpha
Couple of pictures:
gqrx output:
dl-fldigi output:

Re: PITS and Pi Zero Auto Start
Posted: Fri Apr 29, 2016 9:04 am
by daveake
JonnyAlpha wrote:Is it ok to setup a payload document on habitat for ground testing?
Yes.
Re: PITS and Pi Zero Auto Start
Posted: Fri Apr 29, 2016 9:53 am
by JonnyAlpha
Thanks Dave;
I suddenly realised anyway that I with dl-fldigi in online mode it automatically uploads to HabHub, so inadvertently I had a payload called 'CHANGEME' for the world to see, how embarrassing - school boy error.
Just need to raise the remaining £300 - £400 now and we will be on our way

(Trying to fund this as a school project and not out of my own pocket - whatever happens it will go ahead though, to good an experience for the children)