IoT Introduction 2019 Session 01 - IoT Hello World
It's that time of year again - I am back teaching my classes - and now one again, I am particularly fond of: Internet of Things Introduction. This is a full class in a bachelor program to get you in a hands-on way acquainted with the Internet of Things and let you design and explore it in depth.
Sorry for the recording quality at the end, I must have hit the mic and it must have switched to the internal one. Will use another backup next time.
In this tutorial, we assume that the UlnoIoT Raspberry Pi gateway has bin successfully set up, and program our first microcontroller as an UlnoIoT node. We will learn how to switch its on board led through a network connection.
...
https://www.youtube.com/watch?v=k-8kGxI_7Vo
As you see I am fascinated by voice assistants, but I don't like them sending things into the cloud. Do I really want Google, Amazon, Apple, and Microsoft listen and analyze every word I say in my private four walls? How about voice assistants in an industrial setting - is it OK there to send everything to an external cloud provider? Not sure that such solutions will be easy to sell. And what happens when the Internet is down?
As excited as I initially was with Mycroft (https://mycroft.ai), I was a little disappointed to find out that they use (their own) third party cloud service to do speech to text. However, Mycroft is open source, so it allows me to exchange this service. After discovering Rhasspy (http://rhasspy.org, https://github.com/rhasspy/rhasspy-voltron, a system especially focusing on offline voice assistance).
I still like Mycroft and its community a lot, so what to do?
Hey, I am a software engineer, I thought: "I can glue systems together that don't have explicit interfaces for each other". So, let's use Node-RED (https://nodered.org) as glue!
Follow along in this mini-series. The series has 3 parts and in this third part, we will integrate Mycroft and Rhasspy with Node-RED to achieve the actually privacy aware voice assistant:
1. Installation Mycroft: https://youtu.be/-fYOf4WBvzk
2. Installation Rhasspy: https://youtu.be/xKgPrn8ukcM
3. Integration with Node-RED: https://youtu.be/hZwv80gB8f0
If you want to see the rest of the documentation with code examples, check this document here: https://github.com/ulno/doc/blob/master/videos/2020-04-25%20Rhasspy%2C%20node-red%2C%20mycroft/part3/desc.md
I hope you enjoyed this integration exercise and let me know if you manage to integrate other skills.
Links to all projects:
- Mycroft: https://mycroft.ai)
- Rhasspy: http://rhasspy.org, https://github.com/rhasspy/rhasspy-voltron
- Node-RED: https://nodered.org
And don't forget to check these web-sites and my own Instagram account:
- ulno's site: https://ulno.net
- ulno's Instagram: https://www.instagram.com/ulno_net/
- IoTempire: https://iotempire.net
I am also now on lbry, check my channel there too:
lbry://@ulno#2
As usual, stay tuned and see you next time!
#makers #IoT #IoTempire #diy #arduino #raspberrypi #opensource #nodered #Node-RED #rhasspy #mycroft #mycroft.ai #privacy
...
https://www.youtube.com/watch?v=hZwv80gB8f0
Here is just a small project I did over the holidays (2019) at my parents in law. There was this metal dog, I always wanted to light up. So I took some of my tools as well as LEDs and LED-strips with me and am quite happy what I came up with. See for yourself.
I used IoTempower (https://github.com/iotempire/iotempower) for programming a Wemos D1 Mini that is mounted indide the body of the metal dog (you can hear a real dog in the background of the movie - can you spot it?). I adapted the IoTempower raspberry pi image for a raspberry pi zero, running mosquitto (mqtt broker) and node-red. For wireless networking I used the locally available WiFi accesspoint (usually the raspberry pi image has its own accesspoint enabled, but I used the internal WiFi of the raspberry pi zero to connect to the local wifi network - but used a static IP not make access to the gui more reliable). I built the gui based an the node-red dashboard that looks pretty good on mobile.
The code and node-red flows are available here: https://github.com/iotempire/iotempower/examples/led-dog
Let me know if you build something similar or need help.
As always, stay tuned!
Make sure to subscribe and comment as well as check out:
- IoTempire: https://iotempire.net
- IoTempower: http://github.com/iotempire/iotempower
- ulno's site: https://ulno.net
- ulno's Instagram: https://www.instagram.com/ulno_net/
#iot #iotempower #esp8266 #raspberrypi #nodered #iotempire #diy
...
https://www.youtube.com/watch?v=2l7M5s3RJg8
This was a pretty spontaneous production inspired by a big clean-up operation by our special camera guy and editor Sylvio from Granmidia (https://www.instagram.com/granmidia.produtora/).
He found lots of headphones used for studio production and thought we could give it a spin and maybe a funny twist here in the IoTempire (https://iotempire.net). I threw in a couple of my own as well as a little surprise, and we were ready to shoot. Unfortunately, it got a little longer than expected, but we think there are still lots of funny moments to explore - I also compiled a lot of timelinks for relevant content, so feel free to read on and jump over lengthy parts.
Let us know what you think of this format in the comments. If you want more like this, please encourage us (and also suggest which type of devices you would like to see) below in the comments.
We tested the following headphones (pre-fixed by the actual times where we test them and also listing their time of the test result as well as its final rank), the summary is at 23:57:
- 02:03 Sennheiser HD650 (result: 05:07, rank: 2) - link: https://www.amazon.com/Sennheiser-HD-650-Professional-Headphone/dp/B00018MSNI
- 06:42 Sony MDR 1A (result: 08:33, rank: rank 4) - link: https://www.amazon.com/Sony-MDR-1A-Headphone-International-Warranty/dp/B00NW353KE
- 10:52 Sennheiser Momentum (result: 13:41, rank: 3) - link: https://www.amazon.com/Sennheiser-Momentum-Headphone-Brown/dp/B009QV15DU
- 15:47 Sony MDR 75 06 (result: 18:16, rank: 1) - link: https://www.amazon.com/Sony-MDR7506-Professional-Diaphragm-Headphone/dp/B000AJIF4E
- 20:00 Plantronics Voyager Focus (result: 22:28, rank: W3) - link: https://www.amazon.com/Plantronics-Voyager-Bluetooth-202652-01-Cancelling/dp/B013F4LJTI
- 24:08 Kokoon (result: 26:28, rank: W1, only one, I could sleep in) - link: https://kokoon.io/
- 28:18 Sennheiser Momentum Wireless (result: 30:35, rank: W2) - link: https://www.amazon.com/Sennheiser-True-Wireless-Bluetooth-Fingertip/dp/B07J2WF2JW
- 36:12 Surprise - 3M Peltor X (result: 32:26, rank: awesome in its own realm) - link: https://www.amazon.com/3M-Peltor-Over-Earmuffs-X5A/dp/B00CPCHBCQ
The links are not affilate links (we need more subscribers and viewers to support us - spread the word!), so feel free to google for the products also on your own and check on ebay or other seller sites.
We used the following music pieces for testing:
- Thalía - De Dónde Soy: https://www.youtube.com/watch?v=NoLnjhZdx7Y
- Verdi - Dies Irae - Gardiner - Monti Verdi Choir: https://www.youtube.com/watch?v=2j_NqiWURJc
- Ola Onabule - Every Prey - Seven Shades Darker: https://www.youtube.com/watch?v=5bcCrF7B8bc
- Tom Jobim - Samba do Avião: https://www.youtube.com/watch?v=sbWt1JrAYiE
We hope you enjoy the content, please subscri
...
https://www.youtube.com/watch?v=4g4RSxCNrZg
The commented walk through for the first tutorial levels (1-5) of McMinos (http://mcminos.com).
In game music is by Eric Matyas (http://soundimage.org/).
...
https://www.youtube.com/watch?v=so1YDxWW61k
For my temporary apartment home automation project, I needed a voice assistant. However, I din't want to use Google Home, Amazon's Alexa, Siri, or Cortana as I wanted to be in control of privacy.
Fortunately, there is a very nice open source project aiming at exactly that: mycroft.ai (http://mycroft.ai).
I also had a Google AIY hardware extension kit for the Raspberry Pi. Maybe I can turn this into my own voice assistant? Follow my journey in this movie.
Most of the editing and all the filming was done by Renato Perotto (https://www.instagram.com/renato_perotto/).
The music track used is Happiness by Benjamin Tissot (bensound.com): https://www.bensound.com/royalty-free-music/track/happiness
Make sure to subscribe and comment as well as check out:
- IoTempire: https://iotempire.net
- ulno's site: https://ulno.net
- ulno's Instagram: https://www.instagram.com/ulno_net/
#iot #iotempire #homeautomation #voiceassistant #mycroft #raspberrypi
...
https://www.youtube.com/watch?v=jbR4gwdlTs4
This is based on http://www.instructables.com/id/Easy-Home-Automation-using-servo-switches/ and remixed to use a Wemos D1 mini running Micropython instead of the Raspberry Pi. The corresponding code can be accessed via http://ehome.ulno.net. Special thanks also to my friend and colleague Chris Bennet (ttps://www.linkedin.com/in/chris-bennett-47861/) who took this movie on his phone.
...
https://www.youtube.com/watch?v=pHn_IM-1L38
Let's continue the mini series covering the automation of my own apartment in Brasilia.
Here we deal mainly with getting our own software onto the Sonoff T1 3 Gang. Yes, the Sonoff uses an esp8266 as its main chipset and can be flashed with your own software. Yes, we are going to program a light switch!
The steps necessary are roughly the following:
- Disconnect from power
- Open it up
- Remove board
- Connect RX/TX GND to FTDI adapter (best with simple adapter)
- Touch ground to resister as shown. While touching, plug in FTDI adapter to power on (compare here: https://tasmota.github.io/docs/devices/Sonoff-T1/#sonoff-t1-us-3-gang)
- Remove ground
- Flash the software of your choice: for example IoTempower (https://github.com/iotempire/iotempower) or Tasmota (https://github.com/arendst/Tasmota) - In IoTempower (start from https://github.com/iotempire/iotempower/tree/master/examples/sonoff/t1-3), run adopt serial or deploy serial (for the first time when connected to FTDI), later just run deploy.
Check out the installation into the wall in the next show: https://youtu.be/pcxQCmvIZ-w
Some of you might remember that all of these part where one 30 minute movie to start with, but I think they are easier to digest in this new short format. Let me know in the comments if you agree. It also gives me the option to extend this series to show you how to setup several voice satellites, a scale, and our fully automatic home cinema system. Leave a like, if you want to see that too here.
Most of the editing and all the filming was done by Renato Perotto (https://www.instagram.com/renato_perotto/).
Make sure to subscribe and comment as well as check out:
- IoTempire: https://iotempire.net
- ulno's site: https://ulno.net
- ulno's Instagram: https://www.instagram.com/ulno_net/
I am also now on lbry, check my channel there too:
lbry://@ulno#2
The music track used is "Faster, Sons Of Vengeance, Faster!" by Doctor Turtle from here https://freemusicarchive.org/music/Doctor_Turtle/Hasta_La_Blister_Longer_Guitar_Instrumentals/Faster_Sons_Of_Vengeance_Faster
Stay tuned and see you soon back here in the IoTempire.
#makers #IoT #IoTempower #IoTempire #diy #arduino #raspberrypi #opensource #nodered #Node-RED #mycroft #mycroft.ai #privacy
...
https://www.youtube.com/watch?v=D7ekFGcUGXU
Third session of ulno's IoT Introduction lecture.
Corresponding open class is here: https://ulno.net/teaching/iot/intro/
...
https://www.youtube.com/watch?v=cPnR8AfKa-c