someone expert on Microcontrollers
Budget: $10 – $30 USD
The addition or subtraction of binary two numbers and the display of the result by LEDs should be provided by taking into account the following.
By using only 2 buttons (button A and button B), 2 binary numbers of at most 16 bits should be entered into the program.
Number entries must be made with button A. Binary 0 should be distinguished by short pressing button A and binary 1 by long pressing button A.
• Numbers should be able to be added or subtracted.
It should be possible to select which of the addition or subtraction operations will be performed/displayed via button B.
It should be possible to request the display of the result of the transaction completed successfully at any time via button B.
• The result of the operation should be displayed using a maximum of 4 LEDs.
By using only 4 LEDs on the board or you will connect, the 16-bit result should be displayed with 4 LEDs in total, 4 at once, with 1 second intervals, first 4 bits, the next 4 bits, then...
• Button B can also be used for additional needs that may occur.
The project should be implemented or simulated based on C or Assembly on the STM32F4Discovery card, the details of which are described in the tutorial, or on a card with a PIC16F628 microcontroller.
Flow diagrams and pseudocodes prepared for the project should be attached to the deliverables.
By using only 2 buttons (button A and button B), 2 binary numbers of at most 16 bits should be entered into the program.
Number entries must be made with button A. Binary 0 should be distinguished by short pressing button A and binary 1 by long pressing button A.
• Numbers should be able to be added or subtracted.
It should be possible to select which of the addition or subtraction operations will be performed/displayed via button B.
It should be possible to request the display of the result of the transaction completed successfully at any time via button B.
• The result of the operation should be displayed using a maximum of 4 LEDs.
By using only 4 LEDs on the board or you will connect, the 16-bit result should be displayed with 4 LEDs in total, 4 at once, with 1 second intervals, first 4 bits, the next 4 bits, then...
• Button B can also be used for additional needs that may occur.
The project should be implemented or simulated based on C or Assembly on the STM32F4Discovery card, the details of which are described in the tutorial, or on a card with a PIC16F628 microcontroller.
Flow diagrams and pseudocodes prepared for the project should be attached to the deliverables.