diff --git a/README.md b/README.md index 04c5e7c..4201f7e 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,12 @@ *** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use. *** https://www.markdownguide.org/basic-syntax/#reference-style-links --> -[![Contributors][contributors-shield]][contributors-url] + @@ -33,19 +33,19 @@ Logo -

project_title

+

CNT++

- project_description + Firmware module for counting people using STM32F4x microcontroller
Explore the docs »

- View Demo + · - Report Bug + Report Bug · - Request Feature + Request Feature

@@ -84,71 +84,53 @@ [![Product Name Screen Shot][product-screenshot]](https://example.com) -Here's a blank template to get started: To avoid retyping too much info. Do a search and replace with your text editor for the following: `github_username`, `repo_name`, `twitter_handle`, `linkedin_username`, `email`, `email_client`, `project_title`, `project_description` +The people counter is able to count the number of people that enter/exit a room using two IR sensors. In addition to that, there are two leds that signal if the room is full (red) or if there are places left (green). Moreover, a display shows the number of free seats. The maximum number of people, the reset feature and the log transfer can be done via UART. +Our target is to develop firmware modules able to save the status of the system on log files in the flash memory, configure the device and download logs via UART + DMA. In addition to that, the system will also show the state of the room on the LCD display and on the leds and manage the IR sensors + RTC.

(back to top)

- ### Built With -* [Next.js](https://nextjs.org/) -* [React.js](https://reactjs.org/) -* [Vue.js](https://vuejs.org/) -* [Angular](https://angular.io/) -* [Svelte](https://svelte.dev/) -* [Laravel](https://laravel.com) -* [Bootstrap](https://getbootstrap.com) -* [JQuery](https://jquery.com) +* [Renode](https://renode.io/) +* [PlatformIo](https://platformio.org/) +* [Mono](https://www.mono-project.com/)

(back to top)

### Functional Specification -Here's a Short description of what is the focus of your application. +The expected results consist of providing a safe system that can be used in critical domains too (for example in applying restrictions in a public place due to Covid 19). The firmware will be as optimized as possible, in order to reduce the power consumption. The data displayed on the LCD will be shown in a user-friendly way so that everyone will understand. ## Getting Started -This is an example of how you may give instructions on setting up your project locally. -To get a local copy up and running follow these simple example steps. - ### Prerequisites +One important point of CNT++ is that it is very easy to be launched thanks to its adaptation capability to VSCode, Platform IO and Renode. + +After installing the developements tools the system can be run following the steps listed below: -This is an example of how to list things you need to use the software and how to install them. -* npm +* Clone the repository. ```sh - npm install npm@latest -g + git clone https://github.com/SoC-Arch-polito/cnt21.git ``` - -### Installation - -1. Get a free API Key at [https://example.com](https://example.com) -2. Clone the repo - ```sh - git clone https://github.com/github_username/repo_name.git - ``` -3. Install NPM packages - ```sh - npm install - ``` -4. Enter your API in `config.js` - ```js - const API_KEY = 'ENTER YOUR API'; - ``` - -

(back to top)

+* Build the project. +* Open Renode and write `include @./stm32f4_discovery_modified.resc`. + ```sh + cd cnt21 + renode + ``` +* Launch the firmware writing `start` command in the Renode console. +* Interact with CNT++ writing the commands both in the Renode console in the CommandConsole (UART4). ## Usage -Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources. - -_For more examples, please refer to the [Documentation](https://example.com)_ +

(back to top)

@@ -231,4 +213,4 @@ Project Link: [https://github.com/github_username/repo_name](https://github.com/ [license-url]: https://github.com/github_username/repo_name/blob/master/LICENSE.txt [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555 [linkedin-url]: https://linkedin.com/in/linkedin_username -[product-screenshot]: images/screenshot.png +[product-screenshot]: images/main.png diff --git a/images/main.png b/images/main.png new file mode 100644 index 0000000..4d67266 Binary files /dev/null and b/images/main.png differ