EmbDev.net

Forum: µC & Digital Electronics Gamebuino based on arduino nano


Author: David Roper (retrogadgets)
Posted on:
Attached files:

Rate this post
0 useful
not useful
Based on the Gamebuino at www.gamebuino.com

My implentation using an arduino nano dev board

The boot loader has been flashed eith a modified version of optiboot.

Shall post further developments as I test the board

Next shall be the micro sd reader

: Moved by Moderator
Author: David Roper (retrogadgets)
Posted on:
Attached files:

Rate this post
0 useful
not useful
Flashed the nano with information at

http://gamebuino.com/forum/viewtopic.php?f=12&t=932

Experimental boot loader available at

https://drive.google.com/file/d/0BweEjvtKj1KLMnMxN...

Author: David Roper (retrogadgets)
Posted on:
Attached files:

Rate this post
0 useful
not useful
At the moment my layout based on this schematic

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
David R. wrote:
> At the moment my layout based on this schematic
I can see no (in numbers 0) decoupling capacitors at the ATmega...

You should NOT conntect Aref to Avcc. Instead you sould connect only a 
capacitor from Aref to GND:

      Vcc --------| Avcc
                  |
           .------| Aref
           |      |
10n..100n ===
           |
          ---

Then you can also make use of the internal reference volatage. And of 
course you can use Vcc as refeerence voltage also. Simply select it as 
reference source in the ADC settings.

: Edited by Moderator
Author: David Roper (retrogadgets)
Posted on:

Rate this post
0 useful
not useful
Lothar I'm only using the schematic as a guide, I dont have any 
connection to aref at the moment.

But I'll bear it in mind for later

Author: David Roper (retrogadgets)
Posted on:
Attached files:

Rate this post
0 useful
not useful
Ive now rewired the board, it looks alot better

The sd board is attached, formatted to fat 16, loader.hex and 
settings.hex are present on the sd card.

With the sd card is inserted, the screen backlight has a slight pulsing 
action, take it out and its steady! Both the screen and the sd module 
connect to the same clock and mosi.

The sd card is running off 5v via its on board regulator and the screen 
off 3.3v from the nano

Next for the buttons

Author: David Roper (retrogadgets)
Posted on:

Rate this post
0 useful
not useful
Using the arduino ide and editing the board.txt file

Place this code at the end

gamebuino.name=Gamebuino Nano
gamebuino.upload.tool=avrdude
gamebuino.upload.protocol=arduino
gamebuino.bootloader.tool=avrdude
gamebuino.bootloader.unlock_bits=0x3F
gamebuino.bootloader.lock_bits=0x0F
gamebuino.upload.maximum_size=30720
gamebuino.upload.maximum_data_size=2048
gamebuino.upload.speed=57600
gamebuino.bootloader.low_fuses=0xFF
gamebuino.bootloader.high_fuses=0xDA
gamebuino.bootloader.extended_fuses=0x05
gamebuino.bootloader.file=gamebuino_boot/gamebuino_boot.hex
gamebuino.build.mcu=atmega328p
gamebuino.build.f_cpu=16000000L
gamebuino.build.board=AVR_NANO
gamebuino.build.core=arduino
gamebuino.build.variant=eightanaloginputs

Then using a usbasp programmer, connect the icsp header to the nano 
board.

Then goto tools in the ide and select programmer as arduino asp or 
usbasp, choose board as gamebuino nano then choose burn bootloader

Hey presto the bootloader is written and when the sd module is wired 
pressing c on the clone the bootloader flashes the Gamebuino clone with 
the loader.hex for choose what ever is on you sd card, game or settings.

Author: David Roper (retrogadgets)
Posted on:

Rate this post
0 useful
not useful
Prior to doing the above

Download and extract to my documents on windows or the sketch folder if 
on mac the 3 folders

When using the arduino ide, goto examples to see if gamebuino is there, 
if so you have installed the routines for the Gamebuino clone

https://github.com/Rodot/Gamebuino/archive/master.zip

Author: David Roper (retrogadgets)
Posted on:
Attached files:

Rate this post
0 useful
not useful
My new layout using single core hook up wire

The left button A , the middle button is down, the right button is C for 
exiting games and accessing the SD

Next a nice pcb with probably just a atmega 328 instead of the nano 
board

Author: Pete K. (pete77)
Posted on:

Rate this post
0 useful
not useful
What is your problemuino?

Author: David Roper (retrogadgets)
Posted on:

Rate this post
1 useful
not useful
Pete K. wrote:
> What is your problemuino?

I have no problem, I am the author and  this is my post

If anyone else would like to build

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.