LAMEBOY - another ESP12 handheld | external gamepad
2017-11-03 08:13:18
I thought about recycling Game Boy Pocket buttons and silicone pads for the Lameboy, but didn't want to redesign the boards just yet (again). So I thought about a little gimmick: why not make a testboard for a little external controller for multiplayer stuff :D it's read out over I2C (with another PCF8574 on it). There's also a race, I've ordered the boards at oshpark and aisler to compare times. I hope every hole is matching the printed things.
LAMEBOY - another ESP12 handheld | teardown of bittboy
LAMEBOY - another ESP12 handheld | fixing rev2 board bug
2017-10-30 23:02:09
so far I only know of @zakqwy ho ordered boards from that rev, but if there's anybody else out there, here's how to fix it, just connect the pads marked with an arrow with a bodge wire.
LAMEBOY - another ESP12 handheld | sunday inspiration
2017-10-30 01:06:10
Played around with tiles and creating characters today. monochrome 8x8 characters are hard, but I found some cool designs from pico-8. Pretty neat stuff.
LAMEBOY - another ESP12 handheld | working on game mechanics
2017-10-28 23:51:29
I wanted to try out different techniques and tried to replicate the "experience" of the Game of the last log. I got away with a 320x320 pixel tile. The drawBitmap function of the display library seems to do something right :) so no tile engine seems to be needed, but I'm interested to see how @Radomir Dopieralski is doing it over at https://hackaday.io/project/27629-game/log/69791-inside-a-tile-engine
LAMEBOY - another ESP12 handheld | found a cute game
2017-10-28 12:51:14
I haven't seen this before, it's an orthographic "3D" version of pac man on a ZX81. This might just fit perfectly on the LCD! (anyone who wants to program that? :D)
any ideas are welcome, if you can think of an interesting game that might work on a monochrome display, please comment. Nokias Space Impact would be cool to have too.
LAMEBOY - another ESP12 handheld | SSD1327 grayscale display board
2017-10-28 01:43:39
So the SSD1327 grayscale display that I found on aliexpress.com is parallel only (8080 protocol). The chip itself is able to talk I2C and SPI as well, but the protocol select pins aren't broken out on the cable. Since I've ordered a display before I realized that and now that aisler has free shipping I designed a breakout anyway. Also on the board: a 15V step-up converter based on the MT3608 - that converter you get when you search for "12V step up" on eBay and sort by "price+shipping lowest first". Plus my new logo design :) I need a different micro controller for that.
I2C peripherals based on Attiny85 (mostly) | starting point for I2C sound card
2017-10-26 23:43:14
After posting, let me quickly remove the SID part and hope no one ever saw it :D Here are some basic samples that are pretty promising, 4 triangle voices on one input, hopefully combinable with I2C. Sounds nice :)
LAMEBOY - another ESP12 handheld | A Sunday's work
2017-10-22 21:09:09
fresh new (not yet working) version on the top left I call "Kürby", since it's orange with a green top - a pumpkin in German is "Kürbis" and it almost sounds like Kirby.
Can't tell why it's not working yet, but also am tired and want to clean up the desk...
Well that clean desk motivated me to check my AP2112K layout on my Rev2 board - let's say that escalated quickly :D Found out that my enable pin was connected to the switch and the other side connected to VCC, not VREG_IN. There's no VCC to turn on VCC :D luckily it's just a bogde wire and a little cut, if anyone bought this.
Aisler vs. OSHPark comparison
2017-10-21 12:25:59
Update 23rd of October
Aisler now offers free shipping!
Please keep in mind that I was able to participate in some test runs and beta tests, some anecdotes are hidden in this write up. They're definitely safe to try out :)
I've met @Felix Plitzko at the MakerFaire Hannover this year and we've talked about boards that AISLER has already made for the company I work for. Felix told me he likes the #LAMEBOY and offered me a free round of boards and a metal stencil to compare. Here is an overview of their service compared to OSH Park. They don't make it a secret that OSH Park is definitely an inspiration.
4mil trace clearance 4mil trace width 8mil drill size 10+drill size mil min pad
color of PCBs
purple
olive green
(sadly not orange)
Finish
ENIG
ENIG
Design file support
eagle, KiCad, gerber
eagle, KiCad, fritzing, gerber
production time
12 calendar days + shipping
12 days + shipping
*no tolls bc below import tax minimum and with free shipping
The first picture shows a round of the first version of Lameboy, some parts are replaced now or moved or deleted (kind of sad about the steel stencil). I swear I replaced the OSH Park logo on the AISLER boards with an AISLER appropriate text, but I must have mixed files up. You can see a yellow "x- out" sticker, where I currently have no idea what it means, but the board's pads look pretty pierced, may be from electrical testing? The typical "byte marks" on the OSH Park boards (7 here) are sometimes slightly in the board, AISLER gives you a clean bulge.
As you can see here the OSH Park silkscreen had some issues in this 0.8mm run, the C and RST labels of the buttons aren't printed well, where as the AISLER board is slightly offset to the bottom, so the OFF and ON Lines are cut in. The eyes of the skull look bigger on the AISLER board.
In the second round of the OSH Park boards (as seen on the right of the following image) there are no errors in the silkscreen though.
The stencil of AISLER is looking pretty good, position it right and you can see only gold.
Overall I'm pretty happy with the quality of the boards since day one, but I also had some bad luck with orders. On my very first run of boards for the company I work for, I had the ground plane peeking out next to every pin, never happened with any other board manufacturer but was my fault and I could have seen it in the high resolution renders on the page. Since then they did a lot of magic to process the boards before they go in production. They seem to constantly update and upgrade their services and product, which is great if you think about it, but it might happen that you get a wild outline or your order of a "non public test run of steel stencils" (!) gets lost in an excel file :D (they don't use excel for that, now that it's public!!) But as with OSH Park the staff is communicative and interested in how they can improve and make it easier for you to make things. They're also in the process of adding PCB assembly to their services.
Their page gives you version management and the option to change board designs up until manufacturing begins, something that one person or another might miss in OSH Park (although production at OSH Park starts way sooner due to higher demand and a nice mail to support@oshpark.com might fix file problems). If they manage to nail the "order 3 complete prototypes" then AISLER would win the hearts by a lot of people, IMHO.
LAMEBOY - another ESP12 handheld | Withdrawing from prize
2017-10-20 15:35:44
I just can't handle everything right now, it's all been too much lately and this hobby feels a lot more like work lately. It's supposed to be fun though, right?
LAMEBOY - another ESP12 handheld | monochrome display going grayscale?
2017-10-13 03:31:27
[update] random thought: there is a global brightness setting, why not play with that to get greyscale?
So I tried some greyscaling on the LCD, but my ESP code runs out of sync with the LCD that updates every pixel in a certain frequency that I don't know. So I get a sometimes grey, sometimes not so grey value and an analog TV style walking distortion on it.
According to this datasheet there is an OSC pin, that accepts an external clock for displaying. So here comes the "what if": could I use an attiny and spit out a frequency of around 32kHz and a "frame" / vsync pulse for the esp to check / interrupt on? that would be so cool. I could use the data in / MISO for that (tiny would be connected to CS of display as well).
Oh the stuff you think about when you have no lab / hardware :D
Cool side note, the SSD1305 that's on the 1.54 OLED has exactly that integrated. [doesn't seem to be broken out on the cable though] Also from the datasheet: "There are 4-color selections to support monochrome or area color OLED/PLED." -> I think that has something to do with those split oleds, where there's an orange bar on top of the blue display etc. https://cdn-shop.adafruit.com/datasheets/SSD1305.pdf
found a SSD1327 controlled OLED that's 128x64 and monochrome.
So if I get it this right, I need a bootloader that starts with reading the sd card to check for roms to start. Then I'd have to write that binary file into a 1MB area of the spi flash and start from there, if that is possible. Every program would have to be compiled for that sector then? Or is there a start pointer and a soft reset?
LAMEBOY - another ESP12 handheld | current todo list
2017-10-10 20:58:11
there's still no sound (design an i2c soundcard)
case needs rework for button c (and reset)
port gamebuino
decide on footprint for caps and resistors and stick to it
find a good reason why this is a hackaday prize entry
LAMEBOY - another ESP12 handheld | deauther success
2017-10-09 04:18:12
I was able to setup the Arduino IDE within my ubuntu virtualbox to compile the deauther program by spacehuhn (https://github.com/spacehuhn/esp8266_deauther) - now I can rewrite the display stuff to work with my hardware. Nice. I wanted a separate IDE for that, to make the necessary changes and also be able to work with the latest ESP8266 core on my mac. Probably would have been better with an OLED arduboy clone, since it's already working with that. Wuah, poor me, I know.
Going to make a hex once done, so it's easier to put it on (probably). I need software help at one point.
Update, display and buttons are now integrated as well, not just the server is running :)
LAMEBOY - another ESP12 handheld | thoughts about platforms
2017-10-08 16:21:46
Looking at my "competition" and what's on the market right now, there are two major Arduino handheld gaming platforms at the moment of writing, that pop out
SD card support for having a lot of hex files and games
I2C and serial connection pins have headers
CONs
although I chose the display myself, it's notable that 84x48 pixels is less than 128x64 pixels
Conclusions for this project
There is a 1.54 inch OLED display, that seems reasonable in price to work with and maybe switch to the ESP32 to make it slightly easier to deal with buttons etc. - although I'm not sure what that means for deauther support (I think that's only possible with the ESP8266 right now, correct me if I'm wrong). But I'm pretty happy with the state of the project (except for sound, but I2C soundcard is coming https://playground.arduino.cc/Main/SIDuinoI2c - thank you @Radomir Dopieralski ) and I will continue to make this a small run thing for tindie.
WiFi and USB for pocketbeagle | Design choices
2017-10-07 16:19:46
Seems like there aren't any capacitors needed for the crystal, although it seems unusual coming from every other chip I've used that needed a crystal. I've added 10pF like in #(One More) Raspberry Pi Zero USB Hub but doubt they're necessary.
Only one extra USB port has a plug, out of size restrictions etc. - a second one has the RTL8188 directly connected. Therefore only one LED is really necessary for the "connected" status.
Added a PRTR5V0U2X as ESD protection for the "external" USB port.
can't put skulls on stuff forever
2017-10-03 23:07:15
So I started with "designing" a new logo that somehow has something to do with my chosen internet name and it's heritage. It still needs some work, but is an ok start.
K.I.T.T. - KNIGHT RIDER badge/brooch | code for arduino