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
LAMEBOY - another ESP12 handheld | slight redesign
2017-09-29 16:14:31
I always wanted to have a footprint that fit 0603 / 0805 / 1206 resistors or capacitors and for this project I finally started designing some. I'll need to test em properly, but this way everyone can use their parts with less hassle. Except for the resistor arrays, I won't change them.
Sadly 4 PWM pins aren't enough to get all 8-10 servos running, so I need a controller for that anyway, probably keep the arduino for that. Probably don't even need PWM for the servos though. (probably leeds to PCA9685 check #Servo Breakout for WeMos D1 Mini )
Totally neat: USB is on the GPIO headers. comparing that to the Raspberry PI derivates, that's pretty cool.
PORG | shopping in Murica
2017-09-27 21:34:03
I've bought a "target-only" plushy Porg with sound and also got one of the new https://beagleboard.org/pocket - at the Maker Faire New York. So I got the brains and maybe the skin and voice :)
I2C peripherals based on Attiny85 (mostly) | some attiny dev boards
2017-09-27 18:05:19
corrected the grove connector
also, for programming and prototyping:
LAMEBOY - another ESP12 handheld | RGB is finally working
2017-09-21 00:03:42
At the time of designing the boards it felt like a no brainer to use a BlinkM clone over I2C, because I had worked with them in my early beginnings. It took me a while though to finally burn the firmware and set the fuses right, but now I finally made it!
I also found out that avrdude is able to slow down the clock frequency of SPI by itself. With -B 100 I was able to reprogram the tiny45, no matter how slow I was setting the fuses by accident.
Of course... of course. R and G are mixed up. gnargh. But here's a demo:
LAMEBOY - another ESP12 handheld | That is just the perfect color!
2017-09-20 13:50:34
LAMEBOY - another ESP12 handheld | case concept
2017-09-20 01:51:19
There's a little edge on the bottom left for the screw less corner. I want to preserve the colorful pcbs as much as i can but also protect the parts. I still need to add the "shoulder" buttons and roughly check if everything fits.
charlie-plexed icosahedron
2017-09-17 12:27:25
that's some tough stuff to get your head around, thanks to past dave I already had a cheat sheet :)
It get's worse from each iteration :D I was quite embarrassed when me and my mum pulled out the hotglue gun... looks a bit like Lukes Lightsaber training ball. I started a collection on thingiverse for inspiration of the next one https://www.thingiverse.com/deefdarko/collections/led-star