Sorry for being elementary

This time, I’m making an Arduboy compatible machine with a Pro Micro board. Arduino IDE 2.0 board selection recognizes Leonardo and Pro Micro is not an option. Can I proceed with Leonardo?

1 Like

Yes. Just select Leonardo

1 Like

I reccomend installing the SparkFun Pro Micro board manager library.

Press control + comma (or command if you’re on MacOS) then paste this into the additional board manager section.

https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json

Afterwards, head into the board manager and install the SparkFun Pro Micro library. You can select the 5V 16MHz Pro Micro in Tools after that.

After that

To install the package:
Start Arduino IDE and press CTRL + comma to select properties.
Copy and paste the URL below in Additional Boards Manager URLs: text box and
click on OK
[ https://raw.githubusercontent.com/MrBlinky/Arduboy-homemade-
package/master/package_arduboy_homemade_index.json ]
After this:
Go to Tools > Boards > Board manager
In the text box type homemade or Arduboy homemade
Click on the Arduboy Homemade package and click the Install button.
You can now select Arduboy, Arduboy DevKit and Homemade Arduboy boards from
the Tools menu.
I’m select [ Homemade Arduboy ]
Is this correct ?

Yeah, that’s correct, I think.

Thank you. appreciate.
Since the 1.3-inch display is delayed due to trouble, I will assemble it with the 0.96-inch SSD1306 version for the time being.
In this case, standard wiring is OK, right ?
Also, when do you connect the development kit ?

Yes SSD1306 + standard wiring is OK but limited (no OLED CS, RGB Green and Speaker pin 2. connedt OLED CS and speaker pin 2 to GND)

for original Arduboy DevKit only (uses different wiring)

Thank you. I’ve got it.
I am very happy and excited.
I will follow your instructions and try it tonight.

3 Likes

Hello.
Last night I completed the Arduboy prototype by building it on a breadboard.
It works perfectly and I played “Arduventure”.
By the way, what are the red and blue LEDs for?
I’m going to implement it and make a Homemade-Arduboy finished version, but is this LED unnecessary?
Also, the bootloader burning doesn’t work.
When I run [Tools]-[Burn Bootloader], I get a “Missing programmer” error.
I would like to display the bootloader menu on Arduboy.com, is that possible?
Please tell me how to operate.

The bootloaded on Arduboy.com is the one being used on the FX. Does your version have the extra memory chip that an FX uses or is yours a ‘standard’ Arduboy?

The RGB (Red, Green, Blue) LED is just extra. Some games use them.

Note with Pro Micro standard wiring there is no green LED control. So you can only control blue and red.

To burn the bootloader you need to use an ISP programmer or another Arduino configured as ISP programmer (using Arduino as ISP example sketch).

The bootloader can also be used without FX flash chip. It just displayed a USB boot icon instead of the loader screen.

Without a FX flash chip I recommend to use the ‘cathy3k starts with game’ bootloader

Good evening.
I understand the red and blue LEDs.
But about the bootloader, I’m sorry, but I don’t understand.
Now when I turn it on it boots the last sketch I wrote.
This would have to add something called a flash cart that @Blinky wrote earlier.

This is what @Blinky said, you need to use an ISP programmer or another Arduino configured as ISP programmer (using Arduino as ISP example sketch).
How should we interpret the relationship between

How should this work?

日本語が上手じゃない、でも…

ISPプログラマーが必要です。

Arduino基板が使える:

https://okiraku-camera.tokyo/blog/?p=13536

Thank you @Pharap.
I understand Anyway, it means that you need Arduino to rewrite the bootloader.
Today, I made a complete version of Arduboy with alternative wiring to match the SH1106 display. After that, the display will arrive, and if you plug it into the connector, it should work, so I’m excited.

Thanks to @Blinky and everyone for their advice. If you have any problems after installing the display on the finished version, please contact us again.

3 Likes

問題ない。

はい。そうだ。

いいよね。

@Blinky
@Mr.Blinky

あの「Mr.」が重要です。

I think Google translate made a mistake here.

In Japanese, pronouns are often implicit from the context, so Google probably tried to guess them and got it wrong…

これは「私たちを連絡してください」。

「私たちを連絡してください」またわ「私はあなたたちを連絡する」か?

Thank you @Pharap.
@Mr.Blinky, I am very sorry.
m(. .)m m(. .)m m(. .)m

Good night. See you.

Help me!
Display SH1106 arrived and assembled.
When I tried to burn the game, I got the following error.

from C:\Users\s_ots\Downloads\Umeroose-Arduboy-0_8_0\Umeroose\Umeroose.ino:8:
C:\Users\s_ots\AppData\Local\Arduino15\packages\arduboy-homemade\hardware\avr\1.3.8\libraries\Arduboy2\src/Arduboy2Core.h:64:4: error: #error SDA can not be used as flash chip select when using Pro Micro alternate wiring. Use RX instead.
#error SDA can not be used as flash chip select when using Pro Micro alternate wiring. Use RX instead.
^~~~~

exit status 1

Compilation error: exit status 1

You have to change this setting:

Make sure “Flash select” is set to “Pin0/D2/Rx (original)”

@Ard_Flamingoさん
Thank you for your reply immediately.
I changed the settings and ran compile>upload again.
The results are below.

vrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "C:\Users\s_ots\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

     Using Port                    : COM4
     Using Programmer              : avr109
     Overriding Baud Rate          : 57600
     AVR Part                      : ATmega32U4
     Chip Erase delay              : 9000 us
     PAGEL                         : PD7
     BS2                           : PA0
     RESET disposition             : dedicated
     RETRY pulse                   : SCK
     serial program mode           : yes
     parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     ByteDelay                     : 0
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
       lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : butterfly
     Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .
Found programmer: Id = “CATERIN”; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
Device code: 0x44

avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: reading input file “C:\Users\s_ots\AppData\Local\Temp\arduino\sketches\2F1219ED3378032B4734CBD9CFE55C23/sketch_mar24a.ino.hex”
avrdude: writing flash (4014 bytes):

Writing | ################################################## | 100% 0.31s

avrdude: 4014 bytes of flash written
avrdude: verifying flash memory against C:\Users\s_ots\AppData\Local\Temp\arduino\sketches\2F1219ED3378032B4734CBD9CFE55C23/sketch_mar24a.ino.hex:
avrdude: load data flash data from input file C:\Users\s_ots\AppData\Local\Temp\arduino\sketches\2F1219ED3378032B4734CBD9CFE55C23/sketch_mar24a.ino.hex:
avrdude: input file C:\Users\s_ots\AppData\Local\Temp\arduino\sketches\2F1219ED3378032B4734CBD9CFE55C23/sketch_mar24a.ino.hex contains 4014 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.04s

avrdude: verifying …
avrdude: 4014 bytes of flash verified

avrdude done. Thank you.
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

But the screen is black and nothing is displayed.