Giant Ionic Lattice
Giant Ionic Lattice
I have created this new blog and transferred all previous posts to do with the Raspberry pi, python and electronics there.
Why? So you can register and post your own projects, idea, problems and solutions.
Please use your SCHOOL EMAIL when registering and then hassle me to enable your account.
I will no longer use this blog for computer science things.
Worth checking out if you are new to linux.
The instructions here will install rpi-updater on your system so you can update firmware if you need to. Dont forget to sudo everything including the line…
wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && chmod +x /usr/bin/rpi-update
this needs two..
sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
Changing 3.3v (GPIO output) to 5v.
I did this and managed to up the 3.3v GPIO output to 4.8v on a prototyping board, might be closer to 5v when soldered.
Servos work on times pulses that we should be able to program on the GPIOs on the Pi
Might be worth trying out
Tricky one this, the modules were the pain
Step 1: Install wxPython – I think this is the GUI module
sudo apt-get update
sudo apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n
Step 2: Install PyUSB – so python can interact with the robot arm by USB. I ended up having to install PIP to get this sorted.
sudo apt-get install python-pip
sudo pip install pyusb
Then the .py files which are available on this guys blog… but to get it workign you have to hunt around at a number of posts and find his code on googlecode
you need the files;
arm_1_1.py – used to process text files with movement instructions
arm_gui.py – run if you just want to control the arm directly
arm_control.py – the actual code used by the above two programs
Mr Mac has them if you need them.
Get both version 2 and 3.
Update your Python installs with the python dev package. This will avoid a “fatal error: Python.h: No such file or directory”
sudo apt-get install python-dev
download the GPIO module. The version may change so ensure you check for the most up to date version http://pypi.python.org/pypi/RPi.GPIO
At the time of writing the current version was 0.4.0a
Install the module by extracting…
tar zxf RPi.GPIO-0.4.0a.tar.gz
moving into the extracted directory
and running the installer.
sudo python setup.py install
Cleanup your disc by removing the folder and tar file
sudo rm -rf RPi.GPIO-0.4.0a/