From 7b24d4920a0ac347f61de166f29006bdaaa5c493 Mon Sep 17 00:00:00 2001 From: gehadelkoumy Date: Wed, 12 Apr 2023 22:46:43 +0200 Subject: [PATCH 1/4] added arduino code and README file -fixes #11 --- .../Arduino-test-code/Arduino-test-code.ino | 66 +++++++++++++++++++ Test-hardware-components/README.md | 14 ++++ 2 files changed, 80 insertions(+) create mode 100644 Test-hardware-components/Arduino-test-code/Arduino-test-code.ino create mode 100644 Test-hardware-components/README.md diff --git a/Test-hardware-components/Arduino-test-code/Arduino-test-code.ino b/Test-hardware-components/Arduino-test-code/Arduino-test-code.ino new file mode 100644 index 0000000..817b1c7 --- /dev/null +++ b/Test-hardware-components/Arduino-test-code/Arduino-test-code.ino @@ -0,0 +1,66 @@ +#define motor1_dir PA0 +#define motor2_dir PA2 +#define motor1_pwm PA1 +#define motor2_pwm PA3 + +#define motor1_encoder_int1 PA5 +#define motor1_encoder_int2 PA6 + +int countA = 0, countB = 0; +int currentStateCLK; +int previousStateCLK; + +String encdir =""; +float last_time = 0, current_time = 0; +float RPM = 0; + +void setup() { + + // pinMode(motor1_dir, OUTPUT); + // pinMode(motor1_pwm, OUTPUT); + pinMode(motor1_encoder_int1,INPUT); + pinMode(motor1_encoder_int2,INPUT); + attachInterrupt(digitalPinToInterrupt(motor1_encoder_int1), fucnA,RISING); + + Serial.begin(9600); +} + +void fucnA(){ + + currentStateCLK = digitalRead(motor1_encoder_int1); + + // If the inputDT state is different than the inputCLK state then + // the encoder is rotating clockwise + if (digitalRead(motor1_encoder_int2) != currentStateCLK) { + countA ++; + encdir ="CW"; + + + } else { + // Encoder is rotating counterclockwise + countA --; + encdir ="CCW"; + + } + +} + +void loop() { + + //analogWrite(motor1_pwm, 255); + //digitalWrite(motor1_dir,HIGH); + current_time = millis(); + if ((current_time-last_time)>1000){ + RPM = (countA/230)*60; + last_time = current_time; + Serial.print("countA = "); + Serial.println(countA); + Serial.print("Dir: "); + Serial.println(encdir); + Serial.print("RPM: "); + Serial.println(RPM); + countA = 0; + + } + +} diff --git a/Test-hardware-components/README.md b/Test-hardware-components/README.md new file mode 100644 index 0000000..20d91c2 --- /dev/null +++ b/Test-hardware-components/README.md @@ -0,0 +1,14 @@ +> ## ***This is a documentation for issue #11*** +> `Testing hardware components using arduino ide` + +## 1. Testing the 3 Motors using cytrons 1 channel. +- We provide speed and direction control of the 2 motors using 2 cytrons 1 channel, the third motor is used for the lifting mechanism so we only need direction control. + +## 2. Getting encoders readings. +- By comparing the two sets of pulses out of the encoder we can determine the direction of the motor. +- Depending on the direction we count rising edges of the pulses by interrupt to evaluate revolution per minite. + - `RPM = ( counts / encoder resolution )*60` +- Finally, we display the readings of counts, RPM and Motor direction on a serial monitor every 1 sec. + + + From fb5cb282d0403a05119bab5a62b251bd9cd9d11b Mon Sep 17 00:00:00 2001 From: gehadelkoumy Date: Wed, 12 Apr 2023 22:55:13 +0200 Subject: [PATCH 2/4] added a documentation -fixes #11 --- .../Embedded/Test hardware components @11.md | 1 - .../Data/Data.md | 0 ...shelves, robots, users and products @23.md | 0 ...me metrics like most poplar product @22.md | 0 ...e products in the different shelves @20.md | 0 ...ferent attributes like battery life @21.md | 0 ...CD pipeline for the web application @25.md | 0 ...agram and the cloudformation script @24.md | 0 .../DevOps/Devops.md | 0 .../Embedded/.obsidian/app.json | 3 + .../Embedded/.obsidian/appearance.json | 3 + .../.obsidian/core-plugins-migration.json | 29 ++++ .../Embedded/.obsidian/core-plugins.json | 20 +++ .../Embedded/.obsidian/hotkeys.json | 1 + .../Embedded/.obsidian/workspace.json | 151 ++++++++++++++++++ .../ARM embedded-c encoders code @14.md | 0 .../Embedded/Arduino Encoders code @12.md | 0 .../Embedded/Embedded.md | 2 +- .../Embedded/PCB design @15.md | 0 .../Embedded/PCB fabrication @16.md | 0 .../Embedded/Robot mechanical design @13.md | 0 .../Embedded/Test-hardware-components@11.md | 14 ++ ...os with micro-controller in arduino @17.md | 0 ... with micro-controller in embeded-c @18.md | 0 .../Embedded/robot movement algorithm @19.md | 0 .../Pasted image 20221220203859.png | Bin .../README-images/canvas.png | Bin .../README-images/canvas2.png | Bin .../README-images/obsidian-nodes.png | Bin .../README.md | 0 ... update robots and shelves locations @1.md | 0 ... and shelves locations from database @2.md | 0 .../Software/Software.md | 0 ...e robots-shelves movement simulation @3.md | 0 ...eend for a dashboard web application @6.md | 0 ...nication with raspberrypi over wifi @10.md | 0 ...tend for a dashboard web application @5.md | 0 ...(for later usage in web application) @4.md | 0 .../Software/raspbian os on raspberrypi @7.md | 0 .../Software/ros noetic on raspberrypi @26.md | 0 ...am camera over rtsp with raspberrypi @8.md | 0 ...e micro-controller over wifi network @9.md | 0 42 files changed, 222 insertions(+), 2 deletions(-) delete mode 100644 Graduation Project Documentation/Embedded/Test hardware components @11.md rename {Graduation Project Documentation => Graduation-Project-Documentation}/Data/Data.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Data/create a database with different tables for the shelves, robots, users and products @23.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Data/inspect some metrics like most poplar product @22.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Data/keep track and analyze the products in the different shelves @20.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Data/keep track and analyze the robots different attributes like battery life @21.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/DevOps/CI-CD pipeline for the web application @25.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/DevOps/Create the cloud infrastructure, diagram and the cloudformation script @24.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/DevOps/Devops.md (100%) create mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/app.json create mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/appearance.json create mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/core-plugins-migration.json create mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/core-plugins.json create mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/hotkeys.json create mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/workspace.json rename {Graduation Project Documentation => Graduation-Project-Documentation}/Embedded/ARM embedded-c encoders code @14.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Embedded/Arduino Encoders code @12.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Embedded/Embedded.md (89%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Embedded/PCB design @15.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Embedded/PCB fabrication @16.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Embedded/Robot mechanical design @13.md (100%) create mode 100644 Graduation-Project-Documentation/Embedded/Test-hardware-components@11.md rename {Graduation Project Documentation => Graduation-Project-Documentation}/Embedded/integrate ros with micro-controller in arduino @17.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Embedded/integrate ros with micro-controller in embeded-c @18.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Embedded/robot movement algorithm @19.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Pasted image 20221220203859.png (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/README-images/canvas.png (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/README-images/canvas2.png (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/README-images/obsidian-nodes.png (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/README.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/Create a 2d map to update robots and shelves locations @1.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/Create a 2d map to update robots and shelves locations from database @2.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/Software.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/Warehouse robots-shelves movement simulation @3.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/backeend for a dashboard web application @6.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/configure communication with raspberrypi over wifi @10.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/frontend for a dashboard web application @5.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/implement the 2d map in javascript-react (for later usage in web application) @4.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/raspbian os on raspberrypi @7.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/ros noetic on raspberrypi @26.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/stream camera over rtsp with raspberrypi @8.md (100%) rename {Graduation Project Documentation => Graduation-Project-Documentation}/Software/upload code to the micro-controller over wifi network @9.md (100%) diff --git a/Graduation Project Documentation/Embedded/Test hardware components @11.md b/Graduation Project Documentation/Embedded/Test hardware components @11.md deleted file mode 100644 index 8b13789..0000000 --- a/Graduation Project Documentation/Embedded/Test hardware components @11.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/Graduation Project Documentation/Data/Data.md b/Graduation-Project-Documentation/Data/Data.md similarity index 100% rename from Graduation Project Documentation/Data/Data.md rename to Graduation-Project-Documentation/Data/Data.md diff --git a/Graduation Project Documentation/Data/create a database with different tables for the shelves, robots, users and products @23.md b/Graduation-Project-Documentation/Data/create a database with different tables for the shelves, robots, users and products @23.md similarity index 100% rename from Graduation Project Documentation/Data/create a database with different tables for the shelves, robots, users and products @23.md rename to Graduation-Project-Documentation/Data/create a database with different tables for the shelves, robots, users and products @23.md diff --git a/Graduation Project Documentation/Data/inspect some metrics like most poplar product @22.md b/Graduation-Project-Documentation/Data/inspect some metrics like most poplar product @22.md similarity index 100% rename from Graduation Project Documentation/Data/inspect some metrics like most poplar product @22.md rename to Graduation-Project-Documentation/Data/inspect some metrics like most poplar product @22.md diff --git a/Graduation Project Documentation/Data/keep track and analyze the products in the different shelves @20.md b/Graduation-Project-Documentation/Data/keep track and analyze the products in the different shelves @20.md similarity index 100% rename from Graduation Project Documentation/Data/keep track and analyze the products in the different shelves @20.md rename to Graduation-Project-Documentation/Data/keep track and analyze the products in the different shelves @20.md diff --git a/Graduation Project Documentation/Data/keep track and analyze the robots different attributes like battery life @21.md b/Graduation-Project-Documentation/Data/keep track and analyze the robots different attributes like battery life @21.md similarity index 100% rename from Graduation Project Documentation/Data/keep track and analyze the robots different attributes like battery life @21.md rename to Graduation-Project-Documentation/Data/keep track and analyze the robots different attributes like battery life @21.md diff --git a/Graduation Project Documentation/DevOps/CI-CD pipeline for the web application @25.md b/Graduation-Project-Documentation/DevOps/CI-CD pipeline for the web application @25.md similarity index 100% rename from Graduation Project Documentation/DevOps/CI-CD pipeline for the web application @25.md rename to Graduation-Project-Documentation/DevOps/CI-CD pipeline for the web application @25.md diff --git a/Graduation Project Documentation/DevOps/Create the cloud infrastructure, diagram and the cloudformation script @24.md b/Graduation-Project-Documentation/DevOps/Create the cloud infrastructure, diagram and the cloudformation script @24.md similarity index 100% rename from Graduation Project Documentation/DevOps/Create the cloud infrastructure, diagram and the cloudformation script @24.md rename to Graduation-Project-Documentation/DevOps/Create the cloud infrastructure, diagram and the cloudformation script @24.md diff --git a/Graduation Project Documentation/DevOps/Devops.md b/Graduation-Project-Documentation/DevOps/Devops.md similarity index 100% rename from Graduation Project Documentation/DevOps/Devops.md rename to Graduation-Project-Documentation/DevOps/Devops.md diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/app.json b/Graduation-Project-Documentation/Embedded/.obsidian/app.json new file mode 100644 index 0000000..6abe4c1 --- /dev/null +++ b/Graduation-Project-Documentation/Embedded/.obsidian/app.json @@ -0,0 +1,3 @@ +{ + "alwaysUpdateLinks": true +} \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/appearance.json b/Graduation-Project-Documentation/Embedded/.obsidian/appearance.json new file mode 100644 index 0000000..c8c365d --- /dev/null +++ b/Graduation-Project-Documentation/Embedded/.obsidian/appearance.json @@ -0,0 +1,3 @@ +{ + "accentColor": "" +} \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins-migration.json b/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins-migration.json new file mode 100644 index 0000000..3106ebd --- /dev/null +++ b/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins-migration.json @@ -0,0 +1,29 @@ +{ + "file-explorer": true, + "global-search": true, + "switcher": true, + "graph": true, + "backlink": true, + "canvas": true, + "outgoing-link": true, + "tag-pane": true, + "page-preview": true, + "daily-notes": true, + "templates": true, + "note-composer": true, + "command-palette": true, + "slash-command": false, + "editor-status": true, + "starred": true, + "markdown-importer": false, + "zk-prefixer": false, + "random-note": false, + "outline": true, + "word-count": true, + "slides": false, + "audio-recorder": false, + "workspaces": false, + "file-recovery": true, + "publish": false, + "sync": false +} \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins.json b/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins.json new file mode 100644 index 0000000..086a8e4 --- /dev/null +++ b/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins.json @@ -0,0 +1,20 @@ +[ + "file-explorer", + "global-search", + "switcher", + "graph", + "backlink", + "canvas", + "outgoing-link", + "tag-pane", + "page-preview", + "daily-notes", + "templates", + "note-composer", + "command-palette", + "editor-status", + "starred", + "outline", + "word-count", + "file-recovery" +] \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/hotkeys.json b/Graduation-Project-Documentation/Embedded/.obsidian/hotkeys.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/Graduation-Project-Documentation/Embedded/.obsidian/hotkeys.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/workspace.json b/Graduation-Project-Documentation/Embedded/.obsidian/workspace.json new file mode 100644 index 0000000..78c79ea --- /dev/null +++ b/Graduation-Project-Documentation/Embedded/.obsidian/workspace.json @@ -0,0 +1,151 @@ +{ + "main": { + "id": "c44f48d3200518a2", + "type": "split", + "children": [ + { + "id": "9fddb4f8974e037a", + "type": "tabs", + "children": [ + { + "id": "814556d4b35245e3", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "Test-hardware-components@11.md", + "mode": "source", + "source": false + } + } + } + ] + } + ], + "direction": "vertical" + }, + "left": { + "id": "a9fd7a063f861346", + "type": "split", + "children": [ + { + "id": "f49f77171c781667", + "type": "tabs", + "children": [ + { + "id": "e4c8affb4340904c", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": { + "sortOrder": "alphabetical" + } + } + }, + { + "id": "3b7d93a73612c9e1", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" + } + } + }, + { + "id": "e545221bf61ef353", + "type": "leaf", + "state": { + "type": "starred", + "state": {} + } + } + ] + } + ], + "direction": "horizontal", + "width": 300 + }, + "right": { + "id": "7319212a4b36df3a", + "type": "split", + "children": [ + { + "id": "55af4866f7394176", + "type": "tabs", + "children": [ + { + "id": "c3a2ac17634e0e8a", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "file": "Test-hardware-components@11.md", + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": false, + "unlinkedCollapsed": true + } + } + }, + { + "id": "e1e7edfb4a8644d1", + "type": "leaf", + "state": { + "type": "outgoing-link", + "state": { + "file": "Test-hardware-components@11.md", + "linksCollapsed": false, + "unlinkedCollapsed": true + } + } + }, + { + "id": "560e11c484776b2c", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true + } + } + }, + { + "id": "d5b5f139c6ccd77a", + "type": "leaf", + "state": { + "type": "outline", + "state": { + "file": "Test-hardware-components@11.md" + } + } + } + ] + } + ], + "direction": "horizontal", + "width": 300, + "collapsed": true + }, + "left-ribbon": { + "hiddenItems": { + "switcher:Open quick switcher": false, + "graph:Open graph view": false, + "canvas:Create new canvas": false, + "daily-notes:Open today's daily note": false, + "templates:Insert template": false, + "command-palette:Open command palette": false + } + }, + "active": "814556d4b35245e3", + "lastOpenFiles": [] +} \ No newline at end of file diff --git a/Graduation Project Documentation/Embedded/ARM embedded-c encoders code @14.md b/Graduation-Project-Documentation/Embedded/ARM embedded-c encoders code @14.md similarity index 100% rename from Graduation Project Documentation/Embedded/ARM embedded-c encoders code @14.md rename to Graduation-Project-Documentation/Embedded/ARM embedded-c encoders code @14.md diff --git a/Graduation Project Documentation/Embedded/Arduino Encoders code @12.md b/Graduation-Project-Documentation/Embedded/Arduino Encoders code @12.md similarity index 100% rename from Graduation Project Documentation/Embedded/Arduino Encoders code @12.md rename to Graduation-Project-Documentation/Embedded/Arduino Encoders code @12.md diff --git a/Graduation Project Documentation/Embedded/Embedded.md b/Graduation-Project-Documentation/Embedded/Embedded.md similarity index 89% rename from Graduation Project Documentation/Embedded/Embedded.md rename to Graduation-Project-Documentation/Embedded/Embedded.md index 490c024..7fcd7aa 100644 --- a/Graduation Project Documentation/Embedded/Embedded.md +++ b/Graduation-Project-Documentation/Embedded/Embedded.md @@ -6,4 +6,4 @@ [[PCB fabrication @16]] [[Robot mechanical design @13]] [[robot movement algorithm @19]] -[[Test hardware components @11]] +[[Test-hardware-components@11]] diff --git a/Graduation Project Documentation/Embedded/PCB design @15.md b/Graduation-Project-Documentation/Embedded/PCB design @15.md similarity index 100% rename from Graduation Project Documentation/Embedded/PCB design @15.md rename to Graduation-Project-Documentation/Embedded/PCB design @15.md diff --git a/Graduation Project Documentation/Embedded/PCB fabrication @16.md b/Graduation-Project-Documentation/Embedded/PCB fabrication @16.md similarity index 100% rename from Graduation Project Documentation/Embedded/PCB fabrication @16.md rename to Graduation-Project-Documentation/Embedded/PCB fabrication @16.md diff --git a/Graduation Project Documentation/Embedded/Robot mechanical design @13.md b/Graduation-Project-Documentation/Embedded/Robot mechanical design @13.md similarity index 100% rename from Graduation Project Documentation/Embedded/Robot mechanical design @13.md rename to Graduation-Project-Documentation/Embedded/Robot mechanical design @13.md diff --git a/Graduation-Project-Documentation/Embedded/Test-hardware-components@11.md b/Graduation-Project-Documentation/Embedded/Test-hardware-components@11.md new file mode 100644 index 0000000..20d91c2 --- /dev/null +++ b/Graduation-Project-Documentation/Embedded/Test-hardware-components@11.md @@ -0,0 +1,14 @@ +> ## ***This is a documentation for issue #11*** +> `Testing hardware components using arduino ide` + +## 1. Testing the 3 Motors using cytrons 1 channel. +- We provide speed and direction control of the 2 motors using 2 cytrons 1 channel, the third motor is used for the lifting mechanism so we only need direction control. + +## 2. Getting encoders readings. +- By comparing the two sets of pulses out of the encoder we can determine the direction of the motor. +- Depending on the direction we count rising edges of the pulses by interrupt to evaluate revolution per minite. + - `RPM = ( counts / encoder resolution )*60` +- Finally, we display the readings of counts, RPM and Motor direction on a serial monitor every 1 sec. + + + diff --git a/Graduation Project Documentation/Embedded/integrate ros with micro-controller in arduino @17.md b/Graduation-Project-Documentation/Embedded/integrate ros with micro-controller in arduino @17.md similarity index 100% rename from Graduation Project Documentation/Embedded/integrate ros with micro-controller in arduino @17.md rename to Graduation-Project-Documentation/Embedded/integrate ros with micro-controller in arduino @17.md diff --git a/Graduation Project Documentation/Embedded/integrate ros with micro-controller in embeded-c @18.md b/Graduation-Project-Documentation/Embedded/integrate ros with micro-controller in embeded-c @18.md similarity index 100% rename from Graduation Project Documentation/Embedded/integrate ros with micro-controller in embeded-c @18.md rename to Graduation-Project-Documentation/Embedded/integrate ros with micro-controller in embeded-c @18.md diff --git a/Graduation Project Documentation/Embedded/robot movement algorithm @19.md b/Graduation-Project-Documentation/Embedded/robot movement algorithm @19.md similarity index 100% rename from Graduation Project Documentation/Embedded/robot movement algorithm @19.md rename to Graduation-Project-Documentation/Embedded/robot movement algorithm @19.md diff --git a/Graduation Project Documentation/Pasted image 20221220203859.png b/Graduation-Project-Documentation/Pasted image 20221220203859.png similarity index 100% rename from Graduation Project Documentation/Pasted image 20221220203859.png rename to Graduation-Project-Documentation/Pasted image 20221220203859.png diff --git a/Graduation Project Documentation/README-images/canvas.png b/Graduation-Project-Documentation/README-images/canvas.png similarity index 100% rename from Graduation Project Documentation/README-images/canvas.png rename to Graduation-Project-Documentation/README-images/canvas.png diff --git a/Graduation Project Documentation/README-images/canvas2.png b/Graduation-Project-Documentation/README-images/canvas2.png similarity index 100% rename from Graduation Project Documentation/README-images/canvas2.png rename to Graduation-Project-Documentation/README-images/canvas2.png diff --git a/Graduation Project Documentation/README-images/obsidian-nodes.png b/Graduation-Project-Documentation/README-images/obsidian-nodes.png similarity index 100% rename from Graduation Project Documentation/README-images/obsidian-nodes.png rename to Graduation-Project-Documentation/README-images/obsidian-nodes.png diff --git a/Graduation Project Documentation/README.md b/Graduation-Project-Documentation/README.md similarity index 100% rename from Graduation Project Documentation/README.md rename to Graduation-Project-Documentation/README.md diff --git a/Graduation Project Documentation/Software/Create a 2d map to update robots and shelves locations @1.md b/Graduation-Project-Documentation/Software/Create a 2d map to update robots and shelves locations @1.md similarity index 100% rename from Graduation Project Documentation/Software/Create a 2d map to update robots and shelves locations @1.md rename to Graduation-Project-Documentation/Software/Create a 2d map to update robots and shelves locations @1.md diff --git a/Graduation Project Documentation/Software/Create a 2d map to update robots and shelves locations from database @2.md b/Graduation-Project-Documentation/Software/Create a 2d map to update robots and shelves locations from database @2.md similarity index 100% rename from Graduation Project Documentation/Software/Create a 2d map to update robots and shelves locations from database @2.md rename to Graduation-Project-Documentation/Software/Create a 2d map to update robots and shelves locations from database @2.md diff --git a/Graduation Project Documentation/Software/Software.md b/Graduation-Project-Documentation/Software/Software.md similarity index 100% rename from Graduation Project Documentation/Software/Software.md rename to Graduation-Project-Documentation/Software/Software.md diff --git a/Graduation Project Documentation/Software/Warehouse robots-shelves movement simulation @3.md b/Graduation-Project-Documentation/Software/Warehouse robots-shelves movement simulation @3.md similarity index 100% rename from Graduation Project Documentation/Software/Warehouse robots-shelves movement simulation @3.md rename to Graduation-Project-Documentation/Software/Warehouse robots-shelves movement simulation @3.md diff --git a/Graduation Project Documentation/Software/backeend for a dashboard web application @6.md b/Graduation-Project-Documentation/Software/backeend for a dashboard web application @6.md similarity index 100% rename from Graduation Project Documentation/Software/backeend for a dashboard web application @6.md rename to Graduation-Project-Documentation/Software/backeend for a dashboard web application @6.md diff --git a/Graduation Project Documentation/Software/configure communication with raspberrypi over wifi @10.md b/Graduation-Project-Documentation/Software/configure communication with raspberrypi over wifi @10.md similarity index 100% rename from Graduation Project Documentation/Software/configure communication with raspberrypi over wifi @10.md rename to Graduation-Project-Documentation/Software/configure communication with raspberrypi over wifi @10.md diff --git a/Graduation Project Documentation/Software/frontend for a dashboard web application @5.md b/Graduation-Project-Documentation/Software/frontend for a dashboard web application @5.md similarity index 100% rename from Graduation Project Documentation/Software/frontend for a dashboard web application @5.md rename to Graduation-Project-Documentation/Software/frontend for a dashboard web application @5.md diff --git a/Graduation Project Documentation/Software/implement the 2d map in javascript-react (for later usage in web application) @4.md b/Graduation-Project-Documentation/Software/implement the 2d map in javascript-react (for later usage in web application) @4.md similarity index 100% rename from Graduation Project Documentation/Software/implement the 2d map in javascript-react (for later usage in web application) @4.md rename to Graduation-Project-Documentation/Software/implement the 2d map in javascript-react (for later usage in web application) @4.md diff --git a/Graduation Project Documentation/Software/raspbian os on raspberrypi @7.md b/Graduation-Project-Documentation/Software/raspbian os on raspberrypi @7.md similarity index 100% rename from Graduation Project Documentation/Software/raspbian os on raspberrypi @7.md rename to Graduation-Project-Documentation/Software/raspbian os on raspberrypi @7.md diff --git a/Graduation Project Documentation/Software/ros noetic on raspberrypi @26.md b/Graduation-Project-Documentation/Software/ros noetic on raspberrypi @26.md similarity index 100% rename from Graduation Project Documentation/Software/ros noetic on raspberrypi @26.md rename to Graduation-Project-Documentation/Software/ros noetic on raspberrypi @26.md diff --git a/Graduation Project Documentation/Software/stream camera over rtsp with raspberrypi @8.md b/Graduation-Project-Documentation/Software/stream camera over rtsp with raspberrypi @8.md similarity index 100% rename from Graduation Project Documentation/Software/stream camera over rtsp with raspberrypi @8.md rename to Graduation-Project-Documentation/Software/stream camera over rtsp with raspberrypi @8.md diff --git a/Graduation Project Documentation/Software/upload code to the micro-controller over wifi network @9.md b/Graduation-Project-Documentation/Software/upload code to the micro-controller over wifi network @9.md similarity index 100% rename from Graduation Project Documentation/Software/upload code to the micro-controller over wifi network @9.md rename to Graduation-Project-Documentation/Software/upload code to the micro-controller over wifi network @9.md From c53a90a502abb79230873bced472599490157cc4 Mon Sep 17 00:00:00 2001 From: gehadelkoumy Date: Wed, 12 Apr 2023 22:57:22 +0200 Subject: [PATCH 3/4] remove .obsidian --- .../Embedded/.obsidian/app.json | 3 - .../Embedded/.obsidian/appearance.json | 3 - .../.obsidian/core-plugins-migration.json | 29 ---- .../Embedded/.obsidian/core-plugins.json | 20 --- .../Embedded/.obsidian/hotkeys.json | 1 - .../Embedded/.obsidian/workspace.json | 151 ------------------ 6 files changed, 207 deletions(-) delete mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/app.json delete mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/appearance.json delete mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/core-plugins-migration.json delete mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/core-plugins.json delete mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/hotkeys.json delete mode 100644 Graduation-Project-Documentation/Embedded/.obsidian/workspace.json diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/app.json b/Graduation-Project-Documentation/Embedded/.obsidian/app.json deleted file mode 100644 index 6abe4c1..0000000 --- a/Graduation-Project-Documentation/Embedded/.obsidian/app.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "alwaysUpdateLinks": true -} \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/appearance.json b/Graduation-Project-Documentation/Embedded/.obsidian/appearance.json deleted file mode 100644 index c8c365d..0000000 --- a/Graduation-Project-Documentation/Embedded/.obsidian/appearance.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "accentColor": "" -} \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins-migration.json b/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins-migration.json deleted file mode 100644 index 3106ebd..0000000 --- a/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins-migration.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "file-explorer": true, - "global-search": true, - "switcher": true, - "graph": true, - "backlink": true, - "canvas": true, - "outgoing-link": true, - "tag-pane": true, - "page-preview": true, - "daily-notes": true, - "templates": true, - "note-composer": true, - "command-palette": true, - "slash-command": false, - "editor-status": true, - "starred": true, - "markdown-importer": false, - "zk-prefixer": false, - "random-note": false, - "outline": true, - "word-count": true, - "slides": false, - "audio-recorder": false, - "workspaces": false, - "file-recovery": true, - "publish": false, - "sync": false -} \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins.json b/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins.json deleted file mode 100644 index 086a8e4..0000000 --- a/Graduation-Project-Documentation/Embedded/.obsidian/core-plugins.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - "file-explorer", - "global-search", - "switcher", - "graph", - "backlink", - "canvas", - "outgoing-link", - "tag-pane", - "page-preview", - "daily-notes", - "templates", - "note-composer", - "command-palette", - "editor-status", - "starred", - "outline", - "word-count", - "file-recovery" -] \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/hotkeys.json b/Graduation-Project-Documentation/Embedded/.obsidian/hotkeys.json deleted file mode 100644 index 9e26dfe..0000000 --- a/Graduation-Project-Documentation/Embedded/.obsidian/hotkeys.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/Graduation-Project-Documentation/Embedded/.obsidian/workspace.json b/Graduation-Project-Documentation/Embedded/.obsidian/workspace.json deleted file mode 100644 index 78c79ea..0000000 --- a/Graduation-Project-Documentation/Embedded/.obsidian/workspace.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "main": { - "id": "c44f48d3200518a2", - "type": "split", - "children": [ - { - "id": "9fddb4f8974e037a", - "type": "tabs", - "children": [ - { - "id": "814556d4b35245e3", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Test-hardware-components@11.md", - "mode": "source", - "source": false - } - } - } - ] - } - ], - "direction": "vertical" - }, - "left": { - "id": "a9fd7a063f861346", - "type": "split", - "children": [ - { - "id": "f49f77171c781667", - "type": "tabs", - "children": [ - { - "id": "e4c8affb4340904c", - "type": "leaf", - "state": { - "type": "file-explorer", - "state": { - "sortOrder": "alphabetical" - } - } - }, - { - "id": "3b7d93a73612c9e1", - "type": "leaf", - "state": { - "type": "search", - "state": { - "query": "", - "matchingCase": false, - "explainSearch": false, - "collapseAll": false, - "extraContext": false, - "sortOrder": "alphabetical" - } - } - }, - { - "id": "e545221bf61ef353", - "type": "leaf", - "state": { - "type": "starred", - "state": {} - } - } - ] - } - ], - "direction": "horizontal", - "width": 300 - }, - "right": { - "id": "7319212a4b36df3a", - "type": "split", - "children": [ - { - "id": "55af4866f7394176", - "type": "tabs", - "children": [ - { - "id": "c3a2ac17634e0e8a", - "type": "leaf", - "state": { - "type": "backlink", - "state": { - "file": "Test-hardware-components@11.md", - "collapseAll": false, - "extraContext": false, - "sortOrder": "alphabetical", - "showSearch": false, - "searchQuery": "", - "backlinkCollapsed": false, - "unlinkedCollapsed": true - } - } - }, - { - "id": "e1e7edfb4a8644d1", - "type": "leaf", - "state": { - "type": "outgoing-link", - "state": { - "file": "Test-hardware-components@11.md", - "linksCollapsed": false, - "unlinkedCollapsed": true - } - } - }, - { - "id": "560e11c484776b2c", - "type": "leaf", - "state": { - "type": "tag", - "state": { - "sortOrder": "frequency", - "useHierarchy": true - } - } - }, - { - "id": "d5b5f139c6ccd77a", - "type": "leaf", - "state": { - "type": "outline", - "state": { - "file": "Test-hardware-components@11.md" - } - } - } - ] - } - ], - "direction": "horizontal", - "width": 300, - "collapsed": true - }, - "left-ribbon": { - "hiddenItems": { - "switcher:Open quick switcher": false, - "graph:Open graph view": false, - "canvas:Create new canvas": false, - "daily-notes:Open today's daily note": false, - "templates:Insert template": false, - "command-palette:Open command palette": false - } - }, - "active": "814556d4b35245e3", - "lastOpenFiles": [] -} \ No newline at end of file From 5d97a9f6d3f19a23fb5bc6c9d3ad85260323c0b3 Mon Sep 17 00:00:00 2001 From: Ahmed <93758246+Ahmmed2@users.noreply.github.com> Date: Sat, 15 Apr 2023 20:15:17 +0200 Subject: [PATCH 4/4] Testing MPU6050 is added --- Test-hardware-components/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Test-hardware-components/README.md b/Test-hardware-components/README.md index 20d91c2..f41808b 100644 --- a/Test-hardware-components/README.md +++ b/Test-hardware-components/README.md @@ -10,5 +10,10 @@ - `RPM = ( counts / encoder resolution )*60` - Finally, we display the readings of counts, RPM and Motor direction on a serial monitor every 1 sec. +## 3. Testing MPU6050 on the MicroController(Stm32). +- MPU is used to rotate (90 or 180) degree (clockwise or Anticlockwise ) using the Yaw angle +- the sensor is tested + - we will make the connection like in the figure below then watch the reading , also by change the yaw angle of the sesnor the reading will change +![BluePillMPU6050](https://user-images.githubusercontent.com/93758246/232246374-b5e06a53-7a0c-4528-87cf-b770c5909e74.png)