Saturday, January 18, 2014

Raspbery-pi, Gertboard : building an oscilloscope


Playing with raspberry pi and gertboard (part one)

Last few years I follow the raspberry-pi initiative and I really much appreciate it. This year I decide to use this micro computer associated to a gertboard to acheive an old project : building a stand alone oscilloscope.

what I want to acheive :


Step one : where is my  hdmi screen ????

Using my Windows8 PC for raspberry export display

I don't want to use or buy a new HDMI display for this Raspberry pi experiment.
So I will use my own laptop. For the very first RP start, You need an HDMI to setup your RP.
  • Connect you RP  (Raspberry pi) 
  • With the setup screen activate SSH.
  • You could now power off RP and disconnect your HDMI screen.
  • Power on RP
  • Goes on your windows station and you had to install an XServer and ssh client  : you could use mobaxterm, cygwin or a Virtual box with a Linux ISO installed in it (network setup with bridge adapter).
  • With this client, open a terminal and connect your RP with ssh :
xhost +
ssh -X pi@ip_addr_of_remote_machine
# the password is rasberry

Use man xhost and man ssh for more information
You sould have something like that (with mobaxterm)


At this point you could access to your RP.

just use :
lxsession

After a few second a window should be open with the RP desktop.

How to access my ATmega on my gertboard?

Just have a look at https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/ this is the "Gordons Projects" blog wich is very well done. You will find out there all that you need for your gertboard.
I just need to add an apt-get update, and all works as expected.

 (to be continued)