Pi board ideas please

Classroom setup, good teaching practice and practical advice

5 posts
by rich_steed » Tue Jun 06, 2017 2:11 pm
Hi guys,

I have a set of Raspberry pi model Bs in my cupboard at school. We currently only have VGA monitors in the classrooms and no spare plugs or network ports to use.

So I had an idea...... I am planning to mount the pis on a board, set them up to SSh using static IP addresses on the school network. I will fit each with a different device like pi glow, LEDs,cameras, temperature sensors, etc. The idea would be to get students to write code in python on the PCs and then run it on the pis using SSH to connect or just connect directly and write code on the pis

Do you think this would work and can anyone anticipate problems?
Posts: 2
Joined: Mon Jul 11, 2016 8:32 am
by ghp » Mon Jun 12, 2017 5:39 pm
Hello,
think this would work. The only constraint is that ssh is disabled by default for new raspbian distributions.So be prepared to boot each SD card with keyboard and monitor at least once to enable ssh.
If you register the mac adresses in the network infrastructure dhcp server with fixed ip address, you do not need to reconfigure fixed ip address each time on the pi when you reflash cards.
And if you provide an extra LED for each of the pi with a small blink program, then each user can easily check on which computer being logged in.
Hope this helps,
Gerhard
Posts: 1135
Joined: Wed Jun 12, 2013 12:41 pm
Location: Stuttgart Germany
by ElEscalador » Mon Jun 12, 2017 7:38 pm
It *could* work but I think SSH only access might be difficult for kids starting out. Why not have them use VNC to use the PI's just as if they were plugged in - with a full GUI console and everything. Then they can write code with an IDE right on the PI...which I think is easier to learn than learning with the nano text editor and command line compiling.
A few of my projects below.

https://www.youtube.com/playlist?list=PLdlhFMXxFUNlMpeqHipdSIO20pb4piHfj
Posts: 518
Joined: Tue Dec 15, 2015 4:55 pm
Location: Detroit, MI USA
by winkleink » Mon Jun 19, 2017 4:31 pm
Love this idea as it allows physical computing within the confines of the school set up.

Have a look at PiBakery http://www.pibakery.org/
You can pre-configure your set up with VNC and/or SSH enabled.
You can also set a different host name for each Pi so you know which ones the kids are logged into.

ssh can be enabled by adding a blank file called ssh to the /boot folder.
This is the partition Windows can read when you insert the SD card into a Windows PC.

Another possible setup could be.
Enable SSH
Use Notepad++ on the PCs with the ftp plugin
http://www.averagemanvsraspberrypi.com/ ... lugin.html

In this way the development is done using the power of the PC. The code is transferred to the Pi from Notepad++
The need for ssh is purely to run the code.
Twitter:Winkleink
Google+: Winkleink
User avatar
Forum Moderator
Forum Moderator
Posts: 271
Joined: Mon Nov 07, 2011 9:12 am
Location: UK
by OutsourcedGuru » Mon Jun 19, 2017 11:58 pm
If each of the Raspis are loaded with the full/PIXEL version with the desktop interface, then you can turn on the VNC Server in raspi-config, reboot, configure it in the upper status bar of the desktop interface and then it's running.

You then may VNC into the desktop side of things on the Raspi and it's probably a more welcoming interface for kids than the terminal/SSH. And you can still drop to the Terminal from within the desktop interface.

If your workstations are OS X then in Finder, Cmd-K, vnc://pi@hostname.local (password raspberry) and you're in. Personally, I'd suggest naming them each with the names of minions: Dave, Stuart, Bob, etc. If you add a speaker to each Pi, then you can `aplay` a local sound file on the Pi's speaker, say, in the ~/.bashrc login script. So, Dave would play a sound event with Dave's voice when someone remotes into Dave, etc.

The desktop has some cool programming options from the menu. Node-RED might be an easy starting point.
Posts: 7
Joined: Mon Jun 19, 2017 11:15 pm