1
0
Fork 0
Browse Source

add hardware section to readme.

pull/1/head
Craig Oates 4 years ago
parent
commit
d99e04c87d
  1. 26
      README.md

26
README.md

@ -60,21 +60,41 @@ The full list of parts required for this project is as follows:
- [2 x 1kΩ Resistor](https://www.amazon.co.uk/1K-Resistors-50-Pack-Electronics/dp/B00JGUE0L0)
- [330nF Capacitor](https://www.alibaba.com/product-detail/ODOELEC-334-0-33uf-330nf-50v_60626664828.html)
- [Breadboard](https://thepihut.com/products/raspberry-pi-breadboard-half-size) (Optional but recommended if you do not know how-to solder or you don't feel comfortable doing it)
- [Jumper Wires](https://thepihut.com/products/rpi-premium-jumper-wires-40pk-male-female-100mm?_pos=18&_sid=4d08c5200&_ss=r)(I'm assuming you are using the breadboard. If are not, you might need different cables like Female-to-Female or ones without a connector on the ends)
- [Jumper Wires] (https://thepihut.com/products/rpi-premium-jumper-wires-40pk-male-female-100mm?_pos=18&_sid=4d08c5200&_ss=r)(I'm assuming you are using the breadboard. If are not, you might need different cables like Female-to-Female or ones without a connector on the ends)
### Initial Raspbian Set-up
Upon the initial installation of Raspbian on to the Pi, you need to make sure the following is established:
- The username is "rtrp".
- The hostname is "factory*" (where "*" is a number between 1 and 3).
- The host-name is "factory#" (where "#" is a number between 1 and 3).
- The Pi is set to auto-login with the "rtrp" account.
You can set the Pi up to automatically login to the desktop but the recommended option is to login to a "headless" environment (I.E. console-mode). Remember, you can only log into the desktop environment if your version of Raspbian has one. The final version of this project does not expect one.
### Hardware Preparations
This section has not been written...
#### Network Connections
Before installing the Raspberry Pi in its final location (exhibition), make sure it can connect to the galleries internet -- either via wi-fi or Ethernet cable. If you use an Ethernet cable, you do not need to do anything, but the wi-fi requires a little work on the command-line (if you are using a "headless" version of Rasbpian). If you are unsure how to connect to a router via wi-fi, use the following link to learn how:
- [Raspbian Wi-Fi Tutorial](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md)
The easiest way to do this is via the "raspi-config" file/command. You can access it by entering `sudo raspi-config` into the console and entering the "Network Options" section. For the other ways of connecting to a wireless network, I recommend you read the tutorial because it can get complicated and the options are numerous.
#### Light-Meter Set-Up
The light-meter is a custom addition to the Raspberry Pi which is built using the Pi's general-purpose input and output (G.P.I.O.) pins. You can see the layout of the components connected to the Pi in the diagram below.
![hardware-layout](attachments/hardware-layout.png)
Depending on the type of enclosure you use, you might find it more convenient to have the actual light-meter (component) connected to the breadboard with a pair of jumper wires. To help explain the point, please see the image below.
![light-meter-extension](attachments/light-meter-extension.png)
#### Power Supply
I am under the impression this device will run in a fully functional building (I.E. the Ritherdon factory). Because of this, I have taken no precautions or steps to assume a loss of power beyond the typical scenarios found in a U.K. factory environment. Because of this, I have no idea how the Pi will operate whilst powered via batteries or other "mobile" power sources. With that said, make sure you can place the Pi where you want it whilst still being able to power it.
### Software Preparations