Skip to content

QuecPython/solution-Sensorhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quick_start

Hardware preparation

A Windows computer, recommended 'Win10' system.

A set of EC200U-EU Quecpython Standard Development Board (including antenna and Type-C data cable)

A functioning SIM card that is usable normally

programming environment setup

hardware connection

Follow the following diagram to connect the hardware:

[

  1. Connect the antenna to the antenna connector marked with 'LTE'.

  2. Use the Type-C data cable to connect the development board to the computer.

  3. Insert a Nano SIM card into the SIM1 slot in the figure

device development

  • starting up

After the hardware connection is complete, when the PWR, SCK1 lights up or the COM port containing Quectel USB appears in the port list of the computer device Manager, it indicates that the power on is successful

  • Burn firmware package

Refer to this section, and flash the firmware package onto the development board.

  • Script import and run

1.Refer to [this section](https://python.quectel.com/doc/Getting_started/zh/first_python.html#PC and module file transfer), and import all files in the code folder under the source code directory into the module file system according to the original directory structure, as shown in the following figure.

  1. Refer to [this section](https://python.quectel.com/doc/Getting_started/zh/first_python.html#executing script files), and execute the main program file _main.py

  2. Refer to this section, and stop the program from running.

Service debugging

start the application

After the _main.py script is executed, the program starts to run and prints dial-up information, including dial-up status, IP address, DNS server address, and device number

🚩 Warning

When the SIM card is not inserted, the SCK1 light will not turn on and the device information cannot be printed. After inserting the SIM card and restarting the device, the device will run normally.

data detection

After starting operation, the data of detected temperature 1, humidity, air pressure, temperature 2, and color of the three primary colors will be printed every 1s.

data updating

When detecting that any of the above four types of data has a change greater than 1 or primary color has a change greater than 150, it will try to upload updated data to the cloud. When the upload is successful, "send ret: True" is returned, and it will prompt which data has changed. The APP reads the latest data from the cloud for data update.

If the data does not change more than 1, only the current detected data will be printed in pqcom, and the cloud will not be uploaded.

Position positioning update. When the module displacement exceeds 50 meters, the cloud will refresh the positioning information, and the app will read the latest positioning information.

Actively refresh the APP data. By clicking the refresh button in the upper right corner of the APP, the APP will send an active data reading command to the server for actively updating the panel data.

Temperature, humidity, air pressure, color, Lbs data were obtained successfully.

About

vSIM EVB project:EC200UEU + Sense HAT(B)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy