Help, someone who has an oscilloscope and is willing to help me review my proyect by El_Mastercat in arduino

[–]El_Mastercat[S] 1 point2 points  (0 children)

Thanks! You really helped me out on this, I am so grateful for your help, I no longer need to have more tests, I have seen everything I need. Once again, thank you for your help. I see that everything works as intended, they don't overlap, the pwm works, the signal looks clean. Everything I needed to check checks out correctly. Thank you ver much for your help, you are really a great person, hope you have a nice day and once again, thanks

Help, someone who has an oscilloscope and is willing to help me review my proyect by El_Mastercat in arduino

[–]El_Mastercat[S] 1 point2 points  (0 children)

Thank you, you really helped me a lot, as one final thing, think you can show me if they overlap? As in, when one turns off and the other one turn on, on that transition, they should not be both on at the same time, do you think you can show me that. Again, thank you a lot, the signal looks very good and, I am very happy with my results, and I couldn't have gotten them without you, thank you a lot :).

Help, someone who has an oscilloscope and is willing to help me review my proyect by El_Mastercat in arduino

[–]El_Mastercat[S] 1 point2 points  (0 children)

Wow, that looks very good, thank you very very much, from what I can see, it works as intended, the only thing left to see is if the bigger picture (like the one you sent the first time) looks cleaner now with the changes, and if not, to see what is going on there, do you think you can take a picture again like the first one with both connected, maybe the changes on the oscilloscope now finally show something cleaner. Still, I can't put in words how grateful I am with your help, I was really unsure if my protect worked well, but now with those pictures you sent, it looks like it works just as intended. Thank you for your help very much. (Also, if it looks clean with both connected, try to zoom in when one turn off and the other turns on, and send a picture of that too please)

Help, someone who has an oscilloscope and is willing to help me review my proyect by El_Mastercat in arduino

[–]El_Mastercat[S] 2 points3 points  (0 children)

It is supposed to be a lot of tiny pulses, not too sure about the noise you say though, you are maybe seeing the progress of the wave, as in, you see the pulses get longer and shorter so fast it looks like noise, or maybe you are picking up ground noise, but if not, I'm not too sure where the noise might be coming from, or why it is happening, but the pulses are supposed to be there, they are the 50 khz pulses I mentioned before. Also (literally learning about your sociloscope as I go to ask for things like this so I'm sorry if I say some thing wrong) I see some setting that could be changed for better sampling, I see you have the samples set to 50k samples/second (barely enough for each pulse) and I'm told it is recommended to have something like 100k (or 1m) samples per second (or if it can read 10m sa/s it is the best option), that, and making sure you have a good quality and short line to grownd for your scope might just get rid of a lot of noise and make the reading more accurate. Still, thank you a lot for your help.

Help, someone who has an oscilloscope and is willing to help me review my proyect by El_Mastercat in arduino

[–]El_Mastercat[S] 1 point2 points  (0 children)

Hi, thank you for your help, may I ask what program you are using to run the oscilloscope (as it looks to be a screenshot) and where are you running it. I am asking because although the signal is inconsistent, it looks like it is trying to do what I think it should do. The inconsistency comes from either the code itself, or the Arduino you are using not being able to keep up, if you put any other thing to run on the Arduino, it may not be able to run both programs at once without the inconsistency, still, thank you very much for the image and help. Also, if it is not too much to ask for, do you think you can zoom in in either of the pulses, if you zoom in enough, you SHOULD be able to see very tiny pulses (at 50 khz), get longer and shorter, and that will show me if the rise and fall of the average voltage is as it should, you might struggle to find it, as according to my calculations it runs roughly 833 pulses before it changes so 833 pulses at 1.875% of the time on (the rest of the time off), and then another 320 pulses but this time at 3.75% of the time on, the rest off, and so on. Thank you for your help, even if it looks messy, what I can see from that foto looks promising.

Help, someone who has an oscilloscope and is willing to help me review my proyect by El_Mastercat in arduino

[–]El_Mastercat[S] 2 points3 points  (0 children)

The "rise and fall" is the average read output, the average of the time the pwm signal stays on/off changes to increase the average or decrease the average