#Building a NAV/COM radio

1 messages · Page 2 of 1

river river
#

In due time....maybe the next radio buikld.

autumn thorn
#

4 layer isn't much different from 2 layer. The process is the same.
The above mentioned 4layer stack-up just allows you to completely forget about VCC and GND, because VCC and GND is just EVERYWHERE. Instead you've got much more real-estate for signal traces...

Definitely worth giving a try at some point☺️

river river
#

I have plans for another project maybe next year.

river river
#

Does the company you order the acrylic panels from do the painting and laser etching?

autumn thorn
#

Yes. I order from hispapanels.com in Spain, who have panels for 737 and a320, but I know there are some other sites with a larger portfolio, too... just with customs and shipping Spain works best for me...

So to shorten a long story: they have the panels I need ready and I build my project around that. They're not built to match my design, nor are they 100% replicas of the real thing. They're bloody close in most cases, tho

autumn thorn
#

I'm loving this thread! Feels like a couple of guys each tinkering with their own project while chatting about all sorts of semi-related things...
I just hope @river river isn't annoyed by me hijacking his thread over and over...!😅🙈

river river
#

@mattlockr No sweat. Every little detour is just another learning opportunity for me.

kind tulip
#

yeah this has turned into a fun chat of its own

quartz walrus
#

Just don't let perfect become the enemy of good enough. Often it is better to get something done when you need it, rather than spending ages on optimizations

lofty valley
quartz walrus
kind tulip
#

it helps to have no idea what you are doing at first, you dont know what your design is missing 😄

autumn thorn
# kind tulip it helps to have no idea what you are doing at first, you dont know what your de...

True, but then you start watching Robert Ferenec and John Teel videos on YouTube because, well, the algorithm... and all of the sudden you start worrying about sh*t you didn't even know existed only a few hours ago like signal to noise ratios, EMI, power consumption, ESR, trace inductance etc etc etc 😅

All because you googled whether to use a switching regulator or an LDO for your 3.3V supply🤣🤣🤣

kind tulip
#

yeah 🙂

#

I have a friend who does super tiny stuff on pcbs and knows a lot about those things

#

good way to learn

#

he taught me to use the "single layer view" on kicad

#

so you can see better how to route, sometimes its harder to see with both layers visible

autumn thorn
#

You mean dimming the inactive layers?

kind tulip
#

yeah, there is the mode

autumn thorn
#

Yes, and it's the best thing in the world, especially when laying out boards with more than 2 layers!

kind tulip
#

like here in hindsight...

#

might have routed that one trace on top layer and avoided that giant multi-lane motorway curve

#

but they are just button pins

#

so no big deal

#

it just looks silly 🙂

#

but this basically goes around the RP2040 layout I used as a starting point

#

those moments are worst when you realize the whole thing would work better if you rotated the microcontroller chip 180 degrees ....

#

but a lot of the pcb designs seem to be 1000 compromises laid out on a piece of circuit board

quartz walrus
#

Rpi foundation mentions them

autumn thorn
#

I haven't yet laid out an RP2040 design on 2 layers... but I imagine it being a bit restrictive.

Yes, the wide trace on the top layer could have gone else where and that would have avoided all this vias, but I've seen worse (some of it in my own, early work!).

Something that really helped my layout strategies was the fact I made my first PCBs myself. Drilling 1.76billion vias and riveting then all was not desired so I spent a lot of time trying to avoid them where possible😅

autumn thorn
lofty valley
river river
#

Here is technically NOT an electronic PCB board having to deal with "signal to noise ratios, EMI, power consumption, ESR, trace inductance etc etc etc" but merely a board to connect an MCU to a few switches and a couple of displays without wires.
The more difficult routing was between the MAX7219 pins and the 5-digit displays. So many criss-crossing paths for the digits to connect to the associated pin on the Max.
To begin with, there were approximately 250 Freerouting runs. Then once I started to understand manual routing then came the rabbit hole of the what-ifs until I just had to settle on what I have.
The DRC runs are now only giving the silkscreen warnings and now on to the breadboard prototype to see if it actually works.

kind tulip
#

this is pretty darn nice first impression, didnt look too deeply into the connections etc

#

good to also verify with the 3d view (and admire how nice that usually looks!) to see that everything is on the correct, intended side

autumn thorn
#

I have to agree... the routing looks perfectly fine. I think there isn't much that could've been done better. You've even intuitively chosen arduino pins for your encoders that make routing straight forward and darn good looking! Nice work!

kind tulip
#

looks like this has been a good thread also for @river river 🙂

river river
#

It was a fun challenge for a noobie and my architectural design experience rather than the small amount of electronics knowledge had some influence.
THese are the 3D views showing the required locations of the front components based on the existing faceplate holes.
Then the back is where are the other stuff needed to be fit between all the front stuff.
I am only hoping this is going to work as intended when I get the prototype finished.
This thread has been educational and the help received here from all willing to contribute was invaluable.
It is still not over yet until the board comes back from the fabricators and connects as it should.

#

I never could find a model of the 5-digit displays to add to this.

kind tulip
#

you are doing the pushbuttons with smd version on purpose?

#

as long as you check that the pinout of the 5 digit module matches your wiring

#

sometimes they might differ a bit by manufacturer

river river
#

SMD buttons will be my first attempt at SMT soldering.
Gotta start somewhere.

#

Hopefully the info for these symbols in the schematic is correct.

#

And that I got them all connected per the diagram.

river river
river river
#

The breadboard connections are completed for the COM2 side, both Active and Standby Freqs. and trying now to connect to MF. No issues with the Dual encoder and the swap button, but the explanation for connecting Active and Standby displays in MF doesn't exist. Also, the instructions for a single display is specific to MSFS and the XPlane options for the freqs. are confusing.
I am not sure where to even begin to explain where I am failing in understanding the config. setup.
This is what I have done...
Created the Radio Config under modules and uploaded.
Assigned DIN, CS and CLK to the Nano pins (Selected 2 under NUM which is unclear to me)
Uploaded config
Created COM2 Radio Output Config.
Edited the Config, SIM Variable set to Xplane Dataref (not sure what Preset code to use yet)
--- MF showed MSFS preset as COM Active Frequency:Index---
Xplane Dateref preset does not have the same named preset.
Skipped over <Modify> and went to <Display> tab.
Set <Output Device> --- Mobiflight Nano / SN-d6a-7fc
_ Display Module for "use Type of".
Name/Number set to (COM2 Radio / 2)

And now it's at Values <Number of Digits>
I know that it will be 5 digits for each of the displays.
As I get into this should there be two separate Configs, one for the Active Display and one for the Standby display?
But with them being daisy chained that doesnt make sense either.
Where am I getting confused?

hushed wind
#

Yes, two output configs bound to different set of digits.

#

In the Max7219 hardware config, Num refers to how many Max chips are daisy chained.

river river
#

So I got the num 2 correct....two max chips daisy chained but each one has it's own display and config.

#

So back to the drawing board...COM2 Active and COM2 Standy configs.

#

But I am confused about the pins.
There is one set of pins for the daisy chain but each separate config needs a set of unique pins.

#

I can't get my head wrapped around this.

#

So under the MF Modules page there is one Radio config with the 3 pins and number of max chips assigned?

#

Then create two Output configs (Active and Standby)...

#

If that part is correct, then the next part about selecting the Frequency presets is throwing me.
Xplane has freqs separated into the MHz and KHz presets.
I do not see how the MHz freq. is assigned to the left 3 digits and the KHz is assigned to the right two digits.

kind tulip
#

yea and in the output configs is a selector for the max module

#

you can first just set all digits on and turn on all checkboxes and test that you get numbers

#

it takes a bit of testing to understand how it all works

#

but basically use the Test toolbar on the bottom of the display tab to set for example 12345678

#

and see what digit gets what

#

and how it all works

#

and whether you get numbers

#

so you know the wiring is correct

river river
#

Trial and error

kind tulip
#

then once you have the test working, you add a simvar, and it basically just supplies your value instead of the "test" field

#

what comes from simulator is always in "Flight Sim Value", then you use Modify tab and modifiers to format the number if needed

#

and then it is sent to Display

#

and the Output value in MF COnnector window shows what MF is sending to the display

#

you will figure it out, it is a horrible firehose of information at first right now

river river
#

As a recap...to make sure I have the configs correct.
Active config assigned to COM2 Radio as Display 1
Standby config assigned to COM2 Radio as Display 2

kind tulip
#

yeah it depends which way they are on the pcb

#

but that is easy to swap on the config

#

try to show just 12345678 on the digits first

#

wiht the test function

river river
#

10-4

kind tulip
#

hm?

hushed wind
river river
kind tulip
#

oh!

river river
#

I am trying to figure out how to test the wiring without assigning anything to Xplane.

kind tulip
#

so you have the displays with their pins done?

river river
#

I do

kind tulip
#

so you add an output config,

river river
#

Each display connected to the max chip per my schematic. 5v external power is running to the max chips. The two caps are in place as well as the resistor.

kind tulip
#

dont worry about sim variable for now

#

we go to "Display" tab first

river river
#

I am ignoring it

kind tulip
#

should have something like this

#

so check all checkboxes,

#

set number of digits to 8

#

and type 12345678 on the Test value on the bottom

#

and press "Test"

#

it should give you numbers on the displays

#

and then we figure, if not, why not.

river river
#

I see that...and tried it with just 5 digits.
I am not getting any power to the displays. Nothing lights up. Going to go back and troubleshoot all my connections again.

kind tulip
#

hmm

#

if you have a multimeter check the voltages etc on the MAX7219

#

and that stuff is on the correct pins

#

do you have them both connected or just one?

#

oh wait hey

#

I actually configured mine wrong

river river
#

doimg voltage test now

kind tulip
#

it was a chain, right?

#

not two sets of pins?

river river
#

They are both daisy chained with the power connected to each in parallel..

kind tulip
#

so just one configured, and "Num" to 2

river river
#

I am using one set of pins for the two that are daisy chained

#

Yes one configured with the 3 pins and num set to 2

kind tulip
#

this then selects which one

#

so try both options there

#

but it should just select either one

#

if both are breadboarded, but if only one, then this would be significant

river river
#

I have that set to 1 right now for now...will stry display num 2

kind tulip
#

1 would be the first on the chain

#

2 the second

river river
#

That is what I assume....I want to try lighting up individual leds in the display to make sure I am getting power.

hushed wind
river river
#

Ok

hushed wind
#

As mentioned, the first Max chip is Num 1 and the second is Num 2

river river
#

I now that...but I had two Output configs

hushed wind
#

ok, never mind what I said, then

river river
#

I need to go back through my pin connections first. Power is good

kind tulip
#

you could display 8.8.8.8.8.8.8.8.

#

and measure multimeter between the DIGIT and segment pins

#

because they are just leds

#

also disconnect and reconnect the arduino at times, if the `MAX gets bad connection or somehow screwed up, it needs a reboot

#

so replugging the usb will help

#

then stop and test again

hushed wind
#

Only up to two Max chips should be powered from Arduino. If more, external supply is needed.

river river
#

Measure continuity between a digit pin and a segment pin?

kind tulip
#

yeah, try also with just one max and set the brightness in the pin config to minimum

#

digit pin and segment pin should give you voltage because there is a led

river river
#

I am powering the two max chips with external PSU..

kind tulip
#

if the segment is displaying something

river river
#

I am getting nothing on any segments..

kind tulip
#

and you have the ground connected from the external psu to the nano ground?

#

hmm

river river
#

Yep

kind tulip
#

can you take a photo of the setup? maybe we spot something

river river
#

All grounds are connected.

#

How would I illuminate a single segemnt without blowing it out.

#

I think I will start over by just connecting the first display....start simple.

#

Gotta rewire and disconnect the daisy chaining

river river
#

I disconneted the second daisy chained display. Took the CS and CLK from the first max chip directly to the arduino instead of the second max chip.
Now I am getting 12345 on the first display with the DP between 3 and 4 as it should be.

#

I think I know what my mistake was with the daisy chaining. Need to try something

#

Question....With the PSU power I get a good bright display . But when I turn off the PSU I expect the display to go dark.
However it was still lit but dimmer. I do not have any 5v from the arduino connected .
There are a positive and negative 5v lead pins from my PSU breakout board to power the breadboard rails.
After I turned off the PSU breakout board, the display was still lit but dim.
Then to test something I removed the power leads from the breadboard and the display then brightened up for a few seconds then went black.
Now when I plug it all back in and turn on the PSU breakout controller ....nothing. The display does not light at all now.

river river
#

I switch to the Arduino 5v since it is only one display and the display still did not light.
So I changed out the 5-digit display module. The second display module is now working off the arduino 5v power.
Is it possible that when I pulled the PSU power pins from the breadboard and teh display came on brighter then went black that I possibly killed all of the segment LEDs?

kind tulip
#

so the max is always powered

#

you can blank display two ways in config

#

either write " " spaces

#

or use the "brightness reference" variable

#

so for example set CIRCUIT GENERAL PANEL ON

#

or alternatively if there is a simvar for the COM1 power for example

#

use that

#

and use a modifier to set it to a desired value

#

you can also mix in the radio backlight dimmer value from the simulator

#

but lets not make it too complicated right now, lets just say you can simulate everything the real thing has, as long as we can get data from the aircraft

#

always reconnect the arduino if the max acts up

#

it gets confused easily if power is interrupted etc

#

so either stop and start MF or just reconnect it

#

but this is encouraging that you get digits

river river
#

I am getting digits on the second swapped out display.....but the first one wasnt coming back on immediately with either power supply.

autumn thorn
#

I'm not sure how the LEDs would still be on if you've removed the only power supply... I'm worried there might have been a short somewhere.

Where was the power coming from? Vusb?

river river
#

One thing I forgot to do when I disconnected the wires to the daisy chained second display was to also remove the second set of caps and resistor from the power and ground rails of the PSU power. Would having the other two caps and resistor in that circuit connected to the GND and 5V of the PSU supply cause damage to the display leds?

#

The power was first coming from the PSU to Display one that was no longer daisy chained. Worked fine until I pulled the PSU power pins fromthe breadboard.

autumn thorn
#

I don't think so, no

river river
#

When plugging the PSU power back into the breadboard, the display wold no longer light

#

Now that I changed the display module and am using the Nano 5v it works.

autumn thorn
#

Does the suspicious display work with nano 5V?

#

I would generally recommend powering down everything before changing any connections on breadboards... especially the MAX ICs seem to be pretty finicky

river river
#

I was about to try that again....but now the second one suddenly does not work under the test mode.
And I touched nothing,,,,

#

I will shut it all down and start over.

autumn thorn
#

Unplug the nano and the power supply, give it a minute and try again

#

I know "have you tried unplugging it" sounds lame, but it helps more often than one would think🤣

river river
#

I will keep it simple for now and unplug the nano since I am using the 5V from that for the single display

#

A reboot of the Nano and of MF did the trick. And that is on the first display module that I thought I damaged.
I will give it some time to see if it is stable.

#

Then I will go back to the PSU power.

hushed wind
#

You cannot just cut power to Max7219 chips. An Arduino reboot is necessary after that because the Max7219 needs to be initialized again.

river river
#

makes sense.

#

But is the only way to cut power to the max chips is to unplug the USB cable from the arduino.

kind tulip
#

it might be the breadboard wires are a bit fiddly

river river
#

That's true...

#

These dupont wires are not the most dependable.

kind tulip
#

yeah

#

so yeah, if the panel is plugged in, it will be powered. I think there is some sleep mode in the arduinos if they are idle for long, Ralf would know

#

but the displays will not be lit if Mobiflight is stopped

#

it should turn off all digits and leds

river river
#

True about mobiflight and when I stop the test.

river river
#

So after about 15 minutes the display went blank. Restarting MF app brought it back.

kind tulip
#

yeah, what version of mobiflight do you have?

#

this was an issue at some point, it will not happen if the value changes I think

river river
#

10.5.3

#

build 20250406

river river
#

Its rather consistent that after about 15 min. the test stops and I have to restart MF app, to restart the display test.

hushed wind
#

I think this is already fixed in the latest beta

#

there was no keep alive message being generated when in Test mode.

river river
#

The test is not so important as long as it doesn't do that when I get it running with my flight sim.
Now it's time to switch back to PSU power and then reconnect the daisy chain.

daring tapir
river river
#

Thanks for the links to the discussions.Those same issues have also been my experience with MF running in test mode and the disconnection of the power.
It sounds like an anomaly with no solution..yet.

daring tapir
#

My understanding is that they are possibly leaching power from the signal pins when the main power supply is disconnected, because of the way the ESD protection circuits work. I now make it a point to power down my Arduino's before turning off the external PSUs to avoid any damage.

river river
#

Are there ESD protection diodes in the arduino or the max chips?

daring tapir
#

Likely in the max, but I'm not really sure. Way beyond my current skill level. 😁

autumn thorn
#

The MAX7219 datasheet I have pulled up doesn't mention any ESD protection diodes. The Atmega 328p used in Arduino Nanos (as well as the 328pb used on many clones) has protection diodes on each I/O on to both VCC and GND.

daring tapir
#

Interesting. That was one of the theories in the other thread. Oh well, bottom line is that the max is getting enough power from somewhere to keep driving the display if you kill only its power supply and keep the Arduino running. Figuring out where will likely need more tools than I currently have.

kind tulip
#

you cannot really do that anyway, because the max wont suddenly start to work if you power it back up

#

because it needs to be properly started by the arduino lib in order to work

#

if you power it down, I would think the internal state of the shift registers is lost

#

and you will need to stop and start MF at least to make it work again

#

you should then rather get a usb hub with power cut off switch

daring tapir
#

Yeah, the intent at that time wasn't to do a quick restart of the max. It was simply a moment of "How is this thing still on if I'm not supplying power? Have I messed up my circuit somewhere? Is something shorting?" 😅

kind tulip
#

yeah

#

on my dual MAX7219 radio I am just powering it from USB

#

it has worked fine

#

and I have 47kOhm for iSET

river river
#

After some more testing with a single display before daisy chaining the 2nd display I did a couple of experiments.

Just for grins I added a 470k bleed resistor parallel to the electrolytic cap by putting the leads into the same 5v and GND holes that the cap is plugged into.
Powering off the PSU before powering off my Nano with the USB hub switch, the display stays lit but at about half the brightness. The display powered down after about 15 min. and not immediately as expected with the extra resistor.
It does not appear that the bleed resistor works unless I installed it incorrectly.
There is another mystery in that my PSU breakout board has lights to indicate the status of the connections.
One of the lights stays lit as does the display when powering off the PSU prior to shutting down the arduino. See photo
It is odd that its a different power rail than the one being used to power the breadboard.
What may be a factor is that I was using that connector yesterday when I inadvertently shorted the GND and 5v leads on that one. Perhaps that is why that particular breakout board light stays on.
But I found that as long as the USB switch is powered down first, then the PSU is turned off all is ok.
If the USB powers on before the PSU, then MF app does not need to restart to run the display test.

river river
#

I finally got the daisy chained displays sorted out.
But what I learned when setting pins in mobiflight is that pins D0, D1 and D13 are off limits on a UNO and a NANO and while MF will allow A6 and A7 to be selected in the config, I read that they will not work.
I am sure about the D0 and D1 pins but is it true that A6 and A7 are not usable?

kind tulip
#

oh yeah

#

I mean you shouldnt be able to select D0 and D1

#

those are the usb serial port that is used for communication between the arduino and MF Connector

#

and nano has special hardware limitation on A6 and A7 indeed

#

what is the deal with nano D13?

river river
#

I just read through google that D13 is reserved

quartz walrus
#

A6 and A7 have no digital functionality on a nano, only analog. They had some extra pins on the smd version and I guess the only spare contacts the silicon had were ADC channels

#

D13 has the LED, which can cause issues with pull-up resistors depending on the specific board you are using

river river
#

I am avoiding those 5 pins now.
But if I want to add the two volume pots would I be able use A6 and A7 for those?

quartz walrus
#

The amp was introduced with the Uno R3, boards based on older designs or optimized for compactness just drive the LED straight from the pin. Even the official nano does not have the amp.

quartz walrus
river river
#

If DO and D1 are unavailable and the A6 and A7 pins are reserved for analog, then I am short by 4 pins for one of the encoders plus my two switches.

#

Oops sorry....I misread

quartz walrus
#

D13 should be fine for outputs, btw

river river
#

Like an LED?

quartz walrus
#

Just avoid straight switches, encoders and multiplexers on that pin

river river
#

Seems like I have just enough pins.

kind tulip
#

D13 works fine for led output

#

its just an issue with button/switch

#

yeah

river river
#

How does one test the function of a button config?
Its a simple momentary switch as a button config uploaded to the Nano module.
The correct arduino pin D6 is set and the switch has gnd on one side and signal to D6 pin on other side.
The tactile switch is confirmed to be working with multimeter.
Should I see something in the bottom window when I press the switch?
When I select run I get a line towards the bottom - Mobiflight Nano =>Button=>RELEASE=>executing "Button"

#

Then pressing the button there is nothing...

hushed wind
#

With Mobiflight logging on, you should see both press and release events when you press and release the button switch.

river river
#

That is what I assume....but that is not happening

hushed wind
#

What is happening exactly?

quartz walrus
#

How did you wire it up?

hushed wind
#

Is it a two or three terminal button switch?

river river
#

Ground to switch then Wire from switch to D6.
When I connect my multimeter from ground to pin on arduino I get tone when I press the button

#

Its just a simple 2 pole switch....in and out.

hushed wind
#

You mean Mobiflight only reports the release event?

river river
#

The circuit is closing but not translating into mobiflight except for the release function (normally open) when I start run in MF.

#

Yes....and only when I start run....it reads the normally open position and that is all.

hushed wind
#

When you start run? Without pressing I guess?

#

That would be auto Retrigger working

#

What happens when you press and release?

river river
#

Yes....starting run....no pressing of the button

hushed wind
#

That is normal behavior

river river
#

Nothing at all happens when I press and release

hushed wind
#

Nothing on the log?

#

Test your button with the multimeter, do the contacts show continuity when you press?

river river
#

As I said I get tone on my multimeter when I press the button witch the probes in my ground rail and touching the arduino pin D6

#

This should be so simple. Its these little problems that makes me want to send this flight sim to the dump.
Tried a different switch....same thing.

#

What am I not understanding?

quartz walrus
#

If the multimeter triggers, arduino issues seem more likely than switch issues

river river
#

It was a grounding issue....

#

Its always something simple that just gets missed

#

It has to do with the human mind always making assumptions based on prior experiences

kind tulip
#

I think it was always on

#

that would do only the retriggger press and never release

quartz walrus
#

but it did a retrigger release and never pressed

kind tulip
#

is it a four leg switch?

#

see which legs connect when you press

#

often it is 2 -> 2

#

like one direction, and 2 are always connected

#

so its like ]- -[

#

or I guess it worked out already

#

but yeah, this is the joy and horror of this stuff

#

" always something" 😄

#

its just a lot of them when you are new to it all

#

it'll make sense bit by bit

river river
#

I swapped to a four legged switch. The closed position is pretty standard and it works now.

#

The dual encoders are working now also.
Next thing is to get is all connected to Xplane.

kind tulip
#

sweet

#

some datarefs to try:

  • sim/cockpit2/radios/actuators/com1_power
  • sim/cockpit2/radios/actuators/com1_frequency_hz
  • sim/cockpit2/radios/actuators/com2_frequency_hz
  • sim/cockpit2/radios/actuators/com1_standby_frequency_hz
  • sim/cockpit2/radios/actuators/com1_standby_frequency_hz
  • sim/cockpit2/radios/actuators/com2_standby_frequency_hz
#

those exist as presets too

#

so if you paste those into the search box it should find them, or you can also paste them into the [x] Show preset code box

#

the frequencies are in Hz I think so you need to do a Transform modifier of $/1000 for example to get the decimal point (or you can also add a fixed decimal point in the display config)

#

but this is a lot at once, so lets see if you have questions, and we can sort them out

river river
#

Some of that I am familiar with. The transform modifier will come later.
What I have built so far on my breadboard is the Com2 radio with active and standby displays.
Now its time to get the Nav2 radio wired up....now that I sort of know what I am doing.

kind tulip
#

yeah

#

that will be helpful then, its similar stuff but just differerent datarefs

#

now I am tempted to 3d model the case

#

and we could have the pcb so we could have as many radios as we want 😄

river river
#

Can you expand on what you mean about the case and the PCB? I am not sure I follow you.

kind tulip
#

I mean if we 3d model the origianl radio panel we could 3d print a new one, and create new radios without the original panel even

autumn thorn
#

I've been thinking of making and offering "generic" radio panels with proceeds going to MF. I just haven't come to a satisfying conclusion in my internal debate regarding power supply... screw terminals? Barrel jack? Molex MiniFit Jr.? 12V? 7-15V? 5V & 12V?

Also, Comm & Nav or Comm & Nav & ADF?

A lot of these control panels are very similar across various planes, at least in function: active and stdby frequency, dual rotary encoder, TFR button... any model specific inputs (adf tone and mode switch, comm radio selection etc) could be handled by buttons on the bottom?

Seems like everyone is flying different planes, so model specific devices don't make sense to me

kind tulip
#

I did the 737 radio on mf shop, and I have also a new version, plus trying to finally get the GNC255 out

#

its just so many iterations and tests to get satisfactory quality

#

but yeah, MF shop pcbs use JST-XH generally

autumn thorn
#

TFT display in the GNC255?

#

I hadn't even considered JST-XH to be honest...

quartz walrus
#

OLED actually

river river
#

The KX 155 radio I am trying to build is very model specific. In fact it is specific to my pilot friend's 1970 Piper Arrow II. In fact my entire sim is based on his aircraft only because I get to do some IRL piloting in it.
I cant imagine anyone else wanting such an antiquated radio. If I recall, the only other default aircraft in Xplane that has that radio is the King Air. Cant tell you if it even exists in any MSFS A/C since I rarely use that sim.

autumn thorn
# quartz walrus OLED actually

Fancy☺️
How is it interfaced?
I think I'll have to look at the source code for that at some point before proceeding with my cdu idea...

quartz walrus
#

Hardware SPI. Ralf and Tuomas did the work on that, I am just copying their homework for my own generic OLED panel

autumn thorn
autumn thorn
kind tulip
#

this is the Cessna I learned to fly in

#

so if you wonder 😄

quartz walrus
#

Not sure they make graphical OLEDs in CDU size though. Also not sure if the custom device framework is that great for CDU levels of content...

quartz walrus
kind tulip
#

@autumn thorn so I am finally trying to push the gnc255 or well, "MF255" to the mobiflight shop, its just a lot of reifining to get the consistent results with everything

#

yeah this was being serviced

#

when I took the photo back then

#

we had painted the panel matt black

#

and removed the switches since those two were on the plastic directly

#

that is the aerobat, it has the door eject handles

#

sadly this got one too many nosegear collapses and was scrapped 🙁

#

for parts

autumn thorn
kind tulip
#

this thread has turned into "pcb and electronics chat" but I dont mind it, as long as @river river gets the answers needed for the pcb work

#

@river river a lot of people do like the old classic avionics though

#

flying with raw needles in bad weather in the sim is fun, even though one is very happy about glass cockpit situational awareness in real life

#

sadly there are not that many VORs left

river river
#

Especially not ADF stations.

autumn thorn
# kind tulip sadly there are not that many VORs left

Seems like Germany is decommissioning a lot of VORs to make room for windmills...

On the other hand, apparently the EU is working on preserving a network of VORs after the recent spike in GPS interference...
But it does feel like the NAV and ADF panels are being used less and less...

river river
#

six pack avionics flying always seemed like real flying.
My friend and I have flown a few approaches to minimums in his Arrow. It was always fun.

kind tulip
#

our VORs are just DME now

#

so airliners can triangulate distances

#

but not so fun with simming

river river
#

I have heard that GA flying in the EU is not so common now. Is that true?

kind tulip
#

I guess it has never been as common as in the US

autumn thorn
#

It has never been nearly as wide spread as in the US and Canada. Norway and Sweden are an exception, but there it's just more practical rather than recreational.

I remember as a kid in Canada, every Saturday and Sunday the skies would be buzzing with Skyhawks, often on floats, as people would fly to the west coast of Vancouver Island for a weekend away. Here in Germany, people tend to take the train or drive😅 might be due to taxes on fuel.

#

The most popular form of recreational GA in my area is definitely gliders!

quartz walrus
#

Wide open land outside of urban areas and low fuel cost probably contribute a lot to interest in various motorized activities, aviation among that.

autumn thorn
#

That is true! ATVs, Motocross bikes and 4x4s exist here, but they're rarely used to their full potential. I think the dense population is certainly a factor.

#

@kind tulip NOW the conversation has most certainly digressed🤣🤣🤣

kind tulip
#

europe has quite a lot of ultralights though

lofty valley
autumn thorn
#

They're not 4x4s🤣

river river
#

Houston we have a problem...
I got my breadboard all wired up nice and neat and then being really stupid connected the power wires to my external power supply backwards. I smelled my mistake as soon as I hit the PSU switch.
Did I fry all 4 of the max chips I have wired in parallel?
I am assuming I need to get another set of max chips now.
That was such a bonehead move.

#

Fortunately they are not too expensive.

autumn thorn
#

I would suspect so, yes.
Possibly also electrolytic capacitors, as they tend to not cope with reverse polarity very well.

#

Bonehead or not, I take comfort in assuming this has happened to the best of us...

river river
#

Yes...not paying close attention and making ASSumptions.

#

In checking for replacements I can find the CNG+ at Digikey for $17.00 each, however on Amazon there is a set of 5 CNGs for $10.00.
Does it matter? Does the price necessarily indicate better quality?

autumn thorn
#

I would personally buy the cheaper option after my experiences.
Statistically (MY statistics) this goes wrong every so often but the money saved in the meantime more than makes up for the rare losses.
I bought my MAX7219CWG chips on aliexpress (50 pcs for 20some € + shipping) and they've been fine.

autumn thorn
river river
#

Yea...was hoping to finish it today. Should have double checked the wiring.
This sim has been a 4 year going on 5 year project.
Whats another few days.

autumn thorn
#

😄 Don't I know the feeling

quartz walrus
#

I'd reckon that even if genuine chips are better than generics, they are not 10x the price better

river river
#

The cheap amazon chips have been ordered.

river river
#

Another question...
I set up a mini display breadboard to test my max chips.
Using a 4 digit 7 seg display I have it working with the max7219 on an Arduino micro.
However, I am still trying to understand the connection between the MF output config and what is shown on the display.
To display the numerals on the 4 digit display reading 1234 left to right requires the numbers in the output config's " test current settings " window to be typed as 4321.
I set the number of digits to 4 in the config.
How is this config test mode supposed to work?
Is there some thing that needs to be done to reverse the digits in the config, or is it a matter of swapping the connections between the max and the display?

lofty valley
#

@river riverthere is Reverse digits option in Display tab.
Right below the Values where you set amount of digits.

river river
#

I tried that a dozen times but the display would not light at all.
So I decided to check the pinouts again and googled the display model for the pinouts which was identical to the first diagram I found.
I went through all the connections to make sure they were good and then.....I plugged in my Arduino micro and nothing.
Now the arduino does not even register in my device manager let alone MF.
Its very frustrating how fragile this stuff is. One day it works, you move a few things around and then nothing.
Sheesh........

#

Sometimes its the ghost in the machine. A reboot of my desktop brought all my arduinos back online. The display config was gone and had to be recreated.
Back where it was and still the reverse digits (use for custom PCBs only) does not reverse the digits on the display. There is no output at all.

kind tulip
#

so set this:

#

its good to set number of digits to 8

#

that setting is something that does not really make much sense

#

its more confusing than useful

#

just set number of digits to 8 for the display, and then check those "use display" checkboxes for the digits you want to use

#

but first check them all, and set "12345678" as a test value

#

so you see which digit is which

#

if your breadboard has space, you can also wire the other 4 digits

#

so then you see what your digits are

#

even with the current just 4, you will see which digits they are

#

whether they are [----5678]

#

or [1234----]

#

or if they indeed are [8765----] or [----4321]

river river
#

I swapped the pinouts from the display to the max which worked.
I will move them back to the original location and try setting the digits to 8 in the config.

kind tulip
#

the checkboxes mean you can have two configs use the same MAX, this is quite confusing at first for sure. But this is so you can have for example heading and alt in the same max like this:

[HHH--ALT]

river river
#

That level of complexity will come later. For now I only wanted a way to test my Max chips. For that it doesn't really matter which way the digits display but by switching the pinouts like this I get the output to have the same order as the config test input.

The reverse digits check box in the config just does not work with the display and max combo for some reason.

river river
#

Just for grins, now that I have a 4 digit circuit working with a new max chip, I replaced the new max with the first max of my "official" 4 display prototype on which I reversed the polarity and found that the first of 4 chips is working.
There is a display on the 4 digit mini prototype board using a chip that I thought might have been damaged.
I will check the other 3 max chips later.

autumn thorn
#

Happy to hear the IC is still working. Wonder where the smell you described came from, tho.

river river
#

I have no idea what it was. Maybe it was the smoke coming out of my ears when I realized the mistake.

hushed wind
#

I recommend wiring the digits in reverse order with respect to the Max chip number, so reverse digits option is not used.
See here
#1139182169063956523 message

river river
#

I think that is what I did per the image above to get the display to match the test number order.

river river
#

And that reverse order was set up in the 5 digit display pinout I have been using for my radio build.

hushed wind
kind tulip
#

yeah, so on that one you should reverse the digit connections I guess

#

it generally works both ways, just having the checkbox for reverse if needed

river river
#

The reverse digits checkbox hasnt worked for me. Dozens of tries, even uploading config after selecting.
When the test button is selected nothing displays.
Something about my setup does not allow for the reverse digit function to work.

kind tulip
#

hm, and you had 8 digits selected and 8 checkboxes on?

#

then it should display at least numbers, even if in reverse order if you test

river river
#

Yes, after selecting 8 in the number of digits box and then selecting only the 1234 checkboxes, the reverse function worked. And since I have the wiring reversed, the 1234 numbers in the test box came up on the display as 4321. So it seems like I can set this thing up either way.

kind tulip
#

yeah

#

it works either way. the most common way is to have the hardware digits start at zero from the right side

#

hardware-wise both work, its just a matter of a convention, with a reverse option possible too

river river
#

I think I got it now....

kind tulip
#

cool

#

its a bit complicated to set up those at times because each MAX can have each digit as a "display"

#

ie, you can use a digit or digits for something and the other digits for something different

#

hence the checkboxes

river river
#

Now that I am connecting all of the components of my NAV / COM radio on my breadboard circuit to MF, I am getting confused about how to separate and control these four displays.
There are two displays for the COM radio (active and Standby) and two for the NAV radio (active and standby).

1...if all of these are daisy chained and all 4 are running off only (3) digital pins, doesn't that mean I have only one Device under the Nano Module and is a single device connected to those three pins to drive all 4 displays?

2...If there is only one Nano module device for all 4 daisy chained displays, then will I have a separate Output config for each of the 4 displays (Active, Standby, Active, Standby)?

3...How do I control each individual display because right now when I run the test both the COM and NAV active displays light up.

Once that is cleared up I will have additional questions.

#

Ok....I think I am figuring it out.
The Device is set to Num 4...displays.

#

Then the output configs are set to 1, 2, 3, 4 respectively...

#

I usually have to ask the questions which helps me to figure it out on my own.

#

It looks like all the MAX chips are working well. Once the numbering was set properly the readouts are good on each of the 4 displays.

Is there any significance to the Flight Sim Value and Output Value showing as 0, 0 for the first config and blank on the other 3 configs?

kind tulip
#

yes, you have one display device, and there then is a selector of which one in chain you want to display to

#

so "com standby" could be for example "COM2/NAV2 RADIO" -> Num 1

#

and whichever the other frequency in the chain is is Num 2 etc

river river
#

Dont you love it when a plan comes together.?
All the displays are working and connected to Xplane with the proper datarefs. When changing the freqs in xplane I get the readouts on my breadboard displays.

kind tulip
#

amazing!

#

this was and still is such a great thread

river river
#

There are still some encoders and switches to connect to MF but those will be easy.

#

After the switches then its time to send the files for PCB fabrication.

#

Now I see what those columns are for.

hushed wind
#

The columns are a before and after modifiers applied

kind tulip
#

this is an awesome photo btw!

#

yeah like Jaime said, the "flight sim value" is the raw value received from sim -> modifiers -> Display tab -> Output value is sent to display

#

@river river I can imagine the feeling of accomplishment so far, though it is a lot fo work of course

#

but imagingin you can just imagine, design and build a fully 100% custom sim panel yourself is what makes all this so great

#

by the way, the use of those angled pin headers on the prototyping board is genius

#

and in general the breadboard test is amazing, I am blown away how neat it is

#

this was me in 2021

river river
#

I discovered that idea online about soldering two regular male pins into an L- shape to keep the jumpers flat. Took a little time to solder all the pins but it made it easier for me to see what was going on.

#

And I was able to move the group of pins and jumper wires around much more easily

kind tulip
#

yeah, you can also find L-shaped headers I think

#

clever idea

river river
#

Problem with the typical L-shaped pins is that one leg is short and doesn't hold the dupont pins too well nor inserts into the breadboard as far

kind tulip
#

ah true!

daring tapir
river river
#

Its difficult for me to see what is what when the jumpers are sticking straight up. To help keep things easier to understand, I used the same wire colors for each set of max to display connections. It can get confusing with so many wires.

kind tulip
#

yes, this is very nicely done

river river
#

All encoders and switches are connected to Xplane and working perfectly. All components are connected per my schematic and pcbnew in kicad, so I think I can order that PCB board now.

#

All wiring has been triple and quadrupled checked.

#

I have to say that MF has been much easier to work with than Air Manager. It was a struggle in AM for the first few years with all of the scripting that is a challenge to learn.

kind tulip
#

you can also export the pcb from kicad as pdf and print it and cut it and see that everything fits on it

#

and that it fits on the panel

#

I usually 3D print my PCB exporting it as STEP from kicad, but not sure you have a printer

#

just to see if it fits

river river
#

I do have a 3d printer.

#

I am not too worried about the width and height of the board, but want to make sure I get the depth of the board relative to the front of the face plate correct to allow for the protruding encoders and the location of the displays relative to the front lens.

#

I will 3d print that board without the encoders and rotary power switches and with the mounting holes for everything.

kind tulip
#

yeah, you can test fit stuff

#

it might sound silly but at least for me its super helpful to have the stuff in my hands to check everything feels and fits right

#

you could also model and print extra radios now that you have the pcb 🙂

olive storm
#

@river river you and I are doing almost the exact project at the same time, looking forward to seeing your progress

river river
#

So am I...😅
Is your project based on a particular radio?

autumn thorn
#

Having seen your meticulous breadboard work I don't see any reason why the PCB shouldn't work.
I don't believe I've ever gone to anywhere near as much trouble prototyping a circuit. Hats off, that is truely clean work. Very nice looking!
Probably sounds silly, but I've been staring at your breadboard assembly for the last 5 minutes just enjoying the view!

river river
#

Thanks for that. Sometimes I may go too far and take more time than really necessary.

autumn thorn
#

I like the ATX PSU adapter, that looks very fancy. Could you share a link?

autumn thorn
river river
autumn thorn
#

Very nice. I like the fact it has both indicators and fuses on board as well as some USB power connectors.

river river
#

Seemed like a useful device. It has the 12 volt output so I can use the power supply for my landing gear lamps instead of the Meanwell power unit that is dedicated for those.

olive storm
river river
#

Who among you are good with Fusion 360? I have had the software for 5 years but never had a lot of time to learn how to do more than some basic design.
Would these photos be helpful for anyone to give me suggestions on what might be a good approach for getting this faceplate modeled?
It has some complicated faces, slopes, chamfers etc. and I am not sure what might be the best strategy.
Granted, photos might not be the best way to get an adequate understanding of this object.

kind tulip
#

not fusion, but freecad a bit

#

I think they painted their white plastic panels black and then sanded off the faces of the text labels just like @hushed wind and many others have done 3d printed panels too

#

pretty cool

lofty valley
#

@river river do you have calipers?

#

Send me DM

river river
#

I have 3 sets of digital calipers. Measuring is not an issue.
Its the Fusion process and where to start, what with sketches, bodies and components and the best work planes to begin with that make sense with the shapes and protrusions on this faceplate.
I will DM, once I figure out how to do that.

lofty valley
#

answered to DM

autumn thorn
#

I think I would do make a sketch of the from face, leaving out all the white protrusions. Just the front 2D view. Extrude the basic shape and then make another sketch on the front face with all the details.

I'm away for work this week, but if you are still looking for input next weekend I'd be up for a video call if that helps.

river river
#

That would be very helpful if you have the time. I dont want to put you out but any advice would be very helpful.
Thanks.

#

I am thinking that the work plane for the front face should be on the z axis where the faceplate would basically be upright as it would be in a panel.

autumn thorn
river river
#

Thats true

river river
#

Eastern Time Zone

autumn thorn
#

Ok, so a couple hours behind CET... If you still need help on Friday, lmk... we'll work something out😊

river river
#

Sounds good to me. Will let you know. Thanks

river river
#

My PCB has some mounting holes that are going through the ground plane filled areas.
Should there be a keep out zone around those holes to keep the copper from extending right up to the edge of the holes?
There are videos online about keep out zones and keep out layers in Kicad 5.0 but where is that ability in Kicad 9.0?
I can't seem to find that option in any of the 9.0 menus.

kind tulip
#

it depends if your holes have a ground pad

#

I do se grounded holes myself

#

I guess its a matter of preference, I could do either way

#

figured if I ever do metal casings the grounded holes would be useful to ground the case too

#

but most are plastic so it doesnt really matter I think

river river
#

So its okay to let the copper extend right up to the edge of the hole, even if I might have a metal standoff touching the copper?

kind tulip
#

I have nylon standoffs myself

#

so hmm, I guess it depends what else it might touch

river river
#

I can use my nylon standoffs

kind tulip
#

my reasoning was nothing more than "oh these look cool" 😄

#

and I kinda made up that other reason

autumn thorn
#

The copper will not extend all the way to the hole by default. Zones (pours) keep a certain distance from board edges so the inside perimeter of the hole will not be conductive (the distance is determined in the zone properties and in the board settings). If the hole is just a hole, the copper around it will be covered by soldermask and therefore be completely isolated.

If you are using mounting hole footprints with a connection (blank copper and all) they can either be left unconnected or connected to ground. I wouldn't recommend connecting a metal housing to several 0V mounting points, however, as it may turn into an unintended current return path causing noise issues. Metal housings are best connected directly to an earth wire rather than to the 0V rail (aka GND)

river river
#

Thats good info. Learning something new everyday.

#

I asked because I created mounting holes just by drawing circles on the edge cuts layer and refilled the ground zone. The shading of the ground plane copper seems to go right to the edge of the holes. I guess I was expecting to see a blank space between the shading and the circle.

river river
#

I tried the mounting hole option from the library that does not have an annular and redid the zones. After that I moved the mounting hole and saw that the ground zone has a hole in it based on the inner cyan circle.
The components of this mounting hole are a mystery to me. There is a Courtyard layer which I understand, but the light purple circle is on the User. Comments layer and that I don't understand what it's purpose is.

kind tulip
#

press "b" to recalculate the zone if you move components

#

it does not do it automatically to avoid computing all the time

#

oh wait maybe you didnt ask that, sorry let me grab my morning coffee 😄

#

it might be a visual indicator of the commonly used standoff diameter maybe?

autumn thorn
# river river I tried the mounting hole option from the library that does not have an annular ...

That circle on the edgecuts layer should have copper free area around it. 🤔

Open the properties of the pour (highlight the pour by clicking on it, the hit the E key) and edit the clearances. If there isn't an option there concerning copper to board edge clearance see if you can find it in the board setup (second icon from the left in the upper icon bar I believe)

I find it very risky having (potentially exposed) copper go all the way to the board edge and would recommend setting a clearance automatically kept by KiCad

#

From an earlier post of yours...🙈😅 this is what the clearance should ideally automatically look like.

Couldn't find any other pictures on my phone to demonstrate... my PC is a couple hundred miles away

#

Disregard the orange circle, that was relevant back when the screenshot was originally taken

kind tulip
#

I think the defaults have a clearance

#

I just have a big oversized rectangle for my fill

#

like this

autumn thorn
river river
#

It took awhile to find it <Board Setup> <DesignRules> <Constraints> <Copper to Edge Clearance>

autumn thorn
#

0.25mm should be fine.

I guess it might have just not been rendering correctly.

river river
#

It was set at 0. I changed the value from 0 to .25. I can increase that to .3 but beyond that I get a DRC error at another location on my board.

autumn thorn
#

0.25 is plenty

quartz walrus
autumn thorn
#

However, if copper to edge clearance is throwing drc errors at 0.3mm, check that your footprints are far enough away from the edge. I suspect one of your pads/tht might be marginally close to the edge of the board.

#

If there's not enough clearance, I believe the fab might reject your design. It may also be difficult to mount your completed board with components so close to the edge

river river
#

The errors are happening where I have this notch which is very close to the pads for the MCU.
At 3.0mm clearance I dont get the errors. At 3.1mm the errors pop up.
I think I can get by with the 3mm clearance at the holes.

autumn thorn
#

Yeah, you should be ok

#

However, the inner corners in that notch may be rejected. Add a radius to streamline the process. I've never had issues at 1.5mm corner radius so I know that will work, smaller might also be possible... I couldn't find any info on the jlcpcb website

#

Disclaimer: AI replies MUST be taken with a grain or twenty of salt... but this is the closets to a real answer I found

kind tulip
#

yeah or you need to do dog ears if you need exact fit of a corner

#

maybe kicad can do that in gerbers?

river river
#

So if I read that correctly I need to have a min. .65mm radius for the corners in my notch due to the drill bits the fabricators can use.
These fillets came out to be about .89 so good to go?

kind tulip
#

looks like it

#

I mean I think I have done just straight edges and it has worked out

#

but I think in practice it is not a straight corner

#

it will be cut with a milling bit that is round

autumn thorn
#

Yes, .65mm minimum is my understanding.

I didn't realize how small that notch is. I suspect .89mm is the largest you can fit due to constraints in the geometry of your panel?

quartz walrus
#

the design rule there is just "don't expect a perfectly sharp corner, no refunds for puzzle pieces that don't fit together because you failed to take out end mills into account", not "we'll reject it if it is drawn with sharp corners"

autumn thorn
#

I would think you're good to go, tho. Here's me overthinking on how in earth they're going to mill out such small fillets🙈😅

kind tulip
#

so in practice it will result in a cutout like that regardless of whether you draw it like that or not

#

like @quartz walrus said

#

so it will work fine

autumn thorn
kind tulip
#

I think I never looked

#

they sometimes ask if it is critical

#

but maybe not about this stuff

#

but I mean it does not hurt to round them

#

so your design is what you also get in reality

quartz walrus
#

got a reject once where I was trying to route traces through V-cuts with PTH abuse and did not specify it (and also had economy PCBA selected, which does not support V-cuts)

#

rejected board was refunded, my other boards still got made and shipped under the agreed-upon terms

kind tulip
#

oh the snap-off parts?

#

the jlcpcb kicad library has symbols and footprints for jlcpcb "mousebites" for breakaway parts

quartz walrus
#

yeah, I did some mouse bites on a later board

kind tulip
#

talk about methodological approach 😄

quartz walrus
#

The sparkfun guys are the ones who gave me my ideas for creative mouse bite abuse

autumn thorn
#

What do you mean by creative abuse?

river river
#

This is the second time I have seen the term mousebite....gotta look that one up.

river river
#

And I have no idea how they cut PCBs

#

There is a little metal protusion on the bottom of the faceplate. I might be able to grind that off instead of using a PCB notch.

#

In fact...I think I will just do that. Modify the faceplate instead of the PCB.

autumn thorn
#

I wouldn't worry about grinding down the faceplate.

Since you've excluded ground pour around the notch on the PCB, you can use something like a nail file or a key file to clean up the notch without unearthing your copper if necessary

autumn thorn
# river river This is the second time I have seen the term mousebite....gotta look that one up...

Basically, mouse bites are just a row of holes. If placed correctly, they allow you to easily break a PCB in two. They're commonly used for mass ordered small PCBs, where a bunch of them are all attached to each other as a panel. Makes it easier to handle than individual 1"x0.5" boards for example... once the boards are all populated, they're broken apart for individual use... the edges of each individual board then have what look like mouse nibbles...

It appears @quartz walrus has some more interesting use cases as well, though...

quartz walrus
#

don't really want to hijack this thread with it

river river
river river
kind tulip
#

we can start a pcb chatter thread on #1265357893889294429 too

#

#1435377709998936266 message

#

but to me its fine to also chat here on the stuff that relates to the radio design

#

but it might be useful to have a channel like this even when the radio pcb is finished 🙂

river river
#

Since I am not an EU resident, I am planning on using PCBWAY to manufacture this board.
Is it normal that a quote only needs the size of the board, the thickness and accepting all the typical defaults for color, finishes, track spacing and hole sizes without providing a gerber file of the board design?
So no matter the complexity of the board layout it doesn't figure into the price?

quartz walrus
#

No experience with PCBWay, but at JLC, most design features are either options you need to select, or they do not affect the price in sane quantities

#

Just like a copy shop charges per page and not per letter on each page

river river
#

I just selected all the defaults which look fine to me. So a one trace board will be the same as a board with 100 traces.

quartz walrus
#

Traces do not affect manufavturing cost in measurable ways. If anything, areas without copper would, but that is still so marginal that no hobbyist-friendly fab would charge you

#

I think some fabs have fees for ridiculous amounts of vias, but usuqlly that is for manufacture at commercial scales

river river
#

Interesting

autumn thorn
#

The process is the same no matter how many features... except vias, as @quartz walrus pointed out.

quartz walrus
#

Vias and complex outlines dull the drill/mill bits.

autumn thorn
#

I'm not sure about PCBWay, but JLC start charging extra once a certain average number of vias per area is exceeded on a board. It does take A LOT of vias to get there tho. Like 100 holes per square inch including tht holes or something like that, averaged across the entire board.

The extra cost is negligible, though... € 0.47 per 10000/m² holes😅😅😅

kind tulip
#

a few drill bits worth yeah

autumn thorn
river river
#

I was incorrect when I said I was going to use PCBWay. The fab shop I was actually thinking about was OSHPark since they are US based. But their basic 1.6mm boards are $5 per square inch which for my board would be 65 USD for (3) with $0 for USPS basic shipping. The basic quote I received from PCBWay before uploading my gerbers was about 25 USD for (5) but the shipping is almost the same cost as the board. Makes the PCBWay board about 50 USD. So I will think it over.

river river
# autumn thorn How's your CAD design progressing?

I created the typical 2d engineering views of the faceplate and saved it out as a DXF file.
Then I imported that into a Fusion file that I started some weeks ago but didnt get too far. I wanted to get the images into the fusion file and all I could figure out was to extrude the dxf import and place the images on that surface. No doubt not the best way I am sure.

Can you use these to help me get started on how to model what is to me a rather complicated shape?

autumn thorn
river river
#

I did

autumn thorn
river river
#

I work in architecture, but have been drafting for 50 years.

autumn thorn
#

If you upload the DXF file for me, either here or as a direct message I'll take a quick peak and start a project for you so I can explain what I mean 🙂

autumn thorn
#

Please forgive me if I came across as a bit of a dick there.

river river
#

No prob. I will get that DXF and the two referenced images into a .zip file and upload that . It will have to be later today.

river river
kind tulip
#

I think this is one of the cool things in this type of hobbies

#

you get people with vastly different experience so its always new things to learn from others

autumn thorn
autumn thorn
autumn thorn
river river
#

It's DHL express...

#

Or more accurately DHL Express (DDP) but that was even before I gave my address.

autumn thorn
#

right, phew 😄
If you have a week's worth of patience... and budget shipping is available... I can recommend it. My boards have always shown up within 14 calender days of ordering with the cheapest option, usually for around 3-5€ shipping.

autumn thorn
river river
#

THere is the Global Direct for 3.30 USD..

#

I have not yet actually submitted anything and ordered. All of this is just from the basic quoting going to the USA.

kind tulip
#

I am waiting one basic pcb now, got the cheapest option for shipping to finland this time

#

to EU the taxes (VAT) is also depending on the shipping price

#

so the tax is calculated from goods + shipping

#

so it kinda adds up if you use the fast option

autumn thorn
#

I started with a very simple sketch with only the rough dimensions of the face, along with a rectangle depicting the thickness of the outer wall

#

Next I extruded the face to 2 mm thickness

#

I then extruded the wall backward, making sure to select the "JOIN" operation

#

After clicking on the front of the face, I clicked "create sketch". This basically put all the features of the selected surface in the new sketch to work with.
I drew a circle slightly below center of the left encoder opening.

#

That circle was then extruded 1mm deep into the 2mm thick face of the panel

#

4mm radius fillets were added to the upper and lower edge of the extrusion

#

After again selecting the front face, I "create sketch"ed again, drawing out the outlines of the white margins around the displays etc.

#

I chamfered the edges

#

Then extruded the margins around the displays etc, making sure to extrude "Two sides" due to the extrusion and fillets around the left encoder hole

#

Using the sketch I'd created for the extrusion around the left encoder hole, I extruded into the margins.

#

Then added fillets to round things off

#

Another sketch created on the front face has all the letters on it as well as the protruding squares around some of the letters

#

I extruded the squares

#

Then the letters, making sure to select the "JOIN" operation

#

Left click on the body, then appearance allowed me to apply "plastic glossy black" and "acetal resin white" appearances to individual surfaces. This step is not strictly necessary, just some eyecandy

#

This method is likely not the only and probably not the best one out there. Others certainly have other workflows for something like this.

The way I've gone about this ensures I have a single, fully closed body that fusion360 can export as an STL for 3D-printing.
All features are mathematically baked into the design. Because everything is done one thing after the other, and because the later sketches are referenced to the faces they're on, if I go back and change pretty much any dimension in one of the sketches or extrusions the rest that came after SHOULD(!!!!!) follow suit and the whole thing SHOULD(!!!!!) still math out. (Sometimes fusion gets confusioned if the changes are too extreme 😄 )

#

Sorry for spamming 🙈

#

I wonder how many of those comments in the thread are mine 😄

kind tulip
#

I found this the other day

#

on image search

#

looks nice and classic

#

page 27

autumn thorn
river river
#

I have two of those audio panel faces and switches with one connected to MF and Xplane using a raspberry pico and a hand built pcb.

#

The marker beacon original bulbs also work off 5 volts.

river river
autumn thorn
river river
#

No problem with me. I dont mind the tangents. Every detour is a learning opportunity.

kind tulip
#

we should just start creating threads in #1265359709880451134 but things dont always work out how you plan

#

this started from a project related question, and went off the rails a long ago, but hey, it looks like we'll get a pcb in the end

#

so I dont complain

#

its possible for a moderator to forward a comment to another thread, so maybe it works to "branch off" different sidequests into their own threads that way

#

maybe even anyone can forward a message

river river
#

The PCB is ready to be fabricated, so once that is built this thread should be winding down.

quartz walrus
autumn thorn
river river
# autumn thorn If you'd like to, mark me in any questions you have 🙂

What does "mark me" mean as related to Discord?

I downloaded your Fusion model. It looks good. I assume you got all the dims from the .jpg image since I did not upload the DXF.
No need for me to upload the DXF then?

One question....the circular recesses on the left encoder hole are not required and I cannot figure out how to delete them.

kind tulip
#

@river river this is "marking" or "tagging

autumn thorn
#

@river river not sure if "mark" is the right term

autumn thorn
river river
#

I think I figured it out...just went through the history at the bottom and found the sketches / bodies to delete.

autumn thorn
kind tulip
river river
#

Looks just like mine

kind tulip
#

very hands on this design too

#

basic toggle switches etc

autumn thorn
kind tulip
#

this seems to have a recess just around the encoder

autumn thorn
#

If you're going to actually use the design I uploaded (feel free to btw!) I would suggest scrolling the history marker at the bottom to the very beginning and editing the sketch first of all, then walking through the complete history step by step, editing everything... I doubt there's a single dimension that's spot on 😅

kind tulip
#

oohh

#

someone is doing oled retrofits!

autumn thorn
kind tulip
#

oh weirtd

#

stuff like this, someone does retrofit service

#

looks like our sim panel projects 😄

autumn thorn
kind tulip
#

yes

#

the site is weird too, the guy talks about crypto payments only etc

#

just a bit sketchy 😄

autumn thorn
#

Very 2025😅😅😅

kind tulip
#

oh, ebay

#

oh

#

structural pics

autumn thorn
# kind tulip

That explains what the nubbins on the back of the die-cast faceplate are for💡

kind tulip
#

yeah

#

that could be laser cut from orange acrylic

#
YKM's Corner on the Web

A faulty aircraft radio model Bendix King KX-155 recently came to my hands.
As a private pilot of light General Aviation aircraft for about 2 years, I have used this model of radio in almost all the planes I have flown but never really looked at what goes on behind the scenes.
I decided to take this opportunity to do a teardown of the radio to i...

#

this is so interesting to look how these were constructed

autumn thorn
kind tulip
#

this has some internal construction view on the front panel and knobs

#

this is some 7segment retrofit kit

#

those displays are not available as spares anymore

#

and I guess there were so many of these that there was a market

river river
river river
kind tulip
#

you can print the caps

autumn thorn
#

I think I would just 3d print them.
You can make them fit your buttons

river river
#

I have plenty of white PLA.

autumn thorn
#

Recess the arrows a bit, maybe 0.5mm. Paint them in with a sharpie and then sand down the front face of the button to clean up any paint bleed

river river
#

Easy enough...

autumn thorn
#

If you're feeling fancy you could even design them to have the OEM spec travel, I reckon

river river
river river
autumn thorn
#

The hole in the bottom center of the panel is not neede?

river river
autumn thorn
#

gotcha

#

Do you need all the 91.3° angles to be there?

river river
#

It would fit with my compulsive perfectionism, but its not absolutely necessary.

autumn thorn
#

😄 😄 😄

autumn thorn
#

Thought we could branch off the front panel discussion into a new thread
Might be easier to find and follow for other users.

river river
#

Sounds like a plan to branch off.
That fusion work would have taken me at least a week. I do appreciate your efforts on this.
Now how do I get my PCB board step file and the faceplate into the same file?
I couldn't find an import step file option for the Kicad export file. All I could do is open up the exported file in Fusion.
But now I have two different files. I think I need the PCB step file to be a component.
And then one or the other needs to be rotated.

#

I think I can find a youtube video on that

#

I think I know now....but it's too late for my brain to sort it all out. It will have to wait until tomorrow.
Thanks a lot for the faceplate. Now I can test it with my PCB layout.

autumn thorn
river river
#

It has taken a while to find time to send out the PCB to a fabricator but now is the moment of truth.
The PCB has been uploaded to OSHPark for fabrication and hopefully the boards will be delivered in maybe 10 days.

autumn thorn
#

Fingers crossed 🤞

Hadn't heard of OSHPark before. Keen to hear about your experience with a non-chinese fab.

river river
#

It's more expensive but includes the shipping. I feel more comfortable with a US based company.

autumn thorn
#

I understand that. I've been scoping out German fabricators recently, but haven't tried any of them yet (haven't ordered any PCBs recently). At first glance they are significantly more expensive and the list of options seems to be shorter, too... I have yet to compare capabilities like minimum copper width and clearances.

At first glance they look significantly pricier, even after adjusted price of shipping and customs. I definitely want to compare finished products, tho!

quartz walrus
#

Do they actually fab on-shore, or do they just collect, panelize and sort orders domestically?

autumn thorn
#

The ones I've looked at advertised Made in Germany

I haven't looked further into how much of the "making" is actually done here, tho.

quartz walrus
#

Was thinking of OSHPark for the Americans.

#

I feel like Aisler is the most popular choice for fabbing with a German company these days, and their price range is rather different from JLC

kind tulip
#

oshpark was popular before chinese manufacturers, and they can also host your design for others to fabricate if you want

#

they are in the US so it wasnt a good choice for me shipping wise so havent tried but I know a lot of open hardware projects have used it

quartz walrus
#

They definitely predate jlc and pcbway

kind tulip
#

yeah, they exist to provide economical pcbs for open source projects, their idea was to pool up designs to fill up pcb material sheets from several projects to avoid waste and reduce cost

#

so they take a bit longer to make the boards, depending on demand but of course jlcpcb is an alternative nowadays but the geopolitics can flip things around

quartz walrus
#

Ah, just saw a statement that they have run on domestic fabs since the dorkbotpdx days

autumn thorn
#

From what I could tell, OSHPARK offer 2 layer boards only?

river river
#

The basic 2 layer is 5.00 USD per sq. In.
They have 4 layer @ 10.00 per sq. In and
6 layer @ 15.00 per sq. In.

autumn thorn
#

Good lord, that'll add up quick!!!😬 Is that for a single board or like a run of five?

river river
#

3 copies only....welcome to USA capitalism.

kind tulip
#

I dont think oshpark is exactly the most capitalistic thing

#

"You can order as many copies as you want, as long as they’re in multiples of three."

#

maybe it just is a nice number in practice to lay out the big sheets of pcb raw material with designs

autumn thorn
#

I would assume they drill 3 large panels simultaneously, with one large gantry moving the three drills synchronously. JLCPCB do 5 at once, hence the multiples of 5 there...

kind tulip
#

yeah

#

would make sense

river river
#

The 2 layer boards are reasonable.

autumn thorn
#

https://youtu.be/LRiNIUZUAa0?si=Y9F5nXiowbntRk2j

An interesting insight into how this stuff is made with economies of scale in mind

#printedcircuitboard #pcbfactory #pcbmanufacturer

Established in 2004, Ucreate is a highly professional and experienced PCB and PCB Assembly Manufacturer. As an integrated collaborative factory, its business ranges from PCB Fabrication, PCB Assembly, Electronic Components Sourcing and other areas to meet various requirements among the market.

...

▶ Play video
kind tulip
#

I have done 2 layer so far

#

but plan to do 4 in the future

autumn thorn
kind tulip
#

so GND and VCC in middle layers and traces on top and bottom?

river river
#

What types of PCB components would require 4 layers?
High voltage caps, transformers, high speed transistors....

#

Or boards with a lot of stuff

quartz walrus
#

I mostly go 2 layers because they suffice for most purposes and having all layers on the surface helps with rework

#

Also, I rarely find myself in situations where I run out of routing space, unless I drastically try to optimize RF performance

#

And on 2 layers, you don't pay extra for blue/black/white, and pay less extra for oversize

river river
#

A circa 1960s multi layered PCB in a KR 85 ADF receiver.

lofty valley
#

I wonder hwat are those red/blue/black square metal cubes

river river
#

No clue yet.

kind tulip
#

adjustable inductors and transformers according to google

#

searched for "TOKO RCL"

#

btw I just realized that now with the multimaterial printers

#

one could create those mechanical frequency dials

hybrid sedge
# kind tulip I have done 2 layer so far

I did a 4 layer for the overhead panel, it was the only way I could obtain an evenly distribution of the 9V needed for backlighting and an evenly distributed GND layer. I spent A LOT though... about 100 euro per 5 panels (but it was big). Talking about jlc here.

autumn thorn
#

I generally use 4 layer boards with signals on the outer layer and power/gnd on the inner layers. Bottom layer has most smd components while things like buttons, encoders, LEDs (7seg and indication) are on the top side. Any "high speed" (ekhhhm) signals like SPI (to MAX7219 for example) are routed on bottom layer while pwm is on top. Inner layer 1 (top inner) is used for power supply traces with throughly stitched ground pour while inner layer 2 (bottom inner) is a solid, uninterrupted ground plane for best possible signal integrity.

This stack-up is super useful when working with multiple voltages (5Vload for MAX7219 and shift register outputs, 5Vlogic for level shifters, 3.3Vlogic for uC and multiplexers, 3.3VAvdd for uC and potentiometers) needed at different locations on the board. The continuous ground plane on L3 enables unobstructed current return on signal traces and ideal decoupling of finicky ICs. I have yet to encounter noise issues from switch mode power supplies intense enough to disturb the function of my circuits.

Having two layers for signals and two just for power distributing and ground really helps with layout, as I tend to end up with fairly dense layouts mainly due to future-proofing. I might want to write custom code for these uCs one day, and with hardware debouncing it would be easier... I might want to switch to a different power supply setup one day, and with 12V -> 5V and 5V -> 3.3V buck regulators I can without needing a new PCB. Electricity might become super expensive one day, so SMPSs are more desirable than LDO linear regulators.

Granted, I might be overengineering (some of?😅) my PCBs given the nature of the kind of PCBs we need for a sim cockpit. I feel more comfortable that way though.

I'm more than happy to admit that half of the components in my PCBs are overkill or will never be used and that the resulting complexity is an unnecessary use of resources.

#

However I'm also adamant that diving down this rabbit hole has taught me a lot about the electronics world to which I previously had very little connection.

I could probably save a lot of time, money, PCB layers and gray matter if I opted to use uC dev-boards jammed in pin sockets rather than laying out my own microcontroller circuits.

#

I'm not advocating for everyone to follow my lead, tho! I think I started down the 4layer path out of interest mainly rather than using 4 layers to solve an issue I couldn't solve on 2 layer boards.

#

Actually, I was perfectly happy with 2 layers + an arduino until @kind tulip introduced me to the wonderful world of RP2040 uCs and then it all spiraled out of control😅😅😅

Thank you, Tuomas ❤️😅

kind tulip
#

I mean why would we live, if it wasnt to learn new things anyway

#

you have also shared a lot of awesome infromation, this is one of those threads that is also cool, that it seems to have resulted in the radio panel pcb also in the end ! 🙂

#

but the branching into rabbit holes has been great for a chance

autumn thorn
#

I'm really looking forward to seeing @river river 's finished panel😊

kind tulip
#

yes

autumn thorn
kind tulip
#

I have always had the philosophy to have one rp2040 per panel, so each panel is self contained

#

so I was able to rearrange them when my setup changed and I first had a pedestal and then also a desktop frame

quartz walrus
#

Feel like that depends on your definition of "panel". Like, shift registers only get you so far for massive units like a full-scale overhead. But they are divided into smaller units, some of which are the perfect size for a small controller, some even so small that dedicating a controller to them feels like a waste.

kind tulip
#

yeah, I do feel bad to put a RP2040 into a panel and only use 6 pins

#

but its 0.7€, but that is probably a neurodivergent thing to "emphatise" the poor MCU wasting its potential 😄

hybrid sedge
kind tulip
#

when it could do so much more 😄

hybrid sedge
#

that's one huge pcb inside

kind tulip
#

but the basic button + led stuff is way most tested, and usb is also pretty robust. Even though all devices should work, I do not feel adventurous enough to create a huge panel from a single nano and a ton of shift registers. I mean, sure it probably works fine, but for me a 20 port usb hub has done the job well

hybrid sedge
#

But in the next project i will follow @kind tulip way and have separated pcb. I don't know yet if they will share a single mega2560 or separate rps with a usb hub

#

but certainly they will have independent pcbs

quartz walrus
kind tulip
#

yeah

#

oh wait how many gpio does it have? because its mostly pro micro that I have used ever

#

as far as the 'u4 is concerned

quartz walrus
#

Pro micro has 17. Leonardo / full micro have 20. U4 has 26.

#

One of them is the boot mode selector though

kind tulip
#

so its like if a rp2040 was trapped in a nano suit

river river
#

My radio build compared to what some of you are building is like comparing a bicycle with training wheels to a Ducati.

autumn thorn
#

@river river this was your first pcb!!! 🤣🤣🤣

Only a lunatic would start (and most likely immediately end) their riding career on a Ducati!!!!

I'm sure that you've already got ideas what all you might do differently on the next panel's PCB so you're done with the bicycle, next project will be a Honda Super-Cub...☺️

quartz walrus
hybrid sedge
autumn thorn
kind tulip
#

had to look it up

#

hah, this is quite similar to the very iconic Finnish "old man" light motorcycle from the brand Tunturi

river river
#

It looks like that panel of Stefano_F78 is 3D printed. What printer was used?
I have a new Bambu Lab P2S that will hopefully give me some good 2 color prints.

kind tulip
#

that should indeed

#

Matt PLA is nice for finish too

hybrid sedge
river river
#

I have the default 0.4 and have been considering if I should get the smaller nozzle.
I will check out the showcase to see if there are some ideas for attaching my panels pieces.

hybrid sedge
#

Keep in mind that I used a very strong light now, I will be using 0805 leds in the 592nm range to get the backlighting effect

river river
#

Is this what I need for the 0.2 mm swap?

hybrid sedge
river river
#

I agree...stick with OEM products.

river river
#

Found it.....

kind tulip
hybrid sedge
#

I guess i have to get back to the drawing board (freecad) because there is too much bleeding here. Backlighting color is spot on though (those leds cost an arm and a leg on digikey!)

river river
#

How do you create the backlit lettering?

hybrid sedge
river river
#

Are you saying those are all 3D printed layers printed with your P1S? Grey, white and clear filaments?

hybrid sedge
#

yessir! 🙂

river river
#

I am just starting the journey down the multicolor printing rabbit hole within Bambu Studio.
So far it's been a head exploder.

hybrid sedge
river river
#

Thanks for the resources....there is much to learn.

river river
#

All of that is very helpful information.

olive storm
hybrid sedge
olive storm
#

no doubt

kind tulip
#

multicolor / multimaterial printing is quite a game changer in what can be done from a design

river river
# hybrid sedge Have a look at <@241940850588909568> 's work here: https://discord.com/channels/...

In the method that you and @round gale used, I can see how modeling the separate layers can help with color assignments of each layer. I assume that it's relatively easy to align each .stl file afterward.
But I see that Bambu Studio has the ability to paint using height range. It seems that the entire model could be brought into BS and then each layer color could be defined with it's own height range.
It's just supposition on my part for now until I can get more into the process.

autumn thorn
# hybrid sedge I guess i have to get back to the drawing board (freecad) because there is too m...

Do you print a layer of black on the gray face layers before printing transparent? I'm thinking light barriers might be possible with black between individual backlit features?

Bottom two layer: gray and white.
Next two layers: black on gray, transparent on white features.

After that all transparent except for black "walls" between individually backlit features (around the TFR button for example and the inner circumference of the toggle switch hole). Possible lining the walls of any openings for buttons with black will reduce bleed around the buttons?

#

The colors look incredible, though!

hybrid sedge
hybrid sedge
hybrid sedge
#

Another 8 hours to go (this solution is taking almost 18 hours to print, and this is about halfway through). I surrounded the flat top leds with a black circle that should drastically reduce light bleeding inside while keeping lettering and lines well backlit. Let's hope it's good, next week I'll also have the Biqu glacier plate and I will print it again for matte finish on the face.

round gale
#

take a look to the Discor of The Cockpit Printer, i have shared some of my A320 Panels for fully print there.

#

Fully printed

lofty valley
#

@round gale it would be great if you shared those in MF repo so it doesn't feel lonely 😉
Our wish is to build one place to go for great designs

river river
#

I am glad that a Piper Arrow panel for mounting the navigation instruments is so much simpler and without any backlighting.

hybrid sedge
round gale
round gale
lofty valley
#

@kind tulip might be more helpful here. I fial to understand how github works

hybrid sedge
autumn thorn
river river
#

There are a few things getting in the way of doing that....space, money, time. Other than that, I would.
Pretty much all that is missing now is the instrument six pack. For those instruments that require settings via knobs, I have added encoders for the two VORS, altitude, and HSI. The goal is to make it so that I do not need the use of a mouse or keyboard to do anything in the sim.

autumn thorn
#

I hear you! A full cockpit build does occupy a lot of... well, life. 😅

Makes sense. I always felt using a mouse and keyboard really slowed things down. I don't know the Piper arrow at all, but in the 738 there are a lot of things to do and doing it all by mouse, changing views etc really made a 15 minute cold and dark start start take more like 30 minutes...😕

river river
#

The first image is the Arrow in which I received my complex endorsement. At that time they had the standard 6 pack gauges.
The second image is the Arrow which I get to fly right seat from time to time.
Everything within the red line is what I have built including the brake handle, the flap lever, the trim wheel between the seats and the fuel selector.
Also the rudder pedals from Slaw.
The flight instruments are just displayed on my computer screen.
I can't take a pic of the sim because it is tucked out of the way for now.

kind tulip
#

@river river have you seen the Mobiflight (share) Arrow that @supple wigeon flies? These are nice airplanes

river river
#

No, I havent seen it.

kind tulip
river river
#

Very nice with the 3 blade prop.
The one in the pic I posted is a 1970s model that came with the 3 blade, but it was changed to a 2 blade recently which added a couple knots to the cruise speed.

lofty valley
kind tulip
#

@lofty valley may I share a nice picture of you in said arrow?

#

or wait, was it in that

#

yeah

kind tulip
#

Karl and Sebastian are some random youtubers anyway, so they shouldnt mind 😅

supple wigeon
#

oh wow... back in the days.

#

when we were still young

hybrid sedge
#

Sometimes the proper solution is just a low tech one. Some tape around the Sel "hole"' and some thermoplastic plus a small pla disc on the bottom of the led did the trick. No bleeding at all. I'm currently printing thw fifth and I hope last iteration of the panel to test it the complete assembly but I've already tested the light and now they are absolutely spot on.

kind tulip
#

yeah if you can print multicolor, just have the inside walls where you dont want light bleed to be 1 or 2 perimeters of black

#

or if just single color printing, make drop in single wall pieces

hybrid sedge
kind tulip
#

oh yeah

river river
hybrid sedge
autumn thorn
#

That's a brilliant idea, @hybrid sedge . Heatshrink... some things would be so easy if you just thought of them 😄

hybrid sedge
# autumn thorn That's a brilliant idea, <@225527009382498304> . Heatshrink... some things would...

Thanks. The idea came by looking at the original RMP module from this post here: https://discord.com/channels/608690978081210392/1255588990778740746 , in particular if you look at the picture here #1255588990778740746 message you will notice that black ring below the led's end. That led me google and bit to find the led spacers and When I thought of a way to keep them close to the end of the led, I thought of the heat shrinking tubes

autumn thorn
#

So the heat shrink is just meant to hold the black disk? Would bending the leads in an S -shape take care of this? I imagine all the heat shrinking on small parts like this would have your fingers start smelling like crispy bacon 🔥🤣

hybrid sedge
hybrid sedge
#

yeah, light bleeding has ben definitely sorted out. 592nm wavelength color is perfect.

autumn thorn
#

That looks fantastic!
Have you ever tried dark tinted film on the 7 seg displays? I find it to be a nice finishing touch

hybrid sedge
river river
#

11 days after ordering them, the PCBs have arrived.
Lets hope they work.

lofty valley
#

Ii isn't in MF blue color - NOT APPROVED! 😉

river river
#

You get what you pay for...

lofty valley
#

isn't it the same price for both colors? Asking as I didn't pay attention.

river river
#

It may have been...I just accepted the default. Never really gave it much thought

lofty valley
#

Just to be clear - I was joking about being approved 😄

river river
#

I know that....tongue in cheek.

lofty valley
#

can't wait to see it assembled

river river
#

Not as much as me....😅

kind tulip
#

this was oshpark?

#

the purple is kinda their thing

#

they also existed before jlcpcb

kind tulip
#

but hey, this is awesome! can't wait to hear if it works

river river
#

Yes they were from OSHPark.
I need to run continuity tests on one of them tomorrow.

hybrid sedge
#

they look amazing. Happy soldering! 😁

river river
#

Crossing the fingers that they perform as they should.

hybrid sedge
river river
#

That would be an unfortunate setback and a real patience tester.

hybrid sedge
river river
#

Got your signals crossed no doubt.

river river
#

The soldering challenge I will have are the (2) SMD buttons. This type of soldering will be a first for me....any advice on how to go about doing this?
Perhaps tin one of the pads then solder down the corresponding button lug while moving the button with tweezers? Then solder the rest of the lugs?

#

Is there any best temperature to set the iron for this type of work?

hybrid sedge
river river
#

The solder I have is Pb40 noted on the spool.

hybrid sedge
river river
#

I have my fan for that.
My Hakko solder station has a number of tip sizes.
Is it best to use a small tip?

hybrid sedge
#

For smd, usually a small flat top one is good, grab a size that is about the same size of the pad. Not too small or you'll have and hard time heating the pins, not too big or you'll be risking bridging

#

I usually use a 1.5 or 1.8 mm tip (being that the width)

river river
#

I think I have one about that size.

autumn thorn
#

Remember to use generous amounts of flux when soldering SMD. Better heat transfer, better flow and any small beads of solder get suspended in the flux. Isopropyl alcohol can then be used to clean off the flux and any beads suspended therein. An old toothbrush can be used to agitate...

kind tulip
#

yeah tiny bit of tin on one pin and like mentioned, hold switch on while gently applying pressure, heat up the pad so it melts and "sinks in"

#

the rest you can heat on one side and tap a bit of solder on the other side so it flows in

#

(mute it, be warned :D)

#

unless you enjoy elevator music

river river
#

Makes it look easy but that comes from experience.

kind tulip
#

practice with one board or some protoboard

#

or some scrap electronics

hybrid sedge
river river
#

I found a practice kit on Amazon that will be helpful. Thanks for the advice on the kit.

river river
#

This practice kit has 0805 caps, 0603 resistors, 3216 diodes and some other SOT and SO components.
I tried a couple of the 0805 caps while losing 4 of them before I even started.
Its difficult to even see them with my eyesight and the less than ideal soldering station with a pretty much worthless magnifying glass.
So what options are there to be able to magnify these minuscule components?
I think I need some sort of jewelers headset with high power magnifying glasses and integral LED lighting.
Any suggestions on a setup that can allow me to see what I am working on.

hybrid sedge
#

do not look at the mess on the desk please 😅

river river
#

I wish I was almost 50....23 years ago I was saying that.
I think I need a digital microscope.

hybrid sedge
# river river I wish I was almost 50....23 years ago I was saying that. I think I need a digit...

This hobby doesn't have an age limit, I sincerely hope I'll be still playing with these toys 23 years from now. The digital microscope is very handy but it's not very practical to do the actual soldering. I think it would be better a magnifing visor like this one (just an example, i don't actually own the product so I can't speak about it): https://www.amazon.it/dp/B07WFLNVPH/?coliid=I1WLZQXKFLWF6G&colid=3I0PZK1LSUZTR&ref_=list_c_wl_lv_ov_lig_dp_it&th=1
I find myself at ease enough with the magnifying lens in combination with my normal reading glasses, but here everyone's mileage may vary a lot.

river river
#

It might be best to find a better magnifying lens setup.
The one I have is not adequate.

hybrid sedge
quartz walrus
#

and good tweezers. Even as a relatively young mid-30s person, heck, even in my 20s at uni, I found that being able to grab a part precisely and not having it jump off is far more important than how fancy your soldering iron is.

hybrid sedge
river river
#

All types of Tweezers are plentiful here. But once the component jumps off its gone for good.

autumn thorn
river river
#

Something to look into

autumn thorn
#

Images taken from 10" and 2" distance respectively, with a piece of 1mm thick solder shown for reference

#

these are a little fancier than the one I got a few years back...
A google search for "usb microscope" should spit out something useful

kind tulip
#

anything smaller is kinda yeah maybe doable with tools etc but then I just let jlcpcb do smd for me if I need that (like there is no way I would do a RP2040 panel with hand soldering

#

and the button should be easy peasy once you practice with a few 1206 resistors

#

3216 I think is 1206

#

1206 is imperial size

hybrid sedge
# kind tulip its pretty easy to solder 1206 size

with the right magnifying lens and tools you can go down to 0805. Any smaller than that and it's almost impossible to do manually. And I agree, if I had to solder a Rp2040 I would use JLC service. There is no way one can manually solder that chip, considering it has the pins hidden below the chip itself and it requires 0402 caps very very very close to the chip. As long as I'll continue to use the mega250 i can do it manually with relative ease built on practice.

river river
#

The SMD switches I have for my build have larger lugs than anything that came with this kit.
Most of the components are caps and resistors.
So not really applicable to the switches I need to solder.
However, it will be a fun exercise to try my hand at learning to solder those things once I can see them.

quartz walrus
#

I usually use 0805 for hand soldering and would always defer to machine assembly for 0402 and below

river river
#

I did two 0805 caps with a less than optimal magnifying lens...not very attractive. The tip didnt seem too large for them but I want to try something smaller.

kind tulip
#

I think the button will be fine, tin one pad, hold switch in place and press with iron tip so it sinks in (you can see and feel it drop in place)

#

then its easy to just heat and dab solder on the remaining pads

#

only one leg at first to get it aligned properlyu

#

because then it is easy to heat and adjust if needed

quartz walrus
#

I usually solder multi-legged parts in a cross pattern

#

Solder one corner, then the opposie corner, then the other corners, then down the sides

hybrid sedge
autumn thorn
quartz walrus
#

Feel I might need a hot air station some day. Paint stripping guns just have too much airflow and no temperature adjustment, they just burn your parts

autumn thorn
autumn thorn
river river
#

A few years ago I bought a hotair station and have used it once. Its time to pull it out and use it with the practice kit. I will need to make sure that I have some solder paste still.

hybrid sedge
autumn thorn
#

I generally use pb-solder wire to tin my pads with lots of extra flux and a soldering iron, then place my components (relying on the sticky flux to hold them in place). I then use the hot air to reflow everything with small circular movements...

hybrid sedge
quartz walrus
hybrid sedge
autumn thorn
# quartz walrus Find it harder and harder to get snpb

Yeah, I've got a few spools sitting in shelves... if I need new spools I'll probably look on AliExpress (Amazon also have several offers, but I've come to dislike their pricing policy... )
Reputable electronics suppliers in the EU hardly sell SnPb solder now. I haven't seen anything on reichelt.de or conrad.de in recent years...
Alternatively, the low temperature lead free solder (SnBi or SnBiAg) works fairly well... I'm just unsure about the mechanical strength, so I avoid it when soldering surface mount components that'll be exposed to repeated mechanical stress (buttons, connectors etc. )

#

Eheemmm... right, just looked on Ali out of curiosity... apparently the Chinese are boarding the RoHS train...😅

I want expecting to find so very few SnPb products!

#

All SnAg or SnCu!
A 500g spool of 63/37 is offered at 33€ 😅
Apparently Amazon isn't the most expensive place to buy SnPb anymore😅😅😅

river river
#

Is the Sn/Ag/Cu solder being used more extensively in the EU due to the regulations against lead based solder imposed more than 20 years ago?

hybrid sedge
river river
#

Seems like RoHS compliant soldering is a bit trickier to do from what I was reading....higher temps required and lower flow.

autumn thorn
#

Yeah, there are some issues with it.
For one, using lead-free solder should be planned for before ordering PCBs. Leaded HASL finish on pads apparently doesn't play nice with lead-free solder. If you're ordering ENIG (gold plate) it's less of an issue.
Lead-free solder in my own experience doesn't flow nearly as nice. The hotplate helps, but it is a pain in the bits and requires very thorough inspection, especially under quad flat no-lead (QFN) packaged chips like the RP2040 or Atmega 328P-MUR found on some Arduino clones.

Loads of flux certainly helps, but doesn't entirely mitigate RoHs compliant solders' shortcomings.

quartz walrus
#

I mean, I usually outsource QFNs and such

#

Have not had issues with lead-free solder wire on leaded HASL pads myself yet, but I am sort of in the "apply generously and remove later" camp when it comes to solder joints

supple wigeon
#

i only use lead-free solder for the last ten years and i hadnt had any issues whatsoever

kind tulip
autumn thorn
autumn thorn
kind tulip
#

yeah but they won't ship to eu

autumn thorn
#

🤷‍♂️ shipping address is my home in Germany

#

Since lead based solder seems to be relatively unobtainable these days I reckon I'll get some experience with lead-free on my next projects

autumn thorn
# kind tulip yeah but they won't ship to eu

Just did some reading... I was wrong!
I was unaware that selling lead based solder to private individuals is banned in the EU. Thank you for making me aware... I'll be looking at the alternatives from now on, regardless of availability on the internet.

shy wedge
#

That is just crazy. How can you ban an individual from buying it. I have some lead free solder and I had a heck of a time using it.

quartz walrus
#

I mean, it is (technically) poison, and most poisons are only sold to people who can demonstrate a practical need and the ability to handle it safely. Which is usually professionals in their line of work.

kind tulip
#

well you ban leaded gasoline from cars because lead is nasty stuff

#

you also ban selling dynamite to individuals without permit, or guns (in europe)

#

lead free works but you want 420 degrees C

#

it will just make a mess <400C

#

even though it melts, it just wont flow properly unless you heat it well

#

then it is fine. It is more brittle over time, but for non vibration stuff it is fine. It is just annoyingly harder to solder, leaded is so easy

quartz walrus
#

May be inconvenient, so much fun stuff is too toxic to be sold to the public. But also, when you see how some people use that stuff, something needs to be done, and it is both easier and less invasive to police distribution than actual use.

#

And as for whether we agree with it... ultimately matters very little considering what influence a few individuals have.

kind tulip
#

this is mine

#

but there are lots of others, not really the only right one

#

its more or less the same - Sn 96'ish% and 3% silver (Ag)

#

but 420C or more

autumn thorn
#

Thank you for the links, @kind tulip
My next question was going to be regarding solders that you guys have had good experiences with.

shy wedge
#

Have you tried Aliexpress ? Just curious if it would work from there.

kind tulip
#

I wouldn't risk, solder is stuff you buy a roll and use years

#

don't cheap on it. and any leaded likely is 10x easier to work with, but with lead free those I have had success with

#

and flux if things turn out difficult

autumn thorn
shy wedge
#

No I meant the 60/40

autumn thorn
shy wedge
#

Oh my god.

kind tulip
#

whaa

#

it was 31€

autumn thorn
#

@kind tulip what's "Germany" in Finnish? 😄

kind tulip
#

it's an old listing it seems

#

Saksa

#

the underlined

autumn thorn
autumn thorn