Category Archives: Explo 6 space flight computer

python to send a SMS message

ser.write('AT+CMGF=1\r\n') ser.write('AT+CMGS=') ser.write("555-555-5555") ser.write('\r\n') ser.write("This is a text message") ser.write(ascii.ctrl('z')) ser.close() ...
Read More

Serial Commands used by our Satellite transciever.

We will need the crc16 python code library : http://code.google.com/p/pycrc16/downloads tar -xzf crc16-0.1.1.tar.gz cd crc16-0.1.1 python setup.py build sudo python setup.py install   import serial import struct ser =...
Read More

Identify USB device and discover its name and port

Download latest PyUSB from : http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-beta-2/pyusb-1.0.0b2.tar.gz/download Place file “pyusb-1.0.0b2.tar.gz” on your desktop gunzip <pyusb-1.0.0b2.tar.gz |tar xvfp...
Read More

LED Blinking

You will need the following things: Raspberry pi configured (see previos lessons) 5 Volt LED bulb(s) 2 jumper wires m/f 1 wire cutter with wire striper. (often found on long pliers)   First you will need to  open terminal.What you need to type...
Read More

Hello World

We use python to write all of our scripts. On our raspberry pi every python script starts with a shebang line : “#!/usr/bin/python”. The shebang line tells raspberry pi the app that it needs to run the program. This means that we are...
Read More

Raspi-config

First you will need to open terminal. Terminal is located at the top of your raspberry pi screen. Terminal is used for running commands such as opening programs, editing  files, and you can also install applications and libraries as well as update...
Read More

Boot and install Raspbian

Ok lets do this! After you see a rainbow this is the first screen you will see. Its called the N.O.O.B.S. loading screen. Noobs stands for New Out Of the Box Software. You will be offered a choice of operating systems. I choose to install raspbian,...
Read More

Keyboard Video Mouse Power and Chip

This has all the parts my Mac has USB,ethernet, and HDMI video, and a memory chip slot all i need. First I put my N.O.O.B.S. chip it the sot underneath the raspberry pi. All I really need is a mouse, keyboard, and a screen or T.V. Oh also a power...
Read More