Activity

Hung-Chi Wang

Wiring Cleanup + Stress Test Bug (the last devlog)

Only 1.5 hours logged today but honestly it felt like an eternity trying to make this thing actually usable and not just a ticking time bomb of loose jumper wires lol

Ditching the breadboard
First thing I did was try to make the ultrasonic sensor voltage divider permanent. I literally spent like 45 mins just trying to solder two tiny SMD resistors directly inline with the jumper wires cuz I didn’t want a bulky perfboard hanging off my robot. Trying to heat shrink those tiny connections without melting the actual wires was a literal nightmare bruh. My hands were shaking so bad but it looks so much cleaner now.
Also spent a bunch of time crimping and soldering proper JST connectors for the battery and the 12V DC motors. My fingers are actually numb from dealing with those tiny metal crimps, but hey no more sketchy alligator clips accidentally shorting stuff out!!

The Stress Test (AHHHHH)
Since everything was finally hardwired and looked legit, I decided to run a full system stress test. Wrote a micropython script to run the I2C screen, poll the ultrasonic sensor, sweep the servo, AND blast the DC motors at max speed all at the exact same time.
And guess what happened??? The ultrasonic sensor immediately started spitting out completely garbage numbers again. Like it said my hand was 400cm away when it was literally right in front of the sensors. WTH???
I stared at the serial monitor for like 20 minutes before I realized it was electrical noise from the motors messing with the sensor’s echo pin. Literally the DC motors were just screaming and sending EMI interference everywhere through the board.
Took me another 20 mins to fix it by tightly twisting the motor wires together to cancel the noise and slapping a tiny ceramic capacitor across the motor terminals. Tested it again and BINGO it works flawlessly even at max throttle!

Getting everything to actually play nice together under full load is acc so frustrating but the hardware is FINALLY rock solid. We are officially ready to mount this onto a chassis!!! LETS GOOOO

Btw I also recorded this video to show how many times I failed on making rukus lol

0
Hung-Chi Wang

Final Stage Testing + Fix some little bugs

First I started with the I2C screen……I hooked up the SDA and SCL pins, ran a simple I2C scanner script in micropython, and it returned absolutely NOTHING. I literally spent almost an hour just intensely staring at my multimeter, checking the continuity back and forth between the RP2040 pads and the pin headers, genuinely convinced I had somehow fried the I2C bus during reflow. Turns out the jumper wires I was using were just completely broken internally??? Swapped them out with new ones and BOOM the screen turned on and displayed my text perfectly lol

Next I moved on to the ultrasonic sensor and a servo motor. The servo was pretty chill, just threw some simple PWM code at it and it was sweeping perfectly. But the ultrasonic sensor was returning the most garbage random values ever. Took me another solid hour to remember that the echo pin on the sensor dumps a 5V signal and the RP2040 only takes 3.3V logic…….I almost burnt my MCU again bruh. Quickly slapped a voltage divider on my breadboard setup and it started measuring distances flawlessly

Then came the final boss: the DC motors + the 12V power supply. I was genuinely sweating profusely doing this. I hooked up the massive 12V supply, held my breath, and kept my eyes absolutely glued to the multimeter screen checking the TB66112FNG outputs, making sure it wasn’t somehow dumping 12V straight into my 3V3 logic lines. But the power chain held up like a champ! I wrote a script to ramp up the PWM, and the motors spun up so aggressively the whole board almost flew off my desk lmao

The last two hours were basically just me pulling my hair out fixing stupid little bugs. Like whenever the motors would draw too much current on startup, the I2C screen would just randomly glitch out and freeze. Stared at my multimeter AGAIN watching the voltage dip on the rails, and finally realized I needed to add some way bigger decoupling caps to smooth out the spikes.

Honestly my brain is completely fried rn from staring at tiny wires for 5 hours, but EVERYTHING WORKS. All the GPIOs, the 12V power delivery, the sensors, everything. WTH I can actually build the robot now. Wait for the next update!!!

0
Hung-Chi Wang

Reflow attempt 4

FIVE HOURS DUDE. I literally sat at my desk for 5 straight hours today but guys it was SO WORTH IT. After the absolute jankiness of attempt 3 where the board was hanging on by a thread at 2.35V with a missing pad, I decided I couldn’t live with that for my actual robotics controller. I needed a fresh, perfect board LMAO

The Reflow

I grabbed a brand new PCB, whipped out my flux and paste, and literally locked in. I was so insanely careful this time, taking my time with the hot air gun instead of rushing it. And guess what??? It came out SO CLEANLY. Like acc the cleanest SMD reflow I have ever done in my life. No sketchy solder bridges on the RT6150B, no ripped pads, nothing. I just went ahead and populated the entire board in one go—the AP62401, RT6150B, RP2040, the crystal, the flash, and the TB66112FNG motor drivers.
I plugged in the USB-C, and BOOM. Both the 5V and 3V3 indicator lights lit up super bright immediately. My computer detected the RP2040 instantly, and the micropython UF2 loaded on the first try. NO BOOTLOOPING AT ALL. I actually almost cried ngl.

The Assembly & Motors

Since the core was finally working flawlessly, I went ahead and fully assembled the rest of the board. It was time for the ultimate test: the actual robotics part. I hooked up my lipo battery and wired the DC motors to the TB66112FNG outputs
Wrote a quick test script in micropython to toggle the PWM signals to the motor driver, and guess what? IT WORKED FLAWLESSLY. The motors started spinning exactly how I programmed them to. The power supply was taking the battery voltage and feeding the motors like a champ

The Diodes snd the he Weird Bug

So the Sch smth diodes (Schottky) I added to the circuit actually worked perfectly!! They successfully allowed me to keep the board powered safely so I could code and test the motors at the exact same time without blowing up my laptop’s USB port lol
BUT here is the annoying part that took me forever to figure out………. for some reason, I couldn’t acc change or upload new code when BOTH the USB-C and the battery were plugged in at the same time. Like Thonny would just freeze and my laptop would refuse to save the script to the board. I was staring at my screen like WHYYYY????
I honestly think it might be some weird voltage conflict or the power switching slightly messing with the RP2040’s USB data lines?? I spent over an hour debugging it and checking my schematic, but honestly I just gave up cuz it’s not even a big deal. As long as I just unplug the battery when I need to flash new code, and then plug it back in to run the motors, it works perfectly fine lol
I am just so happy rn. After frying chips, shorting 5V to GND, endless bootloops, and dealing with ripped pads for weeks, Rukus is finally ALIVE and fully functional. Time to actually build the pocket robot chassis for this thing!! Wait for the next update

Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 31.3
Cookies: 🍪 748
Multiplier: 23.9 cookies/hr

I built a completely custom Pico Chess Card using an RP2040 and an e-ink display!!!
The hardest part was definitely the power supply chain and the SMD reflowing (I literally burnt multiple regulators, shorted 5V to GND, and even peeled off a solder pad at 2AM bruh), but I figured it out by ditching the RT6154A for the RT6150B, diagnosing the shorts with my multimeter, and learning to properly use my hot air gun instead of frying things with my iron lol. Really happy with how it turned out :)
The moment I finally got BOOTSEL to work and watched that e-ink screen actually refresh gave me an ungodly amount of serotonin lol.
LETS GOOOOO! Hope you all enjoy it :)

Hung-Chi Wang

Reflow attempt 3

Alr after the endless bootlooping from attempt 2, I finally got it working but man it was a mess
So since the board was just rebooting non-stop last time, I thought maybe the RT6150 got internally cooked when I left those bridges on. So I decided to completely swap the regulator one last time using my hot air gun
I was trying to be careful but guess what??? A pad peeled off. I literally stared at it and thought my board was dead cuz usually a peeled pad means the entire PCB is just done for……..
I inspected the damage under the microscope and realized the pad that ripped off was VINA. I was like NOOO way this is gonna work now cuz it’s a power pin
But since I was already there I just soldered the new RT6150 on anyway, hoping the internal connections between VIN and VINA inside the chip would somehow save me lol
I plugged in the USB-C expecting it to fail………. but the 3V3 indicator light actually turned on???
I immediately grabbed my multimeter and tested the output. Instead of giving me the 3.3V I needed, it returned exactly 2.35V. I was so confused like why 2.35V??? It must be because the VINA pad is gone so the power chain is struggling
BUT HERE IS THE CRAZY PART. I plugged it into my laptop, and the RP2040 POPPED UP on my screen! AND IT DIDN’T BOOTLOOP!!!!
Like how in the world is it working???? Turns out 2.35V is acc lucky enough to be within the bare minimum operating voltage for the RP2040 and the flash memory to communicate without dying lol!!! It’s literally hanging on by a thread but it transfers data and micropython acc runs!
I am just so glad right now ngl, like the amount of stress this power delivery gave me was insane. Even tho it’s running on 2.35V and one pad is completely gone, the core functionality is finally there and I don’t have to sacrifice another RP2040
Imma probably just tape it down and never touch that part of the board again lol, wait for the next update
*** You can see how the LED at the bottom right is very dim

Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 31.56
Cookies: 🍪 914
Multiplier: 28.95 cookies/hr

I built a completely custom Gameboy from scratch using an RP2040!!!
The hardest part was definitely routing the power island (had to redo it like 6 times ngl) and reflowing the board cuz I accidentally shorted 5V and 0V……And I also soldered the screen completely upside down without realizing lol. But I figured it out by fixing the shorts with my hot air gun and literally just tweaking the emulator code to update the screen from bottom to top instead.
Really happy with how it turned out, the moment I finally booted up Kirby on a PCB I designed myself was soooo PEAK :)!!!

Hung-Chi Wang

Reflow Attempt 3

LETS GOOOOOOOOO it finally works bruh I could actually cry right now…….

  • So after I went to bed at 2AM feeling absolutely defeated, I woke up today and just stared at the dead board for like 20 mins. I realized when I swapped the RP2040 last night in my sleep-deprived state, I probably completely messed up the QFN ground pad under the chip cuz I was so tired and rushed it, which is why the whole thing just gave up on life and killed the 3V3
  • Wipped out the flux and my hot air gun, and gave the MCU one last reflow. Was extremely careful this time and didn’t even touch my soldering iron cuz I learned my lesson from frying the USB-C port lol
  • Plugged it in, and BOOM both the 5V and 3V3 indicator lights lit up immediately!!! The relief I felt seeing that 3V3 light come back from the dead was insane. BUT I was still holding my breath bc of the flash issue from yesterday. I held down the BOOTSEL button, plugged the USB into my laptop, and just prayed to the hardware gods……
  • AND IT POPPED UP ON MY COMPUTER!!! LIKE FINALLY. The BOOTSEL acc works and it communicates with the flash perfectly now. I immediately dragged the micropython uf2 file in and it loaded flawlessly without any sketchy disconnects. But the absolute best part is I finally got to test the e-ink screen. Hooked it up, wrote a quick test script in micropython, and watching that e-ink display actually refresh and show my stuff gave me an ungodly amount of serotonin. The chess card is finally alive!!!
    Moral of the story :) never solder tiny chips at 2AM when ur brain is fried. I’m so happy rn lol like WTH
Attachment
0
Hung-Chi Wang

Final Stage (Hopefully the last devlog)

Alr after reflowing the board and roughly validated the GPIOs, it’s time to test if the SD card and the screen can acc communicate with my RP2040!!!

  • Well i already tested writing in and reading data from the SD card, so im not quite worried about it (acc i was lol cuz idk why it sometimes just didnt detect my SD card……..damn it
  • The next was the screen, this time i tested out all the screen module pins using a while loop to turn them on and off and measured them one by one using my multimeter. And i was acc thinking if i should use a pin socket to simply plug in the screen or solder the screen directly on the board lol
  • I then decided to solder the screen directly on the board cuz how i confident i was…….like the GPIOs were all working flawlessly + the SD card was reading…….i didn’t think there was really any chance to fail ngl
  • And here’s the funny part, after I soldered the board and loaded the game emulator, i then realized how the screen was upside down, like i didn’t even notice it when I prototyped……
  • But ofc this wasnt gonna stop me from progressing cuz i believe this could def be fixed using software, like this was obviously like a software issue ngl. So then I started to inspect the code and fnially found a place where it showed where to start updating the screen. Orginally it started from the top, then ofc i changed it so that it started from the bottom and ended at the top!!
    AND GUESS WHATTT THE GAME RAN FLAWLESSLY!!!! Like dude the moment when I could select the game and play every game i wanted? THAT WAS SOOO PEAK!!! Just check out how I run Kirby
0
Hung-Chi Wang

Reflow Attempt 2

AHHHHH this is genuinely killing me…….it took me almost 4 hours to reflow the board + debugging

  • Reflowed the entire chess card, and somehow the both the 5V and 3V3 indicator lights didn’t light up, which was extremely frustrating……
  • Initially, I thought it was bc of the USB-C port cuz I kept wiping it with my 300 degree celcius soldering iron to fix the bridges (we dont talk abt that lol). So then I decided to swap out the port, which then I realized how it still didnt fix the issue
  • Well i then measured the resistance between the 5V and GND, which then i noticed how the value was suspiciously low, like nearly 0 ohm (obviously it’s short circuited!!!!
  • I immediately doubt if it was bc of the RT6150 cuz it’s the only IC that bridges 5V and GND other than the USB-C. I reflowed the RT6150 chip again, and BINGO the 5V indicator light turned on!
  • BUT here’s another issue……..why in the world is 3V3 not lighting up??? LIKE WHYYY I literally reflowed the buck regulator again. This issue took me over an hour to deal with cuz I immediately tested the resistance between 3V3 and GND, but nope the resistance was very normal like very high…….so then I went back and stared at my board again and started to think it might bc i accidentally burnt the RT6150 when i shortcircuited the 5V
  • I swapped out the RT6150 with a new one (NOOOOOO only 4 left, very low in inventory), and guess what it finally started to kinda work, like the 3V3 light turned on. BUT BUT BUT the BOOTSEL IS DEAD like it doesnt communicate with my flash
  • Usually if the 3V3 didnt even turn on means the shortcircuit didnt even acc get out of the regulator, so the flash shouldnt be an issue……..now i turned to my RP2040 and thought it might be bc of the MCU…….I reflowed the chip again but bruh same shit happened
  • I then swapped out the RP2040 with a new one (I mean I still have quite a bit inventory so why not lol). BUT the board became fudging dead, like acc DEAD…….the 3V3 indicator light no longer turned on
    It’s already 2AM and I’m devastated………lemme probly take some rest before giving it another shot
Attachment
0
Hung-Chi Wang

Reflow Attempt 2

NOOO I forgot that I routed all my ICs on the back plate, so my stencil didn’t even work cuz i forgot to order it to match the back plate. ANYWAY I still reflowed the board using my choppy pasting technique and guess what? It worksss!!!
Actually before powering up for the first time I didn’t even notice that the 5V and 0V are shorted, and I was so glad that I found out using my multimeter lol. So then I hot aired the RT6150B and boomed it fixed the short circuit which was a huge W
Before powering up, i tested the 5V, 3V3 and 0V again, and as i expected the both power indicator lights turned on and the board could now communicate with my computer! I then immediately tested it by uploading a random uF2 file and it works very well
But just in case I then loaded micropython and tested all the GPIO pins and more importantly the SD card slot. Initially it just somehow didn’t work and i almost thought i was about to fail but NO it WORKED! It could communicate with my SD card and write and read data which was very huge
At last i soldered the screen module and all the buttons after confirming all the GPIOs could turn on as expected
Anyways I still have to figure out the software to match this game console, but we’ll see how this goes!!

Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 50.39
Cookies: 🍪 1019
Multiplier: 28.23 cookies/hr

Introducing the Pico Computer V2!!!

Pico computer V2 is a very powerful devboard that allows users to code in python and control any gadgets they want, including camera, TFT screens, motor drivers and so much more

Reason for the V2

V1 (the green ancestor :) was a very nice experimental devboard that i made the first time, and it worked most of the time. But what really hit me was its low tolerance to large current (only 200mA max) and small flash storage (only 2MB), which really stopped me from prototyping my game console. Thus I started making this version 2 that would solve all the issues I faced! This current version allows up to 800mA of current and 8MB of flash storage, which is very plenty for any sort of MCU protype
On top of that, I also picked purple for the new silkscreen cuz it looks sooo awesome, and also I focused a lot on keeping the caps and resistors organized. This time I also decided to solder everything myself and ofc i made some dumb mistakes, like using the wrong buck regulator, forgetting to solder the USB-C port’s shield, and not testing the resistance before powering up……..BUT these are all very valuable experiences and help me build lots of intuition in electronics!!!
PS: I just realized how it’s been 4 months since I shipped the project last time lol, anyways hope you all enjoy it!!!

Hung-Chi Wang

Reflowed Attempt 2

YAYYY LET’S GOOO!!! After just one hour of reflow process + repair my board works flawlessly! Let me reiterate this again, this board has 4 times more capacity than the previous one, it has 4 times more flash storage (8 MB) and allows up to 800mA of current, which is very plenty for any peripherals :)
This is a huge success and the GPIOs are very much working!!! Just see how much I have to say for this board, like it’s sooo clean and aesthetic (just look at the purple silkscreen lol

Attachment
0
Hung-Chi Wang

Reflow Attempt 1!!

I actually only spent an hour populating the board + reflowing, and it worked perfectly at which was out of my surprise. I loaded the uf2 file and ran print(“Hello World”) and it did its job! BUT then for some reason the 3V3 indicator light shut down after I heard a little crack from the USB-C port………and suddenly everything just stopped working and no longer responding to my computer anymore……..IT WAS DEVASTATING

Here’s how I tried to fix it

  • Wiped the MCU, USB-C, and the flash with soldering iron again but nothing helped
  • Replaced the inductor cuz it might saturate and allow too much current flowing through
  • Swapped out USB-C cuz not even the 5V indicator was lighting up for some reason (which I shouldve tested the resistance first……..
  • Replaced the RT6150B cuz i really had no idea what was going on……..like the regulator might really be the biggest suspect ngl
    At last I removed the RP2040 and the flash to test the resistance again, the resistance was still normal like greater than 100K, but the 3V3 just kept returning 0.04V (bruh what
    *** It was already 2am so i needed to go to sleep, I’ll update once the new board is done……
Attachment
1

Comments

izykhn16
izykhn16 11 days ago

oh no it’s dead isn’t it…

Hung-Chi Wang

Reflow attempt 2!!

After waiting for another two weeks I finally received the new PCBs and yes there was some significant progress but also it’s still not fully functional

What works

  • Instead of reflowing the entire board, I decided to play safe and only reflowed the AP62401. This confirms if my board can actually turn 12V into 5V, and if it can acc feed it into the next stage (which is the RT6150B)
  • At first I forgot to solder the two 22uF caps, which prevented the output from correctly providing a stable 5V. But then ofc I populated the two big caps, and it turned out 4.7V, which was close enough for the RT6150P!!!
  • Then I decided to populate the entire board including the RT6150B and all the other ICs including RP2040, crystal, TB66112FNG, and USB-C
  • At first the 3V3 indicator light didn’t turn on till I realized how i didn’t wipe out the bridges on the RT6150 (almost burnt it damnn). Finally RT6150 didn’t betray me lol, it gave out 3.18V to the RP2040 which ig enough for the RP2040 to run

What failed

  • Even tho my laptop successfully detected my RP2040 and could somehow transfer data (?) it just kept rebooting no matter what
  • I tried to fix it by reflowing the flash again and thought it might help but NOPE. Then I swapped out the flash and replaced it with a new one and it FAILED AGAIN. I then reflowed the crystal again to make sure it’s not because the clocking issue but guess what NOPE. Then I swapped out with a working one but still the issue remained……….
  • I really dont think it’s cuz of the RP2040 but just in case I still reflowed it but bruh I don wanna sacrifice my thing again

Conclusion

The issue might because somehow the parts were burnt because of my initial mistake whne i frogot to clean up the bridges on the RT6150 (which i truly doubt). I mean the 3.3V indicator light didn’t even light up, which shows how the short circuit might only happened internally in the regulator rather than dumping excessive voltage……….
Anyways Imma try again these days, wait for the next update

Attachment
0
Hung-Chi Wang

LOCKING IN for another 2 hours!!
Here’s what I did

  • Fixed the same power supply route for the board
  • Rerouted GPIO traces to accommodate more space for 0.1uF caps
  • Moved GPIO traces from the back to the top so that the back layer is cleaner
  • Replaced 0603 LEDs with 0402
    Basically I was just optimizing everything even very tiny details, I wanna make sure this version delievers the best quality possible
    Then I just gotta wait for the next 10 days to finally get the board…….(see me in the next devlog ig
    Btw I also rerendered the board it mimght not seem to change alot but it did
Attachment
0
Hung-Chi Wang

After learning so much about impedence I finally implemented signal integrity
This is board is very messy both electrically and signally and the reason is bc of how it’s a 2-layer board and signal lines and buck converters are all on the same GND
I was playing around with the calculator and redrawing traces in kicad while watchin videos from Phill’s lab and this really helped me alot while implementing the signal lines D+ and D-
Next up I’ll reroute everything like all the GPIOs cuz they will be used for SPI and thus the lengths and widths are all very important

Attachment
0
Hung-Chi Wang

WHAAAAAAT THREE HOURS?? Literally just looked at the clock and realized how much time accidentally passed. I swear PCB routing is a literal time machine. Anyway, here’s the rundown of what I actually got done while zoning out:

  • Fixing the Power Island… AGAIN: I am genuinely losing my mind over this power section. This is officially the 5th or 6th time I’ve had to rip up and redo the power island (see the image below). After all the drama with the 5V and 3V3 lines shorting out and frying my regulators in the last reflow attempt, I’m taking zero chances. Redid the traces, made sure the copper pours for GND and VCC aren’t doing anything sketchy, and optimized the placement so the power delivery to the RP2040 and the flash is actually stable this time. I see these traces in my sleep now lol.

  • Audio Implementation (MAX98357A): Finally got around to the audio side of things! Hooked up the MAX98357A Class-D amp on a breadboard/prototype setup. Since it takes I2S, I had to make sure the data, bit clock, and word select lines from the MCU were playing nice. It’s pretty sick seeing (and hearing) it actually process the digital audio without too much static.

  • Battery & Charging Circuit: Slapped the battery and charging IC onto the schematic so this thing can actually be a proper portable device. Had to double-check the load sharing so the board doesn’t try to pull power straight from the battery while it’s plugged in via USB-C (really trying to avoid blowing up another USB port or regulator).

Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 39.69
Cookies: 🍪 510
Multiplier: 27.63 cookies/hr

OOOOOO HUGE UPGRADE FOR V2
I made so many improvements on this version including fully functional NFC, cleaner code, and a GORGUOUS COSMIC back silkcreen
On top of that, I also added 3 gameplay modes: PVP, easy AI, difficult AI opponent
Btw easy AI simply places the cross randomly while the smarter AI uses the minimax algorithm with the alpha-beta pruning
Just saying I have never won in the difficult mode……..it’s just impossible to win like I even lost a couple times
Overall this project was just so fun to build, I learned so much in PCB design (i mean it’s the main focus right) and how NFC works (turned out that i kinda overcomplicated it). I even reflowed the board myself and this is acc the third one I built cuz the previous ones were both dead bc of my reflowing skill
PS: I just realized how it took me two months to reship this lol

Hung-Chi Wang

Spent just a little time fixing some bugs cuz I accidentally swapped the order of the LEDs pin assignemnt and the NEXT button so it glitched during the gameplay
Anyway I also cleaned up the repo and ready to ship!!

1

Comments

siddhan.t
siddhan.t 29 days ago

Looks so cool! Love the small size as well

Hung-Chi Wang

Added the AI feature!!! THIS IS SOOOOO COOL
i implemented the Minimax algorithm (which is a recursive algorithm for choosing the next move mostly in two-player) game from this github repo
But I also faced some issues like the AI program would occupy the entire MCU’s thread and it took a very long time and halted the waiting animation i was trying to add
But then i discvoered the alpha beta pruning which was meant to optimize the algorithm, and it really sped up the entire process alot especially how it reduced lots of workload and steps

0
Hung-Chi Wang

HOHOHOHO after tons of trials and errors Im ready to order the board for the 4th time!!!
I fixed a bunch of stuff (alr just look at the following):

  • Changed caps to 1206
  • COnnected STBY (what an upgrade huh you can finally turn on or off the motor driver!?
  • Added another copper pour for VBUS
    I ran DRC for everything im abt to order again and rerendered the perfect demo lol
    LETS HOPE THIS WE MAKE THE SHOT cuz bruh if we dont i have nothign else to say…….
Attachment
0
Hung-Chi Wang

Sooooo spent some time today just ripping up the board again…
Finally decided to completely ditch the RT6154A and replaced it with the RT6150B cuz honestly I’m just so done with it lol. Rerouted so many things especially the power supply (yes again….)
Also decided to replace the TF card slot with a way cheaper one cuz apparently the old one I picked was just insanely overpriced and literally just not worth that much money bruh
Oh and I also went ahead and added a fat 3.3V copper plane right under the tf card socket, supposedly for better and more stable power supply cuz we really dont want the sd card to randomly drop connection when loading stuff

Attachment
0
Hung-Chi Wang

I realized a crucial mistake again lol and that is the schottky diode I picked could only withstand no more than 1A so RT6154A is basically wayyy too overkill and not even necessary ngl
But anyway i switched it to RT6150B and hopefully it works lol bruh i was already truly traumatized

Attachment
0
Hung-Chi Wang

Spent some time adding the radio (nrf24l01) but WHY DOES IT LOOK SOOOOO CHOPPED
ngl it genuinely looks like frankenstein lol
Anyways I havent acc finished routing it but I willll
Im also planning to order the two versions so that I can know if it’s actually bc of the radio that causes issues

Attachment
0
Hung-Chi Wang

Fixed the RT6154A by diconnecting the VINA and VIN, i mean it’s acc the same fix as the RP2040 devboard so dont be surprised if they look the same lol
Btw I also tried the optimize the power route even more cuz of how FB resistors should be closer to the IC
Now let’s hope it’s acc rock solid

Attachment
0
Hung-Chi Wang

Another huge update!!
I didnt acc reflow the board cuz it wouldnt work anyway lol
I spent some time fixing RT6154A connection cuz I previously connected VIN to VINA directly which would short-circuit the entire thing
And I also changed the GPIO24 resistor’s angle to allow 100nF cap to be closer to 3V3
Let’s hope this will work perfectly this time………

Attachment
0
Hung-Chi Wang

Fixed the schematic and footprint!!
This time im finally using RT6150B and not smth else lol

  • Imported symbol and footprint
  • Rerouted power supply chain (easier than I thought)
  • Ran DRC
Attachment
0
Hung-Chi Wang

FUDGE I TRIED FOUR TIMES!!! AND BURNT ALL MY RT6154A and 47uF caps
Heres the results for each attempt
1st –> the regulator smoked but suddenly the 3.3V LED blinked!!! I really thought it started working bruh………but then my computer just couldnt access any files
2nd –> I moved most of the parts from the 1st one to this, and somehow 5V were not even responding??
3rd –> this time i focused on the power block only and it correctly produced 3.3V which made me think the power block isnt the issue
4th –> reflowed the entire thing again and 3.3V and GND are shorted till i removed the RP2040
And guess wat i realized my mistakes……rpi pico was using RT6150 not the overkilled RT6154 (DUDE WAT
Alr imma redesign the power again even tho I still plan to use it for my devboard lol but for this case imma use RT6150B instead

Attachment
0
Hung-Chi Wang

SIX HOURS DUDE. Literally six hours of my life just gone and my eyes are actually bleeding from staring at my microscope……

Well I reflowed my first board today, and I thought everything went pretty well until I plugged the USB-C in and saw actual magic smoke. The RT6154A literally burnt?? Like legit puffed smoke, got insanely hot, and just died right in front of me

OMG dude im wondering what i did wrong bruh……. I was so scared I somehow sent 5V straight into the RP2040 and fried my whole MCU cluster

For like two hours I just sat there staring at my schematic in KiCad trying to find a fatal design flaw. I even started panicking and overthinking the power circuit, thinking I messed up by not adding an external trace between the VINA and VIN pins on the regulator. I was literally about to rip up the whole layout again until my brain finally started working and I remembered wait NO they are already internally connected on the 6154 so that definitely wasn’t the reason it exploded……

So then I grabbed my multimeter and started checking the resistance everywhere. Obviously the burnt regulator was completely shorted between VOUT and GND, but when I took it off I also found some super sketchy solder balls hiding under the tiny decoupling caps next to it.

It took me another two hours just to desolder the dead RT6154A with my hot air gun and clean up the pads with solder wick. I swear I kept wiping the pads with my iron and almost ripped a pad off cuz my hands were shaking so bad from the stress lol (we definitely don’t talk about how messy the board looks right now)

Honestly at this point I’m just convincing myself it was a massive short circuit under the IC from my choppy solder pasting technique. Like I probably just put way too much paste on the center ground pad and it squeezed out and bridged everything. Let’s hope it’s just simply my reflowing error and nothign more complicated than that……like if it’s a fundamental routing issue I am actually gonna cry

It’s way too late rn and my brain is completely fried from inhaling flux fumes. Imma just scrap this messy board, take some rest, and reflow another board tomorrow with brand new parts and we’ll see how it goes. Literally praying to the hardware gods that it doesn’t end in actual fire this time lol

Attachment
0
Hung-Chi Wang

Another huge progress! I reflowed another screen module and it just worked lol
Btw I also quickly prototyped the chess board and here’s how it looks!!
** I really thought my breakout module wouldnt work cuz this is my first time doing it, probly I just got lucky lol

0
Hung-Chi Wang

OMG I couldnt believe it acc worked!!!
Imagine adding ur own antenna and put everything togethr and it just magically worked!?
THIS IS INSANE, check out the video to see how it replaces my original setup
Btw next up, combine nrf24l01 with the robotic module!!

0
Hung-Chi Wang

Nooooo I accidentally pealed off the solder pad when I almost finished soldering everything…….
Imagine spending all this time getting nothing…….? AHHHH
Nvm imma solder another one tmr (look at how the little diode is flying everywhere bruh

Attachment
0
Hung-Chi Wang

OOOOOOO FINALLY FINISHED REFLOWING ANOTHER BOARD!!!
This time it works perfectly well, both the game and the NFC
Now ive confirmed the hardware runs perfectly, i will start focusing on the software
To be added:

  • Little tic tac toe AI
  • Optimize the code by removing all global variables (bruh i sucked at coding
0
Hung-Chi Wang

Finally got the board!!
Spent some time reflowing it (it’s acc my second time doing SMD reflowing) and it acc went pretty well till I realized the board wouldnt allow me to transfer data, which I doubt was bc of the following
Design issue -> I used 330K + 680K for RT6154AGQW feedback loop instead of using 1.02M properly
Reflowing issue -> I accidentally pealed off an output cap for RT6154AGQW and it might cause more voltage spikes for the 3.3V

Attachment
0
Hung-Chi Wang

Spent 2 hours reflowing the entire board!! It almost works 100% but i messed up the USB port……I think I migth have accidentally melted the plastic contact in the port when hot airing it
I thought the shield pins should be soldered using soldering iron, till i realized how most people used solder paste, but it’s already too late cuz its nearly impossible to melt my high temp solder

Attachment
0
Hung-Chi Wang

Another huge breakthrough!! my NFC works flawlessly on my iphone 14 and another android phone!!!
But idk why my mom’s iphone 15 doesnt respond at all (i think it might be her problem lol)
Anyway i really thought reflowing it without stencils would be tough but acc it was not at all lol

0
Hung-Chi Wang

OOOOOOOO guess what I finally got to reflow my nrf24l01 module!! And at the start it couldnt really communicate cuz of a bridge between two pins (i forgot what they were) but then i figured out using my super sharp eyes and unbridged them using my PINECILLLLL
I also spent alot of time fixing the layout which then I realized how 10uF input caps dont need to be 1206……..(wat a waste of time/space bruh :(
But amyways a huge success in the radio module even tho I still need to test out if it can acc blast out and receive messages……..

Attachment
0
Hung-Chi Wang

Ok just made a couple more changes before ordering the board

  • Rearranged the TP pads to reduce clusters
  • Added a 0.1uF cap near the motor control pins
  • Added a couple more copper planes for VBUS and VSYS
Attachment
0
Hung-Chi Wang

WOOOOO made a couple big changes!!

  • Replaced the big expensive inductor for RT6154AGQW with a 1206
  • Fixed TONS OF LAYOUT ISSUE, such as inductor placement, capacitor placements for buck convertors etc
  • Added 12V and VBUS copper plane (new skill GET
  • Redrew many traces such as Aout1/2 with much thicker ones (1mm)
    And now the entire thing looks much much much solid ig :)
Attachment
0
Hung-Chi Wang

Rendered this beautiful demo!!!
Cuz the PCB itself is actually kinda chopped so I gotta rendered this demo myself lol
On top of that I also published the files to github hope you guys like it

Attachment
0
Hung-Chi Wang

Spent some time doing the following:

  • Added a pull-up resistor for PSYNC
  • Added TP pad for PGOOD
  • Ran DRC, fixed the pinheader connector
  • Ordered the board
    *** btw I gained this time yesterday but I was just too busy to devlog
Attachment
0
Hung-Chi Wang

Just spent an hour doing the following

  • Added TP pads (just in case RT6154AGQW fails again)
  • Somehow managed to prevent the copper island
  • Ordered the board after cleaning up DRC
Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 34.0
Cookies: 🍪 213
Multiplier: 14.53 cookies/hr

Ik this project might look a little intimidating at first, and thus I reshipped this because I believe it deserves a better payout………
I polished the repo and demo, and hopefully people can learn more about how challenging it is to build even an adder from complete scratch using discrete transistors

Hung-Chi Wang

FINALLY FINISHED ROUTING + DRC CHECK!!
I also rendered this to showcase lol
Routing this time was kinda easy and I really love how straightforward the hardware is, but I think the challenge might be mainly the software side DAMN

Attachment
0
Hung-Chi Wang

YOOO making some quick progress today, literally just sat down for 2 hours and knocked out almost the entire routing bruh!!!

Routing the board: Honestly this was actually much easier than I thought it was gonna be…….. probly cuz there are barely any crazy peripherals to worry about on this board except for the SPI lines. Way less of a headache compared to routing all those shorted power islands from last time lol

Button swap: I also completely ripped out the old buttons and replaced them with the exact same ones I used for my interactive tic-tac-toe business card! Those had a pretty solid tactile feel, so I’m really hoping they work much better for an actual handheld game console layout lol

Just a quick 2 hour grind but we are getting insanely close to finishing this board bruh

Attachment
0
Hung-Chi Wang

YOOO spent almost an hour and a half just straight up routing the RP2040 cluster today and my eyes are only slightly bleeding this time lol

Honestly this session was actually pretty easy cuz there’s barely any crazy peripherals to route on this part of the board. Like way less of a headache compared to ripping up those stupid power islands and shorting out regulators like I usually do bruh

The main focus was definitely just getting the screen connector perfectly wired up rather than anything else. Basically just locked in on making sure all the lines for the display are routed super clean so it actually communicates with the MCU and doesn’t just give me a blank white screen of death when I plug it in

Attachment
0
Hung-Chi Wang

Spent an hour organizing the crystal cluster cuz it looked kinda ugly and too close to each other which made them kinda hard to solder……anyways here’s the new result

Attachment
0
Hung-Chi Wang

After the failure, just in case it’s bc of any design issue here’s a couple changes I made:

  • Removed RUN by simply crossing it out
  • Replaced 10uF cap for AP62401WU with ceramic cap
  • Removed PSYNC as it occupies GPOI23 and I just wanna get it work so bascially removed some complexity
  • Added a couple TP pads just to make sure i wont blow anything up again when testing lol
Attachment
0
Hung-Chi Wang

Just a couple things I did
Finalized the schematic: literally finally locked in the entire schematic…. double and triple checked all the pins, the SPI lines, and the power delivery so hopefully I dont end up shorting out another regulator or blowing up my USB port again lol

Designed the card size: decided to actually lock in the physical dimensions of the board today. Went with a super sleek card size so it actually feels like a legit, highly portable device instead of just being some giant clunky dev board. It’s gonna look so clean.

Positioned the PCB components: started dragging all the footprints onto the board and positioning them… trying to squeeze the RP2040, the flash chip, the screen connector, and all those tiny annoying capacitors into this tiny card size area is literally a giant puzzle bruh. But I finally got the main clusters placed perfectly!

Actually feeling pretty good about the layout so far. Routing all these traces next is probably gonna be a literal nightmare in KiCad but we are getting there!

Attachment
0
Hung-Chi Wang

GUYSSS I finally got my boards and gave the very first shot!
I gotta be honest popularizing the board is the most boring process, and it took me almost 1 and a half hour……And after spending almost one more hour of repairing I FAILED TRAGICALLY
But anyway here’s the result (look at the picture below
***Note that the hours were recorded the day before but now I finally have time to devlog

Attachment
Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 13.81
Cookies: 🍪 4
Multiplier: 6.09 cookies/hr

Updated my readme and release and ready to ship for the new system!! I’m kinda just curious about where the new system will get me, but yk wat we’ll seee

Hung-Chi Wang

Updated my readme and release and ready to ship for the new system!! (btw i just realized that I forgot to post devlog after getting this 1 hour so don be surprised by how I get this hour so fast

Attachment
0
Hung-Chi Wang

Spent some time updating readme and release!!
This is really the best project i’ve ever made, even though it might look a little intimidating!!!!
*** Btw i also rendered this, and this is exactly how the final product will look like

Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 20.76
Cookies: 🍪 412
Multiplier: 23.24 cookies/hr

This is a reship due to the partial payout issue, and unfortunately I still haven’t got the actual board from JLCPCB yet……:(
But anyways I spent some time reading the datasheet again and made some changes to the capacitors as well!
*Note that there might only be the most recent devlogs displayed, so pls check the project portfolio!

Hung-Chi Wang

Finished and ordered my custom radio module!

  • Cleaned up DRC (pls ignore lots of clearance issues as it was simply bc of the custom antenna
  • Sorted out BOM
  • Added tons of vias
  • Removed solder mask (acc i wanted to test out both with and without solder mask
  • Submitted my order
  • Rendered the custom board
Attachment
1

Comments

iwantpizza10
iwantpizza10 about 2 months ago

cool project! unfortunately i think you may have left a shipping address in that screenshot

Hung-Chi Wang

Spent some time on routing the my radio PCB, checking DRC, and re-arranging the layout
*** Damnn I just realized that I shouldn’t switch 0402 components to 0603 cuz the radio might somehow be detuned……..

0
Hung-Chi Wang

Alr just created the bom file and added everything to the cart
Btw I also decided to include all color LEDs just in case lol
On top of that, I also sorted all the parts for my RP2040 custom devboard

0
Hung-Chi Wang

3 hours!? DAMNN lapse was kinda tripping when I was working and I thouht it was only 45 minutes……..(no wonder why it felt like forever :)
Anyways here’s what I did

  • Reread the document for the NFC chip and realized that a 220nF cap is required
  • Polished the PCB layout. including replacing 0.1uF with 1uF for 3V3 and 1V1
  • Updated Readme and Created new release
  • Re-rendered the new front layer pcb
  • Ordered PCB
0
Hung-Chi Wang

Alright it’s finally time to order the PCB!!!

This time I literally decided to just print the board double sided, while trying to make the stencils as small as physically possible so it doesnt take up so much space on my desk
Something crazy i noticed tho was that getting both top&bottom stencils didnt acc cost any more than just doing the single top side??? like bruh what so why nott might as well just get both lol

On top of all that headache I finally added all the components to my cart and they’re literally sitting there ready to order rn! Just hoping I didn’t forget any stupid little resistors or smth

Lets goooo just praying everything actually works when they arrive and I don’t have to do another 4 hour reflow debugging session lmao

0
Hung-Chi Wang

Alr finally routing everything!!! Time to do some massive clean up and ready to export and order the gerber!!

  • RP2040 cluster: routed all the crazy traces for the MCU cluster… making sure all the decoupling caps are actually close enough this time so the chip doesnt just randomly die on me lol
  • SD card: finished the lines for the sd card slot with that new 3.3V plane we talked abt, should be super solid now to load up the games without dropping connection
  • Screen pin holes: placed all the through holes for the display so it actually sits right and flush on the board
  • Including all buttons from the original gameboy: YESSS included literally all the buttons from the og gameboy layout!! D-pad, A, B, start, select… routing the traces for the pads wasn’t too bad but getting the placement perfectly right so it actually feels like a proper handheld console took forever bruh

Just gonna run DRC in KiCad one last time to make sure there are no sketchy shorts and send it to fab… literally pray for me that I didn’t mess up any stupid footprints again lol

0
Hung-Chi Wang

Almost done routing the entire PCB!! literally just stared at my screen for hours but now I only have like 10 traces left to route and I’m basically finished bruh

*** Oh yea I also just completely removed the RUN pin/button cuz honestly I don really mind just unplugging the game console to reset it lol. Like it saves so much space and routing headache on the board so why nott

Just gonna knock out these last few lines in KiCad and we are finally good to gooooo

0
Hung-Chi Wang

YOOO making some serious progress tonight!!! Basically just locked in and finished routing a bunch of the main sections and my eyes are literally bleeding rn lol

  • Flash Storage: routed all the lines connecting the RP2040 to the flash chip….. honestly just trying to keep the traces as short and clean as possible so the BOOTSEL actually works this time and it doesnt just drop connection when reading memory
  • Power Supply: FINALLY got the power section fully routed with the new RT6150B setup!!! double checked the copper pours and the 3V3/5V lines so hopefully we dont get any more crazy short circuits and blown regulators like last time bruh
  • Buttons (except the start and select): Got the D-pad and the A/B buttons all wired up and placed perfectly!!! Kinda just skipped over the start and select buttons for now cuz I honestly cant figure out where to squeeze them in yet without messing up my other traces lol I’ll just deal with them later
  • SD cards: finished routing the new cheaper TF card slot along with that fat 3.3V plane we added underneath it…… it better be super stable now for loading games

Getting so close to being done with this board I can actually taste it……. just gotta figure out those last two buttons and we are chilling

Attachment
0
Hung-Chi Wang

Finished prototyping using my RP2040 custom devboard!!!
This basically validates my design for the PCB as it uses the exact same parts except different PWM pins
*** Note that I haven’t added nrf24l01 in my design as radio is very unpredicatable

1

Comments

Anass Zakar
Anass Zakar about 2 months ago

cool stuff! good luck!

Hung-Chi Wang

HUGE progress!! literally just sat down and grinded for the past two hours and got so much done bruh here’s what i did

  • Positioned most parts: finally got around to placing almost everything on the board… well except for some of the tiny annoying resistors and capacitors cuz my brain is honestly too fried to squeeze them in rn lol i’ll just deal with them later
  • Removed Bootsel and reset buttons with a connector: so I just completely ripped out the physical Bootsel and reset buttons and swapped them out for a connector instead!!! honestly taking them off the main board saves so much precious space and routing headache so why nott
  • Added pull-up resistors and caps: also went in and added all the necessary pull-up resistors and decoupling caps…. just making sure the signals are actually stable so the RP2040 doesnt randomly freak out on me and drop connection like last time lmao

Literally getting so close to finishing the layout I can actually see the light at the end of the tunnel… just gotta place those last few tiny components and we are golden

Attachment
0
Hung-Chi Wang

YAYYYYYY this time I prototyped on my RP2040 devboard and DRV8833 even tho I gotta use an Arduino Uno for power supply. I tried to power L298N from my custom board but it didn’t work cuz the current spikes are crazyyyyy. But anyways huge success, next up imma connect it to my radio nrf24l01 and see how it goes

0
Hung-Chi Wang

DAMNNN spent so much time on fixing this island…….I tried my best but still had to compromise many traces for the big flash storage

Attachment
1

Comments

F1R3FLY_CL41R3
F1R3FLY_CL41R3 2 months ago

Ngl ts hella tuff. How can it control your own gadgets? Will it be a bluetooth accessory or a USB-C connector type of thing?

Hung-Chi Wang

Just added some personal touch

  • Added back silkscreen
  • Picked purple as the main color
  • Began picking up parts from LCSC
    *** Im really trying my best to polish this as much as possible lol
Attachment
Attachment
0
Hung-Chi Wang

Alr time to wrap this up, I cleaned up all the routing and here were some changes i made:

  • Moved the diode to the top right corner instead of clamping with the power regulator
  • Moved as many routes to the front as possible to keep the back copper as clean as possible
  • Added thicker traces 0.5mm
  • Removed two islands on the back copper (it’s sacred!!!)
  • Cleaned up the DRC once again
Attachment
0
Hung-Chi Wang

Finally finished routing the entire board and cleaned up the DRC!!
***Imma just add some more final touch before ordering the boards (like cleaning up the silkscreen

Attachment
0
Hung-Chi Wang

Here are some of the things I noticed

  • An unwanted island on the back (directly under the flash storage)
  • Unconnected GND due to very tight layout
    *** BTW I kinda regret of not switching to 4-layer board…..DAMNNN (but it’s also more expensive so we’ll see lol
Attachment
0
Hung-Chi Wang

Well well well guys this is getting frustrating, how in the world does my SD card module doens’t match those on github………HOWWWWWWW

Attachment
0
Hung-Chi Wang

Just finished routing the RP2040 and most of the stuff!!
** There really isnt too much abt routing just trial and errors ig

Attachment
0
Hung-Chi Wang

Assigned footprints and began routing the PCB!!!
Since this is the very first prototype, I’ll use the screen module and very simple buttons
Btw I also decided to use the 16MB flash storage! Why? Just in case lol

Attachment
0
Hung-Chi Wang

Finished routing the left area, btw I also applied what Ive learned for the past few weeks

  • Boot button can easily be routed to a long trace cuz it has very low frequency
  • Added tons of wide traces to 3V3 (like 0.5mm if possible or else 0.3mm)
    I mean it’s routing dont really have anything to say lol
Attachment
0
Hung-Chi Wang

Completed routing flash storage and 1uF caps

  • The two 1uF caps need to be very close to pin 44 and 45
  • This flash storage is much larger than the original one (but it has 4x more storage sooooo :)
  • Increased the width of the data lines (idk i heard it’s better lol
Attachment
0
Hung-Chi Wang

Finished routing the power supply parts!!! It was acc much smoother than I thought cuz of the layout ig

Attachment
1

Comments

Saif
Saif 2 months ago

woah, that looks complicated

Hung-Chi Wang

AHHHHHHH this is getting kinda frustrating……….
Now I have two options for the charging IC

  • MCP73831 (fits better but then I gotta deal with unwanted dicharging and battery protection)
  • MCP73871 (very overkill, very unnecessary)
Attachment
0
Hung-Chi Wang

Selected the battery and its associated parts:

  • MCP73831 (the charging IC)
  • LIR2450 (the battery)
  • Keystone 3008 (battery holder)
    *** Still looking for battery protection IC
Attachment
0
Hung-Chi Wang

Assigned footprints (replaced many 0402 with 0603 and 0805) and roughly placed the layout

Attachment
0
Hung-Chi Wang

Completed the schematic!!!
Updated areas:

  • Replaced W25Q16JVUXIQ (2MB) with W25Q64JVXGIQ (8MB a huge upgrade :)
  • Replaced MCP1700x-330xxTT (linear regulator) with RT6154AGQW (buck converter much more efficient)
  • Added Schottky Diode to allow external power supply
  • Added a RESET button
  • Changed 33pF crystal cap to 15pF to match the crystal I ordered
    Now my custom devboard will become much more powerful and resilient
Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 33.59
Cookies: 🍪 528
Multiplier: 15.71 cookies/hr

When I first told my friends about this project, they laughed at me cuz they didn’t believe how building this was even possible. This is a very huge milestone as I finally understood how computers work! I learned many things including the basics like logic gates, transistors, and fan-out (this was obnoxious)
btw XOR caused TONS OF TROUBLES and almost killed my interest lol (btw there were two types and the one failed was the one driving two bases)

Hung-Chi Wang

Huge success!!! I finally made two custom RP2040 boards communicate with each other through nrf24l01, and next up imma wires them to my custom board

0
Hung-Chi Wang

Just tested out the transmitter, while testing out my RP2040 custom devboard!!! (huge success)
Pins:

  • CSN: GP12
  • MOSI: GP7
  • CE: GP11
  • SCK: GP6
  • MISO: GP4
0
Hung-Chi Wang

Finally finished the schematic!!! Here’s some changes I made

  • Upgraded flash storage from 2MB to 16MB
  • Pull-up every pin for SD card
  • Removed external power-supply cluster
    *** Note that I’ll add battery in V2 but for now let’s just focus on the core functionality
Attachment
0
Hung-Chi Wang

DAMNNNN I just picked all the parts manually……guys MANUALLY
IT TOOK ME SO MUCH TIME (look at the price :( SO EXPENSIVE
*** BTW I also discovered how I accidentally used 0603 for a 10uF cap, but we got solutions lol

Attachment
0
Hung-Chi Wang

Working on SD schematic and learning SD to SPI translation so that my RP2040 could read games from SD card
*** I didn’t even know there was translation between SD and SPI, so I spent so much time figuring out

Attachment
0
Hung-Chi Wang

Roughly finished the schematic for the game boy console!!!

  • RP2040
  • USB-C + RT6154AGQW
  • LCD Screen
Attachment
0
Hung-Chi Wang

Added NFC feature and imported the footprints!!!

Attachment
0
Hung-Chi Wang

Roughly finished the schematic!!!

  • RP2040 cluster
  • NFC
  • E-paper Screen
  • nrf24l01 (not added yet
Attachment
0
Hung-Chi Wang

DAMNNNNNNNN I MESSED UP THE SCHEMATIC!!!! SO I gotta spend the past hour rerouting everything especially for some reason my schematic and PCB layout disconnected :(
Anyway here’s the final result!!!

Attachment
Attachment
0
Hung-Chi Wang

Finally completed the routing for the entire screen module!!! getting all those display traces to line up perfectly without messing up the rest of the board was honestly kinda annoying but we got it done lol

btw I also rendered this beauty in KiCad so you guys can acc see what the final board is supposed to look like!! literally so hyped for this to be real

Attachment
Attachment
0
Hung-Chi Wang

For the past hour I was assigning footprints for all the parts, it took me a while because they also needed to be found in LCSC. I was dealing with some issues as I kept changing the size of the inductor, i went from 0402 to 0603 to 0805 (which i believe was enough)
I also encountered some capacitor issues, like i accidentally connected Pin 1 to Pin 3 which i have no idea how i did that lol
Anyway let’s get start routing our first screen module!!!

Attachment
0
Hung-Chi Wang

Damn I kinda messed up the reference number and the parts………I didn’t know that I needed to use 0402 lol
Anyways we can finally get into PCB layout and routing!!!

Attachment
0
Hung-Chi Wang

OOOOOOOO finally got to the most exciting part cuz guys radio is very sensitive to any changes!!!
But anyways WE GOT THIS lol
Btw i also picked the cyrstal (YXC Crystal Oscillators X49SD16MSD2SC) from LCSC let’s hope it works

Attachment
0
Hung-Chi Wang

DAMNNNNN easyeda cannot export to kicad for some reason………So I gotta draw a new one myself. Anyways after spending some time here’s the beautiful result

Attachment
0
Hung-Chi Wang

Here’s a couple things I changed before moving on to nrf24l01 radio

  • Changed 0603 47uF capacitors to 1206 so that it can handle 25V spikes
  • Rerouted everything around the two capacitors
  • Double checked the schematic and cleaned up the layout
Attachment
0
Hung-Chi Wang

After struggling for 2 hours, finally replaced the two inductors with 4mm x 4mm one!!!
*** You’ll see how much I struggled in lapse lol

Attachment
0
Hung-Chi Wang

NOOOOOOOOO I just noticed that I picked the wrong inductors……….I accidentally picked the 0201 one and that doenst allow enough current (like nowhere close)
*** Look at the highlighted part

Attachment
0
Hung-Chi Wang

Let’s begin our journey towards the chess card!! Well first of all the most important thing here is the screen

  • Drew the schematic for the screen module
  • Imported symbols from EasyEDA
  • Picked FPC-05FB-24PH20
Attachment
0
Hung-Chi Wang

Spent almost an hour updating Readme and planning out V2!!!
Here are some improvements im going to make:

  • Larger flash storage (16mb preferably)
  • Add two Schottky Diode to allow external power supply
  • Replace the original voltage regulator with RT6154AGQW
  • Add a reset button
  • Increase the resistance of LEDs (my eyes bruh
    *** Look at the highlighted parts and btw I also decided to REROUTE EVERYTHING
Attachment
Attachment
0
Hung-Chi Wang

WOOOO I spent so much time on fixing and rerouting AP62401WU……

  • Added a Schottky diode to prevent current from leaking back feeding to AP62401WU
  • Changed the placements of AP62401WU output capacitors as they may generate tons of voltage ripples and malfunction other delicate ICs (look at the highlighted components)
Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 4.14
Cookies: 🍪 29
Multiplier: 6.89 cookies/hr

Big success!! Ik it’s been a while since the last update cuz I kinda procrastinated a little bit, particularly bc i was working some other more advanced projects lol. But anyways im still very happy and hopefully i’ll make V2 of it if I have time lol
Just some features i’ll probly add in V2:

  • nrf24l01 radio
  • a nob to change volume
  • a screen
Hung-Chi Wang

Tested out my XOR gate (the first version) but unfortunately it didn’t work as well as expected

  • 4.7k ohm for base resistors
  • 1k ohm for pull-up
    *** I did this 2 days ago but I just forgot to log it
0
Hung-Chi Wang

After 2 hours of struggle, finally FINISHED THE PROTOTYPE

  • SDcard breakout module is now connected and running (I stored Pokemon red version)
  • Screen can now display what is inside the sd card
  • Users can now press button A (GPIO 7) to enter the game
2

Comments

18208
18208 3 months ago

nice! Pokemon :)

jaxonparnell78
jaxonparnell78 3 months ago

this is a really nice project, keep it up

Hung-Chi Wang

Tested out all the functions, updated repo/README and rendered this

  • Added a professional Release page
  • Formatted my README in the way how I did for all the other projects
    *** Btw dont be surprise how I got these 2 hours right after my previous devlog (simply cuz I forgot to log this a month ago lol
Attachment
0
Hung-Chi Wang

the image in the previous devlog is not showing, but it’s fine after doing some tuning and modification to the NFC here’s the beautiful result
*** IDK why the images in the last devlog aren’t showing

Attachment
Attachment
Attachment
0
Hung-Chi Wang

Added some design to the front silkscreen!! And I also rendered the board in blender

0
Hung-Chi Wang

I spent an hour fixing the NFC and I finally found out the reason!! I FORGOT TO CONNECT THE OTHER ROUTE, that’s simply why lol

Attachment
0
Hung-Chi Wang

GUESS WHAT I began to build V2!!!
This is what im gonna be focusing on

  • Fix NFC feature
  • Add coin cell battery
  • Better Design on both front and back
    btw I spent an hour doing research on how to add battery and learning figma lol
Attachment
1

Comments

thegenius0369
thegenius0369 3 months ago

Awesome Project

Hung-Chi Wang

Well well well for the past two hours I was designing my nrf24l01 antenna and trying to implement it into my design
I thought I couldve just imported other people’s designs but HELL NAH
Here are a couple options that I can refer to tho

  • AN043
  • AN2731
  • AN91445
    But ofc i lean towards the first one and im probly gonna copy that too lol
Attachment
0
Hung-Chi Wang

Shipped this project!

I finally learned how to add modules that ive never used before (the two voltage regulators) to my RP2040 board so that users can simply plug in 12V power supply without worrying about the chip burning out
This is huge cuz I can now confidently read datasheet and basically build anything I want!!!
Btw I’m about to order it but I’ll ship it first lol

Hung-Chi Wang

Alr last devlog before ordering!!
Double checked everything including adding more vias and ran DRC twice
One last glance at my beautiful PCB :)

Attachment
0
Hung-Chi Wang

I spent some time on reading RP2040’s datasheet again and learned that there’s only two SPI and I2C engines, with 8 slices of PMW

  • Read RP2040’s datasheet
  • Fixed PMWA and PMWB routing
  • Rerouted USB-C cuz I decided to swap it with the 01x04 pin header
    **Now you can see all the parts beside USB-C are rerouted and USB-C is also moved to the top-right corner
Attachment
Attachment
Attachment
0
Hung-Chi Wang

Here’s wat i did for the past two hours

  • Added a 100uF polarized capacitor to prevent 12V spikes
  • Rerouted the 12V connection part AGAIN OMGGG
  • Edited RT6154AGQW footprint
  • Cleaned up DRC errors
Attachment
Attachment
0
Hung-Chi Wang

Finally finished routing!!!

  • Rerouted “EVERYTHING” for the two voltage converters (you can see it in my lapse
  • Reassigned PWMB to GPIO27 so that I could add some more vias
  • Routed everything and cleaned up the silkscreen
Attachment
Attachment
Attachment
0
Hung-Chi Wang

OMG this is getting frustrated!!! I really should’ve used 4 layer board lol
Cuz now Im having two troubles

  • Some GND pins are still unconnected
  • There are two pins far apart……but they are blocked by traces from MCU DAMN
Attachment
Attachment
0
Hung-Chi Wang

After two and a half hour of hard work, I almost finished the routing!!!!

  • 0.18mm
  • 0.20mm
  • 0.30mm
  • 0.50mm
  • 1.00mm
    There’s really nothing to say about this process, it’s just fun lol
Attachment
Attachment
0
Hung-Chi Wang

Spent some time roughly wiring up the screen tho it doesn’t work somehow (probly cuz i haven’t soldered my pins

Attachment
0
Hung-Chi Wang

Ok so I finalized my schematic after postponing for a month particularly cuz got a little lazy
Next up imma start routing the full-adder and order it
I also tested out all different cases to make sure I get it right the first shot

Attachment
0
Hung-Chi Wang

I roughly positioned all the main components and changed the number of output pins to allocate for GND and 3V3

  • Motor driver at the front, far away from RP2040 chip
  • 45mm x 45mm dimension
    *** I would still need to change the order of pin headers to reduce intersections as much as possible
Attachment
Attachment
0
Hung-Chi Wang

Completed the schematic for AP62401 (12V to 5V) and TBTB6612FNG!!!
Damn and I just realized that TBTB6612FNG is actually the chip itself lol
Any way here’s a little diagram explaining how the power supply works:
12V –> AP62401 (12V to 5V) –> RT6154AGQW (5V to 3V3) –> MCU
–> TBTB6612FNG –> Motors

Attachment
Attachment
0
Hung-Chi Wang

I was figuring out how to wire the RT6150AGQW

  • Pico schematic uses RT6150B-33GQW but apparently no one is selling it or it’s too expensive
  • Ricktek only shows the minimal design so I have to figure the math
    R1 = R2*(Vout/Vfb - 1)
  • Imported symbol and footprint for both RT6150AGQW and MBR120VLSFT1G
  • Fixed the symbol to stay organized
Attachment
Attachment
0
Hung-Chi Wang

I roughly completed my schematic while referring to pico schematic
Here are sth I noticed:

  • Should use RT6154A instead of MCP1700x-330xxTT for larger current
  • Add schottky diodes if external power supply is needed
  • Connect GPIO24 and 23 to RT6154A to monitor whether the board is either using battery or USB to switch between PWM and power saving mode
Attachment
Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 20.91
Cookies: 🍪 594
Multiplier: 28.42 cookies/hr

This is the V1 of my tic-tac-toe business card, and IM SO EXCITED TO SHOW IT TO EVERYONE!!! This is also by far the most complicated project I’ve ever built, like I didn’t even know if it would work lol. But overall im really proud of this ***BTW NFC for some reason doesn’t respond at all so I gotta redesign it……

Hung-Chi Wang

V1 finally done, just spent some time updating my repo and posting the first release!
I also planned out the V2:

  • Fix NFC feature, probly redraw the antenna ig
  • Add a reset button
  • Add a battery
  • Add silkscreen, mask design with all my information just like a proper business card
    Just one last glance at my beautiful MCU :)
Attachment
Attachment
2

Comments

parva
parva 3 months ago

This thing is very big best thing.

parva
parva 3 months ago

You should add the direct link of video in demo.

Hung-Chi Wang

FINALLY DONE!!!!! I finished the game logic and flashing animation when either of the player won or a tie happened!!

Instruction

  • Player 1 is orange, and player 2 is red
  • Press left to move to the next grid
  • Press right to select the grid
  • Just like any tic-tac-toe rules
Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 2.59
Cookies: 🍪 66
Multiplier: 25.31 cookies/hr

I fixed the routing and removed two capacitors (i mean you can see the capcitor to pin ratio is not 1 to 1 on the pico schematic so……..:)

  • Rendered a beautiful and metallic cherry mx keyboard (its not really metal but who cares lol
  • Improved the git repo hey ft really has to fix their README thing cuz my images cant show properly
Hung-Chi Wang

For the past two hours I finally made the control system work!!!!

  • Press left button for next
  • Press right button to select
  • The pointer will automatically skip the selected grid
  • The pointer will go back to the first grid if it reaches the last grid
Attachment
0
Hung-Chi Wang
  • Rendered keyboard using blender
  • Watched tutorials on how to simulate metallic textures
  • Configured new preferences
  • Exported STL using fusion 360
  • Learned how to resize file through FBX
    The rendered keyboard is gorgeous!!! Btw the cherry keys are actually not metallic but it looks nice in the render so imma keep it lol
Attachment
Attachment
0
Hung-Chi Wang

HUGE SUCCESS, I finally got the board and everything except the NFC seems to be working perfectly!!!

  • Tested out all the LEDs
  • Installed Micropython
  • Installed Thonny
  • Coded left and right buttons
  • Watched Micropython Tutorials
Attachment
0
Hung-Chi Wang

For the past two hours I was learning how to render my PCB board
ik it might not sound very important, but it looks extremely cool!

  • Installed pcb2blender
  • Watched tutorials
  • Imported new models for my USB port
    *** I didn’t even know how to use blender and I learned it along the way
Attachment
Attachment
Attachment
0
Hung-Chi Wang

I spent some time testing out all the pins!!! AND THEY ALL WORKED PERFECTLY!!!

  • Installed Circuitpython
  • Tested out all the pins
  • Used multimeter to make sure everything works
Attachment
0
Hung-Chi Wang

I spent some time on soldering the logic gates, including AND, OR, NAND, and NOR gates. However, because I forgot to cut the wires before turning them on, I accidentally burnt the OR and NOR gates……DAMN
Overall, the AND and NAND gates worked pretty well:

  • 10k resistors for the base
  • Diodes to prevent current from leaking
Attachment
0
Hung-Chi Wang

Learned how to code and access RP2040 processor using XIAO-RP2040 (haven’t yet received the board yet so…….)
Tutorial I followed: https://www.youtube.com/watch?v=07vG-_CcDG0&list=PLWNDWPAClRVoo0Z-QtCkXuM15jdb2Q54N&t=820s

  • Installed Thony IDE (originally I was planning to use Micropython
  • Swtiched to Circuitpython so that I could use VScode
  • Trouble-shot Circuitpython extension (it sucks and I gave up)
  • Eventually I noticed that I could simply use serial monitor in vscode (check out my lapse)

Check out the video!! https://hc-cdn.hel1.your-objectstorage.com/s/v3/4d0905c78ba392b4_img_0659.mp4

Attachment
Attachment
0
Hung-Chi Wang

Here’s what I did for the past two hours:

  • Excluded NFC from the copper pour
  • Redesigned NFC Antenna
  • Chose all the parts and edited BOM file, I repackaged everything thrice
  • Triple-checked the 3D viewer
  • Tried my best to replaced extended components with basic

PS: it’s 70 USD (89 CAD when I checked my bank account)!!!! SO I SPENT SO MUCH TIME ON CHECKING TO MAKE SURE EVERYTHING GOES RIGHT

Attachment
Attachment
Attachment
Attachment
0
Hung-Chi Wang
  • Added silkscreen design to my PCB, including my logo and name
  • Chose parts for JLCPCBA (spent so much time on avoiding extended parts…….
  • Fixed the 3D model in PCBA viewer (SOOOO IMPORTANT OMG look from image 2 to 3
  • Rerouted GPIO24, RUN, and GPIO 25
  • Swapped the positions of 3V3 and 1V1 capcitors
Attachment
Attachment
Attachment
0
Hung-Chi Wang

I soldered the keys and the board!!!
But for some reason it’s still not working, apparently my Arduino Micro has some issues too cuz it kept disconnecting itself when tried to flash it……

Attachment
Attachment
1

Comments

Rei
Rei 4 months ago

aaa looks nice :0

Hung-Chi Wang

For the past two hours I was trying to add NFC feature to this card!!!

Attachment
0
Hung-Chi Wang

For the past hour I was cleaning up everything, including:

  • Swapping 1V1 capacitors with 3V3 (I mean the position) cuz 1V1 is crucial for chip logic supply and more delicate I suppose
  • Adding more GND vias
  • Rerouting a couple wires to the LEDs to allocate more space for NFC
  • Cleaning up references
  • Cleaning up DRC warnings and 2 errors
Attachment
0
Hung-Chi Wang

Finished routing everything!!!

  • Rearranged the pins
  • Added tons of GND vias as usual
  • Aligned USB socket with the edge
Attachment
Attachment
Attachment
Attachment
0
Hung-Chi Wang

Almost done wiring the IC components!!! YAYYY
PS: I deleted to capacitors as there are two pairs of 3V3 pins very close to each other

Attachment
Attachment
0
Hung-Chi Wang
  • Finished tic-tac-toe grid positioning
  • Replaced 0402 with 0805
  • Researching alternative flash storage (the original one is too big)
Attachment
Attachment
0
Hung-Chi Wang

Roughly positioned the components, mainly searching parts on JLCPCB cuz extended parts are too expensive…….

Attachment
Attachment
0
Hung-Chi Wang

Completed the schematic and footprints!!!
Part Selections:

  • 0402 Capacitors
  • 0402 Resistors
  • 0402 LEDs
  • RP2040
  • ABM8-272-T3 12MHZ Crystal (recommended by the official)
  • W25Q128JVS Flash Storage
  • USB-C
Attachment
Attachment
2

Comments

Melodic
Melodic 4 months ago

Looks awesome!

ekamwadhwa2004
ekamwadhwa2004 4 months ago

Nice

Hung-Chi Wang

Time to test out all my logic gates!!! For the past hour I was learning how to use V-Cut for my PCBs as they’re all very small so it’s not very wise to put them all on separate boards. Merging AND and OR gates is kinda tedious tbh

Attachment
Attachment
Attachment
0
Hung-Chi Wang

Here’s what I did for the past one and a half hours:

  • Learned and implemented another type of XOR gate (*This is better as one input can now supply one transistor instead of two)
  • Designed isolated AND gate schematic
  • Designed isolated OR gate schematic
  • Simulated ALU (Adder + Subtractor)
  • This time I included base resistors for all the transistors
Attachment
Attachment
Attachment
0
Hung-Chi Wang

I spent one and a half hours trying to figure out Subtractor and complete the entire ALU………BUT KICAD is acting so weird……..
4-bit adder acts perfectly but for some reason subtractor just doesn’t want to listen……..AHHHHHHHHH

Attachment
0
Hung-Chi Wang

(Troubleshooting) GUYS MY 4-BIT ADDER WORKS PERFECTLY!!!!!! Especially after I added buffers to each split!!!! W buffers
Btw I was fixing my 4-bit adder for the whole time cuz apparently Kicad spice doesn’t really recognize GND, so instead you gotta use 0V instead

Attachment
0
Hung-Chi Wang

I spent two hours and a little more learning negative numbers (subtraction) and SR latch (can be easily turned into D latch)
Lemme briefly explain why they’re important

  • Negative number (subtraction): I mean obviously subtraction is important lmao…….
  • SR latch/ D latch: SR is the acronym of Set and Reset, Set sets the state to 1 while Reset restores the state to 0. And this property can be used to store data!!!

BTW the image only shows how subtractor works, but i promise i’ll be demonstrating through videos of how registers work!!!

Here’s the steps to convert a positive number to a negative number

  • Step 1: Invert all the digits (e.g. 7 represented by 0111 becomes 1000)
  • Step 2: Add one to the inverse (e.g. 1000 + 1 = 1001)
    AND BOOOM 1001 represents -7, just look at the image
Attachment
Attachment
Attachment
0
Hung-Chi Wang

Finished routing the PCB!!! OMG I really really can’t believe how compact this can be……..Cuz it’s so tiny compared to the prototype on breadboards!!!!!!

PS: This is a Full Adder btw

Attachment
Attachment
Attachment
0
Hung-Chi Wang

For the past one and a half hour I have been building a 4-bit adder…….but fan-out is definitely my enemy!!!!
As you can see the 5V drops to 4.53V bc of the transistors!!! I was trying to implement two inverters at the end but still didn’t help…….

Attachment
Attachment
0
Hung-Chi Wang

I finally found out the issue!!!
The issue was that I forgot to add resistors to the base of each transistor. I only added resistors directly after A, B, and Cin, but the bases of transistors in each sheet don’t have their own resistors, so that’s a big issue as they will burn out.

W Resistors :)

Attachment
0
Hung-Chi Wang

Fixed and tested out all the truth tables for my schematic, and not all of them worked……
Even though it seemed like only one of them didn’t work (the one with only Cin on), but for some reason no current was passing through one of the transistors in the XOR gate!!!

SO I gotta spend some time investigate……

PS: All the images are different cases even though they look similar!

Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
0
Hung-Chi Wang

Completed the FULL ADDER schematic!!!!!! Btw here’s some of the things I changed:

  • Added an inverter to each gate for output
  • Added diodes (tbh Im still not sure whether I should use diodes or resistors…….
  • Created hierarchy sheets for AND, OR, and XOR gates (SUPER SUPER USEFUL
Attachment
Attachment
Attachment
Attachment
2

Comments

Hung-Chi Wang
Hung-Chi Wang 4 months ago

Go to the last page to see the full schematic!!!

khmaissilahcen
khmaissilahcen 4 months ago

that’s awesome

Hung-Chi Wang

Completed the PCB design of XOR gate!! I tried to make it as compact as possible

GUESS WHATTT, IT’S TIME TO BUILD A FULL ADDER!!!!!!!!

Attachment
Attachment
0
Hung-Chi Wang

Finally completed the schematic for an XOR gate. Despite building it on the breadboard, I still struggled with whether I should place a diode or a resistor…….But after doing some research I decided to go with a diode, and here’s the reasons:

  • Resistor regulates the current indeed, but it’s based on R=V/I, so the voltage drop is not fixed
  • Diode, on the other hand, ensures a 0.7V voltage threshold, preventing current from leaking
Attachment
0
Hung-Chi Wang

Completed schematic for AND, OR, NAND, and NOR gates!!!! Can’t believe I proceeded that fast lol, but Kicad still made it way easier than prototyping on breadboard trusttt

Attachment
0
Hung-Chi Wang

OMG THIS IS SOOOOO FRUSTRATING…………but I finally completed my breadboard prototype for AND and OR gate, btw this is my first time using transistors so it took me quite a fair amount of time

Here are just some things to watch out for:

  • Remember to put LED and resistors on the connector side, both to pull up and avoid current not flowing from the base to emitter!!!!
  • Remember to put resistors for both transistors and the buttons, I just burnt two of them :(
Attachment
1

Comments

bgtulk
bgtulk 4 months ago

Nice job!

Hung-Chi Wang

OK I finally began my journey towards building a fully functional CPU!!!!!
First up ADDER:

  • A design that can add two numbers
  • How binary is used
  • How logic gates are built are used, including AND, OR, NAND, NOR, and XOR
Attachment
0
Hung-Chi Wang

Updated my demo and published everything online including uploading my PCB design and schematic to Kicanvas!!!

Attachment
Attachment
0
Hung-Chi Wang

For the past two hours I have been routing all the components, reducing ratlines from 200 all the way down to 20

  • Connected all columns and rows
  • Swapped some pins, such as moving all the column pins to the left
  • Added GND vias (still more to add……
Attachment
Attachment
0
Hung-Chi Wang

For the past hour I was reading TB6612FNG schematic and trying to apply it to my own. But here were the problems:

  • I wanted to supply my RP2040 through both USB (5V) and battery (12V)
  • What pins should I keep and crossed out cuz I wanted it to be minimal
Attachment
1

Comments

Hung-Chi Wang
Hung-Chi Wang 4 months ago

There was another image showing my shcematic but I DONT KNOW WHY IT’S GONE

Hung-Chi Wang

Shipped this project!

Hours: 1.2
Cookies: 🍪 33
Multiplier: 27.49 cookies/hr

After watching many other tutorials about RP2040, I now have a much deeper understanding of the chip. Here were the some changes I made:

  • Change all the traces except power rails to 0.18mm, and change VBUS and 3V3 to 0.3mm
  • Added three LEDs: VBUS (5V), 3V3, and GPIO2
  • Rerouted the data lines (D+ and D-) using Kicad “differential pairs”
  • Double-checked all the routing, including rerouting GPIO24 cuz I just noticed that it was not fully connected
Hung-Chi Wang

Before ordering the PCB, here were what I did:

  • Double-checked all the routes, including cleaning up some traces
  • Change all traces to 0.18mm instead of 0.2mm
  • Added LEDs to the following: VBUS (5V), 3V3, and GPIO2 (idk i just randomly chose it)
Attachment
Attachment
0
Hung-Chi Wang

Took me an hour to wire mostly everything up. Luckily I have the experience from RP2040 devboard and more space to spread out the components

BUT BUT BUT I just realized that I need some space for space key stabilizer!!!!!! AHHHHH BRO IM COOKED CUZ I GOTTA MOVE EVERYTHING AGAIN AND REWIRE THEM

Attachment
1

Comments

Hung-Chi Wang
Hung-Chi Wang 4 months ago

I dont know why there’s still only one image!!! I had like another one with a better view of routing……..

Hung-Chi Wang

Here were the things I did for the past two hours:

  • Repositioned RP2040, crystal, and flash storage. Eventually, I flipped them to the front cuz it’s just cooler. Imagine if you can see all the internals you’re typing lol
  • Move each row of diodes up to avoid unnecessary intersections
  • Started routing, connected rows and columns and wired up USB port data traces
  • Added copper zones and spread out the components
Attachment
0
Hung-Chi Wang

I finally placed every down in suitable positions (hopefully we’ll see when we get to routing
I also changed all the diodes from SMD to THT so that I don’t need to use via everywhere, and I could literally just trace either horizontally or vertically anyway I want

Question: Should I place USB port on top right corner or bottom right?

Attachment
Attachment
0
Hung-Chi Wang

AHHHH THE MOST ANNOYING PART, here were the things I was trying to do:

  • Place all the components in suitable positions
  • Calculate the width of D+ and D- for USB
  • Find tutorials to make sure everything is alright

Trust me patience is the secret sauce!!

Attachment
0
Hung-Chi Wang

Based off the experience from the two previous projects im finally now working on a full-size keyboard with integrated RP2040!! I just copied and pasted my my schematic from RP2040 and made some modifications specifically for keyboard, and I also mapped key switches

Attachment
Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 14.46
Cookies: 🍪 370
Multiplier: 25.58 cookies/hr

There was a very huge gap between macropad and this project, so I struggled a lot with designing schematic and wiring the PCB. But overall, I’m really proud of myself and I’m finally confident enough to build more and more custom boards using integrated RP2040 rather than always relying on Raspberry Pi!

The best advice here is to stay patient and enjoy the process! I will be building a full-size keyboard with an integrated RP2040! LETS GOOOOO

PS: I almost gave up yesterday till I realized I could literally add more vias for the ground

Hung-Chi Wang

Cleaned everything up and added some final touch!!

  • Pushed everything to Github
  • Uploaded a 3D model to Printables
Attachment
0
Hung-Chi Wang

FINALLY!!!
After hours of struggle and tears, I finally completed the PCB Design and exported it as a Gerber file
The last thing to do is to order it from JLCPCB!!!! LETSS GOOOO

Attachment
Attachment
0
Hung-Chi Wang

After one and a half hours of debugging, I realized that the errors were caused by a lack of vias. Here are why they’re important:

  • Vias connect the front and back sides of gnd pools
  • Ensure all the components have at least two spokes of GND pins!!!

So next time if you face the same problem, just add enough vias and you’ll be chill

Attachment
Attachment
0
Hung-Chi Wang

This is driving me nut!!!!!
Can anyone please help me with all these errors? Cuz im still very inexperienced……..

Attachment
0
Hung-Chi Wang

Added tons of vias and re-routed many things. I also added GND pool, but still lots of work and unconnected GND……

Attachment
0
Hung-Chi Wang

YAYYY another significant progress, I finished wiring up the right side, which was much easier than the left. I also fixed some wiring on the left to reduce vias under RP2040 cuz I would need the space to connect 3V3 :)

Attachment
0
Hung-Chi Wang

After one more hour of struggle, I finally wire up all the pins on the left!!! Trust me it’s a very painful process……:(
Nothing too interesting to write about, staying patient is the best advice

Attachment
1

Comments

Hekinav
Hekinav 4 months ago

either the pin holes look massive or the traces very small(for power)

Hung-Chi Wang

After an hour I finally aligned most of the components and began wiring the power supply, and I gotta be honest this was the most interesting but frustrating part. Here are some tips I gradually figured out

  • Wired the closest pins and components first cuz you can via the long distance parts
  • STAY PATIENT, LIKE VERY VERY VERY PATIENT
  • Be careful with the 90 degree angle (idk why but I just heard it’s bad :(
Attachment
0
Hung-Chi Wang

After one and a half hour of hard work, I finally learned how to organize my components based off the schematic. Here are some techniques:

  • Organize ur components based off the blocks in the schematic, like you can select the components all together in the schematic page and they will automatically be selected in the PCB page as well
  • Connect the main components first!!! Very important cuz you dont want to fix the capicitors first and realize they are in the way!!!
Attachment
0
Hung-Chi Wang

Finally the most exciting part! Put everything together on the PCB
This is so much more complicated than the macropad I made previously………like jumping from beginner village to big boss fight. I’m lowkey kinda scared of how im gonna wire them later cuz there are so many intersections!!!!!!! (Just look at the blue lines :(

Attachment
0
Hung-Chi Wang

Completed the schematic including the following:

  • Flash storage (more complicated cuz I would need to understand it works first
  • I/O Headers (should be an easy part but I kept making mistakes
  • Organized the schematic and put them in blocks
Attachment
0
Hung-Chi Wang

After spending almost an hour on reading RP2040 datasheet and figuring out the basics, I finally completed the following parts for my devboard:

  1. Imported RP2040 + duplicated capacitors for power supply
  2. Added a USB port and an LDO to convert 5V to 3.3V
  3. Added a crystal oscillator and learned its purpose
Attachment
0
Hung-Chi Wang

Shipped this project!

Hours: 8.71
Cookies: 🍪 113
Multiplier: 13.02 cookies/hr

I never designed a PCB before so this was the first time.

Thanks to my prior experience in circuit design, designing this wasn’t too hard
PS: trust me the most annoying part turned out to be tracking time

This was also my first time using Fusion 360, and it was actually much easier than thought, tho it still took me some time to learn……

Anyways, this project is just a small taste of how hardware design is like, and I really enjoy it

Lastly, I haven’t gotten the parts yet and assembly is also not part of the time tracking, so I’ll just update till it works perfectly just in case any of you want to download my files :)

Hung-Chi Wang
  • Uploaded the demonstration model to Printables
  • Fixed and recompiled the firmware cuz I just realized it didn’t match the schematic…….(AHHHH
Attachment
0
Hung-Chi Wang

I installed QMK and added the firmware folder, hope it works when the parts arrive

Attachment
0
Hung-Chi Wang
  • Added a socket for Arduino Micro power supply
  • Purchase parts: Arduino Pro Micro, Cherry MX key switches x 9
  • Follow tutorial to order PCB from JLCPCB
Attachment
Attachment
0
Hung-Chi Wang

Finally made the case by following along with a tutorial

  • Macropad base
  • Macropad top case
  • Imported PCB and switch keys bodies
Attachment
1

Comments

Hung-Chi Wang
Hung-Chi Wang 4 months ago

idk why I uploaded 5 images but only one is shown here

Hung-Chi Wang

Flavortown beta finally launched!!!!! Got too many hours to log

  1. Fixed Hackatime for Fusiong 360 because it was not compatible with the latest version
  • Remember to install requests and chardet in Fusion 360 directly (in the Add-in folder)
  • Change main.py to the same name as the .manifest file
  • Directly indicate the path to the pip library installed
  1. Setting up Hackatime for Kicad
  2. Redid the schematic and redesigned PCB as I didn’t include GND and reset button
  3. Learned Fusion 360 and built a practice project along the way
  4. Started building my first Fusion sketch
Attachment
1

Comments

Hung-Chi Wang
Hung-Chi Wang 4 months ago

Just in case anyone want to log their hours for Fusion 360, remember to install the pip library directly in the lib folder! It took me 2 hours to figure the code as well…….very frustrating cuz the python code in there was already outdated