Git Product home page Git Product logo

stembedded's Introduction

STEmbedded

Project displaying communication between Bluetooth Android app and STM32 microcontroller. The STM32 microcontroller talks via SPI to an STM Nucleo Bluetooth shield that allows it to communicate with the Android device.

stembedded's People

Contributors

shivankaul avatar yusaira-khan avatar deepaks4077 avatar

Watchers

James Cloos avatar  avatar Saptaparna Nath avatar  avatar

stembedded's Issues

Refactor HAL_SPI_MspInit

This function is too lengthy. Should call 2 separate functions to init SPI1 and SPI2 depending on SPI_HandleTypeDef->Instance.

Also, move GPIO related definitions (preprocessing definitions) to a separate header file.

Questions

Do we need to write code for the Nucleo board?
PWM? How do we use it? From Android? And why only for ON and not clockwise?

use HAL_SPI_TransmitReceive in s*_hal_spi.c

the spi protocol that the accelerometer is using involves setting the value in the data register and then waiting for the accelerometer chip to get and set the bits. We might have to use HAL_SPI_TransmitReceive or its variants.

Functionality

Display on phone:

  • temperature
  • accelerometer data

Input from phone:

  • LEDs
    • Patterns:
      • All 4 on (controlled by PWM)
      • All off
      • LEDs clockwise
      • LEDs anticlockwise

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.