micropython

Learn about micropython, we have the largest and most updated micropython information on alibabacloud.com

Micropython Supported development boards: high-performance, low-cost maker of choice

Python's openness, simplicity, and bonding are in line with the current stage of development for big data analysis, visualization, various platform program collaboration has produced a rapid promotion role. It has been five or six years since the release of the Python3, and it has been a long time since the announcement of the opposition to slowly accepted and liked, but it may also have a considerable relationship with national conditions and development needs. In short, more and more people ar

[Tpyboard-micropython Tutorial 0] python will be able to do the hardware!

reprint Please specify: @ Xiao Wu Yi Http://www.cnblogs.com/xiaowuyi qq Group: 64770604Python will be able to do hardware!Before writing this tutorial, first feel Shandong Radish Electronic Technology Co., Ltd. (turnipsmart.tec.co,http://www.turnipsmart.com/) to provide technical support and Development Board support. The Micropython Development Board used in this tutorial is TPYBoardV102.What is Micropython

The world is so big, so many languages, why choose Micropython, its advantages?

Recent domestic Micropython swept the procedural circle, what causes it to be so hot? Is it because he is powerful and open source according to the MIT protocol?Wrong! Because the use of it is really too comfortable!!!Micropython's origins, thanks to Damien George, a great computer engineer, Damien George uses Python every day, and one day he comes up with a bold idea: can you use Python to control your microcontroller, To achieve the operation of the

Turnipbit-micropython Development Board: Properly dragged 0 Foundation can also play programming

tax price of about 24 pounds.Fortunately, Micro:bit is open source, as the domestic Micropython series of products, the most comprehensive, the most professional tpyboard naturally can not let go of this opportunity for domestic friends. Heavy ultra-low price of 99 yuan introduced fully compatible with the original Micro:bit Turnipbit, and in the original based on the improvement. Whether programming small white, primary and secondary school or hardw

[tpyboard-micropython] five minutes to learn to use TPYBOARD-GPS to make a mass message machine

Reprint please specify: @ Xiao Wu Yi Http://www.cnblogs.com/xiaowuyiWelcome to join the discussion group64770604first, What isTpyboard-gpsTpyboard-gps also called Tpyboard V702 is the only Micropython Development Board in the market that supports the function of communication positioning: support Python3.0 and the above version to run Directly. Support gps+ Beidou dual-mode positioning, GPRS communication, SMS function, telephone function, onboard tem

Micropython Development Board with Ethernet: TPYBoardv201 temperature and humidity upload instance

Reprint please indicate the source of the article as a link, micropythonqq Exchange Group: 157816561, public number: Micropython playerhas always been about the temperature and humidity of the detection is uninterrupted, this time we continue to detect temperature and humidity, the same or use DHT11 to detect. But this time detected temperature and humidity does not show, also do not alarm, this time to the detected data through the Ethernet upload to

Tpyboard getting Micropython Tips

permissions to connect to the device (for example, group UUCP or dialout, or permissions sudo).4. using the interactive selectorYou can now run the Micropython code directly on the Tpyboard.Open the serial port program (for example, Putty, terminal interface, piocom, etc.) to see an empty screen with a blinking cursor. Press any key to enter the Micropython interpreter, which is displayed as >>>. The follo

micropython+ Beidou +gps+gprs:tpyboardv702 SMS Function usage Instructions

Reprint please indicate the source of the article as a link (micropythonqq technology Group: 157816561, public number: Micropython player)TPYBoardv702 is the only Micropython Development Board in the market that supports the communication positioning function: Supports Python3.0 and above to run directly. Support gps+ Beidou dual-mode positioning, GPRS communication, SMS function, telephone function, onboar

[Tpyboard-micropython python can do hardware 8] Learn to use Bluetooth modules and servos

) x1 = Pin (' X1 ', pin.out_pp) x2 = Pin (' X2 ', pin.out _PP) y1 = Pin (' Y1 ', pin.out_pp) y2 = pin (' Y2 ', pin.out_pp) while True:if (run==1): Trig.value (1) pyb.udelay ( Trig.value (0) while (Echo.value () ==0): Trig.value (1) pyb.udelay (+) Tr Ig.value (0) flag=0 if (Echo.value () ==1): Flag=1 while (Echo.value () ==1): Flag=1 i F (num!=0): #print (' num: ', num) DISTANCE=NUM/10000*34299/2 print (' Distance ') pri NT (distance, ' cm ') if Distance>=20:go () if Distance

TPYBOARDV102 automatic watering system of Micropython example

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 method4. Source Code fromPybImportPin, ADC fromds18x20Importds18x20 GL= ADC (Pin ('Y12'))#300 bright-1700 darkSD = ADC (Pin ('Y11'))#1800 Dry-800 wetWD

Micropython example of Tpyboard v102 colorful lantern ws2812b

, blueinchdata:red= Int (Red *intensity) Green= Int (Green *intensity) Blue= Int (Blue *intensity) Buf[index]= Buf_bytes[green >> 6 Mask] Buf[index+1] = Buf_bytes[green >> 4 Mask] Buf[index+2] = Buf_bytes[green >> 2 Mask] Buf[index+3] = Buf_bytes[green Mask] Buf[index+4] = buf_bytes[red >> 6 Mask] Buf[index+5] = buf_bytes[red >> 4 Mask] Buf[index+6] = buf_bytes[red >> 2 Mask] Buf[index+7] = buf_bytes[red Mask] Buf[index+8] = Buf_bytes[blue >> 6 Mask] Buf[index+9] = Buf_bytes[blue >> 4 Mask] Buf[

Usage of Micropython Tpyboard i²c

=false), initializingmode, it can only be i²c. MASTER or I²c. SLAVEaddr,7-bit i²c addressbaudrate, Clock frequencyGencall, universal invocation modeI2c.is_ready (addr), detects if I²c device responds, only valid for main modei2c.mem_read (data, addr, memaddr, *, timeout=5000, addr_size=8), readingdata, Integer, or cacheaddr, device addressmemaddr, memory addressTimeout , read wait time-outthe size of the addr_size,memaddr. 8-bit or 16-biti2c.mem_write (data, addr, memaddr, *, timeout=5000, addr_

Micropython Practical turnipbit Development Board DIY electronic Clock

: Self.setreg (Self.dec2hex (day), Ds3231_reg_day)defMonth (self, month="'): ifmonth=="': returnSelf.getreg_dec (ds3231_reg_month)Else: Self.setreg (Self.dec2hex (month), Ds3231_reg_month)defYear (self, year="'): ifyear=="': returnSelf.getreg_dec (ds3231_reg_year)Else: Self.setreg (Self.dec2hex (year), ds3231_reg_year)defTEMP (self): I2c.write (ds3231_addr,ds3231_reg_temp, repeat=False) T1= I2c.read (ds3231_addr,1, repeat=False) [0] I2c.write (ds3231_addr,b'\x

Micropython Tpyboard Control Wireless Acceleration Trolley

) Else Xlights[0].off () Xlights[1].off () y = Accel.y () Print ("y=") Print (y) If y > 15: Ylights[0].on () Ylights[1].off () #u2. Write (' \x00\x05\x18hou ') #pyb. Delay (1000) #print (' \x00\x01\x18hou ') Elif y Ylights[1].on () Ylights[0].off () U2.write (' \x00\x05\x18qian ') #pyb. Delay (1000) Print (' \x00\x01\x18qian ') Else Ylights[0].off () Ylights[1].off () Pyb.delay (10) [/code]Source code of the controlled side: [Code]import Pyb

Micropython Tpyboard v102 Development Board control OLED display Chinese

Reprint please indicate the source of the article in the form of a link, public number: Micropython player0x00 PrefacePreviously saw an article about TPYBoardv102 control OLED screen display, after seeing to try to use the OLED screen to display Chinese. The recent use of spare time to finish the experiment, hereby will be the experimental process and the source to share, convenient for later use.0X01 Laboratory EquipmentTPYBOARDV102 Development Board

Micropython-gps Tutorial TPYBoardv702 Control 5110 shows the current latitude and longitude

  First, about TPYBoardV702TPYBoardV702 is the only Micropython Development Board in the market that supports the communication positioning function: Supports Python3.0 and above to run directly. Support gps+ Beidou dual-mode positioning, GPRS communication, SMS function, telephone function, onboard temperature and humidity, photosensitive, triaxial accelerometer, buzzer, LCD5110 display. Provide location testing Service platform free of charge. Physi

[Detailed examples] Micropython plug-in programming combat: DIY A thinking of the barrier car

(please indicate the source of the article, more tutorials can self-reference Www.tpyboard.com,QQ Technology Exchange Group: 157816561, public number: Micropython player) In daily life, people will often see a variety of remote control cars, it needs our artificial operation, control its forward, backward and turn. Today, we will take you to a different new friend-the "thinking car that can be considered." "Can think of the obstacle-avoidance car" an

[Micropython] Tpyboard v10x interpolation programming experiment lighting heart-shaped dot matrix

First, what is the Tpyboard Development BoardTpyboard is a Micropython development Board made by Turnipsmart company based on Micropython licensed by MIT, which transmits data via USB interface on the basis of stm32f405 MCU. The board contains 4 LEDs, an acceleration sensor, which can operate at voltages between the 3v-10v. The Tpyboard Development Board allows users to easily control various peripherals of

Micropython Development Board Tpyboard application of Usb-hid

Usb-hid is the abbreviation of human Interface device, which belongs to the Human-computer interaction operation device, such as USB mouse, USB keyboard, USB game joystick, USB touchpad, USB trackball, telephone dialing device, VCR remote control and so On. Tpyboard with Micropython In addition to the USB host feature, It can also be applied as a Usb-hid device, which focuses on if used as a mouse and Keyboard.first, as a mouse application(1) Edit the

[tpyboard-micropython python can do hardware 9] five minutes of learning to use Tpyboard V102 to make a car to avoid the obstacle (upgrade Version)

(1) pyb.udelay (+) trig.value (0) flag=0 if (echo.value () ==1): Flag=1 while (echo.value () ==1): flag=1 if (num!=0): #测距 D ISTANCE=NUM/10000*34299/2 #print (' Distance: ') #print (Distance, ' cm ') pyb.delay (500) Flag=0 run=0 return distancedef main (): global distance global Zuo Global you global Qian Servo3 =pyb. Servo (3) servo3.Angle (0,500) pyb.delay (+) ceju () while 1==1:ceju (), #前方距离大于40cm前进 if distance > 40: Go () ceju () print (' juli ', distance) #前方距离小于40cm if

Related Keywords:
Total Pages: 5 1 2 3 4 5 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.