I came back from a tech event once with a build a robot kit, except I'm a very light packer and the box was huge so I had to take everything out and fit it into a backpack along with everything else I had.
I had a compartment that had an assortment of circuit boards, screws, wires, plastic pieces, etc..
No one even batted an eye and the bag went straight through the carry on x-ray machine. This was in San Jose, California while preparing for a cross country flight. I was surprised too.
https://www.chicagotribune.com/nation-world/ct-fentanyl-bust...
Also, plants or foods are sometimes forbidden because of potential to carry vermin, plant diseases, etc.
https://www.cbp.gov/travel/us-citizens/know-before-you-go/pr...
They asked what it is, laughed at the response, and went "eh, as long as there are no wires dangling off it, we don't care." He stuffed it in a bag and had no further issues.
Why the wires would've made a difference is beyond me...
At Stansted, the kid carrying it got the third degree, eveything put though the explosives sniffer, and so forth. The security person afterwards told him it ticked all the boxes except one for a bomb. Would love to know what that one was! They did eventually allow it on the plane though, and got really good data from the flight.
On the return flight, security at Cologne didn't look twice - just went straight through the x-ray machine, didn't even get pulled aside. Must have been asleep on the job.
I brought the mechanical assembly -no electronics, just the aluminium structure- of our satellite to CalPoly for a CUBEsat workshop; on the way back to Europe I found out the hard way that anything which goes into space is considered munitions as far as the US DoD is concerned.
Took a while longer than expected to get on my flight...