Closed adamkewley closed 1 year ago
In S0
the Pi is set with:
Netherlands
English
raspberry
Generic 105-key PC (intl.), layout = US, variant = US
(flashing can sort this out)
Flashing cannot necessarily handle setting up the WiFi connection, because that will require collaboration from TUD's IT department.
The trick for WiFi that we can arrange as part of flashing is to enable SSHd on the Pi, along with arranging the default user+password, and then use something like Bonjour or IP over USB to:
The students will then receive an already-networked Pi Zero. They can then skip the (potentially time-consuming and error-prone) step of network setup and go straight to VNCing into the device.
S0
also sets up Mu
and Thonny
: both should be installed by the pre-flash
L3
requires users to clone their own code:
git clone https://github.com/Morrious/hx711-multi.git
This isn't an issue from a student PoV, so I'll move this issue to PBL4Teachers
.
Effectively, I'm working on a guide for setting up a brand-new Pi Zero such that is has everything already set up (e.g. VNC, libraries, etc.)
Related: 0b4f151
This guide has now been written, and included directly in PBL
(rather, PBLstaging
) as X0_SoftwareSetup
. The reason why is because there's no (clear) disadvantage to students knowing exactly how the Pi was setup.
The longer-term ambition with this is that all code in PBL
will eventually be python scripts that students can freely read, parse, modify, etc. to see the entire stack.
Moving back to PBLstaging
before closing because it was resolved there.
Ensure all Pi Zeros are:
Userspace Software
(copied from PortableBalanceLab/PBL4teachers#1 )
Mu
Thonny
python
(obviously)ICM20948.py
bcm2835
custom build thingapt-get install python-pip python-imaging python-smbus
pip install RPi.GPIO spidev
pip install matplotlib numpy