Switch to full style
Show us your Gamebuino clone or the last module you made.
Post a reply

Another DYI Gamebuino (BBGameBuino clone)

Mon Jun 29, 2015 2:34 pm

Hi. It's vacation project with my almost 11yo son. We've followed the BBGameBuino project by Treflip (http://gamebuino.com/forum/viewtopic.php?f=16&t=817).
Everything works fine, the only adjustment we've made is add 10uF capacitor between ground and Vcc.
The main problem was to flash bootloader using current Arduino software. Solution is to add following configuration to the boards.txt and copying 'hardware/gamebuino/bootloaders' content to the 'hardware/arduino/avt/bootloaders' of the Arduino software installation.

Code:
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


Result: Image

Further plans: game (Dog&Bones in progress), lion battery (waiting for the ordered charger chip), plexiglass cover.

Re: Another DYI Gamebuino (BBGameBuino clone)

Mon Jun 29, 2015 6:26 pm

very nice !

Re: Another DYI Gamebuino (BBGameBuino clone)

Tue Jun 30, 2015 7:40 pm

Thx! Ok, I see I have one issue I cannot solve.
Gamebuino states Low Battery (3306mV) occasionally, when I add circuit for battery monitor and connect to 5V from Nano, Low Battery (or Zero battery) is permament.
Any advice?

Re: Another DYI Gamebuino (BBGameBuino clone)

Tue Jun 30, 2015 8:18 pm

Ok, just replaced 10uF capacitor I had between vcc and gnd and put into another place. It solved the problem. Maybe this was the problem or maybe I had short circuit. Nevermind. It works :)

Re: Another DYI Gamebuino (BBGameBuino clone)

Mon Jul 13, 2015 12:12 pm

Given that you're not actually using a battery yet I'd just tie the A6 line high which will fool the library into thinking the battery is fully charged (or rather, way overcharged).

Nice build btw! :)
Post a reply