Skip to content

Commit 79f2fd9

Browse files
authored
copy edit
1 parent 946c262 commit 79f2fd9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

analogue.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ The analogue values are communicated to the Pi using the SPI protocol. While thi
2020

2121
## Wiring the ADC (MCP3008)
2222

23-
The MCP3008 is an ADC providing 8 input channels. The 8 connectors on one side are connected to the Pi's GPIO pins, and the other 8 are available to connect analogue input devices to read their values.
23+
The MCP3008 is an ADC providing eight input channels. The eight connectors on one side are connected to the Pi's GPIO pins, and the other eight are available to connect analogue input devices to read their values.
2424
25-
Place the MCP3008 chip on a breadboard and carefully wire it up according to the following diagram:
25+
Place the MCP3008 chip on a breadboard and carefully wire it up as shown in the following diagram:
2626
2727
![MCP3008 wiring](images/mcp3008.png)
2828
29-
*Alternatively, use the [Analog Zero](http://rasp.io/analogzero/) board, which provides the MCP3008 chip on a handy add-on board to save you from the complicated wiring.*
29+
Alternatively, you could use the [Analog Zero](http://rasp.io/analogzero/) board, which provides the MCP3008 chip on a handy add-on board to save you from the complicated wiring.
3030
3131
## Add a potentiometer
3232
33-
Now the ADC is connected to the Pi, you can wire up devices to the input channels. A potentiometer is a good example of an analogue input device: it's simply a variable resistor, and the Pi reads the voltage (from 0V to 3.3V).
33+
Now the ADC is connected to the Pi, you can wire devices up to the input channels. A potentiometer is a good example of an analogue input device: it's simply a variable resistor, and the Pi reads the voltage (from 0V to 3.3V).
3434

3535
![Potentiometer](images/potentiometer.jpg)
3636

37-
A potentiometer's pins are ground, data and 3V3. This means you connect it to ground, a supply of 3V3 and read the actual voltage from the middle pin.
37+
A potentiometer's pins are ground, data, and 3V3. This means you connect it to ground and a supply of 3V3, and read the actual voltage from the middle pin.
3838
3939
1. Place a potentiometer on the breadboard and wire one side to the ground rail, the other to the 3V3 rail and the middle pin to the first input channel like so:
4040

0 commit comments

Comments
 (0)