Giter Site home page Giter Site logo

bme280pi's Introduction

BME 280 driver for Raspberry Pi

Preconditions

  1. i2c should be enabled on RaspberryPi: https://learn.sparkfun.com/tutorials/raspberry-pi-spi-and-i2c-tutorial/all
  2. Install i2c-tools: sudo apt-get install -y i2c-tools
  3. Java 11 or above should be installed on Raspberry Pi: sudo apt install default-jdk
  4. Maven 3.6.3 or above need to be installed on Raspberry Pi: sudo apt-get install maven
  5. Unfortunatly default JDK is not support i2c-dio and custom JDK need to be installed: https://bell-sw.com/pages/downloads-embedded/#/java-11-lts (download full SDK and install deb-package manually)

Setup Visual Studio Code to work via SSH

It is really convinient to install Raspbian Lite without GUI on Raspberry Pi (it use less resources of it) and use Visual Studio Code from regular PC (for example under Windows) to connect to Raspberry Pi via SSH. In this case Raspberry Pi is used as DEV-machine and code exeuted on it but modified on desctop station. Also it is possible to debug develoiped application directly from Visual Studio Code even if the code executed on Raspberry Pi. Visual Studio Code via SSH: https://code.visualstudio.com/docs/remote/ssh

  1. Set static ip for your Raspberry Pi on you home router.
  2. Install Visual Studio Code on your desctop: https://code.visualstudio.com/download
  3. Install Visual Studio Code Remote Development Extension Pack: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack
  4. Install Java Extention Pack on Remote-SSH (Raspberry-Pi)

Open this project on Remote-SSH from GitHub

bme280pi's People

Contributors

j8kin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.