Can a PICAXE do what I need?

laserhawk64

Senior Member
Hello! I want to know if a PICAXE is the right microcontroller for my project. I rather suspect I need something with a little more horsepower, but TBH I'm not sure. (Please do be kind, I'm new to this stuff.) Let me give you what I've got so far, and you tell me if I'm barking up the wrong tree, and why.

I'm considering an attempt to create a handheld-console-to-TV version of the popular game, Reversi (also called Othello). I need a chip which has three PWM outputs for video (RGB -- will be run through an R-2R ladder DAC), *maybe* a fourth for simple audio (simple beeps -- not music, not even beeps-as-music), and a few digital inputs for the controller buttons.

The controller button arrangement can be done four ways, but I need five buttons for each controller (four directional and one 'select'). The four ways are...
(1) ten buttons total, two controllers, using one GPIO for each button. Requires ten GPIOs.
(2) five buttons total, one controller (the two players would swap the controller between them), using one GPIO for each button. Requires five GPIOS.
(3) ten buttons total, two controllers with a shift register in each. Requires five GPIOs if I've got my mental pinouts right (chip enable 2x, ser_out 2x, and shared clk for both).
(4) five buttons total, one controller (like 2) but with a shift register. Requires three GPIOS (chip enable, ser_out, and clk).
...I *think* I've got that right. Remember that the NES and SNES controllers used the shift-register method, to great success.

I do want a color screen, but a /simple/ color screen. 240x320 (QuarterVGA) and four colors all at once. Blue background, red and yellow sprites for the game pieces (sprites?) and green for scoring. Composite video out to the TV. If I implement audio it will be two-line mono (Left and Right Audio plugs electrically tied together), and will be limited to a simple 'ack' bleep that indicates when a player has made a move. If even that much sound is too much, I can make it a completely silent game, but I'd rather not if I can avoid it!

I've a PICAXE 08M starter kit already (relax, I already know that chip isn't right for me, it has nowhere /near/ enough pins!), and I'm thinking that --since I never got around to assembling it-- I can repurpose some (most) of the parts from it onto a spare perfboard and substitute a 20M2 part from SparkFun. At the very least, I've got the parts for the programming circuit, which I can still use.

Bottom line -- will a PICAXE work for what I want, or is it simply not powerful enough for this project?
 

laserhawk64

Senior Member
OK then, that really sucks :( What kind of microcontroller should I look at?

...if I did go B/W, and wanted to use a 320x240 serial LCD (eg Newhaven stuff) would a PICAXE be able to cope with that? (I assume not, but it never hurts to ask...)
 

laserhawk64

Senior Member
That's one chip I'd like to avoid. I have a strong dislike for Parallax -- their stuff is way expensive, and the one time I looked at the Propeller's "here's how to program this thing" manual, I got really dizzy and about fell out of my chair. No, thanks!

...I guess since PICAXE isn't for me I'll ask around somewhere else. I shouldn't have posed that last question. It's kinda rude to ask someone to name a "next best" competitor.

I do appreciate being pointed away from the wrong direction, though... thanks...
 

nick12ab

Senior Member
Raspberry Pi would be more suitable for what you want to do. And its GPIO will allow you to incorporate a PICAXE if you must.
 

Paix

Senior Member
It strikes me that the Raspberry Pi is going to be the gateway to the real world for a lot of PICAXE projects. A good lever to extend the power of the PICAXE gadgets that we want at the sharp end.
.
 

g6ejd

Senior Member
I haven’t checked recently, but allegedly the Arduino development environment was being converted for the RPi, conversely you could produce Reversi in Python now on RPi
 
Top