1. System functionsMonitoring of soil moisture, ambient temperature, light intensityAutomatic watering according to current environment, cold weather automatically heats soil2. Required ComponentsTpyboard Board 1 piecesPhotosensitive Module 1 BlocksDS18B20 Module 1 BlockSoil Moisture Detection Module 1 blockDuPont Line severalRelays 2 X3. Wiring methodAfter the wiring is complete, main.py, boot.py, ds18x20.py, onewire.py are imported into the Tpyboard v102 drive letter to run. Automatic watering
) Steperwritedata ([0, 0,1,1]) sleep (speed) steperwritedata ([0,1,1,0]) sleep (speed) def steperstop (): Steperwritedata ([0,0,0,0]) d EF Steperrun (angle): Global angle_per_round val=angle_per_round*abs (angle) if (angle>0): For I in range (0,val): SteperfrontturN () else:for I in Range (0,val): Steperbackturn () steperstop () while True:light=pin0.read_an Alog () #读取光敏传感器传递过来的模拟量数据 #数值越大说明光照度越小 if Light>400:if isopen:isopen=false steperru N ( -360) #光照小于设定的值, close the curtains else:if isop
Today engaged in a day, found a variety of problems, the first final solution is to reproduce the brush firmware!!!!The firmware will need to be cleaned flash!
When you clear flash, press and hold the Flash key, then press the RST key, then
tasks.comparison of several mainstream Python development boardsThe following formally enters our subject. With the growing popularity and popularity of the Python language, the boards of some microcontrollers dedicated to the Python language have been presented to the public. A python that can be run on a microcontroller also known as Micropython,micro Python is a simple and fast implementation of the Python 3 programming language, specifically opti
Recently Micropython language hardware programming is very fire, followed by the start to support the development of Micropython language programming board also started fire hot, today small series on and we introduce a very classic Micropython Development Board-tpyboardv102 Development Board. A Onboard Hardware Resources IntroductionIn accordance with the Conve
can be used to receive very important embedded system data, then stored in a database or locally for analysis. Developers can also use Python to develop real-time visualizations to show critical parameters, or to store these parameters for subsequent analysis. One of the advantages of using Python for data analysis is that when basic work is done, the placement of new features is straightforward.function # 4– Real-time softwarePython has proven its strength and ease of use, and even found it as
This post is suitable for entry-level personnel, but at the same time welcome new and old readers to criticize.A treasure bought a esp32, there is a ESP32 development guide book.And then the environment is built. The above is written mainly on Linux, I built a half-day on my orange Pi PC Development Board, there are some areas behind the problem, not ready. After the time to deal with the process, after all, an orange pie price is so low, plus a display price is not high, and it itself can be ha
2018-04-0319:12:02From playing Micropython to the present, all the way the thorns all the way bumpy.I do not know that only I encountered such a problem or micropython too unstable, or I bought the board is too rough. In short, there are too many problems.The most important, but also the most annoying problem is: brush does not enter the program, brush not into the program.I use a lot of software:In the end
efficient Python implementation, primarily to enable easier implementation of the underlying operations on embedded hardware, specifically at the microcontroller level. [Github 5728 stars]Https://github.com/micropython/micropythonNo 9:prophetThe tool is an open source Facebook tool for generating high-quality predictions for multi-cyclical linear or nonlinear time series data. [Github 4369 stars, provided by Facebook]Https://github.com/facebook/proph
applications.
Thrift: Efficient cross-language ipc/rpc for c++,java,python,php,c# and many other languages, originally developed by Twitter.
Video
LIBVPX:VP8/VP9 encoding and decoding SDK
FFmpeg: A complete, cross-platform solution for recording, converting video and audio streams.
LIBDE265: The implementation of an open h.265 video codec.
OpenH264: Open source h.364 codec.
Theora: Free open source video compression format.
Virtual machines
Intere
industrial intensity[7663 stars on GitHub]. Provided by Matthew Honnibal
Seventh place
PIPENV: Human python development Workflow [GitHub 7273 stars]. Provided by Kenneth Reitz
eighth place
Micropython: Simple and efficient python implementation of micro-control and constraint system [GitHub 5728 stars]
Nineth Place
Prophet: A high-quality predictive tool for generating multiple seasonal time-series data with linear or non-linear growth [GitH
Simplebinaryencoding: Encoding and decoding of application information in binary format for low-latency applications.
Thrift: Efficient cross-language ipc/rpc for c++,java,python,php,c# and many other languages, originally developed by Twitter.
Video
LIBVPX:VP8/VP9 encoding and decoding SDK
FFmpeg: A complete, cross-platform solution for recording, converting video and audio streams.
LIBDE265: The implementation of an open h.265 video codec.
OpenH264: Open sour
serialization Library
MessagePack: Efficient binary serialization library of C/C ++, such as JSON
Protobuf: Protocol buffer, Google's data exchange format.
Protobuf-c: Protocol buffer implementation in c Language
SimpleBinaryEncoding: used to encode and decode application information in binary format for low-latency applications.
Thrift: efficient cross-language IPC/RPC, used in C ++, Java, Python, PHP, C # and other languages, initially developed by Twitter.
Video
Libvpx: VP8/VP9 encodi
: Efficient cross-language ipc/rpc for c++,java,python,php,c# and many other languages, originally developed by Twitter.
Video
LIBVPX:VP8/VP9 encoding and decoding SDK
FFmpeg: A complete, cross-platform solution for recording, converting video and audio streams.
LIBDE265: The implementation of an open h.265 video codec.
OpenH264: Open source h.364 codec.
Theora: Free open source video compression format.
Virtual machines
Interesting VMs in Carpvm:c, le
other languages, originally developed by Twitter.
Video
LIBVPX:VP8/VP9 encoding and decoding SDK
FFmpeg: A complete, cross-platform solution for recording, converting video and audio streams.
LIBDE265: The implementation of an open h.265 video codec.
OpenH264: Open source h.364 codec.
Theora: Free open source video compression format.
Virtual machines
Interesting VMs in Carpvm:c, let's take a look at this.
Mic
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.