SU 1.5 and ARDUINO driver

SU 1.5 and ARDUINO driver

You can write programs in ARDUINO for the SU 1.5 driver. However, the controller programming process itself takes place in the ARDUINO programming platform through, for example, the USBasp programmer and the ISP connector in the controller. Below are instructions for attaching Cores files for the ATmega 1284P processor and selecting the USBasp programmer in the Arduino platform.

Instructions for installing cores files for SU 1.5 driver:

  • you need to download and unpack the file mighty-1284p-1.6.3.rar (550kB);
  • the unpacked file should be placed in the \Arduino\hardware folder, where the program is installed;
  • we reset the Arduino IDE;
  • open a new project, then in the Tools menu select the appropriate board, i.e.: „maniacbug” Mighty 1284p 16mHz using Optiboot”;
  • then select the type of programmer – also in the Tools tab, select „USBasp”.

View with the appropriate hardware selected

Currently, the Arduino IDE and controller are ready to write programs and program the SU 1.5 controller. To properly map the inputs/outputs, use the pinout of the ATmega1284P microcontroller below. Further programming is analogous to a regular ARDUINO board.

		                      +---\/---+
           (D 0) PB0 1| |40 PA0 (AI 0 / D24)
           (D 1) PB1 2| |39 PA1 (AI 1 / D25)
      INT2 (D 2) PB2 3| |38 PA2 (AI 2 / D26)
       PWM (D 3) PB3 4| |37 PA3 (AI 3 / D27)
    PWM/SS (D 4) PB4 5| |36 PA4 (AI 4 / D28)
      MOSI (D 5) PB5 6| |35 PA5 (AI 5 / D29)
  PWM/MISO (D 6) PB6 7| |34 PA6 (AI 6 / D30)
   PWM/SCK (D 7) PB7 8| |33 PA7 (AI 7 / D31)
                 RST 9| |32 AREF
                VCC 10| |31 GND
                GND 11| |30 AVCC
              XTAL2 12| |29 PC7 (D 23)
              XTAL1 13| |28 PC6 (D 22)
      RX0 (D 8) PD0 14| |27 PC5 (D 21) TDI
      TX0 (D 9) PD1 15| |26 PC4 (D 20) TDO
RX1/INT0 (D 10) PD2 16| |25 PC3 (D 19) TMS
TX1/INT1 (D 11) PD3 17| |24 PC2 (D 18) TCK
     PWM (D 12) PD4 18| |23 PC1 (D 17) SDA
     PWM (D 13) PD5 19| |22 PC0 (D 16) SCL
     PWM (D 14) PD6 20| |21 PD7 (D 15) PWM
                      +--------+

Pin arrangement in the ATmega1284P microcontroller

Uploading the program to the controller is done by clicking „Sketch”, then „Upload using the programmer”.

Programming using the USBasp programmer

Scroll to Top