hybridfree/eevblog-posts huggingface dataset:
Using 2.4GHz duck antennas with subghz radio? - Page 1
Forum section: electronics / projects

author: abhishekkumar1902
author_rank: Regular Contributor
timestamp: December 14, 2017, 12:05:32 pm
content: Since I am not from RF field, had this questions where I am using CC1350 subghz radio in one of my project and I have some of these 2.4GHz wifi duck antennas lying around, where I wanted to ask if I can use them with the CC1350 subghz radio operating at around 915 MHZ. If not, why?

author: hagster
author_rank: Frequent Contributor
timestamp: December 14, 2017, 02:06:57 pm
content: Its very hard to tell how well it will work at 915MHz since they do not publish and specs at this frequency. I doubt it will work well, because the antenna element will be too short at this frequency and the impedence match will likely be very poor also.For a very short range link(say across a room) it may work a bit, but then I bet an 8cm bit of random wire would work better.
Using 5 phase stepper driver with 4 phase stepper - Page 1
Forum section: electronics / projects

author: ercan4434
author_rank: Contributor
timestamp: February 07, 2025, 03:47:42 pm
content: Hi, I repaired my Autonics MD5-HF14 5 phase micro stepper motor driver that uses bipolar constant pentagon drive method.I want to make a direct drive steering wheel using this motor driver. I searched for 5 ph steppers but cant find anything available commercially.Can I use a 4ph stepper like Nema 34's? They have 8 wires

author: Zipdox
author_rank: Regular Contributor
timestamp: February 07, 2025, 05:19:02 pm
content: Unipolar steppers aren't used much anymore since advances in drivers made them unnecessary. Bipolar steppers provide more torque. I don't know how the 8-wire motor you're talking about is wired, but if it's like a bipolar motor but with the windings split, then it can be wired as a unipolar motor.

author: ercan4434
author_rank: Contributor
timestamp: February 07, 2025, 05:37:18 pm
content: This is the datasheet for the motor that I mentioned.They give wiring diagrams for parallel and serial but I couldn't figure out the pentagon style wiring

author: thm_w
author_rank: Super Contributor
timestamp: February 08, 2025, 12:16:39 am
content: The motor you show says 2 phase, so I wouldn't expect it to work with a 5-phase driver:https://www.orientalmotor.com/stepper-motors/technology/stepper-motor-pentagon-bipolar-driver.htmlhttps://www.orientalmotor.com/stepper-motors/technology/2-phase-vs-5-phase-stepper-motors.htmlI would try to sell that driver and use the money to buy a normal 2 phase stepper, or servo motor.

author: Someone
author_rank: Super Contributor
timestamp: February 08, 2025, 12:26:51 am
content: Quote from: ercan4434 on February 07, 2025, 03:47:42 pmThe same manufacturer makes the motors, available through various distributors and with wide enough scope to end up on newegg and eBay.

author: jmelson
author_rank: Super Contributor
timestamp: February 08, 2025, 02:08:33 am
content: I have a pick and place machine that uses 5-phase motors for the nozzle rotation. Somebody who didn't know what they were doing changed a motor with a 2-phase motor. Fortunately, this did not damage the driver. But, I can sure guarantee that the 2-phase motor did not run properly when driven by the 5-phase driver. It mostly just vibrated. 5-phase motors are mostly made by Oriental Motor, under license from Berger-Lahr.Jon

author: ercan4434
author_rank: Contributor
timestamp: February 08, 2025, 11:05:03 am
content: I will try to sell this and get a normal 2 phase driver and motor. Thanks everybody for helping.

author: benseno
author_rank: Regular Contributor
timestamp: February 08, 2025, 11:32:52 am
content: You have to check 5phase motor steps per revolution parameter if you are going to swap it with 2 phase stepper which usually has 200 steps per revolution in case if 5phase motor is part of proprietary device driven by controller you don't have an access to.
Using 5V from the USBc port for the gate driver IR2302, is it reliable enough? - Page 1
Forum section: electronics / projects

author: karakis
author_rank: Newbie
timestamp: May 05, 2025, 08:19:02 pm
content: Hi,I'm working on a synchronous buck converter with an input voltage of around 60V, and I'm planning to use the IR2302 gate driver (https://mou.sr/4jqqFSB) to drive the two MOSFETs. According to the datasheet, the minimum Vcc for the driver is 5V. I’m considering using the default 5V from the USB-C port as the Vcc for the gate driver. I tested this setup on a breadboard, and it seemed to work reasonably well, but I’m not fully confident that it's robust or reliable enough for the final PCB design. I’d prefer to use the default 5V from the USB port, because otherwise adding a separate boost converter would increase complexity in the PCB. I wanted to ask if anyone has experience with this approach or any suggestions that might help.Thanks!

author: Benta
author_rank: Super Contributor
timestamp: May 05, 2025, 08:34:07 pm
content: Do NOT post in multiple sections.

author: Simon
author_rank: Unknown
timestamp: May 07, 2025, 06:32:16 pm
content: Don't double post, people resent having their time wasted.
using a 4013 to latch a relay on/off - Page 1
Forum section: electronics / projects

author: geobee
author_rank: Contributor
timestamp: June 21, 2021, 09:33:19 pm
content: Hi all. Like to use a 4013 flip flop to drive a relay on/off in latch mode. Managed to make up a little circuit using a transistor to drive the relay, but I am wanting to trigger the input of the 4013 from the trigger output of one of those little obstacle avoidance modules off Ebay. The issue is, the trigger output is sitting at the supply volts of 5, but when connected to the input of the 4013, it drops to 3 volts before the it senses anything in front of it. I am going into pin 3 of the IC. Maybe someone has a better idea of a circuit. I need to reverse a model train on a section of track, so need to drive a DPDT relay to do the track supply switching. Any help would be much appreciated.

author: Zero999
author_rank: Super Contributor
timestamp: June 21, 2021, 09:56:54 pm
content: That sounds like it should work. The 4013 has a high input impedance, so won't load the output of whatever it's connected to down.Have you used suitable a decoupling capacitor and connected the inputs of the unused parts to either supply rail?

author: geobee
author_rank: Contributor
timestamp: June 21, 2021, 10:10:58 pm
content: Many thanks. I did tie the unused pins to ground, but the cap is missing in my design. Will chase that up.

author: Terry Bites
author_rank: Super Contributor
timestamp: June 23, 2021, 06:37:30 pm
content: Note that you need a clean clock (and data) signal to get this to work. if youve set up the 4013 to toggle (T-Type FF) then will flap in the wind every time dirty clock is applied. The state of D must be set 40ns before pin 3 goes high. If you are driving pin 3 with more than Vdd (even accidentally) the IC could latch up. If mad current is drawn then SCR latchup is occuring. Seehttps://en.wikipedia.org/wiki/Latch-up.Asmall series resistor from clock source to pin 3 will help, say 51k.put a bypass cap to ground as close to pin 14 as you can get it. 10-100n.Can a 4013 provide enough base drive to your transistor. It can only source or sink a couple of mA from Q or /Q? What value of base resistor have you got. Have you put a diode across the coil to stop back emf killing your circuit?
Using a 450Mhz band antenna tester at 900Mhz - Page 1
Forum section: electronics / projects

author: VintageTekFan
author_rank: Regular Contributor
timestamp: November 03, 2014, 01:21:27 pm
content: Question for ask the HAMs out there: I'm heading into the field today with a MFJ269Pro antenna tester to test some 900Mhz antennas.I know it only covers up to 450Mhz, but I've got very little choice. What difference can I expect to see between the the measurements? I well have a known good setup to compare to.I would love to learn the theory, but time is short for now. Thanks!

author: Fraser
author_rank: Super Contributor
timestamp: November 03, 2014, 04:40:24 pm
content: 900Mhz antenna is half the length of that used for 450Mhz as you likely know. A 900MHz antennas is unlikely to resonate in any meaningful way in terms of making any measurements for return loss etc. If the SWR analyser is really poor quality and produces a large harmonic of its tuned fundamental you MAY see some readings but the bridge is not optimised for such a high frequency so don't get your hopes up.You need a suitable tool for this job, a 450Mhz unit isn't up to the task.Aurora

author: tggzzz
author_rank: Super Contributor
timestamp: November 03, 2014, 04:53:12 pm
content: You will probably be able to see gross abnormalities, but not be able to determine whether something is in or out of spec.By analogy, you will find it as easy as using a 500MHz scope to see a 1GHz signal. You will see something, but it won't show the high frequency detail.
Using a 6" length of 28 AWG IDC10 cable for audio hookup? - Page 1
Forum section: electronics / projects

author: DonKu
author_rank: Regular Contributor
timestamp: June 28, 2019, 05:40:05 pm
content: Is it feasible to use a 6" length of 28 AWG IDC10 cable to hookup a front panel to an audio PCB? The front panel contains: input and output stereo jacks, a volume control potentiometer, and a 12 VDC 1A power input jack.Thank you in advance, 73,--Don Kuenz KB7RPUThere was a young lady named Bright Whose speed was far faster than light;She set out one day In a relative way And returned on the previous night.

author: German_EE
author_rank: Super Contributor
timestamp: June 28, 2019, 05:46:16 pm
content: In theory, yes. To make sure there is no hum pickup I would alternate signal and ground lines and wrap copper tape around the flat cable that is grounded at one end.

author: rrinker
author_rank: Super Contributor
timestamp: June 28, 2019, 06:53:54 pm
content: I've seen this in audio gear I've taken apart. Though it may have been heavier wire in the ribbon cable than #28.

author: magic
author_rank: Super Contributor
timestamp: June 28, 2019, 09:50:59 pm
content: Perhaps.6" isn't long and many audio cables contain more or less the same inside.Use some sensible layout to prevent capacitive coupling from output (or power) to input, like: inputs, input ground, output ground, outputs, 2x power ground, 2x power.Look up tables of AWG resistance per inch/foot/whatever and see if voltage drop and heating of the cable at 1A will be tolerable.

author: DonKu
author_rank: Regular Contributor
timestamp: June 29, 2019, 01:56:46 pm
content: My ribbon cable solution was discarded last night and replaced with hand twisted 26 AWG solid wire. Although the circuit theoretically draws a couple hundred milliamps, it's too close for comfort to 28 AWG wire's 228 milliamp current carrying capacity at 700 circular mils per amp. The IDC header is too large for this project too.Thank you to everyone who offered advice, 73,--Don Kuenz KB7RPUThere was a young lady named Bright Whose speed was far faster than light;She set out one day In a relative way And returned on the previous night.
Using a car battery charger to power Riden RD6006 - Page 1
Forum section: electronics / projects

author: bikeseat
author_rank: Newbie
timestamp: September 14, 2024, 09:59:27 pm
content: I have this car battery charger:https://www.amazon.com/dp/B094VQ88X2It outputs 10A @ 12V & 5A @ 24VI'd like to use it to provide power to a Riden RD6006.https://www.aliexpress.us/item/2255800096237178.htmlIs there a possibility this could damage the RD6006? I've read elsewhere about car chargers outputting "dirty" (I'm assuming that means inconsistent voltage or spikes?) dc that could damage devices that prefer a steady voltage.

author: wasedadoc
author_rank: Super Contributor
timestamp: September 14, 2024, 10:13:23 pm
content: Some of those "smart" chargers do not output constantly. They switch the output on for a while, then turn it off and measure the battery voltage. Then repeat.Also the ones with a mode that claims to revive dead batteries usually apply voltage pulses significantly higher than 14 volts.If you have a scope and suitable dummy load (eg a headlamp bulb) I would test before trying on the Riden.

author: Benta
author_rank: Super Contributor
timestamp: September 14, 2024, 10:41:25 pm
content: Why on earth would you try to power a 360 W charger from a 120 W charger?

author: wasedadoc
author_rank: Super Contributor
timestamp: September 15, 2024, 05:31:34 am
content: And I expect the charger will not start at all unless it senses external voltage (normally from the battery to be charged) on the charger's output terminals.

author: inse
author_rank: Super Contributor
timestamp: September 15, 2024, 06:26:13 am
content: I have a similar one and it would not even start on a deep discharged battery.All the “intelligence“ avert using it for anything other than charging.

author: CaptDon
author_rank: Super Contributor
timestamp: September 15, 2024, 02:34:49 pm
content: Don't do it!!!! Those chargers are unpredictable, besides that the open circuit voltage could be insane, like up to 18VDC maybe more!

author: Phil1977
author_rank: Frequent Contributor
timestamp: September 15, 2024, 04:52:51 pm
content: Bad news is that the charger really is no good power supply.Good news is that power bricks that do better are really not expensive. With e.g. a 36V/10A supply like thishttps://www.aliexpress.us/item/1005005626231303.htmlyou get a really cheap and flexible power supply.Just be prepared for lots of noise and some danger of something blowing up. I personally use such a combination as a Li-Ion charger from time to time, but never unsupervised. And I connected the (-) output of the mains supply to PE so that an insulation failure in the mains supply trips the RCD. I don't know if that´s possible in your application, but I recommend it if the output does not need to be floating.
Using a Chinese RF module - Page 1
Forum section: electronics / projects

author: delicado
author_rank: Contributor
timestamp: March 04, 2017, 06:40:34 am
content: HiIs it typically a good idea to use a FCC-certified Chinese RF (Bluetooth or WiFi) module in a commercial product? Suppose the FCC certification is genuine. I just wonder if it'd be likely for the module to still produce (unacceptable) emissions during the *unintentional* emission test, and thus failing the test for the product. The module may have passed intentional emission test, but the quality between batches could potentially vary.Thanks

author: garboui
author_rank: Regular Contributor
timestamp: March 04, 2017, 08:21:41 pm
content: If you truly think its fcc certified, you should do your due diligence and look up its certification on the fcc website, verifying that it has not been reused for a different revision of product. If you are using your own external antenna you will take a risk that it is still conpkiant. Look at the margins in the report and stick with a equal or lesser gain antenna. One more gotcha is if they certified the module with one rf stack, lets say Bluetooth and your software operates the radio on a different mode that would fix the channel or reduce the channels the device operates on, the cert is no longer valid and may also not be certifiably co.pliant anymore.If the above checks out you will then need to apply a label stating "this product contains fcc id bla bla bla..."You may still and likely need need fcc part 15 or other certs on the rest of the product (if oscillators above 7kHz are present IIRC) but that is another discussion.

author: RadioNerd
author_rank: Regular Contributor
timestamp: March 04, 2017, 10:21:36 pm
content: Some of these modules fulfill the emission requirements just by a small margin.Just by putting such a module in a different environment (PCB layout, metal parts in proximity etc..) the harmonics of the signal can rise to a level above the compliance limit due to resonance and reflection effects... However, this can also happen with "non-chinese" modulesTo be really sure you have to measure the output spectrum.
Using a fixed LDO as an adjustable device - Page 1
Forum section: electronics / projects

author: itdontgo
author_rank: Regular Contributor
timestamp: June 29, 2013, 03:23:53 pm
content: Hi,I can't get hold of low-cost 1084 adjustable LDOs but I can get the 1.8v version. I need roughly 4 volts from a 5/6v supply. It's not too critical. I was thinking of using a biased zener instead of just two resistors to set the voltage making the ground pin less current dependent.Has anyone ever tried using a low fixed voltage reg in an adjustable layout? I know I'll get the right voltage but I'm concerned about the application's sudden current surges.Thanks

author: digsys
author_rank: Unknown
timestamp: June 30, 2013, 12:20:58 am
content: The Linear Tech LT1083,4,5 series are awesome regulators. As long as the "set current" drains to 0V, you can use pretty much any technique todo voltage adjust / trim. They have a pretty good range of application circuits that cover all sorts of control ideas. The fixed versions follow thesame rules as the adjustable versions.
Using a Hi Speed comparator on the outputs of si5351 for better phase noise? - Page 1
Forum section: electronics / projects

author: rwgast_lowlevellogicdesin
author_rank: Frequent Contributor
timestamp: September 08, 2017, 01:37:31 am
content: Pretty much what the title says, Im working on a project to GPS discipline an si5351 to use as a 10mhz ref and a quadrature oscillator for a QSD circuit. Everyone says the si5351 doen's have the best phase noise and it occurred to me couldn't you just use a hi quality hi speed comparator on the si5351 outputs in order to get better phase noise? If so can anyone recommend a good part hopefully not a leadless package?
Using a laser to repair TFT panels - Page 1
Forum section: electronics / projects

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: September 16, 2016, 10:51:46 pm
content: Just stumbled on these vids showing the process of using a laser to patch repairs on TFT glass.Looks like they're cutting a line from a driver and using some perpendicular lines to patch over to a spare.

author: amyk
author_rank: Super Contributor
timestamp: September 18, 2016, 03:36:57 pm
content: Some more explanation here:https://www.coherent.com/download/7978/Flat-Panel-Display-Defect-Repair-Using-High-Peak-Power-Picosecond-Lasers.pdfUnfortunatelynot cheap...

author: Alex Eisenhut
author_rank: Super Contributor
timestamp: September 18, 2016, 05:13:01 pm
content: They named their laser Talisker?

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: September 18, 2016, 06:14:47 pm
content: Quote from: amyk on September 18, 2016, 03:36:57 pmYou'd only have to save a few thousand panels from being scrapped to pay for itself
using a modded lithium ion charger - Page 1
Forum section: electronics / projects

author: m3vuv
author_rank: Super Contributor
timestamp: September 10, 2021, 08:36:12 pm
content: Hi all,im not sure about what i am trying to do so thought i would ask here for some advice,firstly,i have an evergreen 5amp lithium ion charger for a battery pack i had,it was for an 18s 20ah pack,,its been a while but i am pretty sure it was 75.6v output,i have since built a 13s 17ah pack using samsung 15q 18650 cells,i changed the voltage control pot for a multi turn trimmer,the voltage adjusts fine too 54.6 volts,there are 3 pots in the charger i assume the other too are for charge current and cc cv setpoint?,the thing is do i need too alter these,at the moment i havent toutched them,is it safe to use as is?,i have a smart bms fitted too the pack,thanks in advance.

author: thm_w
author_rank: Super Contributor
timestamp: September 10, 2021, 09:19:55 pm
content: Is there no marking on the silkscreen for the pots?If the output voltage with nothing connected is 54.6V, I would think it is safe to use on your pack. But first time charging you could carefully monitor the voltage and current, make sure its not doing anything odd.Your smart BMS balances right?

author: m3vuv
author_rank: Super Contributor
timestamp: September 10, 2021, 11:50:35 pm
content: yes the bms ballances ok,think i will try it and keep an eye on things via the app,i guess the cc cv switching will be the same then for both packs as they are the same chemistry,or does it change if its now on a 13s pack?,there are only silkscreen markings like vr1 vr2 vr3 etc,tia.

author: sleemanj
author_rank: Super Contributor
timestamp: September 11, 2021, 12:00:16 am
content: My guessone of those unknown pots is for the current upper limit and the other is for the "charged point" (when current falls below this point, it's considered charged).Assuming your new pack is capable of handling the same or more charge current as the old pack you should be OK to leave those as they are I expect and just set the max voltage to the desired pack max voltage.

author: m3vuv
author_rank: Super Contributor
timestamp: September 11, 2021, 02:13:48 am
content: yes thats what i think,dont want my pack going nuclear tho lol.

author: NiHaoMike
author_rank: Super Contributor
timestamp: September 11, 2021, 03:11:30 am
content: Take the charge voltage down to 4.1V/cell (53.3V for your 13S pack) and you'll get a lot more cycles out of the pack for only a small decrease in usable capacity.

author: m3vuv
author_rank: Super Contributor
timestamp: September 11, 2021, 03:22:15 am
content: that was my plan,but i can set that in the bms via bluetooth.
Using a PC with X-FI as Audio receiver? - Page 1
Forum section: electronics / projects

author: rwgast_lowlevellogicdesin
author_rank: Frequent Contributor
timestamp: May 29, 2015, 07:42:43 pm
content: I just went out and got an older core 2 duo with a geforce 8400 and x-fi extreme. I want to use this as an audio receiver and blue ray player. I plan to add a touch lcd and watt montior, it will be a project in the end. But for right now im kind of confused about something.I want to start out with 2.1 sound I have two nice book shelf monitors and a 4 inch and 6 inch sub that i have filtered to different frequencies. I also have all the amplifiers covered! The sub amp is a prebuilt amp which will run both sub and mix two channels. The speakers will be ran on home made amps about 60w.I would eventually like to go to 5 or 7.1 surround though. My TV has L/R out rca and it also has optical out. I see no spidf/RDCA didtial out. The SB X/FI has a spidf I/O port wich is a standard 3.5mm. For 2.1 I can easily use the L/R analog out, but if I want surround sound what is the best way to get the digital signal from my TV to the X-FI? Will the X-FI actually take a two channel audio signal and process it to 5./7.1? Or an I going to have to figure out how to connect that optical port to a 3.5mm jack? And if I do is that as simple as using a photo transistor/diode to convert the light pulses to digital pulses?I think the x-fi sounds better than surround a\in a box and am willing to build what I need too, but I want one box that acts as the stereo processor and video player for any sound coming out the TV, I don't want any receivers that is the computers job!

author: NiHaoMike
author_rank: Super Contributor
timestamp: May 30, 2015, 04:19:56 am
content: Optical out is S/PDIF. Use an optical receiver module.
Using a Stepper Motor as a Rotary Encoder (Implementation Video) - Page 1
Forum section: electronics / projects

author: seancsnm
author_rank: Regular Contributor
timestamp: February 05, 2023, 03:27:12 am
content: Hello all,I've wanted to use a stepper motor as a rotary encoder for some time now, and I think I've achieved a pretty decent result - one that seems to work pretty well on the bench at least. I put the brainstorming and implementation process in video format. Not a great start as far as video making goes, but I really don't have time to put more effort into it right now and it's going to take a lot of work on myself and speaking ability before the quality would become anywhere near something I am proud of. I may consider using a script in the future, but those are quite boring and obvious, but maybe it's the way to go to start out. But the information should be useful if you can slog through the video at 2x speed. Suggestions for improvements welcome, with the video and the implementation.
Using a ULN2003 for Cathode and Anode? - Page 1
Forum section: electronics / projects

author: Stonent
author_rank: Super Contributor
timestamp: August 04, 2014, 12:34:12 am
content: Another post related to my time machine project...Originally the idea was these 7 segment displays would be configured by dip switches to flip the A through G segments on and off. Yeah it would be not great way to do it, but it would have worked.A different part of the circuit was going to have 24 LEDs that I was going to drive from a shift register and the ULN2003.So I had ordered parts based on that assumption.The design has since changed and now the switches will be used to turn the 24 LEDs on and off and will be trying to drive the 8x 7 seg displays with the shift registers and ULN2003 chips.I decided to treat this circuit as if it were an 8 x 8 LED matrix with a Column Cathode, Row Anode configuration.So I'm going to wire all the segments together and cycle through them using 1 shift register for the segments which I'll drive in parallel, and will select the digits using the second shift register.Can anyone think of a way to use the ULN2003 to drive the anodes and cathodes or would I just be better off using 8 individual transistors on one side?4 x TOD-5261AG-B Green Common Cathode Dual 7 Seg Disp. (Total 8 x 7 Seg displays)2 x ST M74HC595B1 Serial to Parallel shift registers8 x 270R resistors (Technically a 15x270R common source resistor network)2 x ULN2003APG (7x NPN Darlington)http://www.toshiba-components.com/docs/linear/ULN2004AFWG_en_datasheet.pdf1 x MCU (probably a ATMega328P)

author: williefleete
author_rank: Regular Contributor
timestamp: August 04, 2014, 04:33:47 am
content: probably easier to use external PNP transistors on the darlington drivers for the anodesemitter: going to supply rail via the common source resistorsbase: via a resistor into the darlington drivercollector: on the anode(s) of the LED displaylow side will be the cathodes going into the output lines of the darlingtonsas a side note, there used to be these awesome IC's that were a combined shift reg and 8 darlington outputs, I used at least 24( + some in a prototype) of these in 3 displays I made, they are - I believe - not manufactured any more, the part number was UCN5841

author: oPossum
author_rank: Super Contributor
timestamp: August 04, 2014, 06:10:53 am
content: A nice substitute for HC595 + ULN2003 are the TI TPIC6C595, TPIC6B595 and TPIC6A595 power shift registers. They use DMOS outputs that typically perform better than the bipolar darlintons in ULN200x series.
Using AD7124 (24-bit ADC) on RPi with Pyadi-iio - Page 1
Forum section: electronics / projects

author: JBeale
author_rank: Frequent Contributor
timestamp: September 15, 2022, 04:58:54 pm
content: Has anyone tried this, or could point me to more documentation? I'm working with the Analog Devices AD7124-8 which is a 24-bit sigma-delta ADC with low noise. It is very clean at low-enough sampling rates eg. around 100 samples per second you can get nearly the full 24 bits of theoretical resolution. It does go up to 19200 sps but it's effectively only about 16 bits RMS at that speed.I have this chip working fine using an Arduino-type microcontroller (Teensy 4.0), and I was able to achieve the full speed range, which the existing Arduino software library I found would not do. My simple test example code is here, if anyone's interested:https://github.com/jbeale1/DataAcq/blob/master/AD7124-continuous-read.inoMoving ahead, I want to compare sensors in different areas in near-real-time. It makes more sense to use this chip with a networked computer like a Raspberry Pi so I can get the data from a remote host. I see that Analog Devices has a framework for doing just this, which they call Pyadi-iio. However the best documentation I have found so far is a short part of one YouTube video:https://youtu.be/yBjaI1uyXGY?t=1195Unfortunately, all comments on that video are disabled.There is a lot more configuration that this ADC chip offers than the brief code example in the video shows. It has 57 internal addressable registers, configuring a large number of internal parameters and operational modes. So I would like to think that there should be more significant code examples and/or documentation somewhere, with more detail about how it works with the Pyadi-iio code. Has anyone else been down this road?Thanks!John

author: ledtester
author_rank: Super Contributor
timestamp: September 15, 2022, 08:01:45 pm
content: You may have to recompile the kernel in order to get access to the SPI device.To solve this problem and to install other useful bits of software, it looks like Analog Devicecs created their own version of Linux for the RPi called "Kuiper Linux":https://wiki.analog.com/resources/tools-software/linux-software/embedded_arm_imagesAnd here is an AD tutorial on using Kuiper Linux with the AD7124-8:https://wiki.analog.com/university/labs/software/precision_adc_toolboxOtherwise you might find it useful to access the SPI device using the Python spidev library:https://github.com/doceme/py-spidevHere is a tutorial on how to enable the SPI kernel module. It's from 2014 but probably still pretty accurate.https://www.raspberrypi-spy.co.uk/2014/08/enabling-the-spi-interface-on-the-raspberry-pi/

author: JBeale
author_rank: Frequent Contributor
timestamp: September 15, 2022, 08:24:08 pm
content: Great! Your second link is exactly what I wanted. I assumed it must be out there somewhere, but I somehow managed to not find it myself. Thank you very much!
Using adjustable 1117 LDO as fixed 1.25v - Page 1
Forum section: electronics / projects

author: c64
author_rank: Frequent Contributor
timestamp: March 12, 2022, 11:28:02 pm
content: I need 1.25v power source. I have adjustable version of 1117 LDO (which has 1.25 reference voltage).Is it OK if I just connect ADJ pin to ground and don't use any resistors?

author: floobydust
author_rank: Super Contributor
timestamp: March 12, 2022, 11:31:56 pm
content: Yes. It does have a need for a minimum load, likely 10mA.

author: magic
author_rank: Super Contributor
timestamp: March 13, 2022, 07:31:21 am
content: I have used LM317 with grounded ADJ pin as a replacement for some unidentified 1.2V output buck converter that blew up.

author: wraper
author_rank: Unknown
timestamp: March 13, 2022, 08:45:16 am
content: Yes you can do so. Check a datasheet for a minimum load spec as it's different for various sorts of 1117.
Using AI trained pre switch on inverter to reduce switching loss - Page 1
Forum section: electronics / projects

author: Psi
author_rank: Super Contributor
timestamp: February 03, 2021, 07:34:04 pm
content: This is interesting"99.1% efficiency at 100 kHz in a 200kW EV inverter"https://www.powerelectronicsnews.com/using-ai-to-increase-ev-range/
Using ALC269 (Realtek Laptop audio chipset) - Page 1
Forum section: electronics / projects

author: Hatsune_electronic
author_rank: Newbie
timestamp: March 27, 2025, 03:46:25 pm
content: I recently scored an ALC269 from a broken laptop motherboardAnd soldered it on a breakout boardThe question i have isCan it be used in hobbyist projects as a I2S DACWith controllers like STM32s and low end FPGAs(like sipeed tang nano 9k)I found its datasheetAnd i did find some pins on the bottom half that correspond to i2s interfaceI have attached the datasheet and the pinout of the chipThanksPeace

author: RoGeorge
author_rank: Super Contributor
timestamp: March 27, 2025, 04:25:17 pm
content: Probably the easiest way to make use of it would be to attach the chip to a Raspberry Pi, and to use already existing Linux drivers to make an audio hat for RPi.

author: magic
author_rank: Super Contributor
timestamp: March 27, 2025, 07:39:02 pm
content: Probably not, it's a "HD Audio" codec. See chapter 7 of the datasheet.They are normally driven by dedicated HDA controllers which are available on some SoCs, computer chipsets or as standalone PCI(e) devices.

author: RoGeorge
author_rank: Super Contributor
timestamp: March 28, 2025, 07:07:05 am
content: In the OP it is mentioned the chip has an I2S interface. If so, shouldn't that make possible to interface the chip with the I2S header pins of a RPi? (Asking because I'm not familiar with the details and differences between I2S and HDA.)

author: magic
author_rank: Super Contributor
timestamp: March 28, 2025, 07:41:42 am
content: I see only one (and unrelated) mention of I2S in the whole datasheet.The SDATA-IN/OUT pins appear to be the HDA link, simply because everything else is power or analog.Even if an HDA codec had an I2S interface, it could still be a master which won't help with driving the codec.You need HDA commands to even configure such a codec (sampling rates, channels, volume, etc).

author: hatsune_miku
author_rank: Newbie
timestamp: March 28, 2025, 11:43:34 am
content: ohkthanks for clearing that outguess cant use this chip then
Using an EMI Filter on a MSW UPS unit - Page 1
Forum section: electronics / projects

author: KJ-90
author_rank: Contributor
timestamp: December 06, 2017, 05:32:57 pm
content: I am wondering if an EMI filter, including those made to European standards whose attenuation starts at 10KHz, can be used to filter the output from a 120 Vac, 60Hz, modified sine wave UPS. On my DSO, the waveform looks almost like a sine wave, except at the very top and bottom peaks. The UPS, which is an industrial rack mount unit, is a FCC Class A device with 44.8% THD and a maximum single harmonic of 33.1%. The concern I have is that if the EMI filter is operated like this, the operating conditions would stress the filter components ( especially the capacitors ), and a rather high noise voltage with respect to ground would be generated. I don't have a spectrum analyzer & attenuators to analyze the UPSs waveform and make the respective calculations. Any ideas?

author: floobydust
author_rank: Super Contributor
timestamp: December 06, 2017, 08:17:14 pm
content: An EMI filter does little at mains frequencies. The L-C values in the EMI filter are too small to help. Even 15th harmonic (900Hz) would pass-through.Higher frequencies (MHz) are shunted to GND through the Y-caps, unless it's a medical-grade filter.If you want to filter mains and a few related harmonics, you need a large output inductor.I'm not sure what are you trying to filter, and what load are you powering from the UPS.
using an MDAC vs a regular DC at adjust voltage amplitude... - Page 1
Forum section: electronics / projects

author: Gibson486
author_rank: Frequent Contributor
timestamp: January 29, 2023, 01:46:00 pm
content: I was looking to adjust the amplitude a 350khz sinewave signal....Digitpots seem way to frequency limited unless I pick a lower resistance version. DAC seem to be frequency limited on the verf as well, although not a badly as digipots...does this mean I have to go the MDAC route for frequencies above say 100khz? Or am I just searching digikey the wrong way and need to search deeper? I have no issue using MDACs, just rather not have to deal with the output amp (trying to use the least number of parts possible).

author: moffy
author_rank: Super Contributor
timestamp: January 29, 2023, 02:37:37 pm
content: You can use an MDAC, or PGA if you want digital control of the amplitude. A VGA amplifier e.g. AD8336 (one of many) gives you analog control of the amplitude, depends on what you want.
Using an N-FET Highside with an isolated supply? - Page 1
Forum section: electronics / projects

author: BiOzZ
author_rank: Regular Contributor
timestamp: January 26, 2014, 01:48:03 pm
content: So im designing a bench supply for my self and i quickly learned that an LM338 do not like there ground resistances being skewed (seams so obvious now but hindsight is 20-20) and as i was using a mosfet over ground for current regulation this was a problemi already have my nice expensive N-Channel logic level MOSFET that can handle the load and is basically unkillable mounted on its heatsinc and in its case so i want to stick with itif i rigged up a simple isolated supply can i do this?(very much simplified!!!)VADJ and GND being the isolated supplyV+ and V- being a separate adjustable supplyhaving the mosfet controlled by an isolated supply and still giving the necessary steady D/S resistance with 0-5v while having an unknown load?it works in my head ... granted so did my first try ...

author: dannyf
author_rank: Super Contributor
timestamp: January 26, 2014, 02:16:16 pm
content: It will work - you can try it with a battery pack for example.You may isolate the two "grounds" via a small resistor, like 10ohm.
Using arduino TFT screen with Raspberry Pi - Page 1
Forum section: electronics / projects

author: tyguy2
author_rank: Unknown
timestamp: July 02, 2015, 04:21:30 am
content: http://www.seeedstudio.com/depot/28-TFT-Touch-Shield-V20-p-1286.htmlSo I recently bought this for my arduino, but now I want to use it with my raspberry pi. I know that there are screens compatible with the RPI, and I was wondering if I could use this one with the pi. Anyone know?

author: rs20
author_rank: Super Contributor
timestamp: July 02, 2015, 04:28:20 am
content: It's an SPI display; RPi has SPI, so of course the display can work with RPi.Now if you're hoping for a plug-and-play library that works with the RPi to be available, that may be a whole different story. But you can look at the source of the Arduino library and adapt as necessary (or just read a datasheet for the display itself and work from there).

author: tyguy2
author_rank: Unknown
timestamp: July 02, 2015, 01:53:08 pm
content: https://github.com/notro/fbtft/wikiAlright, sound promising, I'll get back to you and see if it works. I'm away from home for a few days, so I'll update then
Using battery to power logic circuits, feasiblity and pitfalls? - Page 1
Forum section: electronics / projects

author: MuriTheMyth
author_rank: Contributor
timestamp: July 28, 2024, 02:56:45 pm
content: Hi folks,I've been working on my project that involves a 100V 20A high-power part, which were driven by +5V logic circuits (plus a -5V rail for op-amp).Initially I was planning to draw power from the 100V rail and pass through a buck converter followed by LDO to power the logic devices. The -5V is generated by a charge pump followed by LDO.Though, as a initial prototype, I felt like the converter part is too complex. I'm wondering if it's possible to power the logic rails with lithium batteries. I will need 500mA for the positive rail because gate driver draws, so AA batteries may not work well.I proposed a topology in the attachment. Please let me know your thoughts on it. Also I would appreciate any possible pitfall you noticed.Thank you very much for your time!Regards,Anyu

author: ledtester
author_rank: Super Contributor
timestamp: July 28, 2024, 04:28:01 pm
content: QuoteIt sounds like the cells powering the positive rail will get depleted faster than those powering the negative rail.How much current do you need for the -5V rail? If it's not too much perhaps you can generate the negative -5V using a charge pump or a small DC/DC regulator. Then you would only have one battery pack with only one charging/protection circuit.

author: MuriTheMyth
author_rank: Contributor
timestamp: July 28, 2024, 05:23:30 pm
content: That could be done! Thank you for the advice!

author: pcprogrammer
author_rank: Super Contributor
timestamp: July 28, 2024, 07:21:46 pm
content: Why not use a switch mode power supply fed from the 100V rail. Most of these work from 80V to 260V AC, but can also be fed with DC. A simple USB phone charger could be used for this. The negative 5V can be generated with an additional DC-DC converter.Or search for a SMPS that has both +5V and -5V as an output.Will be more reliable than using batteries, which need to be charged once in a while, and with 500mA current drawn this might be rather often.
Using BLE beacons for temperature data - Page 1
Forum section: electronics / projects

author: TimB100
author_rank: Contributor
timestamp: November 09, 2020, 10:21:06 am
content: Hi good people,I know there are beacons that TX current temperature data. I'm looking to find out what data/format they use.I want to use the Eddystone beacon system using the uid format.In the pack sent there is a 10-byte Namespace and a 6-byte Instance. This is normally used to show the manufactures name and product. I'm thinking to use it for both. The company id and 9 bytes for the data I want to broadcast.As part of all I general format there is a UUID that includes a GATT Characteristic and I aim to use one pre designated for temperature type eg Object Type 0x2A6E Temperature.And I have ground to a halt my knowledge limit has expired. So can anyone advise me on if I'm on the right track? Any documentation on what to use? Or perhaps you have a temp beacon and can capture the packet using a BT scanner so I can see what others are doingThanksTim
Using both NTC & PTC for Inrush & Current Limiting - Page 1
Forum section: electronics / projects

author: DCEnginerding
author_rank: Newbie
timestamp: December 04, 2018, 08:45:20 pm
content: Hey all, longtime lurker of the forums, but this is my first post so go easy on me!I'm working on the AC input side design of a high capacitance power supply and would rather not incur the dissipation losses from a high power inrush limiting resistor. Is there some downside to using NTC's for inrush, followed by PTC's for current limiting? From their temperature/resistance charts there is no high resistance overlap, at the crossing point mid way both would be running around 1ohm max.I've been searching without any luck for reference schematics (or literature... perhaps my Google foo is lacking), all I could come up with was this article which seems to indicate they work well together:https://passive-components.eu/combined-current-control-by-ntc-and-ptc-thermistors/There will of course be other protection circuitry, but I would be interested to hear if using both would need any other special considerations. Does anyone here have any experience using both in this manner, or know of any problems that may arise?Thanks!

author: macboy
author_rank: Super Contributor
timestamp: December 05, 2018, 03:46:14 pm
content: If you use a resistor, then you would normally shunt it with a relay (etc) after soft-starting. The total energy dissipated in the resistor won't be much, even if the peak power is high momentarily. I have seen designs which add a PTC in series with the resistor so that if the relay fails to engage, the resistor won't become a problem (PTC will heat up, limiting current in both devices but preventing operation of the device as well). I have also seen designs using a NTC but shunt it after start up to prevent the wasted power wasted in the NTC, which can be significant.I think using both NTC and PTC would work, each providing specific unique benefits. Keep in mind that the NTC needs to run hot after startup and the PTC needs to run cold, so don't place them close together!

author: coppercone2
author_rank: Super Contributor
timestamp: December 05, 2018, 05:16:03 pm
content: I think that it has an appeal to it. But how about fast power cycling? how well does the thermal time constant mesh with the electrical one associated with power cycling?https://passive-components.eu/combined-current-control-by-ntc-and-ptc-thermistors/

author: macboy
author_rank: Super Contributor
timestamp: December 05, 2018, 06:44:26 pm
content: An NTC will not protect against surge currents after a fast power cycle, unless you bypass the NTC after start up so that it remains cold during normal operation.
Using Common Cell Phone Batteries in Commercial Design -- need Certs? - Page 1
Forum section: electronics / projects

author: TheGreatNed
author_rank: Contributor
timestamp: November 19, 2016, 06:00:03 pm
content: Hello EEVBlog,I want to use a thin (~5mm) li ion battery with a case, like with cell phone batteries, in a commercial product. Is this type of resell legal if I simply use like a Samsung EBF1M7FLU (Used in the Samsung galaxy S3 mini)?Also, I know that products with batteries need UN38.3 testing and IEC62133 (for Europe sales). If I use a cell phone battery like the one above, does that remove the need to get these tests completed?Thanks very much as always =]

author: Mattylad
author_rank: Regular Contributor
timestamp: November 20, 2016, 10:48:46 am
content: Contact the supplier of the batteries to you and ask them for copies of their certificates.
Using constant current regulator / led driver to drive optocoupler LED - Page 1
Forum section: electronics / projects

author: lk.dgironi
author_rank: Regular Contributor
timestamp: July 24, 2022, 02:46:35 pm
content: Hello,I would like to know if someone has ever use a constant current regulator or led driver for the optocoupler LED.My aim is to have an input with a wide range response area, let's say 5V to 24V.So i'm thinking about usingNSI45030Ainstead of a more common resistor to drive the optocoupler LED.In my actual design I'm usingTLP291-4optocoupler connected to my STM32 microcontroller on the phototransistor output.The input usually it's 24V in. Till today I've used 1k5 with no problem.Now I need add a faster responding input, so I've selected theTLP2362, cause it has a fast enough response time (100ns), and a logic output (2.7 to 5.5 V) that can be driven by the 3.3V line of my STM32.So, what's your though on using a led driver (like NSI45030A) to drive the LED optocoupler (of TLP2362 and TLP291-4).Thanks!

author: Cervisia
author_rank: Regular Contributor
timestamp: July 24, 2022, 03:29:31 pm
content: The TLP2362 has an absolute maximum rating of 25 mA. Do you want to transmit a signal, or start a fire?Both the TLP291 and the TLP2362 should be run at something like 5 mA.An integrated LED driver is typically used when you want to save space. Otherwise, you'd just build a discrete current regulator from two transistors.See section 3.6.1.2 (p. 129–131) ofhttps://archive.org/details/HewlettPackard-OptoelectronicsApplicationsManualOCR.

author: lk.dgironi
author_rank: Regular Contributor
timestamp: July 24, 2022, 03:57:11 pm
content: You are right. Don´t want to start a fire.Maybe usingNSI50010YT1G? It has 10 mA output, not 30mA.A few component less than the two transistor alternative.TLP291-4 Forward Voltage on test condition is 10mATLP2362 Input on-state current typical is 7.5mA to 14mAThanks!

author: Cervisia
author_rank: Regular Contributor
timestamp: July 24, 2022, 07:27:36 pm
content: Yes, the NSI50010YT1G would work.But it's more expensive and can be less easily replaced if it is out of stock or discontinued.

author: lk.dgironi
author_rank: Regular Contributor
timestamp: July 25, 2022, 09:32:26 am
content: Thank you!