Forum Posts

Ahmed Wageh
Rising Star
Rising Star
Sep 22, 2019
In MicroController_labs
Project: • Security System with some additional features. You can find all Data related to project(Documentation, Simulation, Flow Charts and Source Code) here Here: https://drive.google.com/drive/u/0/folders/1ycmEjWyDen7GzOEZYnTnKk7HsLUdlKcJ ------------------------------------------------------------------------------------------------------------------ For those who asked reference for SPI clock phase and polarity you can check data sheet or you can follow this link: https://www.analog.com/en/analog-dialogue/articles/introduction-to-spi-interface.html ------------------------------------------------------------------------------------------------------------------ At the end, I'm very glad to meet you all <3 Good Luck.
2
0
39
Ahmed Wageh
Rising Star
Rising Star
Sep 13, 2019
In MicroController_labs
In this lab we discussed last session project "Simple Garage System" and SPI Characteristics ,advantages and disadvantages then we practice with 2 Labs. Labs: • 2 Controllers Communicate with SPI • Garage System “3 Controllers” You can find all Labs, data and simulation files Here: https://drive.google.com/open?id=1O9ItgJWLPlYZxEINqwYAfNwUWqa4Fl_y
Lab6: SPI content media
0
0
23
Ahmed Wageh
Rising Star
Rising Star
Sep 01, 2019
In MicroController_labs
Labs: • Timer Driver • Measuring Analog Signal with ADC • Communicating With UART • Simple Garage System You can find all Labs, data and simulation files Here: https://drive.google.com/open?id=10GECGn6qEhJIZiOqgLeYfBR4ALgU33oF
2
0
41
Ahmed Wageh
Rising Star
Rising Star
Aug 25, 2019
In MicroController_labs
Labs: •Calculating Distance with Ultrasonic You can find all Labs and data Here: https://drive.google.com/open?id=11Ri7wPRkDGjcmEB_JVTl3IIhty6RJdvo You can find kit simulation after adding Ultrasonic here "To install Ultrasonic Library Read Readme file": https://drive.google.com/open?id=1S9qiTI3offZ2uH7pVAEtUY_Fy8g3i-AT
1
0
28
Ahmed Wageh
Rising Star
Rising Star
Aug 16, 2019
In MicroController_labs
Labs: •Generate Delay Using Timer •Control DC-Motor with PWM Signal •Control Servo Motor You can find all Labs and data Here: https://drive.google.com/open?id=1kgf1CnebZpIlPGGjTkrI_zAxtBSua62k
2
0
41
Ahmed Wageh
Rising Star
Rising Star
Jul 26, 2019
In MicroController_labs
someone has asked me interesting question "What should I do to print Arabic Letter on LCD?" Answer: - As we know when we interfacing with LCD we mainly treat with characters which is defined in Ascii Code which are here: https://www.cs.cmu.edu/~pattis/15-1XX/common/handouts/ascii.html - So Arabic letters are not included in these characters - So we have to create these characters we want to print on LCD - We create it by drawing every character we want to print on this site https://maxpromer.github.io/LCD-Character-Creator/ and then copy the generated array - LCD has internal memory to save custom characters You can save custom character up to 8 characters - we will use function that defined in driver that I gave to you void lcd_create_char(uint8_t location, uint8_t *charmap); this function has 2 parameters: * location => It's the Address in memory on LCD where you want to save your character It can be only from 0 to 7 (8 characters as mentioned before) * charmap => Pointer to array that holds the shape you want to print (created by site in line 13) - after that you set_cursor to desired position to print - and then you use lcd_write(Address_of_saved_array) Address_of_saved_array is the same number you wrote on parameter location in function lcd_create_char - You can find code of an example here: https://drive.google.com/open?id=1OXadVTiMo5Mz5pfNwtTthTGRyg1FrpZp - The result will shown as :
Question Answer from Lab2 (LCD & keypad) content media
2
0
40
Ahmed Wageh
Rising Star
Rising Star
Jul 25, 2019
In MicroController_labs
Labs: •Display pressed Key •Moving Word on LCD •Digital Clock You can find all Labs Here: https://drive.google.com/open?id=1EG_oCyrcApCQ-9xeM9oRwpjHRnc7Zf4Z You can find Kit Simulation Here: https://drive.google.com/open?id=1zzMZD3Wq7rds-ldYW9-otDrm7DkGCP5p
3
0
60
Ahmed Wageh
Rising Star
Rising Star
Jul 19, 2019
In MicroController_labs
Labs: •7 segment counter •Elevator System You can find all Here: https://drive.google.com/open?id=1t2fNZIoyHzHw8WyoqKfG65wGYcAOZDQA You can find Kit Simulation Here: https://drive.google.com/open?id=1zzMZD3Wq7rds-ldYW9-otDrm7DkGCP5p
2
2
84