For teaching, the goals of the IOT project framework based on Armbian and Python languages
:
1. Log in to the Jupyter service in one step (based on RNDIS driver-free);
2. Learn Python programming and quickly develop Python-based IOT Internet of Things projects;
3. Learn standard Linux operations System;
4. Use Python to call GPIO/Sensor hardware;
5. Built-in Siot LAN MTQQ protocol;
6. Built-in OpecnCV;
Note: OrangePi Zero/NanoPi Neo (based on Allwinner H2+/H3 core) has been verified so far
Get started quickly with PythonIOT
Teaching goals: experience the Linux operating system (terminal command line), learn Python programming (based on Jupyter ), Internet of Things hardware programming ( Siot/MQTT ), network communication principle experiments, OpenCV face recognition, etc.
Run the first command line command, run the first Python code, run the first hardware project ( one light, one button , OLED display). The entire training is controlled within 30 minutes, leaving 15 minutes for practical operation, exploration and communication. .
1. Win system usually does not require driver. In some cases, it will be recognized as a COM port, and the driver needs to be updated manually. First download the driver, run the fifth CMD file ( http://www.qudong51.net/qudong/540.html ) as an administrator , and then install the driver on the device. Double-click the COM port recognized by the USB serial port in the manager and select Computer to find and update the driver. (see appendix)
2. For Linux -compatible systems such as Ubuntu , X86 is automatically installed and verified.
3. Install HoRNDIS-9.2.pkg on Mac system , download address https://joshuawise.com/horndis , and pass the test.
Note : The startup is slow for the first time. Just press RESET to restart the system. There is no need to repeat the above process for future uses.
root@ist:/# sudo su
root@ist:/# nmtui
1. Edit connection → enable connection
Choose one of the cases below as a guide for getting started.
1. Top 10 Command Line Games For Linux
sudo apt install bastet Tetris
sudo apt-get install nsnake greedy snake
2. Interesting command lines of Linux
https://zhuanlan.zhihu.com/p/128057151
https://www.cnblogs.com/hgmyz/p/12351022.html
https://blog.csdn.net/sinat_38682860/article/details/103056558
40 Super Fun Linux Command Line Easter Eggs and Games
https://blog.csdn.net/qq_32523587/article/details/84960304
sudo apt update
sudo apt install python3-pandas python3-sklearn git
pip3 install wordcloud jieba itchat pyfirmata siot
https://www.jianshu.com/p/37f7ee7ead65
An open source message broker software that implements the message push protocol MQTT v3.1 , provides lightweight, supports publishable / subscribeable message push mode, and makes short message communication between devices simple, such as now Low-power sensors are widely used in mobile devices such as mobile phones, embedded computers, and microcontrollers.
#Note that this step cannot be ignored
sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
sudo apt-get update
sudo apt-get install mosquitto
sudo apt-get install mosquitto-dev
sudo apt-get install mosquitto-clients
sudo service mosquitto status
status running results:
#Open a terminal and execute the following command to subscribe to the topic "mqtt"
mosquitto_sub -h localhost -t "mqtt" -v
#Open another terminal and publish messages to the topic "mqtt"
mosquitto_pub -h localhost -t "mqtt" -m "Hello MQTT"
#Now you will see the message being displayed on the previous terminal .
#Through the following command, you can schedule all test mqtt information to be released to the official website. Of course, others can also subscribe to the information you publish.
mosquitto_sub -h test.mosquitto.org -t "#" -v
#You can also publish your own exclusive information under the official mqtt service
mosquitto_sub -h test.mosquitto.org -t "myxyz123" -v
#Subscribe to your own information
mosquitto_pub -h test.mosquitto.org -t "myxyz123" -m "hello mqtt"
test.mosquitto.org supports encrypted and unencrypted MQTT message modes, and also supports using TCP or Websocket as a bearer. Different packet formats can be observed through wireshark packet capture .
The usb rndis driver under Win will be recognized as a COM port by default, and the driver needs to be updated manually.
1. First download kindle_rndis.inf_amd64-v1.0.0.1 , http://www.qudong51.net/qudong/540.html ;
2. Then run the fifth cmd file as administrator ;
3. Double-click the COM port recognized by the USB serial port in the device manager and search for the driver on the computer, that is, download the unzipped folder;
4. Wait for the installation of the RNDIS driver in the network adapter to be completed.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet