Тёмный

Stepper motor and pure avr assemby language 

Boboaca Costel
Подписаться 4,8 тыс.
Просмотров 542
50% 1

See avr code and html code in description (for arduino nano cnc shield v4)
Pure assembler and small html code for principiants for understand principle of serial communication!

Опубликовано:

 

16 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@bobyca2003
@bobyca2003 2 месяца назад
Use www.costycnc.it/avr1 to compile and upload to microcontroller (arduino nano cnc shield v4): .equ RXCIE0 = 7 .equ RXEN0 = 4 .equ UCSR0B = 0xc1 .equ UCSR0C = 0xc2 .equ TXEN0 = 3 .equ UDR0 = 0xc6 .equ bps = 16000000/(16*9600) - 1 .equ UBRR0L = 0xc4 .equ UBRR0H = 0xc5 .equ UCSZ00 = 1 .equ UCSZ01 = 2 .org 0X00 jmp reset .org 0x24 ;USART, RX Complete Handler jmp receive .org 0x60 ;arduino nano cnc shield v4.0 reset: sbi 4,0 ;pin Enable as output D8 PORTB,PB0 sbi 0xa,5 ;pin STEP as output D5 PORTD,PD5 sbi 0xa,2 ;pin dir as output D5 PORTD,PD5 sbi 0xa,6 ;pin STEP as output D5 PORTD,PD5 sbi 0xa,3 ;pin dir as output D5 PORTD,PD5 cbi 5,0 ;enable DIR pin D8 -put high ldi r18,150 ldi r19,150 ldi r16,103 ldi r17,0 sts UBRR0L,r16 sts UBRR0H,r17 ldi r16 ,(1
@marciotelao
@marciotelao 2 месяца назад
Caso eu precise vc faz projeto sob encomenda
@bobyca2003
@bobyca2003 2 месяца назад
is not easy in assembler ... but in asm you can control better the process ... you understand the code that i use in this example?
Далее
Have you ever seen soldering THIS close?
9:53
Просмотров 546 тыс.
6 Horribly Common PCB Design Mistakes
10:40
Просмотров 207 тыс.
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
ITZY "GOLD" M/V
03:20
Просмотров 6 млн
Cole Palmer Revenge vs Man City 🥶
00:20
Просмотров 1,5 млн
it can 3D-Print onto itself?!
9:32
Просмотров 1,2 млн
Why Are Open Source Alternatives So Bad?
13:06
Просмотров 652 тыс.
STRANGE Windows-based bootlegs 2
23:25
Просмотров 154 тыс.
The coolest robot I've ever built!
19:40
Просмотров 4,7 млн
Assembly via Arduino (part 7) - Programming Serial Port
12:48
Your USB-C Cable probably SUCKS! Sooo is that Bad?
10:54
Fun with Transistors
24:33
Просмотров 411 тыс.