Go Down

Topic: Portable console (Read 15263 times) previous topic - next topic

TheKitty

#30
Jan 13, 2013, 05:28 pm Last Edit: Jan 13, 2013, 07:00 pm by TheKitty Reason: 1
@Rodot - Thank you!!  Of course I am going to gush over the fact that it is your project and code and I'll link to the Hackaday, your blog, and the Youtube (which shows the gameplay).  

My contribution was making the mapping of the hardware to the Esplora and a couple of library issues.  The code works well but might lack your polish (you can see on Github at the previous link).

If you don't want to publish the other game, that's fine as it is yours.  Maybe you'll want to publish the game in time.

I'd like to see your hardware creativity more, just as others here have encouraged you.  It's a shame the Arduino team came so close to your hardware set.  I actually think your idea with LiPo is better - my next task is "strapping on" a LiPo solution to the Esplora which will be ugly as it appears to really want USB power and many people want a wireless solution (standalone or radio).

My article is now up at http://21stdigitalhome.blogspot.com/2013/01/first-self-contained-arduino-esplora.html.   Thanks again, Mike

DuaneB

Hi,
Esplora does make things a bit less interesting in the short term, I was planning something similar for this lot -



However in the medium term it might open up our projects to more people, I want people to build my projects and if Esplora helps then it must be a good thing.

Rodot, its your design talent that blows us away, your take on conways 'game of life' is exceptional, why mess around with screens and batteries when you can can be genuinely creative - I hope you stick around and do more on the Arduino platforms.

Duane B

rcarduino.blogspot.com
Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

fungus


Thank you very much !
The screen module costs 13$ on eBay (search "1.8 LCD module"), and the screen alone costs 7$. The library is this one : http://www.bestelecs.com/download/lcd/1.8SPI.zip.
I don't know if I will do an instructable, there is a lot of information in the video, and doing instructable take a lot of time, and I'm not sure people are interested in that...


I suspect the secret to its coolness is in the programming, not in connecting a screen to the SPI interface :)

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

pYro_65

You project is a nice one, its a shame to see your ideas clobbered like that. Maybe there is still some room for you.
There is some differences that you can exploit. Especially if you are making a standalone, not a shield.

The 328 can do 20MIPS throughput. whereas the 32U4 is only 16MIPS, even have the crystal removable/switchable and then people can select an external clock.

Seems the 328 has 4 less instructions, whatever they are.
Plus many other differences...

If you are still / were considering a big screen project, I'm working on a library for a 3.2" on a mega 2560 that could help you achieve a nice result. My goal for the library is to actually make a game out of it.

Either way, I'm sure there is something your platform could incorporate that will elevate it well above the performance of the esplora. They may have gotten theirs out first, but this also means you can 'esplore' it and create a better system.

TheKitty

R0D0T, your game of life would make a good game for the Esplora too if it could be modified to use the 32U4's 2.5KB SRAM.  While I'm good at some translations, I've looked at the SRAM code a bit and I don't know exactly how much you might be using with the external chip.

Rodot

Quote
I hope you stick around and do more on the Arduino platforms

@DuaneB : I'll maybe get back working on my Game Buino... but right now I've to make my 3D printer... print. I've been working for 2 months on it, because of the very poor quality of parts (nozzle leaking, smooth rods not smooth, broken bearings, burning MOFSETs...).

Quote
If you are still / were considering a big screen project, I'm working on a library for a 3.2" on a mega 2560

@pYro_65 : The mega 2560 has more flash, more ram (good for gaming), more pins (to connect a 16b parallel screen instead of SPI) and you can adress external ram (yeaaaaah). But it's very, very expensive compared to a atmega 328. That's why I chose to do a cheap gaming platform first (to practice PCB routing too), and maybe later, if I want  more power, I'll move on ARM 80Mhz 32bit stuff (but it's very difficult to hand solder).

Quote
your game of life would make a good game for the Esplora too if it could be modified to use the 32U4's 2.5KB SRAM

@TheKitty : your world is 128*128 wide = 16k cells. My algorithm uses 1 byte per cell (you can use 1 bit per cell but it's far, far slower). So you need 16kB of RAM, so I used an external SPI ram. You can use a smaller world (32*32 = 1k) and magnify it if you want to spare ram, but it will be far less cool.

pYro_65


Quote
If you are still / were considering a big screen project, I'm working on a library for a 3.2" on a mega 2560

@pYro_65 : The mega 2560 has more flash, more ram (good for gaming), more pins (to connect a 16b parallel screen instead of SPI) and you can adress external ram (yeaaaaah). But it's very, very expensive compared to a atmega 328. That's why I chose to do a cheap gaming platform first (to practice PCB routing too), and maybe later, if I want  more power, I'll move on ARM 80Mhz 32bit stuff (but it's very difficult to hand solder).


That's understandable, If you find an AVR you like my library is easily transposable to any 8 bit AVR with at least 2x 8-bit wide IO ports. With a little modification it can support non-parallel interfaces, a large amount of speed will be lost, but will still be optimal.
The 1284 for example, has 16k ram and is available in through hole. From maniacbugs site it appears it has 2 free ports and is less than half the price of the 2560.

Anyway I shouldn't advertise my library until I release it, I'm just keen to do some collaborative work. A game is the fundamental reason behind my need for a new graphics driver. So keep that in mind if you ever re-ignite your project.

TheKitty

The new Due is $20 less than the mega and is wicked fast. Perhaps you'd have a good system with it?

Rodot

#38
Feb 24, 2013, 11:19 am Last Edit: Feb 24, 2013, 12:00 pm by Rodot Reason: 1
Hello TheKitty,
My project is to design a handheld console you can build yourself on the cheap, and the Due's chip is too expansive and too tiny to be hand soldered. And I don't want to make a shield, because I want it to be 10 mm thick battery included. You don't need a lot of power to make cool games, look at my snake : it runs very smoothly at 50 FPS (and the more power consuming is the AI with a lot of trigonometry & floats). Everything is about optimization.

Edit : I will soon get back on PCB drawing to build a first prototype. But that's the first PCB I draw, so I'm not very fast ^_^

Go Up