hybridfree/eevblog-posts huggingface dataset:
How sbit works in mikroc - Page 1
Forum section: electronics / beginners

author: khatus
author_rank: Regular Contributor
timestamp: July 26, 2019, 04:39:40 pm
content: hello guys i have alraedy read that sbit data type provides access to bitaddressableSFRsBut i want to know how it works in code.What is the meaning of the linesbit LEDA at PORTA.B0;orsbit LCD_RS at RB4_bit;

author: KL27x
author_rank: Super Contributor
timestamp: July 28, 2019, 08:26:38 am
content: QuoteGod knows why I am doing, because (disclaimer!) I am guessing. I am not proficient at coding in C and my only experience with mikroC was to run the other way.This sbit business appears to be how you define/name bits. So how does that work in code? It doesn't. You would not write "sbit LEDA at PORTA.B0" in your code. It doesn't actually do anything as far as code compilation/generation is concerned. It would be in your header files.So after this is added to your header file, if you wanted to read or write (set or clear) to this bit, you now have two ways to do this. For example, say you wanted to clear this bit. You could write (in your code):1)LEDA = 02)PORTA.B0 =0I said there are two ways. But in reality, after you have defined this bit in your header file, you would want to avoid using the second method in your code. In addition to having a name that is handy and easy to remember, there is another major reason for naming/defining it. In the future, you might want to move LEDA to another pin. Because you have named/defined it, you can save a lot of work by changing one line in your header.LEDA, let's say, is theoretically an output pin connected to an LED. But imagine you decide you want to move it to another pin, which happens to be PORTB.B5. So you go to your header file and you change it to:sbit LEDA at PORTB.B5So now you move your LED to that pin. And you're done (kinda... you also have to consider any byte operations you might have done to PORTA and PORTB, now, as well on some devices you can indirectly address some registers through a pointer, although usually not ports). So all good... except if you have any read/write instructions to "PORTA.B0" in your code, you have to find it and change it in each instance you have done that.There is a numerical address of this port and bit which is the absolute address. And the device file that mikroC provides to you for the device, which you will (probably) include in your header files defines "PORTA.B0" as this set of numbers when it compiles. So technically, you could muck around in this device file and swap pins around, too. But that would get messy, fast, and you'd have to keep track of all your changes to know what you are doing. (Also probably would be a great idea to copy and make a new device file if you are going to muck around with it on a project; basically, don't do this).
How should I hand solder this part? - Page 1
Forum section: electronics / beginners

author: alank2
author_rank: Super Contributor
timestamp: June 23, 2016, 05:11:13 pm
content: http://www.digikey.com/product-search/en?keywords=1253-1283-1-NDIt has just a slight open end on the sides, but is mostly pad on bottom. I've got the pads in my package on the pcb accessible on the top and bottom. Should I just apply some flux, put it on the pcb first, then try to solder hoping it will wick into place? Or should I presolder the pads with a small bubble, then flux, then place, then head the pad to melt the solder? Other ideas?

author: ebclr
author_rank: Super Contributor
timestamp: June 23, 2016, 05:14:18 pm
content: Hot air and solder paste ( siringer one ) we will solder this very easy

author: alank2
author_rank: Super Contributor
timestamp: June 23, 2016, 05:31:56 pm
content: I prefer to go the iron route - any thoughts on that?

author: Aodhan145
author_rank: Frequent Contributor
timestamp: June 23, 2016, 05:47:45 pm
content: Don't go iron route if the pads are on the bottom. Buy a shitty temperature controlled hot air station of ebay they wont cost you anything.

author: wraper
author_rank: Unknown
timestamp: June 23, 2016, 05:52:16 pm
content: If the pads on the PCB are large enough that are not completely covered with a part, there is no issue to solder it with a soldering iron.

author: Signal32
author_rank: Frequent Contributor
timestamp: June 23, 2016, 05:53:07 pm
content: Quote from: alank2 on June 23, 2016, 05:31:56 pmIf you have solder paste, apply a bit of paste to the pads, stick the component on the board and touch the iron to the sides of the pads until the paste melts.I've done this before when I didn't want to unleash the full power of the hot air station.

author: suicidaleggroll
author_rank: Super Contributor
timestamp: June 23, 2016, 05:53:54 pm
content: Quote from: wraper on June 23, 2016, 05:52:16 pm^ ThisThe solder will wick under the part just fine if you have exposed pad you can get the iron on and use some flux.

author: Buriedcode
author_rank: Super Contributor
timestamp: June 24, 2016, 04:09:48 pm
content: If you don't have solder paste or hot air: Tin the PCB pads, and the parts pads but only with a very small coating, then flux on both and heat up each pad in turn. If there's too much solder it won't sit flat.If you have hot air: do the above but gentle heat the PCB until the solder on the pad gets a tad shiner - put the part in place and heat that - surface tension will move it into position once the solder on the part and the PCB have melted.

author: ebclr
author_rank: Super Contributor
timestamp: June 24, 2016, 04:44:17 pm
content: This is not a jokecook you board on a fridge
how should I interpret a Li-Ion battery capacity? - Page 1
Forum section: electronics / beginners

author: eyal
author_rank: Contributor
timestamp: May 18, 2015, 10:28:07 am
content: If the 18650 battery (from a reputable manufacturer) says 3400mAh (or 2400mAh), how do I verify this? Discharge at 1C (3.4A, probably too high) 1A (0.3C, looks reasonable to me)? 0.5A? Is there an acceptable discharge rate that the capacity is quoted for? I use an imax-B6AC which is adjustable.cheers

author: Psi
author_rank: Super Contributor
timestamp: May 18, 2015, 10:28:43 am
content: i'd expect the rated capacity to be from a 0.1C discharge

author: amyk
author_rank: Super Contributor
timestamp: May 18, 2015, 01:19:52 pm
content: Look at the datasheet.

author: eyal
author_rank: Contributor
timestamp: May 18, 2015, 02:17:52 pm
content: Naturally I did, but I could not find the exact battery doco. It seems that the typical capacity is usually above the one on the label, and for this one (a 2700mAh) the capacity changes only from about 2800 to 2900 with discharge rate between 0.2C and 2C. The link I checked is thishttp://industrial.panasonic.com/www-data/pdf2/ACA4000/ACA4000CE240.pdfSo it seems my test at 0.3C is valid and does not change by much at sensible discharge rates.cheers

author: jeffaroo
author_rank: Contributor
timestamp: May 18, 2015, 02:46:47 pm
content: Check outlygte-info.dksite for the mother-of-all battery reviews. It's a bit hard to navigate but it has a wealth of information. Perhaps start athttp://lygte-info.dk/review/batteries2012/Common18650comparator.phpor athttp://www.lygte-info.dk/info/indexBatteriesAndChargers%20UK.html.Even if you don't find your exact battery you can see examples of typical battery discharge curves at different rates.
How Siglent SDS804xHD Supports/Controls AWG SAG1021I? - Page 1
Forum section: electronics / beginners

author: GrievousAngel
author_rank: Contributor
timestamp: October 27, 2024, 05:10:42 pm
content: I'm considering getting a Siglent SDS804X HD or SDS814X HD scope ... how is the AWG SAG1021 controlled by the SDS800 Series scopes? Dedicated knobs/PB or menu?What are the advantages of the SAG1021I over a stand-alone AWG of similar specs, other than freeing up desk space?In the price range of ~$278 (~ cost of SAG102I), which AWG (of any brand) is widely preferred?My interest are in analog & digital audio, consumer communications (USB, serial, etc), mechatronics (CNC machines, etc) and general troubleshooting.Later,Billy

author: tautech
author_rank: Super Contributor
timestamp: October 27, 2024, 10:21:36 pm
content: Quote from: GrievousAngel on October 27, 2024, 05:10:42 pmMenu parameter selection and multipurpose encoder for fine adjustments or for larger adjustment the virtual keypad.See attached screenshot.SAG1021I provides an isolated output (see SDS800X HD datasheet) for its limitations.It works great as a plug and play device however being USB powered its output amplitude capability is very limited.SDS800X HD in Bode plot mode takes command of SAG1021I and operates it from within the Bode plot mode.
How similar are these two piezo buzzers? - Page 1
Forum section: electronics / beginners

author: JamesP
author_rank: Newbie
timestamp: January 12, 2018, 05:51:15 pm
content: Ive been testing a small synth design with the PKM17EPPH4001-B0 recently and it worked wonderfully. However, i found the PKM13EPYH4000-A0 which is cheaper, smaller and more or less the same in terms in the charts from the datasheet. However, im going to order a bunch of them and i want to know how similar they are and if they are going to sound the same (in case there is something i missed).I have already ordered the PCBs and if there is a better alternative other than the PKM13EPYH4000-A0, it has to have a pin pitch of 5mm.Datasheet for both of them:https://www.murata.com/~/media/webrenewal/support/library/catalog/products/sound/p37e.ashxPKM13EPYH4000-A0 (what i would like to use):https://www.digikey.com/product-detail/en/murata-electronics-north-america/PKM13EPYH4000-A0/490-4698-ND/1219329PKM17EPPH4001-B0 (what i used for the prototype):https://www.digikey.com/product-detail/en/murata-electronics-north-america/PKM17EPPH4001-B0/490-4694-ND/1219325I would assume that these two are the same since they are in the same series, but i just want to be _really_ sure.
How standardised is the 30pin eDP laptop screen connector? - Page 1
Forum section: electronics / beginners

author: Whales
author_rank: Super Contributor
timestamp: May 22, 2019, 09:46:14 am
content: How standardised is the 30pin eDP laptop screen connector? Can you throw most LCDs with this connector at a laptop with this connector + vintage and have them work?Thisseller's pageseems to suggest so, but I'm having trouble finding other corroborating evidence. Almost of my search terms return results spammed with sales. Can anyone suggest some good keywords to use for research?
How stout is the base-collector junction of a 2n3904? - Page 1
Forum section: electronics / beginners

author: cellularmitosis
author_rank: Unknown
timestamp: February 16, 2014, 04:49:03 pm
content: I'm fiddling around with some transistor circuits, and I'm wondering how much higher can the base go above the collector before you let the magic smoke out?I know the base-collector junction acts like a diode, but I can't seem to find any info on what the reverse breakdown voltage is (there doesn't seem to be a max VBC listed in the datasheet).Should I destroy a 2n3904 to find out? Perhaps there is a way I can limit the current and measure this empirically without damaging the part.Or should I not rely on this value and just whack an extra 1n4148 pointing into the collector?Thanks!

author: c4757p
author_rank: Super Contributor
timestamp: February 16, 2014, 04:52:09 pm
content: The base-collectorforwardvoltage is around 0.65V just like the B-E junction. It's always slightly lower.The base-collectorreversevoltage is listed as VCBOand is given by the Fairchild datasheet as 60V.

author: T3sl4co1l
author_rank: Super Contributor
timestamp: February 16, 2014, 07:55:55 pm
content: Limit current according to the absolute maximum base current.Tim

author: cellularmitosis
author_rank: Unknown
timestamp: February 16, 2014, 08:08:43 pm
content: thanks guys I was totally thinking about that backwards
How the heck can I get my S090D circuit to work? - Page 1
Forum section: electronics / beginners

author: sheonbanks
author_rank: Newbie
timestamp: January 28, 2021, 07:12:50 pm
content: Hi All,I have been using the following cites as a model to set up my circuit:https://detail.1688.com/offer/588558106013.htmlhttps://easywork.com.ua/remont-usb-zajigalki-honest-gold-net-rozjiga.htmlhttps://easywork.com.ua/remont-zazhigalki-usb-lighter.htmlhttp://translate.google.com/translate?hl=en&sl=auto&tl=en&u=https%3A%2F%2Feasywork.com.ua%2Fremont-usb-zazhigalki-hasat-ne-vklyuchaetsya.htmlhttp://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Feleclabyrinth.blog.fc2.com%2Fblog-entry-192.htmlI am a newbie and fascinated by electronics and excited to see what I can accomplish. I want to replicate the circuit I see associated with the chip. It is a simple circuit. All I want to do is remove the switch and replace it with a Mosfet(or transistor[whatever will work])Can someone provide a suggestion on how I can get this to work?
How the production of steam is controlled on Pressurised Steam Generator ? - Page 1
Forum section: electronics / beginners

author: sdancer75
author_rank: Frequent Contributor
timestamp: May 29, 2019, 07:01:46 pm
content: Hi,How the production of steam is controlled on Pressurised Steam Generator that is not using a pressure switch but rather a control PCB board with MCU?For example, in the case of Philips GC8220, as you can see athttps://www.ifixit.com/Teardown/Philips+Pressurised+Steam+Generator+GC8220+Teardown/26948there is no pressure switch to check the pressure inside the steam tank.So, how the MCU in the control board knows the steam pressure level inside the steam tank?

author: dmills
author_rank: Super Contributor
timestamp: May 29, 2019, 07:23:57 pm
content: You just heat the thing to a target temperature and make sure there is at least some liquid water in the generator, steam comes out at a pressure dependent on the generator temperature.As you draw steam, more water boils, reducing the temperature and causing the heaters to add more heat, steam pressure is (for saturated steam) related to generator temperature by a simple curve (100 celcius = atmospheric pressure, 150 celcius = 4 bar, 200 celcius = roughly 14 bar), set the temperature and (as long as there is liquid water in the boiler) you know the pressure.Regards, Dan.

author: soldar
author_rank: Super Contributor
timestamp: May 29, 2019, 08:59:16 pm
content: Quote from: sdancer75 on May 29, 2019, 07:01:46 pmIt doesn't. When you press the trigger it injects some water which instantly turns to steam and exits. There is no permanent pressurized steam boiler or anything like that. Just inject a few drops of water, turns to steam and it's gone. That's it.

author: sdancer75
author_rank: Frequent Contributor
timestamp: May 29, 2019, 09:08:46 pm
content: Quote from: soldar on May 29, 2019, 08:59:16 pmI doubt about the trigger thing , since in this case it would trigger also the water pump which is not true and obviously there is no other way to inject water right ?

author: sdancer75
author_rank: Frequent Contributor
timestamp: May 29, 2019, 09:13:21 pm
content: Quote from: dmills on May 29, 2019, 07:23:57 pmThanks Dan, but what happens when there is no water in the boiler tank to heat (ie brand new device or after calc cleaning) but with full water tank.How is knowing that there is no water to heat and a water pump is needed to get some action ?Another issue is the calc sensor. How this thing knows when a calc cleaning is needed ?

author: soldar
author_rank: Super Contributor
timestamp: May 29, 2019, 09:20:23 pm
content: Maybe this will be usefulhttps://www.semboutique.com/images/flexistore/sr24855x5515.pdf

author: sdancer75
author_rank: Frequent Contributor
timestamp: May 29, 2019, 09:24:27 pm
content: Quote from: soldar on May 29, 2019, 09:20:23 pmThanks, i already have this.
How thin do you want solder paste? - Page 1
Forum section: electronics / beginners

author: alank2
author_rank: Super Contributor
timestamp: July 21, 2015, 05:55:58 pm
content: I watched the sparkfun video about "rejuvenating" solder paste and what he thought was ideal was very thin, to the point where sitting for even a short time would flatten out the paste.Is this really ideal? If it is this thin, won't it spread out on the pcb? Does anyone know of a better video that shows about how thin/thick it should be if this is too thin?

author: alank2
author_rank: Super Contributor
timestamp: July 21, 2015, 11:00:36 pm
content: Bump

author: nanofrog
author_rank: Super Contributor
timestamp: July 22, 2015, 12:09:04 am
content: FWIW, the viscosity of Kester's EP256 is 1400 Poise, which would be similar to Ketchup out of the refrigerator IIRC.
How this circuit start the oscillate  - Page 1
Forum section: electronics / beginners

author: sfiber
author_rank: Regular Contributor
timestamp: January 20, 2018, 01:19:32 pm
content: Hi friends I have a circuit that use TOP221 8 pin IC and circuit is similiar with datasheet's sample circuit.But I dont understand how this circuit start the oscillate.Could you explain it please.

author: sameos
author_rank: Newbie
timestamp: January 20, 2018, 01:26:35 pm
content: If you look at the functional block diagram in the datasheet, you'll find that the TOP221 chip has an internal oscillator.

author: sfiber
author_rank: Regular Contributor
timestamp: January 20, 2018, 01:30:24 pm
content: but this IC wants control signal.If DC applied to flyback transformer first,how can control signal come to IC.

author: kony
author_rank: Regular Contributor
timestamp: January 20, 2018, 01:39:51 pm
content: RTFM.

author: Zero999
author_rank: Super Contributor
timestamp: January 20, 2018, 02:17:20 pm
content: Refer to page two of the data sheet.https://www.power.com/sites/default/files/product-docs/top221-227.pdfNote that the example circuits, shown on the data sheet, are not isolated from the mains, so the DC side needs to be treated with the same precautions as the mains.

author: Wimberleytech
author_rank: Super Contributor
timestamp: January 20, 2018, 04:32:32 pm
content: On startup, current flows through the transformer primary winding to the drain pin through an internal shunt path to Control pin which charges the capacitor attached thereto. Power to the chip is then provided from the Control pin. Once the voltage rises to an internal threshold, the internal shunt path is disabled and charge to the Control-pin capacitor is refreshed via the secondary auxiliary winding under control of the opto.

author: sfiber
author_rank: Regular Contributor
timestamp: January 20, 2018, 08:19:21 pm
content: yeah,thats what I wanted,thanks.
How to   access my posts? - Page 1
Forum section: electronics / beginners

author: alah
author_rank: Contributor
timestamp: October 21, 2019, 09:13:15 pm
content: how can I access my posts to see replies and answer? thanks

author: ArthurDent
author_rank: Super Contributor
timestamp: October 21, 2019, 09:44:27 pm
content: At top of page see the icon that says "profile' and click on it. Go down left under your avatar and click "show posts".

author: soldar
author_rank: Super Contributor
timestamp: October 22, 2019, 09:54:09 am
content: https://www.eevblog.com/forum/profile/?area=showposts;u=150891

author: PA0PBZ
author_rank: Super Contributor
timestamp: October 22, 2019, 10:13:09 am
content: If it is about replies and answers this is easier:https://www.eevblog.com/forum/unreadreplies/

author: RoGeorge
author_rank: Super Contributor
timestamp: October 22, 2019, 01:10:53 pm
content: Apart from what was already said, in the upper left corner of the page, near your avatar, the two text lines after "Hello alah"Hello alahShow unread posts since last visit. <- linkShow new replies to your posts. <- link2019-10-22, 16:08:53are in fact links, very useful to see if there are any replies in the threads you wrote "Show new replies to your posts.", or what's new in general if you click "Show unread posts since last visit."You must login into EEVblog/forum first, of course.
How to achiveve 3Sec delay using watchdog timer - Page 1
Forum section: electronics / beginners

author: vishal
author_rank: Regular Contributor
timestamp: January 10, 2018, 05:25:27 am
content: HiI have watchdog timer setup for 2.1 sec.Code:WDTCSR=(1<<WDIE)|(1<<WDP2)|(1<<WDP1)|(1<<WDP0)Is it possible to achieve 3 sec delay with watchdog timer.

author: Kalvin
author_rank: Super Contributor
timestamp: January 10, 2018, 07:39:00 am
content: Probably.

author: bson
author_rank: Unknown
timestamp: January 10, 2018, 04:14:46 pm
content: Is this an Arduino? A quick google search seems to suggest its watchdog timer has a fourth prescaler bit.

author: vishal
author_rank: Regular Contributor
timestamp: January 11, 2018, 05:26:21 am
content: Quote from: bson on January 10, 2018, 04:14:46 pmNO i need it for avr-atmega256rfr2 MCU

author: Kalvin
author_rank: Super Contributor
timestamp: January 11, 2018, 09:28:18 am
content: Quote from: vishal on January 11, 2018, 05:26:21 amCheck the atmega256rfr2 datasheet, and you will find out that you can get 2s or 4s watchdog periods [from the internal 128 kHz oscillator], but not 3s.

author: MatthewEveritt
author_rank: Unknown
timestamp: January 11, 2018, 09:48:53 am
content: You can of course use a 1s wdt interrupt and count to three.

author: kathy45
author_rank: Newbie
timestamp: January 15, 2018, 04:05:02 am
content: You can, after all, use a 1s wdt interrupt and count to 3.
How to 'adapt' from AWG 26 to AWG 28 wire gauge? - Page 1
Forum section: electronics / beginners

author: LoveLaika
author_rank: Frequent Contributor
timestamp: October 14, 2021, 07:56:14 pm
content: MyLi-Po rechargeable batterythat I recently obtained has two wires. Both wires are AWG 26. I have a connector that I want to use it with, but the problem is that theJST connectoronly takes AWG 28 wire. In addition, theprecrimped wirethat I bought to mate with the connector is only meant for AWG 28. How can I fix this issue so that I can use my battery with the connector? Could I make my own cable using AWG 28 wire to bridge between the connector and the battery wire? Though, looking at the availableconnectors, they don't seem to match up with JST's precrimped wire, so I'm kind of at a loss on how to best approach this.

author: james_s
author_rank: Super Contributor
timestamp: October 14, 2021, 07:57:45 pm
content: Just splice the wire, or if it's a short run use #28 for the whole thing. I'm assuming that it is adequate for the load if the connector you're using can't take anything larger.

author: jpanhalt
author_rank: Super Contributor
timestamp: October 14, 2021, 08:08:10 pm
content: Twist each pair of wires together, solder, and apply heat shrink. NB: Put the heat shrink section over one end before soldering, if it is attached to something.

author: LoveLaika
author_rank: Frequent Contributor
timestamp: October 15, 2021, 12:00:25 am
content: The battery wire is solid core, not stranded.

author: ledtester
author_rank: Super Contributor
timestamp: October 15, 2021, 06:32:48 am
content: Quote from: LoveLaika on October 15, 2021, 12:00:25 amUse the "hook splice" -- either/both of the wires can be stranded/solid:- Electronics - Hook Splice - joining 2 wires together -- Leon Marsdenhttps://youtu.be/KWK7omoLGVA

author: Electro Fan
author_rank: Super Contributor
timestamp: October 15, 2021, 07:41:28 am
content: ledtester, thanks for posting the hook splice video.I think the hook splice might be best if the OP is splicing a stranded wire with a solid wire (or a solid wire with a solid wire).A couple other techniques to consider for splicing two stranded wires:

author: tooki
author_rank: Super Contributor
timestamp: October 15, 2021, 10:33:01 pm
content: Quote from: LoveLaika on October 15, 2021, 12:00:25 amAre you absolutely certain? That seems very unlikely. Sure it’s not just stranded with the ends pretinned?
How to add a VU Signal Strength Meter to the Elenco AM/FM kit - Page 1
Forum section: electronics / beginners

author: wsscott
author_rank: Newbie
timestamp: December 19, 2023, 04:19:23 pm
content: I thought it might be neat to add a VU meter. Can anyone tell me how to do it and what part(s) to get?

author: Benta
author_rank: Super Contributor
timestamp: December 19, 2023, 06:58:31 pm
content: Please be specific. A signal strength meter is not the same as a VU meter.Signal strength shows the power of the received radio signal (indicating reception quality).VU shows the audio level of the received signal.Which is it?

author: wsscott
author_rank: Newbie
timestamp: December 20, 2023, 04:57:34 pm
content: I guess a signal strength meter is what I was thinking.
How to add EEVblog forum on Tapatalk mobile app - Page 1
Forum section: electronics / beginners

author: yashrk
author_rank: Frequent Contributor
timestamp: August 30, 2024, 03:06:24 am
content: I am unable to find EEVblog forum on Tapatalk using normal search. According to discussion on the forum that's what I think is the supported app to access the forum via mobile.I see no other way to add forums in the app, am I missing something?

author: abeyer
author_rank: Frequent Contributor
timestamp: August 30, 2024, 03:24:45 am
content: https://www.eevblog.com/forum/news/please-abandon-tapatalk-(clickjacking!)

author: yashrk
author_rank: Frequent Contributor
timestamp: August 30, 2024, 03:39:16 am
content: Ah! ok thank you
How to add Hspice model to LTspice?? - Page 1
Forum section: electronics / beginners

author: rakeshm55
author_rank: Regular Contributor
timestamp: May 22, 2014, 04:10:54 am
content: Hi I have the Hspice model given My TI for TXB0108http://www.ti.com/product/TXB0108/toolssoftwareI would like to perform simulations on the above design.... Can i use LTspice to simulate the model.... Will LTspice support The H spice model....If not is there any other tool that could help me perform simulations on the above model...please suggest
How to add minimum time width Rising Edge interrupt Mega2560 - Page 1
Forum section: electronics / beginners

author: Vindhyachal.takniki
author_rank: Frequent Contributor
timestamp: December 05, 2017, 05:47:53 am
content: 1. I am using atmega2560 & configured rising edge interrupt by below code. Normally pulse is low, & it gives a pulse of minimum 10ms whenever event occurs. Have to reject any rising edge if pulse width is less than 10ms.const byte interruptPin = 2;void setup(){pinMode(interruptPin, INPUT_PULLUP);attachInterrupt(digitalPinToInterrupt(interruptPin), isr_func, RISING);}2. Is there any arduino function for it? Or how to do it arduino?

author: Nusa
author_rank: Super Contributor
timestamp: December 05, 2017, 06:16:48 am
content: Instead of RISING use CHANGE. Inside the ISR you can determine if it's rising or falling by reading the pin. If the fall came less than 10 ms after the rise you can reject the pulse. You'll also need something in your main loop or on a timer interrupt to determine when the pulse is to be accepted.Not the only way, but the one that jumps to mind.
How to amplify and analyze EM signal? - Page 1
Forum section: electronics / beginners

author: daslolo
author_rank: Regular Contributor
timestamp: April 24, 2018, 01:54:15 am
content: I'd like to study EM fields. I bought a cheap AM radio with no noise filter and by the sound of the AM radio speaker I can tell what machine is nearby.For example one of my LCD monitor makes a high pitch whine, the other LCD monitor makes a lower sound, the computer another one. How does an AM radio pick up on that and why is the sound audible (the frequency of an LCD signal must be in the Mhz, no?)So I connect the radio earphone jack to the oscillo and get very little voltage, why is the voltage of the earphone jack very low, the speaker I'd think would have a higher voltage to move that large membrane, no?I'd like to make an amplifier like what's inside the radio so I can hook up the output to an analog pin of the M5Stack. I don't know where to start.Is there a simple tuto on how to do that?What's the best way to analyze EM signal to recognize what is what? Is there an equivalent to voice recognition? And how to make one?Thanks.

author: fourtytwo42
author_rank: Super Contributor
timestamp: April 24, 2018, 07:06:07 pm
content: You could try one of the USBradio dongles, I have seen software that gives a waterfall display indicating frequency and amplitude, very usefull for investigating suspected EMI sources though calibration is a problem.

author: daslolo
author_rank: Regular Contributor
timestamp: April 24, 2018, 08:04:25 pm
content: Good idea, I'm trying thishttps://www.amazon.com/gp/product/B009U7WZCA/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

author: fourtytwo42
author_rank: Super Contributor
timestamp: April 25, 2018, 09:39:46 am
content: Looks OK, I wish you luck with Amazon, they ripped me off so I closed my account!
How to amplify only the DC detla voltage ? - Page 1
Forum section: electronics / beginners

author: lordvader88
author_rank: Frequent Contributor
timestamp: January 10, 2018, 10:04:49 am
content: I was trying to make a little 555 freq. to voltage converter, (not really working I don't think). But anyways at 1 point I was getting from an LM358 output, about DC 9.00-10.60V from for 3 ranges of frequencies, from say 60Hz to 87kHz, about 0.500V for each range, as I sweep the coarse freq control.How can I take that DC change of about 1.50V and amplify it on a centered 2.5V say ? Ignoring my circuit thats probably not working, I thought take the lm358 out1 and split it down to 2.5V (+1.50Vdelta) with a voltage divider. What circuit will basically just take the DC 1.5V change and multiply it by 2 or 3 so I'd get 2.5V to 7V for example?

author: paulca
author_rank: Super Contributor
timestamp: January 10, 2018, 10:08:34 am
content: Not sure but are just after a differential (subtractor) amp?http://www.electronics-tutorials.ws/opamp/opamp_5.htmlYou can subtract the two voltages and then multiply the difference by the gain.

author: lordvader88
author_rank: Frequent Contributor
timestamp: January 10, 2018, 10:14:40 am
content: I forgot they could do that, and thats 1 thing I used to model on circuit wizard a year ago.
How to analyse this distortion circuit (for a guitar pedal) ? - Page 1
Forum section: electronics / beginners

author: rgehan
author_rank: Newbie
timestamp: June 14, 2014, 11:23:14 am
content: Hello,This is my first post on the forum, I've read a lot of materials about electronics, and I think I understand the basics of this circuit.Here is the schematic:This is what the oscilloscope is showing (yellow signal is Vin, blue signal is Vout, and the purple one represents the GND):Q1 acts here as an amplifier: it amplifies the current flowing from the input. We have C1 and C2 in series to remove the DC component of the signal. And R1 allows us to "re-inject" a little current into the base of Q1 to amplify a little bit more (is it called feedback ?).I'm quite familiar with Ohm's Law, Kirchoff, and know approximately the behavior of a transistor, but I can't figure out how to "solve" this circuit. I mean, how to get all the interesting relations between the input voltage, and the output voltage.I don't want to start building something without fully understanding it, and that's why I'm asking for your help.Here are the "relations" I came up with :- Currents (Kirchoff's):I(R2) = I(Amp) + I(c) + I(out)I(b) = I(In) + I(Amp)I(c) = hFe x I(b) = 40 x I(b)I(e) = I(c) + I(b) = 40 x I(b) + I(b) = 41 * I(b)- Voltage (Ohm's)I(R2) = V(R2)/68kI(Amp) = V(R1)/2.2MI(e) = V(R3)/470At that point, is there any mistake I could have made ?- 1) Usually, when I'm done with the intensity, I try to determine voltages across know resistors, but here, I can't figure out how to make loops in order to use the "equivalent resistor" to determine current/voltage.How should I proceed to determine voltages, or at least relation between them, since the input is variable ?For example, I've tried to determine what was the expression of V(out), I thought V(out) was going to be equal to V(R3) but according to my simulation, that's wrong.- 2) How can I determine the current flowing from my input ? It all depends on the mic ? But is there an average value I could use to analyse the circuit ?- 3) On the 2N3904 Datasheet, there are multiples values for hFe. I ran a simulation (with an sin wave on the input: 1v amplitude, 10kHz since the audible frequencies range is [20Hz;20kHz]) and probed the I(c) current, it was about 0.1mA, so I took the value of the datasheet corresponding to .1mA. Is this the right value ? Is there a better way to proceed ?- 4) Finally, do you know a great book/textbook on circuit analysis, but that would be understandable by a beginner ? I've taken some electronics class, but they were only high-school level. I'm really trying to complete my understanding of electronics, and I'm not afraid of maths, even if I highly prefer a "practical" book.Thanks in advance.Oh and I apologize for all the grammatical mistakes I probably made, this is not my mother tongue
How to analyze a circuit's time constant with capacitors and resistors in series - Page 1
Forum section: electronics / beginners

author: Kituro
author_rank: Newbie
timestamp: March 25, 2022, 08:59:27 am
content: As the image shows, The capacitance of the circuit will be the two capacitors in series, which is 135nF.So the time constant will be t = R * C = 520ohm * 135nF = 0.7us, but in the oscilloscope the charging time is obviously more than 3.5us(5t)I've build a current source using an op-amp.This current source circuit is always used in DC.But i tried to make it work in AC by simply adding two capacitors(to isolate DC offset).From the simulation, it seemd working properly.Then I want to calculate the time constant of this circuit, but the result contradicts the oscilloscope's graph.The op-amp is ideal, whose output resistance is 10ohm. And it has connected to +12V and -12V DC supply.Fuction generator is set to output a 1kHz sqare wave at 5V(peak-to-peak).Did I calculated correctly?How to analyze this circuit?I'm a beginner in electronics, I'd be appreciate it if you can help me.

author: Terry Bites
author_rank: Super Contributor
timestamp: March 25, 2022, 12:35:54 pm
content: The DC operating point for the opamp is not defined. The distribution of charge between the two caps cannot be defined. On the bench this circuit will act as an integrator and drift off to rail.

author: Kituro
author_rank: Newbie
timestamp: March 25, 2022, 02:09:54 pm
content: Thank you for your reply.I looked up some information about how to bias the op-amp, there are many solutions.Could you please give more details?Can I have a simple voltage-divider connected to the terminal or place a zener diode between the terminal and ground?
How to analyze long running voltage curve with scope - Page 1
Forum section: electronics / beginners

author: level6
author_rank: Regular Contributor
timestamp: June 14, 2019, 03:54:17 am
content: I have a circuit that produces a long running, up to 20 seconds, voltage curve. When the circuit is triggered, the voltage starts at 0V, peaks at +5V and then decays back to 0V. I have a Rigol 1054Z scope.I'm trying to figure out how to show the entire curve from start to finish on the screen. So far I've only been able to get a portion of the start of the curve to show.Is it possible to show the entirety of this voltage curve on this scope? If so what mode or settings do I need to use?

author: Stray Electron
author_rank: Super Contributor
timestamp: June 14, 2019, 11:49:34 am
content: I've never used a Rigol scope so I don't know it's capabilities but you need to trigger on the zero crossing from - to + and slow the sweep rate down to about 2 seconds per division. If the Rigol has a Zoom feature or some form of storage you could zoom in different parts of the captured signal to get better detail. This is one of the things that I love about the LeCroy DSO scopes, they usually come with very deep memories.If you can't slow the scope down that much or if you need to better detail of the signal you may have to capture and study the waveform in multiple sections.

author: RoGeorge
author_rank: Super Contributor
timestamp: June 14, 2019, 03:33:30 pm
content: Yes, it's possible. By default for the DS1054Z the trigger point appears at the middle of the screen, but you can move it to the left.Set the horizontal sweep for 2.00 s per division, then from the smaller button above labeled <POSITION> move the small yellow arrow with a T on it until it D displays 10.0000000 seconds.Ideally you would want to set the trigger for the falling edge.You may want to read the manual, you will discover there the oscilloscope has tons of features.

author: level6
author_rank: Regular Contributor
timestamp: June 14, 2019, 04:39:02 pm
content: Thanks for everyone's help! Using your suggestions I was able to get the curve to display. I had to use the Force button to start a trigger. I'm reading the manual now to see how the various triggers work.
How to analyze this tricky circuit with a shorted battery? - Page 1
Forum section: electronics / beginners

author: hurricanehenry
author_rank: Regular Contributor
timestamp: May 10, 2017, 03:54:18 am
content: How would one go about analyzing this circuit?

author: Ian.M
author_rank: Super Contributor
timestamp: May 10, 2017, 04:09:41 am
content: What's to analyse? Assuming the 5V battery can supply 5A with negligible voltage drop, the 1 Ohm resistor will pass 5A as it has 5V across it and the 1K resistor will pass 15mA as it has 15V across it.

author: Brumby
author_rank: Unknown
timestamp: May 10, 2017, 04:53:38 am
content: With the presumption that the voltage sources are "ideal" - that is, their ESR=0 - then it's just asIan.Mhas stated.
How to ask about specific parts? (What section of the forum to use)? - Page 1
Forum section: electronics / beginners

author: mistercris
author_rank: Contributor
timestamp: March 13, 2017, 02:18:56 am
content: Hi all again,Second question, is there a section here specifically about parts? I've two specific items I'm curious on getting more info about (one a piece I salvaged that I can't figure out what it is and the other is regarding far infrared diodes).What section of the forum would be appropriate to ask about such things?Thanks again.

author: tautech
author_rank: Super Contributor
timestamp: March 13, 2017, 02:26:43 am
content: Quote from: mistercris on March 13, 2017, 02:18:56 amWelcome to the forum.Here in the beginners thread is good and get's heaps of views.Other options:https://www.eevblog.com/forum/chat/what's-this-please-(component-advice)/https://www.eevblog.com/forum/projects/

author: xrunner
author_rank: Super Contributor
timestamp: March 13, 2017, 02:29:06 am
content: Quote from: mistercris on March 13, 2017, 02:18:56 amWell, you could use Beginners if you think you are a beginner (I don't know if you are), or Projects, Designs, and Technical Stuff could be used, or perhaps General - there is no "Parts" area specifically.Why not go ahead and ask in this thread?

author: mistercris
author_rank: Contributor
timestamp: March 13, 2017, 02:30:04 pm
content: Thanks!I'll do that then, first off is this thing. It's not particularly important to know just curious cause I couldn't figure it out. Pulled it off one of those USB mug warmer hot plate things. Only thing printed on the board was 6M. Thought it was a capacitor but it has too many leads but it also doesn't look like any transistor I've ever seen or any I could find on google images either. So it's bugging me and I'd like to know.

author: crazyguy
author_rank: Regular Contributor
timestamp: March 13, 2017, 02:33:38 pm
content: Ceramic resonatorhttps://en.wikipedia.org/wiki/Ceramic_resonator

author: mistercris
author_rank: Contributor
timestamp: March 13, 2017, 02:46:36 pm
content: Cool! Thanks. Had no idea these things existed. I learned something new today!
How to ask questions. - Page 1
Forum section: electronics / beginners

author: Unknown
author_rank: Unknown
timestamp: February 18, 2010, 10:31:25 am
content: As Dave mentions in his Drivetime video a lot of people are sending questions directly to Dave. I would like to stick my oar on this subject and make some points from one electronics beginner to others.Asking questions in forums opposed to direct emails not only has the advantage of reaching more potential responders and getting you a solution faster, but also makes the question and answer publicly available to other people with similar problems, potential spreading the collective wisdom further.Also once you have found a solution its great if you can write a little something about what worked for you. There is nothing more annoying than someone asking a question getting some pointers in the right direction and then posting "Got it now!". Thats great but please let the rest of us know what you did to make it work. I see this a lot in programming/computer forums and it really grinds my gears.Thanks
How to assemble banana plug? - Page 1
Forum section: electronics / beginners

author: quadrant
author_rank: Contributor
timestamp: October 20, 2020, 07:13:00 am
content: I bought this type of banana plug from Ebay (see images below). However, I can't figure out how to insert the plastic insulationThe insulation is not threaded. It seems you just jam the metal part inside. However, the wide part of the metal does not fit into the hole. It is about 5.5mm whereas the hole in the plastic insulation is about 4.75mm. The plastic is also semi-hard so pushing does not make it stretch to size.Should I drill out the hole to make it larger? Are you supposed to heat the metal part up and push it into the plastic holder when hot so that it melts to fit?

author: BravoV
author_rank: Super Contributor
timestamp: October 20, 2020, 07:40:24 am
content: Had the same confusion while ago, but one of the member here Franky (iloveelectronics) shared me these tips.Quoting him directly with the illustations ...QuoteHope this helps.

author: quadrant
author_rank: Contributor
timestamp: October 20, 2020, 10:18:20 pm
content: Thank you! Will give it a shot with the pliers. The pictures are very helpful.

author: tooki
author_rank: Super Contributor
timestamp: October 20, 2020, 11:58:26 pm
content: Use a hair dryer to slightly warm the insulator and the contact. It’ll make getting it on much easier. (And should you ever need to remove it, warming it a bit is practically mandatory.) Just don’t go crazy with the heat; you aren’t looking to melt it, just make it more compliant.
How to attach coax to an Amphenol 172300? - Page 1
Forum section: electronics / beginners

author: elroy
author_rank: Regular Contributor
timestamp: June 21, 2024, 12:58:08 am
content: I've been looking around for instructions or videos on attaching coax to the Amphenol 172300 N-type RF connector, but am striking out.The connector comes in three pieces, the main body that mounts on the chassis, as well as a solder nut and a contact pin. Haven't worked with this style before, and just want to make sure I get it right.

author: Kim Christensen
author_rank: Super Contributor
timestamp: June 21, 2024, 01:18:29 am
content: Usually there's a little drawing on the bag...Their site doesn't have much info about it except thecrimp die size and strip length.

author: Wallace Gasiewicz
author_rank: Super Contributor
timestamp: June 21, 2024, 11:22:50 am
content: The Connector is madeFor Use With: RG-401 0.250" Conformable Times Tflex 401, which is semi rigid cable and screws into the back of the connectorhttps://assets.testequity.com/te1/Documents/pdf/amphenol/amphenol_172300-connector_customer-drawing.pdfIf you use other cable, it may not fit securely, you are supposed to strip the cable according to their measurements, solder the pin on the center and screw the cable into the back of the connector.

author: tooki
author_rank: Super Contributor
timestamp: June 21, 2024, 11:56:40 am
content: Quote from: elroy on June 21, 2024, 12:58:08 amDownload the full catalog at:https://amphenol.com.ar/wp-content/uploads/2020/11/Amphenol-RF.pdfLook at Assembly Instructions C9 on page 281.Download Assembly Instructions C9:https://www.amphenolrf.com/library/download/link/link_id/591600/Prepare the cable using the strip lengths shown in thedrawing.

author: tooki
author_rank: Super Contributor
timestamp: June 21, 2024, 12:02:22 pm
content: Quote from: Wallace Gasiewicz on June 21, 2024, 11:22:50 amNo.You solder or crimp the pin, then screw the solder nut (with cable) into the back, then solder the nut to the cable.You cannot use it for other cable, period. There’s no way to properly secure regular flexible coax, for example.
How to attach images or files to a PM??? - Page 1
Forum section: electronics / beginners

author: Paul Price
author_rank: Super Contributor
timestamp: June 22, 2013, 01:56:47 pm
content: I donno how to attach or insert a picture or a file to a PM sent to another member...does anyone know how?

author: Falcon69
author_rank: Super Contributor
timestamp: June 23, 2013, 01:58:43 am
content: I think for PM, you have to have the image on an actual storage site, like a comcast web account or something, or like photobucket. Then you simply insert image, and between the '[ IMG ][ /IMG ]' you put the URL linking to the image

author: Paul Price
author_rank: Super Contributor
timestamp: June 24, 2013, 03:41:05 am
content: Thanks, Falcon69, I guess that is the only way it can be done so I must first post it on some cloud storage site.Thanks Wilfred, the "image" icon doesn't work the same as forum topic posting like my comments here,I decided to just email to solve the problem.Someone (Chris Wilson)sent me a picture to me in a PM, and I don't know how it was accomplished...said I must be hosting a site to do this in my own outgoing PM's..
How to attach wire to E-Z Hook - Page 1
Forum section: electronics / beginners

author: Circular2421
author_rank: Newbie
timestamp: April 05, 2024, 06:11:31 pm
content: I bought a set of E-Z-Hook XKM-S hooks thinking they'd plug right into the jumpers I already have but my jumpers slip right off. It looks like the posts are square 0.025". I see E-Z-Hook sells a set of test lead jumpers for $43 but that seems crazy expensive. Am I looking in the wrong place for compatible jumper wires?Also I've done a lot of searching and I'm not finding any good answers. Is this just a really non-standard pin size?Datasheet:https://ezhook.wpengine.com/wp-content/uploads/2019/11/XKM.pdf

author: MLXXXp
author_rank: Frequent Contributor
timestamp: April 05, 2024, 07:37:09 pm
content: That type of hook is intended to be connected to single position "Dupont" female connectors or something similar.https://handsontec.com/dataspecs/connector/Dupont%20Connector%20Kit.pdf

author: jpanhalt
author_rank: Super Contributor
timestamp: April 05, 2024, 07:42:21 pm
content: I agree. Use a single DuPont/Berg female connector with cantilever design. (Image from another thread here.)I give up. Attaching an image here is hell and has been for recorded human history. Here's the link to the other thread:https://www.eevblog.com/forum/projects/soic-clips-419903/msg5424563/#msg5424563

author: tooki
author_rank: Super Contributor
timestamp: April 05, 2024, 07:47:34 pm
content: They're standard pins (0.025” is the size of standard 0.1” pitch header pins). Your jumpers are likely worn out — Chinese “DuPont” female terminals areawful, and loosen after just 2 or 3 mating cycles. Quality connectors (the gold standard being Amphenol Mini-PV, which according to Amphenol stands for “perpetual virgin”) will handle hundreds of mating cycles without losing tension.Unfortunately it’s hard to get jumpers made with quality connectors, other than spending a fortune on proper crimp tools and genuine terminals, then spending a bunch of time DIYing them. And unfortunately, the only series that have single-position housings (AMP AMPMODU, Amphenol Mini-PV, and Harwin M20) don’t sell precrimped leads on any of the big distributors, as far as I can tell. But if you don’t care what they look like, you can get Molex SL precrimped and just put some heat shrink over the terminals.