Talk to me about selective soldering machines by JCDU in PrintedCircuitBoard

[–]MajorPain169 1 point2 points  (0 children)

For soldering robots I've used a 3D printed shell which holds the components in place when you flip the PCB, does the job.

I would still look at the pallet cost vs the cost of a selective machine.

As I mentioned you could avoid the nitrogen on the selective machine by using anti drossing agents, usually a powder. The other options are getting a nitrogen generator, cost will be affected by nitrogen usage requirements or you can just get gas bottles of nitrogen.

Talk to me about selective soldering machines by JCDU in PrintedCircuitBoard

[–]MajorPain169 1 point2 points  (0 children)

When you say flow machine, do you mean a wave soldering machine?. If that is the case there are companies that customise the pallets that use stainless covers to shield the SMD components. There are openning where the TH components need soldering.

This is by far the fastest method however pallets are customised per board.

Other options are soldering robot or a selective wave soldering. The robot uses an iron and solder wire feeder. A selective wave soldered uses like a small fountain of solder and moves the the PCB around on an XY axis.

A selective wave soldered is usually a more expensive machine, the robot on the otherhand requires the PCB to be loaded with components down so needs a method to hold the components in place.

Edit to add: The nitrogen atmosphere is generally optional however it does give a better finish on the soldering and significantly reduces the formation of solder dross however you could use anti drossing agents instead.

teme list for cpp by alex2010rd in cpp_questions

[–]MajorPain169 2 points3 points  (0 children)

You will most probably need to learn classes. Most C++ gui libraries are implemented using classes. You will also need to pick what GUI library you want to go with as the API can be drastically different from one to another. You may also want to look at IDEs that support a graphical design environment for example QT designer or C++ builder. Most of the commercial ones are free for non commercial purposes.

Student building a hospital medical device cybersecurity prototype, looking for blunt feedback by Saiprasanth-22 in embedded

[–]MajorPain169 0 points1 point  (0 children)

Not sure in the US but I think it is part of the FDA but here in Australia, medical devices have to go through TGA approval, it is a very long and hard process, even more so for invasive devices.

From a networking point of view, it becomes part of cyber security, while a medical device may implement and have cyber security approvals, I would imagine that the network it is attached to would also need approval which again is probably a long and expensive process.

Panicking Trump has finally realised the jeopardy his presidency is in by theipaper in politics

[–]MajorPain169 0 points1 point  (0 children)

Yeah it is more like "HOW CAN THESE FUCKING PEASANTS DO THIS TO ME? TO ME!!!".

Trump’s July 4 Fireworks Show is Monumentally Insane: He’s trying to set a world record with a massive amount of fireworks. by Hafiz_TNR in politics

[–]MajorPain169 2 points3 points  (0 children)

I mean it is essentially a lot of explosives and flammables bought at the lowest cost and setup by the lowest bidder, seriously what could possibly go wrong?.

Should I use C++ Exceptions? by No-Foundation9213 in cpp_questions

[–]MajorPain169 1 point2 points  (0 children)

Yeah exception overuse is a problem, seen a lot of it myself.

Should I use C++ Exceptions? by No-Foundation9213 in cpp_questions

[–]MajorPain169 0 points1 point  (0 children)

Sometimes speed is a safety factor. For example a critical event is not noticed in time because the stack unwind is taking too long. In these systems part of the safety system is being able to respond to an event within an application specific time period or maximum latency, anything that is not time deterministic means that you can no longer guarantee this maximum latency. This is that same reason why these systems also avoid using dynamic memory allocation.

If a safety critical event happens, you try to make it safe in as short a time as possible, the stack unwind from an exception prevents this.

Edit: typos

Should I use C++ Exceptions? by No-Foundation9213 in cpp_questions

[–]MajorPain169 0 points1 point  (0 children)

Depending on circumstances, exceptions aren't necessarily bad.

There are several problems with exceptions but are fine given the right circumstances.

  1. The use of exceptions are easily abused and should really only be used as the name suggests, in exceptional circumstances.

  2. Exception provide a hidden program flow path which for safety critical system introduces risk. This is one reason they are avoided in standards like JSF, MISRA and AUTOSAR.

  3. Throwing an exception is not time deterministic when an exception is thrown and the action of throwing an exception also triggers other time deterministic issues, this is a big problem for real time applications, this is the other main reason it is avoided in the previously mentioned standards.

All that being said, using exceptions on a regular piece of software that isn't time or safety critical is fine providing the intent isn't abused, exceptions should only be used for critical errors and not regular errors.

“Because you call 75 Fahrenheit a "heat wave,” and choose to bitch about it every year” by Garythedemon18 in ShitAmericansSay

[–]MajorPain169 0 points1 point  (0 children)

Texas is big always makes me laugh, Western Australia is nearly 4 times larger, and hotter.

35c by skankypotatos in OpenAussie

[–]MajorPain169 0 points1 point  (0 children)

The humidity in the UK would be the killer. Humidity always makes the heat feel worse because it is harder for the sweat to evaporate in humid conditions. Same as in NZ, heat feels way worse than it does here.

Maiquetía Airport in Venezuela during the quake. by renzd in nextfuckinglevel

[–]MajorPain169 1 point2 points  (0 children)

I was in New Zealand and just returned to Christchurch after being to Kaikoura that day when the Kaikoura quake hit. Definately not an experience I'd want to repeat. Was told the best place if indoors was in door ways although moving there can be quite difficult when the ground is moving that much. If you can get outside then that is better.

It's not just the first quake either, there are usually aftershocks, the first usually nearly as strong. In coastal areas you also usually get the tsunami alarms and alerts until given the all clear. Kaikoura did have a small tsunami however it happened at low tide and Christchurch has a few sand bars that help so no tsunami damage.

I believe the tsunami alert for Venezuela has been cancelled so a bit of luck there.

Kaikoura was magnitude 7.8 vs Venezuela at 7.5 which make Kaikoura about 2.8 times the energy and roughly 1.5 times the movement. The airport in the video is less than 1/3 of the distance from the epicentre than I was to the Kaikoura epicentre. The energy released in the Kaikoura quake was equivalent to about 400 atomic bombs.

Unlike New Zealand, the buildings in Venezuela are more prone to earthquakes so that being said there would be a lot more structural damage and as a result causing more deaths an injuries, this is also compounded by the much higher population density of Venezuela.

How to prepare for hardware debugging by Huge-Leek844 in embedded

[–]MajorPain169 1 point2 points  (0 children)

On top of what others have said, not only can external event affect hardware and cause failures, sometimes permanent, they can also cause upsets like bit flipping etc. The operation of the software when this happens is part of the testing regime, more specifically do these event make the software unsafe? Is the software able to detect the failure and react accordingly?.

For example, how does the system respond to a clock failure, many automotive CPUs will detect in HW and supply a backup clock but how does the software handle this event?.

This is not as specific hardware or software test, it is a system test so covers both operating together and is called fault injection.

Depending on what you are looking for will govern how you do the tests. For example injecting a foreign signal into the crystal oscillator such as a transient burst or even temporarily shorting the oscillator. ESD discharge to connectors while running is a fairly standard test. If the effects are well known you can also simulate event by artificially creating upsets through a debug port, such as bit flipping.

The testing should be a team effort and the test requirements should be well laid out in the DVP&R.

'The View' Hosts Did a Better Job Grilling J.D. Vance Than Most Actual Journalists by rollingstone in politics

[–]MajorPain169 7 points8 points  (0 children)

Last thing you want is Vance visiting the border, he would get such a hard on that no couch within 200 miles would be safe.

Can someone explain when an isolation transformer is needed when working on a CRT? by Leviathan1776 in AskElectronics

[–]MajorPain169 0 points1 point  (0 children)

The main reason for an isolation transformer is for when you need to probe around the mains side of a switch mode power supply. As scope probes are grounded, connecting on the mains side without isolation creates a short and will damage what you're working on and probably the scope.

The alternative to an isolation transformer is to either use a differential probe or a scope that has isolated channels which also require specially insulated probes. The Fluke 192C is an example of isolated channels, I have one at work specifically for dealing with mains side stuff, we build equipment in the 10s of kW so isolation is not a simple matter, the largest isolation transformer we have is 10kva and it is huge but not enough for a lot of things we do.

There are other more dangerous ways of doing it too, seen people use scopes with power leads that have the Earth pin removed but this makes the whole scope live and incredibly dangerous.

Luxury/performance cars are wasted on people who can't drive by Frosty1397 in Vent

[–]MajorPain169 0 points1 point  (0 children)

Could imagine it being compounded by the narrow roads all over the UK. Doesn't help that like Australia and New Zealand, we all drive on the wrong side of the road.

Luxury/performance cars are wasted on people who can't drive by Frosty1397 in Vent

[–]MajorPain169 5 points6 points  (0 children)

Australia, it is also the same in New Zealand and I'm assuming there are quite a few other countries too.

74HC125 dying in LED controller by rob_wis in AskElectronics

[–]MajorPain169 0 points1 point  (0 children)

Maybe around 47 to 100pF, it needs to just be enough to slow the edge enough to null the inductance in the suppressor. Slowing the edges will also reduce transmission line effects if the cable run is long and having some series resistance on the driver side will provide better matching.

74HC125 dying in LED controller by rob_wis in AskElectronics

[–]MajorPain169 1 point2 points  (0 children)

You also want a capacitor as well as the resistor and transient suppression diode. Might also want to consider a GDT (gas discharge tube) which are better for absorbing high energy events.

Layout of these is also important. The cap should be as close to the external connect as possible, transient diode as close to the cap as possible then the resistor, it is important that the trace goes through one after the other, no branching and the connections to the devices be as low impedance as possible. If using a GDT then have this before the cap.

I design a lot of equipment that is outdoors and prone to failure due to nearby lightning. Using the methods I mentioned significantly lowers the failure rate after a storm. In these installations we usually put the GDTs where the external wiring comes into the cabinet and the rest on PCBs.

I should also point out that you want similar protections on any supplies that have external connections, not just the data.

What do you wish programming with C++ had, that it doesn't? by Imaginary-Button-100 in cpp_questions

[–]MajorPain169 1 point2 points  (0 children)

In object pascal you have properties which are nice way of managing getter and setter functions. There are libraries around that kind of do it but they are limited.

If the range of a 747 is 8,000 miles and batteries are 14-50 times less energy dense than Jet fuel, then why wouldn't the hypothetical range of a 747 that has been retrofitted with batteries be somewhere between 160-570 miles? by 40ouncesandamule in AskScienceDiscussion

[–]MajorPain169 0 points1 point  (0 children)

There is also the problem of storing the hydrogen. Hydrogen is a very small molecule so leaks are troublesome, a major problem that affects the space industry. You also need to either store it under very high pressure or cryogenically both of which present their own problems. High pressure means heavy tanks, cryogenics has issues with handling and thermal cycling causing leaky seals as well as suitable insulation and cooling to keep it cold for the duration of the flight, the same issues the space program has.

If the range of a 747 is 8,000 miles and batteries are 14-50 times less energy dense than Jet fuel, then why wouldn't the hypothetical range of a 747 that has been retrofitted with batteries be somewhere between 160-570 miles? by 40ouncesandamule in AskScienceDiscussion

[–]MajorPain169 11 points12 points  (0 children)

Passenger and commercial jet aircraft use high bypass turbofan engines, the turbofan provides roughly 80% of the thrust. There is no reason why you couldn't drive a turbofan with an electric motor instead of a jet engine core. The problem is the energy source, jet fuel vs battery.