diff --git a/2-farm/lessons/1-predict-plant-growth/README.md b/2-farm/lessons/1-predict-plant-growth/README.md index 2790102..07c1196 100644 --- a/2-farm/lessons/1-predict-plant-growth/README.md +++ b/2-farm/lessons/1-predict-plant-growth/README.md @@ -261,11 +261,10 @@ For these, find if there are sensors that can measure them. What about actuators ## Review & Self Study -Read more on digital agriculture on the [Digital Agriculture Wikipedia page](https://wikipedia.org/wiki/Digital_agriculture). Also read more about precision agriculture the [Precision Agriculture Wikipedia page](https://wikipedia.org/wiki/Precision_agriculture). +* Read more on digital agriculture on the [Digital Agriculture Wikipedia page](https://wikipedia.org/wiki/Digital_agriculture). Also read more about precision agriculture the [Precision Agriculture Wikipedia page](https://wikipedia.org/wiki/Precision_agriculture). +* The full growing degree days calculation is more complicated than the simplified one given here. Read more about the more complicated equation and how to deal with temperatures below the baseline on the [Growing Degree Day Wikipedia page](https://wikipedia.org/wiki/Growing_degree-day). +* Food may be scarce in future even we still use same methods for farming. Learn more about hi-tech farming techniques in this [Hi-Tech Farms of Future video on YouTube](https://www.youtube.com/watch?v=KIEOuKD9KX8). -The full growing degree days calculation is more complicated than the simplified one given here. Read more about the more complicated equation and how to deal with temperatures below the baseline on the [Growing Degree Day Wikipedia page](https://wikipedia.org/wiki/Growing_degree-day). - -Food may be scarce in future even we still use same methods for farming. Here you can see hi-tech farming techniques. [Hi-Tech Farms of Future](https://www.youtube.com/watch?v=KIEOuKD9KX8) ## Assignment [Visualize GDD data using a Jupyter Notebook](assignment.md) diff --git a/2-farm/lessons/3-automated-plant-watering/README.md b/2-farm/lessons/3-automated-plant-watering/README.md index 780faa9..f65ffec 100644 --- a/2-farm/lessons/3-automated-plant-watering/README.md +++ b/2-farm/lessons/3-automated-plant-watering/README.md @@ -291,7 +291,7 @@ Can you think of any other IoT or other electrical devices that have a similar p ## Review & Self Study -Read more on relays including their historical use in telephone exchanges on the [relay Wikipedia page](https://wikipedia.org/wiki/Relay). +* Read more on relays including their historical use in telephone exchanges on the [relay Wikipedia page](https://wikipedia.org/wiki/Relay). ## Assignment diff --git a/6-consumer/lessons/1-speech-recognition/README.md b/6-consumer/lessons/1-speech-recognition/README.md index d693358..070bb06 100644 --- a/6-consumer/lessons/1-speech-recognition/README.md +++ b/6-consumer/lessons/1-speech-recognition/README.md @@ -22,7 +22,7 @@ This video gives an overview of the Azure speech service, a topic that will be c 'Alexa, set a 8 minute timer called steam broccoli' -Smart devices are becoming more and more pervasive. Not just as smart speakers like HomePods, Echos and Google Homes, but embedded in our phones, watches, and even light fittings and thermostats. +Smart devices are becoming more and more pervasive. Not just as smart speakers like HomePods, Echos and Google Homes, but embedded in our phones, watches, and even light fittings and thermostats. > 💁 I have at least 19 devices in my home that have voice assistants, and that's just the ones I know about! diff --git a/6-consumer/lessons/1-speech-recognition/wio-terminal-microphone.md b/6-consumer/lessons/1-speech-recognition/wio-terminal-microphone.md index 4212f41..66e65dc 100644 --- a/6-consumer/lessons/1-speech-recognition/wio-terminal-microphone.md +++ b/6-consumer/lessons/1-speech-recognition/wio-terminal-microphone.md @@ -4,8 +4,58 @@ In this part of the lesson, you will add and speakers to your Wio Terminal. The ## Hardware -Coming soon +The Wio Terminal already has a mic built in, and this can be used to capture audio for speech recognition. -### Task - connect speakers +![The mic on the Wio Terminal](../../../images/wio-mic.png) -Coming soon +To add a speaker, you can use the [ReSpeaker 2-Mics Pi Hat](https://www.seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT.html). This is an external board that contains 2 MEMS microphones, as well as a speaker connector and headphone socket. + +![The ReSpeaker 2-Mics Pi Hat](../../../images/respeaker.png) + +You will need to add either headphones, a speaker with a 3.5mm jack, or a speaker with a JST connection such as the [Mono Enclosed Speaker - 2W 6 Ohm](https://www.seeedstudio.com/Mono-Enclosed-Speaker-2W-6-Ohm-p-2832.html). + +To connect the ReSpeaker 2-Mics Pi Hat you will need 40 pin-to-pin (also referred to as male-to-male) jumper cables. + +> 💁 If you are comfortable soldering, then you can use the [40 Pin Raspberry Pi Hat Adapter Board For Wio Terminal](https://www.seeedstudio.com/40-Pin-Raspberry-Pi-Hat-Adapter-Board-For-Wio-Terminal-p-4730.html) to connect the ReSpeaker. + +### Task - connect the ReSpeaker Pi Hat + +1. With the Wio Terminal powered off, connect the ReSpeaker 2-Mics Pi Hat to the Wio Terminal using the jumper leads and the GPIO sockets on the back of the Wio Terminal: + + The pins need to be connected in this way: + + ![A pin diagram](../../../images/wio-respeaker-wiring-0.png) + +1. Position the ReSpeaker and Wio Terminal with the GPIO sockets facing up, and on the left-hand side. + +1. Start from the socket on the top left of the GPIO socket on the ReSpeaker. Connect a pin-to-pin jumper cable from the top left socket of the ReSpeaker to the top left socket of the Wio Terminal. + +1. Repeat this all the way down the GPIO sockets on the left hand side. Make sure the pins are in firmly. + + ![A ReSpeaker with the left hand pins wired to the left hand pins of the Wio Terminal](../../../images/wio-respeaker-wiring-1.png) + + ![A ReSpeaker with the left hand pins wired to the left hand pins of the Wio Terminal](../../../images/wio-respeaker-wiring-2.png) + + > 💁 If your jumper cables are connected into ribbons, keep them all together - it makes it easier to ensure you have connected all the cables in order. + +1. Repeat the process using the right hand GPIO sockets on the ReSpeaker and Wio Terminal. These cables need to go around the cables that are already in place. + + ![A ReSpeaker with the right hand pins wired to the right hand pins of the Wio Terminal](../../../images/wio-respeaker-wiring-3.png) + + ![A ReSpeaker with the right hand pins wired to the right hand pins of the Wio Terminal](../../../images/wio-respeaker-wiring-4.png) + + > 💁 If your jumper cables are connected into ribbons, split them into two ribbons. Pass one each side of the existing cables. + + > 💁 You can use sticky tape to hold the pins into a block to help stop any coming out as you are connecting them all. + > + > ![The pins fixed with tape](../../../images/wio-respeaker-wiring-5.png) + +1. You will need to add a speaker. + + * If you are using a speaker with a JST cable, connect it to the JST port on the ReSpeaker. + + ![A speaker connected to the ReSpeaker with a JST cable](../../../images/respeaker-jst-speaker.png) + + * If you are using a speaker with a 3.5mm jack, or headphones, insert them into the 3.5mm jack socket. + + ![A speaker connected to the ReSpeaker via the 3.5mm jack socket](../../../images/respeaker-35mm-speaker.png) diff --git a/hardware.md b/hardware.md index 16f4069..90fc4cc 100644 --- a/hardware.md +++ b/hardware.md @@ -46,7 +46,6 @@ These are specific to using the Wio terminal Arduino device, and are not relevan * [Breadboard Jumper Wires](https://www.seeedstudio.com/Breadboard-Jumper-Wire-Pack-241mm-200mm-160mm-117m-p-234.html) * Headphones or other speaker with a 3.5mm jack, or a JST speaker such as: * [Mono Enclosed Speaker - 2W 6 Ohm](https://www.seeedstudio.com/Mono-Enclosed-Speaker-2W-6-Ohm-p-2832.html) - * [Grove speaker plus](https://www.seeedstudio.com/Grove-Speaker-Plus-p-4592.html) * *Optional* - microSD Card 16GB or less for testing image capture, along with a connector to use the SD card with your computer if you don't have one built-in. **NOTE** - the Wio Terminal only supports SD cards up to 16GB, it does not support higher capacities. ## Raspberry Pi diff --git a/images/respeaker-35mm-speaker.png b/images/respeaker-35mm-speaker.png new file mode 100644 index 0000000..a132fb1 Binary files /dev/null and b/images/respeaker-35mm-speaker.png differ diff --git a/images/respeaker-jst-speaker.png b/images/respeaker-jst-speaker.png new file mode 100644 index 0000000..2afebfb Binary files /dev/null and b/images/respeaker-jst-speaker.png differ diff --git a/images/respeaker.png b/images/respeaker.png new file mode 100644 index 0000000..56a029e Binary files /dev/null and b/images/respeaker.png differ diff --git a/images/wio-mic.png b/images/wio-mic.png new file mode 100644 index 0000000..82e923c Binary files /dev/null and b/images/wio-mic.png differ diff --git a/images/wio-respeaker-wiring-0.png b/images/wio-respeaker-wiring-0.png new file mode 100644 index 0000000..9fc0b3e Binary files /dev/null and b/images/wio-respeaker-wiring-0.png differ diff --git a/images/wio-respeaker-wiring-1.png b/images/wio-respeaker-wiring-1.png new file mode 100644 index 0000000..b0a23c7 Binary files /dev/null and b/images/wio-respeaker-wiring-1.png differ diff --git a/images/wio-respeaker-wiring-2.png b/images/wio-respeaker-wiring-2.png new file mode 100644 index 0000000..0a88add Binary files /dev/null and b/images/wio-respeaker-wiring-2.png differ diff --git a/images/wio-respeaker-wiring-3.png b/images/wio-respeaker-wiring-3.png new file mode 100644 index 0000000..e1532df Binary files /dev/null and b/images/wio-respeaker-wiring-3.png differ diff --git a/images/wio-respeaker-wiring-4.png b/images/wio-respeaker-wiring-4.png new file mode 100644 index 0000000..39d1e5c Binary files /dev/null and b/images/wio-respeaker-wiring-4.png differ diff --git a/images/wio-respeaker-wiring-5.png b/images/wio-respeaker-wiring-5.png new file mode 100644 index 0000000..00b4223 Binary files /dev/null and b/images/wio-respeaker-wiring-5.png differ