Home
Video Tutorials

Upload to :

   Video   Instructables   Datasheet

   Video   Datasheet

   Video   Instructables   Datasheet

(arduino nano) watch video

watch video

-Arduino nano cnc shield v4.0 turn motor in avr asm

shieldv4 con memory

cnc shield v3.0

PWM on pin PB0 video

receive char video(romana) video(english)FUNZIONA!

watch video

read-serial video

video

video

video


Immagine

Arduino IDE vs costycnc.it/avr1

Feature Arduino IDE costycnc.it/avr1
Installation Yes (IDE + drivers) No, works directly in the browser
Configuration Select board, port, chip Nothing to configure: plug and go
First LED code setup(), loop(), digitalWrite() sbi 0x4,5 -> the LED turns on (PB5)
Libraries Many, but often hide everything None: you see the actual registers
Complex projects Ideal, with many libraries Limited to basic learning
Learning curve Softer, but less transparent More direct: you learn how it really works

Welcome to costycnc.it/avr1 — a platform designed to show you that it's possible to program microcontrollers without libraries, without an IDE — no magic involved.

With just one click on the "Assemble" button, the site automatically turns your Assembly code into a HEX file, ready to upload to a microcontroller. No compilers needed. Everything happens right in your browser!

Use a simple USB cable to connect your board (e.g. Arduino UNO) to your computer. Click one of the buttons representing the microcontroller you're using (UNO, Nano, etc.). A window (Web Serial API) will open where you can select the USB port connected to your Arduino. Just click "Connect" ... and you're done!

Right after uploading, the onboard LED on pin 13 (PB5) will turn on. This is the result of your pure Assembly code — no libraries, no IDE, no external software. VIDEO



Clicca immagine sotto per video (click image bellow for video)


Arduino nano blink pure avr asm costycnc Arduino nano blink and turn stepper motor with pure avr asm costycnc Arduino nano blink and pure avr asm costycnc Stepper motor and pure avr asm costycnc Avr assembler costycnc Avr assembler costycnc Servo avr assembler costycnc Arduino nano led off on costycnc Scara robot costycnc Pure avr asm costycnc Tutorial avr asm costycnc Line follower costycnc Infrared remote hack costycnc Attiny2313 triac 220v costycnc Thumbnail 1 Thumbnail 2 Thumbnail 1 Thumbnail 2 Thumbnail 1 Thumbnail 2 Thumbnail 1

⚠️ NON-NEGOTIABLE: STACK, CALL/RET, PUSH/POP ARE MANDATORY

BOEING 737 MAX (2019) – 346 DEAD

Cause: Stack corruption in the MCAS system

; Faulty code (simulated):
ISR_MCAS:
  push r16
  push r17
  call read_sensor      ; Stack grows
  ; ... no pop before another call!
  call control_flap     ; Stack overflow → crash
  ; Missing ret!
    

How your trio would have prevented it: You’d immediately see the push/pop imbalance.

TOYOTA UNINTENDED ACCELERATION (2010–2023)

Cause: Recursive calls with no stack control

check_throttle:
  call read_pedal
  call check_error      ; Too many nested calls
  call update_log       ; Stack exhausted → data corruption
  ret                   ; Returns to wrong address
    

Lesson: Without tracking call/ret, firmware becomes a weapon.

ETHICAL COMMANDMENTS OF EMBEDDED SYSTEMS:

  1. Every call must have a ret (or you're a public hazard)
  2. Push must be balanced by pop (or the system crashes)
  3. The stack isn't magic: it’s limited (Boeing learned the hard way)
  4. If you don’t know these, you’re not an engineer — you're a copy-paster

YOU ARE NOT AUTHORIZED TO CODE IF YOU DON’T KNOW THESE 4 INSTRUCTIONS

Use costycnc.it/avr1 now or stop writing firmware.