Giter Site home page Giter Site logo

automotive-safety-system / accidents-system Goto Github PK

View Code? Open in Web Editor NEW
10.0 8.0 6.0 738 KB

License: GNU General Public License v3.0

C 91.29% HTML 3.39% C++ 4.42% Assembly 0.82% CMake 0.08%
c stm32f4 assembly arm mqtt bootloader rtos esp8266 gsm gps mpu6050 can-bus ota-firmware-updates iot

accidents-system's Introduction

Accidents-System

accidents-system's People

Contributors

abdullamaghrabi avatar ahmed-hassan97 avatar hazemgabr232 avatar mahmoudgamalhafez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

accidents-system's Issues

use JSON middle ware

use JSON middle ware to be able to serialize and manipulate all kinds of data.

ESP semaphores

1 - Create semaphores to handle shared resources between HAL tasks and application layer tasks
such as read and write buffers and similar resources.

2 - Create semaphores for the purpose of synchronization between TCP/IP read and write tasks or any other task
(both tasks can't work at the same time).

use web sockets

Use web sockets directly as the only way to connect to the cloud,
without using MQTT as a middle ware.
This requires adding additional data fields to distinguish between devices and various data entries.

MQTT task is not working

unit tests for both ESP and MQTT middle ware are working properly,
when using both of them together in MQTT task something goes wrong and no data is received at all on the receiver side.

MPU in RTOS

1- use the mpu_read() function as a task in OS.c file
the task should read data periodically and save it into struct.

2- in mpu_test file, you should refer to how to extern the mpu_data_struct anywhere to be used.

if you want to test your code you might create a dummy task which reads the mpu_data_struct periodically and only printf the results.

note : no need for semaphores in the whole thing.

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.