Assembly university exercises with arduino

Encerrado Postado há 2 meses Pago na entrega
Encerrado Pago na entrega

Part 6 – Using the 7-segment display To write to the 7-segment displays, look at the schematic of the Arduino module.

You must send 2 bytes through the serial input of the first byte of the 74HC595. The first byte is the 7-segment code to be displayed (active low), the second byte defines which digit will display the value sent in the first byte. (Active high). To send a byte, write a SendByte function that receives a byte and sends the 8 bits of the byte to the input of the 74HC595 (serial data in). For each bit present in this input, the Shift_Clock must be set to 1 and returned to 0. This must be repeated 8 times. Once the 2 bytes have been sent, the Latch_Clock must be set to 1 and returned to 0, so that the value sent in the first byte must be displayed in the selected digit.

Insert 2 nops between the rise and fall of each clock to avoid the pulse being too short.

Look at the following instructions that may be useful: rol , ror, brcc, brcs, cbi, sbi.

All the above code should be encapsulated as a subroutine called send_digit that receives the data (7-segment code) and the digit [1-4] in which we want it to be displayed.

Remember to preserve the temporary registers using (push / pop) Microcontrollers Part 7 – Refreshing the 7-segment display send_digit should be called four times repeatedly: loop: send_digit(DIGIT1,VALUE) delay(2msec) send_digit(DIGIT2,VALUE) delay(2msec) send_digit(DIGIT1,VALUE) delay(2msec) send_digit(DIGIT2,VALUE) delay(2msec) JMP loop Part 8 – Printing a value on the seven-segment display The idea is to implement a binary counter that increments approximately every 0.5. The counter value must be displayed on the 7-segment display. When implementing the counter, keep in mind that the display can represent numbers from 0 to 9999.

Arduino Microcontrolador Montagem

ID do Projeto: #38720218

Sobre o projeto

5 propostas Projeto remoto Ativo em há 3 semanas

5 freelancers estão ofertando em média $67 nesse trabalho

syedfahadahmad33

Hello, I just read your description and am interested in your project. I am an expert in Arduino and have also worked on certain projects. If you need quality work then feel free to contact me. Thanks

$250 USD in 7 dias
(1 Comentário)
2.6
exequielbena

¡Hola!¿Cómo estas? Mi nombre es Exequiel, soy ingeniero electrónico. Puedo ayudarte con tu proyecto, entiendo que hay que escribir las rutinas muestren los dígitos de un display 4x 7-segmentos en ensamblador para un ar Mais

$25 USD in 7 dias
(1 Comentário)
2.4
Qaiserkhan12

Hi, I am an experienced Mechatronics engineer with expertise in arduino uno, esp 32, and other embedded devices. I am interested to work on this task. please feel free to contact. Thanks

$20 USD in 7 dias
(0 Comentários)
0.0
Esciquio

I am the right person to solve this problem because I have experience programming microcontrollers and working with shift registers like the 74HC595. I have a solid understanding of serial communication and the control Mais

$20 USD in 7 dias
(0 Comentários)
0.0
Nikodav04

Hola! Soy Nicolas, un estudiante de Ingenieria electronica. Me interesa tu proyecto ya que sería un buen repaso de algunos temas que vi en semestres pasados. Sin embargo tengo unas preguntas sobre tu proyecto: - Debes Mais

$20 USD in 7 dias
(0 Comentários)
0.0