You would need a better scope to detect glitches and noise and it's a pity that you can't lay your hands on one to see what's going on. However as I pointed out you would only need to do this if the problem persists and the idea of adding the isolated DC/DC converter was to eliminate the power supply and its ground as a problem. So don't go thinking you have to fix everything before you actually check anything. Just hook up your grounds as you would and check it. If it doesn't disconnect or play up then who cares if all the rest isn't quite right.
If it still plays up then take photos of your board wired in and maybe a couple of other shots that would give anybody on the other side of the planet an idea of how it actually is wired up.
If I could squeeze out a bunch of money on a nice O-Scope, I would love to do it. They are just way too expensive for me
The USB disconnect is a very persistent issue and happens all the time when connected to a vehicle, just at random times. I believe it has to do with environment noise since I can bench test my device running from a single 12V battery and not have any issues. As soon as I put the circuit on the vehicle's power, it disconnects the USB consistently. This leads me to believe the issue is power filtering on the low voltage side. The only thing that happens is the USB disconnects. The Prop and all the other items on the board still work reliably. Since the circuit works, I feel like I have accomplished a bunch, but now there is a glitch that I just can't figure out how to fix with my current knowledge.
Each pin on the header is named for what it does. If you hold your cursor over the pad, it will display what it is connected to. This is how it is connected in the vehicle and bench tests.
!@&^#%$%#^! - this is the first step that is also the easiest, no need to talk about grounds and scopes unless you decide not to use a DC/DC converter and try and make it work as is but that is still too much guessing for me from this end.
I was under the impression that the DC to DC converter would cause an issue and make reading of other sensors that are being fed voltages from an outside source no able to be done since there is no common ground. This is why I did not order one yet. Plus, there is a minimum order on Digikey and I would have to pay shipping too. If the DC to DC converter would be what I need, would there be anything else that I would need along with that?
I know other people say other things and there may be other issues anyway but rather than being confused and not knowing what to do you must eliminate possible causes of your problem and if you take this approach with a converter even with minimum order and shipping then surely this is "cheap" compared to redoing the board and buying a better scope etc. I will give you a link to a better converter or an alternate supplier as I am only talking about a few bucks anyway.
Everything costs and as the proverb says that before we start building a tower we should count the cost otherwise we just look foolish. Always expect any project to cost more and take longer than you planned, then you will be prepared to do what's necessary to complete it.
btw, if you decide not to follow a recommendation for "some reason" then at least communicate this back as this project has gone way over the time I would expect to allocate, and a lot of that is because you haven't applied the advice that you are asking for and was given freely.
I did want to try the converter since it seemed to be a logical decision to do. Since I have never messed with an isolated DC to DC converter, I can only go by what others are saying. The issue about isolating the ground came up and I did not see a reply stating this would not be a problem at all or if there was a problem, I could simply use "X" component to fix the issue. If I needed to order "X" component, I should do that on the same order instead of paying shipping twice Just trying to keep all the ducks in a row right now.
So should I go ahead and order the DC to DC converter and hope for the best that I have all the parts needed? I don't have a bunch of money to be ordering parts all at different times. Sorry for being a pain, but I just don't know what I am getting into. Common sense tells me that if I isolate a connection, the outside voltages that are fed from the vehicle's ECU to the isolated ground of my circuit will not be a complete circuit.
I do know that you have a schematic. I have a complete schematic because analyzing your pcb is not so difficult.
But if you name your components in the correct way then your bill of materials would make much more sense for you. For example integrated circuits are normally named with the prefix ‘U’. Naming a connector to ‘U2’ is confusing. Take a look at https://en.wikipedia.org/wiki/Reference_designator
After reading all your threads I noticed that many of your questions are repeated. And they have been answered many times. It’s like you not take notice. As Peter Jakacki wrote - !@&^#%$%#^!
The big question for me is what you do after you start selling this new unit and you suddenly end up with some units in return or some support request from your buyers. Asking this community what’s wrong with your circuit?
The names of each component are automatically given in the Diptrace software. Not everyone use the Diptrace software and are used to their own program. I am used to Diptrace and I know how to get a complete list of all the components I have used as long as I put the part number in the certain field.
Yes, I ask a bunch of questions and sometimes the answer given is not the solution, but I just give up on the whole project because people get frustrated with me because I don't do everything by the book as though I went to college for electronic engineering or something. For this issue... the USB disconnect has been brought up a LONG time ago and bring a really dead thread back to live is frowned upon sometimes. The answer was given in that thread that the shield of the USB cable needed to be separate from the ground plane. Other random things were thrown out there like the ferrite bead, but since there are hundreds of thousands to choose from, how could I possibly figure which one would be best for my situation? Yes, Peter has given me a value to go by and I do plan on redesigning the whole board yet again to accommodate for the additional components on the UART that I did not know should have been done that way and what values to use. Once again, I am a hobbyist.... not an electronic engineer.
I am not selling this product at this point due to all the issues. I actually used this product for over a year in my own vehicle and worked on fixing different things hence all the other threads. Most of those are resolved and I don't have to ask the same question again thanks to the helpful people who understand I am limited on knowledge of certain types of components and circuitry. I know enough to be dangerous, not enough to pick components I have never used out of thousands of others and know it will work for my application. I would love to get to that point, but without going to a technical school or college and spend thousands of dollars to educate me for a hobby I have, it is not worth it. So I have to ask and hope that what is replied works so I can learn from the mistakes I made from the beginning.
I hate to tell you this but you are actually still early in the Product Life Cycle.
It's good that you are doing long term testing and at this stage making changes is cheap compared to later on.
As Feng mentioned when customers start returning product then changes become costly.
Since a vehicle is a very noisy environment you want to employ EMI reduction techniques, a few of which you have mentioned.
I would start with Peter's suggestion since power line noise is a very common issue. It's also not uncommon for electrical noise to travel through a vehicles electrical system since all that wiring acts like a large antenna.
Feng also mentions Reference Designators which is Electronics 101. Assemblers and technicians learn this stuff.
J is for Headers and electrical connectors while U is for ICs (Integrated Circuits).
Comments
If it still plays up then take photos of your board wired in and maybe a couple of other shots that would give anybody on the other side of the planet an idea of how it actually is wired up.
The USB disconnect is a very persistent issue and happens all the time when connected to a vehicle, just at random times. I believe it has to do with environment noise since I can bench test my device running from a single 12V battery and not have any issues. As soon as I put the circuit on the vehicle's power, it disconnects the USB consistently. This leads me to believe the issue is power filtering on the low voltage side. The only thing that happens is the USB disconnects. The Prop and all the other items on the board still work reliably. Since the circuit works, I feel like I have accomplished a bunch, but now there is a glitch that I just can't figure out how to fix with my current knowledge.
Each pin on the header is named for what it does. If you hold your cursor over the pad, it will display what it is connected to. This is how it is connected in the vehicle and bench tests.
Everything costs and as the proverb says that before we start building a tower we should count the cost otherwise we just look foolish. Always expect any project to cost more and take longer than you planned, then you will be prepared to do what's necessary to complete it.
btw, if you decide not to follow a recommendation for "some reason" then at least communicate this back as this project has gone way over the time I would expect to allocate, and a lot of that is because you haven't applied the advice that you are asking for and was given freely.
http://forums.parallax.com/discussion/104332/simple-rpm-detection#latest
http://forums.parallax.com/discussion/107384/building-computer-controlled-car-and-need-help-with-some-code#latest
http://forums.parallax.com/discussion/109136/need-advice-for-controlling-a-high-amperage-solenoid-before-i-complete-my-parts#latest
http://forums.parallax.com/discussion/109232/having-problems-running-high-current-solenoid-from-sx28#latest
http://forums.parallax.com/discussion/109536/code-optimization-help-if-you-have-some-spare-time#latest
http://forums.parallax.com/discussion/110018/reading-a-vehicle-s-speed-sensor#latest
http://forums.parallax.com/discussion/111216/accurately-read-0-15000-rpm-with-the-sx-using-ignition-5v-square-wave#latest
http://forums.parallax.com/discussion/117102/wanting-to-get-started-with-the-propeller-chip-but-need-advice#latest
http://forums.parallax.com/discussion/117206/reading-engine-rpm#latest
http://forums.parallax.com/discussion/117241/new-to-propeller-needing-help-with-simple-functions#latest
http://forums.parallax.com/discussion/117248/more-help-understanding-cogs-and-including-other-spin-files-in-program#latest
http://forums.parallax.com/discussion/117497/need-help-with-the-dat-block-and-calling-data-from-it#latest
http://forums.parallax.com/discussion/132093/a-few-questions-about-the-propeller-and-a-product-i-sell#latest
http://forums.parallax.com/discussion/136387/question-about-555-timer#latest
http://forums.parallax.com/discussion/136575/going-surface-mount-from-through-hole#latest
http://forums.parallax.com/discussion/136609/calculating-resistor-size-and-wattage#latest
http://forums.parallax.com/discussion/137048/moving-from-sx-to-prop-and-need-advice-help#latest
http://forums.parallax.com/discussion/137066/need-opinions-on-a-product-i-have-been-selling#latest
http://forums.parallax.com/discussion/137090/converting-my-product-to-open-source-and-using-the-prop#latest
http://forums.parallax.com/discussion/137090/converting-my-product-to-open-source-and-using-the-prop#latest
http://forums.parallax.com/discussion/146538/powering-the-prop-from-an-automotive-12v-source#latest
http://forums.parallax.com/discussion/148009/flyback-diode-help#latest
http://forums.parallax.com/discussion/148115/power-supply-circuit-design-need-a-check-over-advice-please#latest
http://forums.parallax.com/discussion/148312/looking-for-some-adc-help-advice-please#latest
http://forums.parallax.com/discussion/149794/7-position-switch-2-inputs-on-prop-available#latest
http://forums.parallax.com/discussion/149963/automotive-pulse-generator-reading-on-the-prop#latest
http://forums.parallax.com/discussion/150613/on-board-usb-self-powered-or-bus-powered#latest
http://forums.parallax.com/discussion/150653/adc08831-question#latest
http://forums.parallax.com/discussion/150667/74hc165-confusion#latest
http://forums.parallax.com/discussion/150807/adc08831-reading-automotive-throttle-position#latest
http://forums.parallax.com/discussion/150823/5v-and-12v-vehicle-rpm-signal-and-the-prop#latest
http://forums.parallax.com/discussion/150943/controlling-ground-for-unknown-specs-on-many-automotive-relays-coils#latest
http://forums.parallax.com/discussion/150991/selecting-the-right-flyback-diode-when-using-pwm-on-12v-3a-coil#latest
http://forums.parallax.com/discussion/151019/inexpensive-high-side-solenoid-driver-that-can-handle-6a-without-getting-hot#latest
http://forums.parallax.com/discussion/151782/usb-causing-ground-loop-noise#latest
http://forums.parallax.com/discussion/152268/ftdi-usb-in-automotive-environment-loses-connection-randomly#latest
http://forums.parallax.com/discussion/155235/using-buttons-in-an-automotive-environment#latest
http://forums.parallax.com/discussion/156801/datasheet-help-on-a-relay#latest
http://forums.parallax.com/discussion/157464/12v-motor-noise-resetting-the-prop-even-with-flyback-diodes#latest
http://forums.parallax.com/discussion/158583/pcb-design-help-for-powering-prop-controlling-12v-motors#latest
http://forums.parallax.com/discussion/161471/high-current-h-bridge-greater-than-10a-12v#latest
http://forums.parallax.com/discussion/162052/small-footprint-single-component-smd-high-side-mosfet-that-can-provide-6a-continuously#latest
http://forums.parallax.com/discussion/163557/circuit-board-ground-plane-question#latest
And finally this thread.
I do know that you have a schematic. I have a complete schematic because analyzing your pcb is not so difficult.
But if you name your components in the correct way then your bill of materials would make much more sense for you. For example integrated circuits are normally named with the prefix ‘U’. Naming a connector to ‘U2’ is confusing. Take a look at https://en.wikipedia.org/wiki/Reference_designator
After reading all your threads I noticed that many of your questions are repeated. And they have been answered many times. It’s like you not take notice. As Peter Jakacki wrote - !@&^#%$%#^!
The big question for me is what you do after you start selling this new unit and you suddenly end up with some units in return or some support request from your buyers. Asking this community what’s wrong with your circuit?
Yes, I ask a bunch of questions and sometimes the answer given is not the solution, but I just give up on the whole project because people get frustrated with me because I don't do everything by the book as though I went to college for electronic engineering or something. For this issue... the USB disconnect has been brought up a LONG time ago and bring a really dead thread back to live is frowned upon sometimes. The answer was given in that thread that the shield of the USB cable needed to be separate from the ground plane. Other random things were thrown out there like the ferrite bead, but since there are hundreds of thousands to choose from, how could I possibly figure which one would be best for my situation? Yes, Peter has given me a value to go by and I do plan on redesigning the whole board yet again to accommodate for the additional components on the UART that I did not know should have been done that way and what values to use. Once again, I am a hobbyist.... not an electronic engineer.
I am not selling this product at this point due to all the issues. I actually used this product for over a year in my own vehicle and worked on fixing different things hence all the other threads. Most of those are resolved and I don't have to ask the same question again thanks to the helpful people who understand I am limited on knowledge of certain types of components and circuitry. I know enough to be dangerous, not enough to pick components I have never used out of thousands of others and know it will work for my application. I would love to get to that point, but without going to a technical school or college and spend thousands of dollars to educate me for a hobby I have, it is not worth it. So I have to ask and hope that what is replied works so I can learn from the mistakes I made from the beginning.
I hate to tell you this but you are actually still early in the Product Life Cycle.
It's good that you are doing long term testing and at this stage making changes is cheap compared to later on.
As Feng mentioned when customers start returning product then changes become costly.
Since a vehicle is a very noisy environment you want to employ EMI reduction techniques, a few of which you have mentioned.
I would start with Peter's suggestion since power line noise is a very common issue. It's also not uncommon for electrical noise to travel through a vehicles electrical system since all that wiring acts like a large antenna.
Feng also mentions Reference Designators which is Electronics 101. Assemblers and technicians learn this stuff.
J is for Headers and electrical connectors while U is for ICs (Integrated Circuits).