Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

pycom/paris-hackaton-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Paris Hackathon 2019

Prerequisites Steps

  • IDE anyone of the below Code editor

  • Pymakr Plugin

    • Installation Steps
    • In case you get any error while adding Pymakr Plugin
      • Make sure that your Code editor is on the latest version
      • Install Node
      • Install prebuild-install
      npm install -g prebuild-install
      
      • For Linux & Unix user
      cd ~/.atom/packages/pymakr/node_modules/\@serialport/bindings
      • For Windows users
      cd %USERPROFILE%/.atom/packages/pymakr/node_modules/\@serialport/bindings
      • Run
      prebuild-install --runtime electron --target 4.2.7 --tag-prefix @serialport/bindings@ --verbose
  • Pycom Firmware Updater

Temperature sensor

To connect the temperature sensor to the device you should connect the following:

  • + to the 3v3 pin
  • - to the GND
  • out to the P23 pin

Code Snippet

  • switch to wifi network and reconnect
pybytes.set_config('network_preferences', ['wifi'])
pybytes.reconnect()
  • Enable Debugging
import pycom
pycom.nvs_set('pybytes_debug', 6)
  • Change or Set Lora Region
from network import LoRa
pybytes.update_config('lora', { 'region': LoRa.EU868 })
  • Send Data to Pybytes
pybytes.send_signal(SIGNAL_NUMBER, DATA)
  • Deep Sleep
pybytes.deepsleep(10000)  # 10 sec sleep

Solutions

  • sudo chmod 755 FILE_NAME

Publicly accessible firmware links

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published