jpm,
@jpm@aus.social avatar

Was I fucking drunk when I designed this board? I completely missed 2 GPIOs to control a LED and a switch on the schematic, and I used the wrong SERCOM for the I2C lines which means I now need to swap SCL and SDA.

This thing is a fucking mess.

jpm,
@jpm@aus.social avatar

So, I think I can rescue it using 4 bodge-wires. One bodge-wire between the QFP pin lead and a SOT-23 MOSFET gate, one between the QFP pin lead and 1 of 3 0402 size pads all next to each other. The I2C lines are a bit trickier, because I could go track to track across a cut and make my own pads from the track ends, or via to via across the same cut but longer bodge-wires

jpm,
@jpm@aus.social avatar

Oh wait, do I need to swap the UART TX/RX lines too? Fuck…

jpm,
@jpm@aus.social avatar

Hooboy I’ve learned a lot since I designed this board… last year.

jpm,
@jpm@aus.social avatar

And… another missing line, this time available on a single 0402 pad. Fine, I’ll use the 0.15mm magnet wire for these bodges.

jpm,
@jpm@aus.social avatar

Broke: debugging
Woke: dead-bugging

jpm,
@jpm@aus.social avatar

Wait where the fuck did capacitor C5 go?

jpm,
@jpm@aus.social avatar

Bodges 1 to 3 of 7 completed. Next 4 on the other side

jpm,
@jpm@aus.social avatar

This sucks

ThermiteBeGiants,
@ThermiteBeGiants@aus.social avatar

@jpm all those poor little electrons trapped inside that track 🥺

jpm,
@jpm@aus.social avatar

Yeah time to switch to a smaller soldering iron tip

jpm,
@jpm@aus.social avatar

ᶜʳᵒˢˢ ᵒᵛᵉʳ

georgeharito,
@georgeharito@mastodon.au avatar

@jpm Like a bought one

ThermiteBeGiants,
@ThermiteBeGiants@aus.social avatar

@jpm ship it!

liamvhogan,
@liamvhogan@aus.social avatar
jpm,
@jpm@aus.social avatar

Oof my eyeballs are definitely going to fall out after that. They grow back, right? Like teeth?

jpm,
@jpm@aus.social avatar

Right back to it today. Last 2 bodges to swap UART TX and RX lines. I’ll have to attach to traces this time, luckily the other end are a pair of giant test pads

jpm,
@jpm@aus.social avatar

Pray for mojo

jpm,
@jpm@aus.social avatar

Holy shit I still can’tbelieve I did it!

ibk,
@ibk@aus.social avatar

@jpm and no one will ever suspect there was a problem...

jpm,
@jpm@aus.social avatar

@ibk good thing nobody except me will be using this board

jpm,
@jpm@aus.social avatar

Yeah slapping a bodge on a track is MUCH harder than on a via

Unixbigot,
@Unixbigot@aus.social avatar

@jpm on sale today for all your precision bodging needs - a diamond cone can be used to strip solder mask, and to cut tracks. https://s.click.aliexpress.com/e/_mOJpIOO

jpm,
@jpm@aus.social avatar

@Unixbigot JANK LIFE!

jpm,
@jpm@aus.social avatar

Well that’s a good start. I2C communication at 100kHz across that first cross-over bodge!

jpm,
@jpm@aus.social avatar

And works at 400kHz, which is as fast as the RTC goes. The LED bodge wire also works! And, uh, I think I melted the button that has the bodge attached… again

jpm,
@jpm@aus.social avatar

And that’s it, I’m banning any non-red LEDs from future projects. Fucking green LEDs blinding me

kauer,
@kauer@aus.social avatar

@jpm Super cheap kiddie sunglasses from a two-dollar shop, and cut out little filters for the LEDs. Or use something completely opaque and put a pinhole in it.

Could probably just glue them straight on.

jpm,
@jpm@aus.social avatar

Best news is, the 400kHz I2C line is the fastest affected by my bodges. Next fastest is a UART at 115,200, then a trio of simple GPIOs

jpm,
@jpm@aus.social avatar

I am now suspicious of the MCP7940 RTC. Seems to be spewing garbage at me, and occasionally locking up the entire I2C bus after writes.

Either that or my bodge didn’t work.

jpm,
@jpm@aus.social avatar

Nope, vendor-code issue. Who would have thought that zero of three i2c devices I’m using like having a re-start issued in the middle of their write sequence?

JustJimWillDo,
@JustJimWillDo@mastodon.online avatar

@jpm

Well it does seem a kind of churlish thing to do. 😁

jpm,
@jpm@aus.social avatar

@JustJimWillDo most devices need it when reading starting from a specified register, so providing a matching write sequence kinda-sorta makes sense?

JustJimWillDo,
@JustJimWillDo@mastodon.online avatar

@jpm

¯_(ツ)_/¯

jpm,
@jpm@aus.social avatar

@JustJimWillDo exactly

vk2gpu,
@vk2gpu@mastodon.radio avatar

@jpm moooooreeeee!!!

jpm,
@jpm@aus.social avatar

@vk2gpu and 400kHz works too! That’s as fast as the RTC goes, so good enough

stufromoz,
@stufromoz@aus.social avatar

@jpm don’t

ThermiteBeGiants,
@ThermiteBeGiants@aus.social avatar

@jpm please buy a microscope, thank me later

jpm,
@jpm@aus.social avatar

@ThermiteBeGiants good point. Oi @benno you finished with my microscope and magnifying glass yet?

bugroar,
@bugroar@techhub.social avatar

@jpm Is that little jog supposed to be a one picosecond delay? Cause if so I'm thinking blue wire isn't going to work.

jpm,
@jpm@aus.social avatar

@bugroar it was me doing length-matching practice. It’s an I2C pair, so a few ns here or there shouldn’t matter

Unixbigot,
@Unixbigot@aus.social avatar

@jpm what did you scrape that solder mask with, a brick?

jpm,
@jpm@aus.social avatar

@Unixbigot see next pic, it got better*

  • worse
jpm,
@jpm@aus.social avatar

@Unixbigot and this beastie was today’s solder mask mangler

Unixbigot,
@Unixbigot@aus.social avatar

@jpm i made a kicad component and footprint for swappable tx/rx lines, via clever solder bridges (or 0R) it is called Oh_fuck

Jplonie,
@Jplonie@aus.social avatar

@jpm Mondays

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • PowerRangers
  • DreamBathrooms
  • ethstaker
  • magazineikmin
  • InstantRegret
  • modclub
  • Youngstown
  • everett
  • slotface
  • rosin
  • khanakhh
  • ngwrru68w68
  • kavyap
  • thenastyranch
  • anitta
  • Durango
  • cubers
  • normalnudes
  • vwfavf
  • mdbf
  • GTA5RPClips
  • tacticalgear
  • tester
  • Leos
  • osvaldo12
  • cisconetworking
  • provamag3
  • megavids
  • All magazines