hybridfree/eevblog-posts huggingface dataset:
BLDC controller dummy load - Page 1
Forum section: electronics / projects

author: mazurov
author_rank: Frequent Contributor
timestamp: November 27, 2012, 04:58:25 am
content: giving up trying to simulate back emf I built this dummy load over a Thanksgiving weekend. Very simple and works very well. Project details and link to video ->http://www.circuitsathome.com/measurements/dummy-load-for-brushless-motor-controller

author: Shuggsy
author_rank: Regular Contributor
timestamp: November 27, 2012, 06:33:34 am
content: Looks beautiful and seems useful too from the video on your site.Good job!

author: sorin
author_rank: Frequent Contributor
timestamp: November 27, 2012, 10:08:13 am
content: Good job!But big mistake in my opinion, you can not short the output. for 2 principal reason1. the heat produced which should be more than 200W, so... overheating end destroying2. the saturation of the magnetic field on the dummy load motor

author: mazurov
author_rank: Frequent Contributor
timestamp: November 27, 2012, 03:52:44 pm
content: This thing actually works very well, see the video. The whole reason to have windings shorted is to generate the least amount of heat. I may put resistors in the future to make the load weaker but this will require adding a big fan to cool them down.BTW, you can't saturate magnetic field, see this ->http://en.wikipedia.org/wiki/Saturation_(magnetic)

author: ejeffrey
author_rank: Super Contributor
timestamp: November 27, 2012, 05:26:27 pm
content: Quote from: mazurov on November 27, 2012, 03:52:44 pmThe power has to go somewhere. If you short the windings, all of the power will be lost in the parasitic losses of the winding resistance. External resistors will reduce the load on the windings, but also reduce the maximum torque.

author: sorin
author_rank: Frequent Contributor
timestamp: November 27, 2012, 06:19:37 pm
content: Perpetuum Mobile...black magic

author: peter.mitchell
author_rank: Super Contributor
timestamp: November 28, 2012, 08:03:32 am
content: i've Always wondered how these fair compared to inverters for DC->AC conversion...
BLDC controller overcurrent protection? - Page 1
Forum section: electronics / projects

author: ifonlyeverything
author_rank: Regular Contributor
timestamp: May 03, 2022, 11:43:44 pm
content: Kind of a broad question here but I'm working on a BLDC controller project. I'm using the ST L6234 for the power stage. I want to have inline (motor phase) current sensing and overcurrent protection. I plan on using the ST TSC2011 current sense amplifier. I've seen other current sense amplifiers with integrated overcurrent signaling but they're very difficult to get due to the semiconductor shortage. The MCU I'm using does not have an onboard comparator so that is also not an option.Anyways, how is overcurrent protection a BLDC driver typically implemented with discrete components? Does anyone have a sample schematic that they could share? I imagine it's a comparator on the current sense amplifier output but I'm not sure what kind of filtering is required, or how fast of a comparator is needed to protect the power stage MOSFET.

author: Doctorandus_P
author_rank: Super Contributor
timestamp: May 04, 2022, 12:11:23 pm
content: MOSfet's are quite robust for over currents during short times, and if you're already measuring motor current with a sense amplifier, then doing overcurrent protection in software is good enough for anything except a hard short in the wiring.There are also no hard limit on motor current for motors.A lot of motors can be safely overloaded (Doubling the current is quite common) for a short time (upto a minute or so) to get burst of power out of them.This is often used for example during acceleration.The limit is the themperature that the motor has reached, and it takes quite a while to heat up.A temperature sensor (and software) is a good way to make a motor + controller combination more reliable.In industry (3-phase induction motors, from small to many kW) it's common to have motor protection switches.These switches tend to have a relay that opens the circuit at too high a current, and they also have bimetallic strips with resistance wire around them.If there is too much current during some time, then the bimetallic strips heat up and also shut of the motor.This can also be programmed in software by keeping track of the integral of the square of the motor current (heat generated by ohmic resistance) combined with a slow decay to match motor mass and cooling.A real temperature sensor also works with an obstructed fan, while the software has no knowledge of that and that limits it's usefulness.Some microcontrollers also have some extra functions in their ADC peripheral. They can for example generate an ISR if an ADC sample is above a preset value.

author: strawberry
author_rank: Super Contributor
timestamp: May 04, 2022, 02:32:15 pm
content: short circuit some ~1..20µs including transistor speedmotor stall some msmotor overload some s
Bldc driver current sensing - Page 1
Forum section: electronics / projects

author: warfull
author_rank: Newbie
timestamp: February 26, 2019, 01:40:15 pm
content: Hi.I'm developping a high power bldc driver and I can't explain what I see on my scope...I'm using a pre-existing power-board to speed up the process and build only logic and mosfet driver board. The power board uses copper traces to make shunt resistor and each phase has one of about 50 µohms for current sensing.I use INA225 with Vcc=5V, G=100 and Vref=0.5V.In the pictures next I'm trying to get the rotor position using the variable inductance strategy. So phases V and W are driven low and U is driven high(30V) in the first pulse, then i reverse current : phase U is driven low and V and W are driven high. next phase swapping and so on.Shunt resistor are on the low side. Yellow is phase U, clear blue is phase V and pink is W.And here a schematic of the pcb layout:During the first pulse U is driver high and V and W low, current is only flowing on the low side of V and W but as you see the OP AMP see roughly the same thing on every phases, and i'm pretty sure that no current is flowing on low side of U phase.So is there any one to explain why the yellow trace is following the blue and pink in the first pulse ?

author: coromonadalix
author_rank: Super Contributor
timestamp: February 27, 2019, 10:01:16 am
content: why your r8 r15 r20 r12 r21 resistors aren't equal on each phase ?you have r9 r13 r17 who are equal on each phase

author: warfull
author_rank: Newbie
timestamp: February 27, 2019, 04:26:38 pm
content: Yes you are right. It's a mistake, consider this one :Shunt resitors are r7, r14 and r18.
BLDC Driver: Feasibility - Page 1
Forum section: electronics / projects

author: anvoice
author_rank: Frequent Contributor
timestamp: May 16, 2025, 06:04:13 am
content: Hoping to do a quick feasibility check on my idea for (yet another) FOC BLDC driver board with integrated magnetic encoder. The idea is to create something akin to the MIT mini-cheetah actuator, with some differences. For that I need a controller. I could use an ODrive micro, except these are pretty expensive (I'll eventually be needing at least 5 of these) and currently out of stock. So hoping to develop my own board as a learning experience with a practical upside. I don't yet have a completed schematic to critique, but before I spend too long developing custom symbols and footprints of components I wanted to make sure I'm using a reasonable combination of hardware to achieve my goals.Ideas so far:ATSAME51J19A-MF MCU: operates at 120MHz (and a 125 Celsius max temp), has rich peripheral support including from what I understand CAN-FD.DRV8316RQRGFRQ1 driver for BLDC motor: capable of FOC, integrated FETs, current sensing, etc. Plenty of power for a mid-sized robotic arm or quadruped actuator.AEAT-9922-Q24: 18-bit magnetic encoder. I'll need to read more on this one, the precision could be unnecessarily high here.Features I would like to implement so far:2 CAN ports to daisy chain drivers if desired.USB-C connector for controlling the motor (in place of CAN if desired).Some sort of programming and debug interface. Not sure if I can use the USB-C port for that purpose or if I need a dedicated SPI/SWD port.The ODrive implements a feedback port (thermistor, encoder, hall sensors) that I may want to emulate to some extent.Continuous power of around 120W or more. Operation from a 24V psu or 6S LiPo battery.Keep things as reasonably cheap as I can (which makes me question my encoder selection, it's currently the most expensive IC in the bill of materials).I'm mostly hoping for critiques related to the general compatibility of my ideas and the hardware I've selected. For instance I thought of using the ATSAMD51 controller, but after sifting through a bunch of information noticed it does not implement CAN, unlike the SAME51 variant (and then only at 64 pins). Thoughts?
BLDC Fan Driver... - Page 1
Forum section: electronics / projects

author: alank2
author_rank: Super Contributor
timestamp: August 29, 2013, 07:46:09 pm
content: Hi Everyone,So I've been unsuccessfully trying to run a brushless DC fan using PWM. I can get it to work, but it isn't what I would call smooth. I should have bought a fan with a PWM control wire (4 pin type), but I've got a couple of 2 pin ones. The fan will properly change it speed based on the voltage supplied. 24V=full speed, 12V=half speed, 6V=quarter speed, etc.This is for a one off project and I've already got two of these 60mm square fans, so I can get them working smoothly or dump them and get a couple of 12V pwm fans and a dc dc voltage converter.If I try to get these working, the idea is how can I turn my PWM signal into a smooth voltage. I am using a low side driver (TIP102 darlington transistor) currently. Do I need an output filter that smooths it out? I have two fans to run and each is 60mA full power, so the filter must be able to supply 120mA minimum. Can anyone recommnd a circuit for this?Thanks,Alan

author: poorchava
author_rank: Super Contributor
timestamp: August 29, 2013, 08:27:21 pm
content: An RC low pass filter to smooth the pwm followed by an opamp driving an npn emitter follower. There will be some power loss on the pass transistor, but I think it's acceptable at these power levels.

author: jaxbird
author_rank: Frequent Contributor
timestamp: August 30, 2013, 07:00:11 am
content: What frequency are you running the PWM at?Fan PWM is best done at either very low (20-30Hz) or, in context, very high (20kHz+) frequencies. If you run it at e.g. 1kHz you are likely to get some very noisy squealing fans.A reasonably sized capacitor would probably be enough to smooth out the fans. Otherwise you could add a diode, an inductor and a capacitor to make the PWM into a crude buck converter.
BLDC fan on unfiltered DC? - Page 1
Forum section: electronics / projects

author: c4757p
author_rank: Super Contributor
timestamp: November 02, 2013, 01:17:23 pm
content: I'm still working on repairing that HP 3437A - the fan is pretty much completely shot. Time for a replacement.The original HP fan had three windings which they ran using a three-phase driver circuit on a rectified but unfiltered (not just no regulator - no capacitor) transformer tap. This sort of fan is pretty hard to find now (and expensive when you do find it), so I'd rather just put in a modern brushless (probablythis one). Would it be unhappy without a filter capacitor? That's a pretty big cap (probably at least 1000uF) and I'd rather not have to find a place to stuff it.

author: sync
author_rank: Frequent Contributor
timestamp: November 02, 2013, 02:35:36 pm
content: It doesn't work.Btw: Is that 12V unreg. the RMS value? Then a cap alone would produce to much voltage.

author: c4757p
author_rank: Super Contributor
timestamp: November 02, 2013, 02:45:36 pm
content: The peak is just over 12V - it could easily average 12V with either a series resistor to drop a bit, or a slightly undersized capacitor. I just chose a 2200uF cap for it, so I'll go with the series resistor.I just noticed that the service manual has a memo attached addressing this - the original fan was discontinued and they describe replacing it with a DC fan: direct replacement, disabling the three-phase oscillator, for some serial numbers, and adding a 22 ohm resistor in series for others. Nothing about a capacitor; they must have selected a replacement fan which doesn't need it.

author: sync
author_rank: Frequent Contributor
timestamp: November 02, 2013, 02:53:33 pm
content: No need for the resistor. 12V fans can usually operate at 15V.
BLDC for generating. - Page 1
Forum section: electronics / projects

author: Mjolinor
author_rank: Frequent Contributor
timestamp: November 03, 2019, 01:46:02 pm
content: I bought a couple of these because the size is right for what I need:https://www.ebay.co.uk/itm/NIDEC-25H-12V-24V-20V-11300RPM-High-Speed-Brushless-DC-Motor-PWM-BLDC-18W-Holzer/254370691431At 1000 RPM the open circuit voltage is about 2 volts and the short circuit current is about 1.5 amps. This is probably enough power for what I need (2 amps for 9 ms per rev).However at 2 volts it is too low to easily use so I thought I would rewind it with more turns, get the voltage more usable at lower currents.Once in bits I notice that the rotor is 2.5mm smaller than the stator which to me seems massive. The stator has rare earth magnets embedded in there but the outside is non conductive.I wondered if putting a 1 mm thick sleeve over the rotor effectively reducing the rotor / stator gap would be worth the work involved. I have no feelings whatsoever about the sort of increase I could expect from doing that. Could the sleeve just be steel or would I need to make it from strips with insulators between the steel bits?Any thoughts?
BLDC Motor ESC design problem - Page 1
Forum section: electronics / projects

author: AndrewLoomis
author_rank: Contributor
timestamp: April 29, 2018, 12:35:46 pm
content: I'm trying to design an ESC for a drone project. This ESC has 4 independent ESC's, each driving an individual motor. The design should be rated so each ESC can use 30A. I've based the design to be compatible with the SimonK firmware, so the processor is a ATMega8 (https://github.com/sim-/tgy). I've attached PDF, EAGLE .brd and .sch files below. Btw, there a gimbal controller on board as well (not part of this problem, and not being used yet).When I test the motors without load (no propeller), they throttle all the way up and down with no problems (consuming about 4A total). However, when I attach the propellers, the ESC's only get to about 1/3 max throttle, and just shut off (I believe they are resetting for some reason). To make things worse, the last motor test I did blew up my voltage regulator. It was a triple switching buck converter on board that converts the 11-17V of the battery to 1V8/3V3/5V for the Raspberry Pi, STM32's and ATMega8's.Luckily, during this last test, I was suspecting that a brownout or something was happening on the 5V rail, resetting the ATMega's, so I was probing it with my scope, along with one of the motor input PWM signals. I managed to capture the dying breath of the regulator, but I am still unsure exactly the cause of death. From the 5V rail (CH2 from the scope), it looks like there was a massive positive, and negative spike followed by complete loss of power (suggests an EMI problem? Not enough bulk capacitance?). There is about 1500uF of bulk capacitance on the board. I also measured the noise of both the 5V rail and the PWM signal, and both are from the 18kHz motor switching frequency. I've attached the pictures from the scope (sorry that some of the images are clipped, not sure why that happened, and when I measured the spike, I now realize I was on CH1 measure instead of CH2 *facepalm*).

author: Benta
author_rank: Super Contributor
timestamp: April 29, 2018, 01:27:03 pm
content: Sound a bit like you're overloading the motors. Have you done some calculations on prop diameter and pitch?

author: AndrewLoomis
author_rank: Contributor
timestamp: April 29, 2018, 01:29:41 pm
content: I've tested these motors with off-the-shelf 30A ESCs and they work fine with my propellers. I am using DYS BE2808 1400KV motors (http://www.dys.hk/product/BE2808.html), and 7x4 in propellers. The motor specs were even tested using this exact propeller type.

author: AndrewLoomis
author_rank: Contributor
timestamp: April 29, 2018, 01:57:47 pm
content: For those of you who don't use EAGLE and want to see the PCB layout, I've attached PNG images of the top and bottom of the board.
BLDC motor High current consumption - Page 1
Forum section: electronics / projects

author: agganitk
author_rank: Newbie
timestamp: February 27, 2023, 05:36:01 am
content: HelloPlease see attached graph of Current consumption vs time. It was for EV 3W with 51 V LFP battery pack & 1250 Watt Motor. I drove vehicle on road for few kilometers on hilly area and recorded the current. Current peak is touching 55 amps. I can not understand why current is so high ?Isn't the max should be (1250/51) ~ 24 amp ?Thanks

author: Siwastaja
author_rank: Super Contributor
timestamp: February 27, 2023, 07:03:23 am
content: Current is whatever the motor controller feeds into the motor. It's a configuration parameter of the controller, not a feature of a motor at all. One should set the maximum current to something the motor can take without getting destroyed. For that, you need actual data of the motor.If you calculate nominal motor power per nominal motor voltage, you get nominal motor current, but this is the current the motor can take indefinitely, running at rated RPM, providing rated power. Motors can handle more current for a limited time, and this is especially useful at lower speeds, i.e. when accelerating.

author: agganitk
author_rank: Newbie
timestamp: February 27, 2023, 07:18:01 am
content: Thanks for reply..motor controller was cutting o/p supply after driving 3-4 miles. When I touched the motor controller, it was pretty hot. BMS was not hot as it was rated for 60 amp continuous current.so solution will be to use Higher Wattage Motor as load is high, otherwise using higher rating motor controller can solve the problem but motor may damage in long run. Correct?

author: moffy
author_rank: Super Contributor
timestamp: February 27, 2023, 08:05:45 am
content: A BLDC motor can typically be damaged by excessive current leading to temperature rise and insulation failure or excessive voltage again leading to insulation failure. There are also lots of mechanical modes of failure but that is not of interest. To avoid temperature related failures (that is typically where the current limit comes from, it is a continuous rating) it is best to have temperature sensors embedded in the windings to tell you when things are getting too hot. Most motors can handle short term high currents as long as the heating effect is not excessive. Choose a motor with temperature sensors embedded in the windings, and a controller that can use those sensors.

author: botvink
author_rank: Newbie
timestamp: April 03, 2023, 11:46:50 am
content: That watt values are determined at usually mid speeds while motor turning. Sure motor can draw many times more than current as it's coil resistance is valued usually few hundred milliohms. For deciding stall current you may meausre coil resistance with good multimeter and later divided by voltage. (V/R=I)For instance I have similar 1100 watt rated 36V motor. But it's coil rsistance is 110 milliohm, So I can suspect peaks up to 327A! but from watt calculation it should give: 30.5A... We should think for worst case scenario.
BLDC Motor Parameters to consider - Page 1
Forum section: electronics / projects

author: fedimakni
author_rank: Regular Contributor
timestamp: June 17, 2025, 04:27:52 am
content: Hello,I am building a waiter robot (if you don't know the term they are robot which can be used inside cafe or restaurant to deliver food or coffee).I want to use a BLDC motor as they are quite and efficient.My issue is that i don't know first where i can source BLDC motors and i don't know the parameters i need to consider.If my understanding is correct, i will be looking for a motor which has low speed and capable to make high torque to drive the wheels and make the robot moving.My questions are to make it simple:- What are the parameters i need to focus on when selecting a BLDC?- How i can estimate the torque and current capabilities in such scenario?- Can you suggest a BLDC producer i can check their website?Thank you.
BLE and standard virtual COM port - Page 1
Forum section: electronics / projects

author: jmaja
author_rank: Frequent Contributor
timestamp: February 23, 2019, 09:37:52 am
content: How can I configure a BLE service so that it's output can be read through a virtual COM port on most platforms without providing an app for these platforms?For legacy BT there is SPP profile, but there seems to be nothing equivalent for BLE. Still many applications can read e.g. GPS over BLE and they seem to use virtual COM ports. So there must be a standard way of doing that. I just can't find it! The BLE module suppliers use custom profiles in their examples. Can any custom profile be read as a virtual COM? Probably not.My goal is to output some data from my BLE device, maybe NMEA 0183, which could be read with apps already available. So I don't have to make software for IOS, Android, Windows etc.

author: krho
author_rank: Regular Contributor
timestamp: February 23, 2019, 12:16:11 pm
content: There is no SPP compatible profile for BLE. Each module provider has something custom (not entirely true, some take the implementation from the chip provider) and thus you need the specific support on the other end.
BLE certified module with programmable MCU - Page 1
Forum section: electronics / projects

author: Yaroooo
author_rank: Regular Contributor
timestamp: August 07, 2019, 04:02:03 pm
content: Hi all,I'm looking for an advice on which module may be suitable to use with my application. What I need is a certified BLE module, with small footprint and really low consumption, that has an embedded MCU fully programmable.This is because I've an application with a single sensor (analog) and some GPIOs where use a dedicated MCU is too much.BM70 and BM71 are very good, but seems not programmable.Any advices?

author: dietert1
author_rank: Super Contributor
timestamp: August 07, 2019, 05:45:19 pm
content: Today we got a Sensirion gadget that is quite impressive:https://www.sensirion.com/en/environmental-sensors/humidity-sensors/development-kit/The user guide has github links and as far as i have seen, this is a very good starting point including all sources. The BLE module used is a BVMCN5103-BK (Cortex M0). We downloaded the iphone app and it worked perfectly.Regards, Dieter

author: awallin
author_rank: Frequent Contributor
timestamp: August 07, 2019, 06:15:45 pm
content: did you look at ruuvitag and their dev-kit?https://shop.ruuvi.com/product/devkit/should be fairly open, so I think they have kicad-files for the schematic/pcb available, as well as firmware.

author: jmw
author_rank: Frequent Contributor
timestamp: August 07, 2019, 06:29:19 pm
content: Have you looked at nRF52 SoC modules? I've used the BMD-300 (https://www.rigado.com/bmd-300/) modules before and they work well for BLE projects.

author: Yaroooo
author_rank: Regular Contributor
timestamp: August 08, 2019, 10:10:25 am
content: Quote from: jmw on August 07, 2019, 06:29:19 pmThis one is what is nearest to the device I'm looking for. I just wondered if nRF is the only one that allow this (programmable MCU with BLE). My question is related to create a fast application, since Atmel/Microchip and some other brands with their own IDE makes things easy, with also technical support, Nordic is more tricky to setup and debug.Or maybe it's only an opinion.

author: nali
author_rank: Frequent Contributor
timestamp: August 08, 2019, 10:16:08 am
content: If you want really quick 'n' dirty BLE application development try the Laird BL652 which uses a form of BASIC, you can't really get much simpler IMHO.

author: nino
author_rank: Newbie
timestamp: August 22, 2019, 04:52:21 am
content: I was able to quickly code up a BLE application using the Laird BL652 using SmartBasic. I connected an accelerometer thru I2C to be used for a tilt sensor for the garage door. In a few lines, it was able to broadcast and connect with my iPhone up and my target system. There is also breakout board for the BL652 on Amazon with the module soldered on. This makes it easy to do prototype work since it can connected to a breadboard compared to having to solder thin wires on the module itself.

author: hli
author_rank: Frequent Contributor
timestamp: August 22, 2019, 07:11:28 am
content: Cypress has a number of PSoC BLE modules:https://www.cypress.com/products/ble-bluetooth. You can get DevKits for them as well.
BLE connection interval setting - Page 1
Forum section: electronics / projects

author: jmaja
author_rank: Frequent Contributor
timestamp: April 23, 2017, 02:15:49 pm
content: I'm working on a BLE device, that would have low power consumption (~50 uA) and transfers sensor data to a mobile phone etc. handheld device. The data rate is very low, just a few byte/s and it is enough to send every 250 or 500 ms. In order to get the power consumption that low, I need to set the connection interval to 250 or 500 ms.With little bit testing it seems my Android phone (Samsung S4 Mini, almost three years old) sets the connection interval to 48 ms. When I send a connection parameter update specifying min and max interval, my phone chooses one close to max and replys nicely with update done including the new parameters. So this is fine and seems to even work with setting min and max equal.Then I tested my old iPAD (maybe 4-5 years old, IOS 8.3, upgraded to 9.35 without a change). It sets the connection interval to 30 ms. When I send a connection parameter update, it just replys with update done with all parameter zeros and doesn't change the connection interval leading to 500 uA power consumption. Shouldn't it reply a refuse, if it's not willing to accept the changes. Or are the zeros a way of refusing? Why it isn't accepting?I have tried to modify the parameters and read Apple BLE documents, but nothing seems to help.How common will it be to find handhelds that will not accept changing the connection interval? How can I deal with those? Just disconnect and let the user wonder why it is't working? I can't afford the 500 uA.What is the meaning of CE length and how should I set the min and max?

author: jmaja
author_rank: Frequent Contributor
timestamp: April 23, 2017, 02:36:32 pm
content: I wasn't trying hard enough. Just after writing I realised iPAD chose a short timeout setting (720 ms vs. Androids 7 s). I was just using it as is and it was too short for a longer connection interval. Now I can set the interval to e.g. 500 ms.
BLE HID Composite Device - Page 1
Forum section: electronics / projects

author: zephyzelra
author_rank: Newbie
timestamp: May 13, 2022, 06:21:46 pm
content: Greetings everyone, new here.So I'm working on a project which is a composite hid device. I wanna make it dual modes which works both over usb and bluetooth.Now i've finished the usb part which looks like this:usb config descdevice 1 interface descdevice 1 hid descdevice 1 endpointdevice 2 interface desc...tested and works great.Now I'm trying working on the BLE part, using hid over GATT.Seems every example I googled is using a long device descriptor containing Report ID.The problem is, this breaks the standard hid report data structure so that it maybe won't work on some low-level system or hosts.Since i'm kinda newbie to the bluetooth, may i ask if there's the same concept of 'endpoint' as the usb protocol? or if there's any reference i can use of?thanks for any ideas or recommendations in advance
BLE mesh vs LoRa mesh? - Page 1
Forum section: electronics / projects

author: mrburnzie
author_rank: Regular Contributor
timestamp: June 22, 2019, 11:58:44 pm
content: Hi!Does anyone have experience/thoughts on BLE mesh vs LoRa mesh?Which is more suitable for low power and projects where the sensors have to send out data 1-2 times an hour and receive data a couple of times an hour?

author: NiHaoMike
author_rank: Super Contributor
timestamp: June 23, 2019, 12:02:23 am
content: LoRa has more range but BLE uses less power.

author: mrburnzie
author_rank: Regular Contributor
timestamp: June 23, 2019, 03:21:24 pm
content: Do you have any numbers for the BLE consumption? I read around 5mA average, is that right?

author: Wilksey
author_rank: Super Contributor
timestamp: June 23, 2019, 03:54:22 pm
content: Depends on distance, LoRa is designed to go longer using less power, it is not "low power" as such. BLE is relatively low power, it all depends on data rate and other factors, A good place to start is with the chip manufacturers datasheet, so look at Semtech, and perhaps Microchip or HopeRF for LoRa, the Microchip has LoRaWAN features and an additional micro to consider, the HopeRF is typically SPI so you will need to add another Micro to that. BLE a good place to look is Nordic Semiconductor for the chipset, and Laird do a nice module the BLE600 series.Not affiliated with any of the companies mentioned, so just have a look around and see what your needs are vs what they offer.
BLE on Windows - Page 1
Forum section: electronics / projects

author: msr
author_rank: Regular Contributor
timestamp: July 20, 2015, 03:33:21 pm
content: Hi,Have anyone managed to interface with BLE peripherals on Windows? Is there any library/API that can be used?Qt has now support for BLE in several platforms except Windows (http://doc.qt.io/qt-5/qtbluetooth-index.html) and unfortunately I'm not aware of an alternative for it.

author: funkathustra
author_rank: Regular Contributor
timestamp: July 21, 2015, 06:21:51 am
content: Quote from: msr on July 20, 2015, 03:33:21 pmAre you looking for an API to make calls to the OS to pair/unpair devices, scan, and stuff like that? Or are you just looking to communicate with already-paired devices?If you're just looking to communicate with paired devices, you'll do it through the same API as any other devices -- use SetupDi calls found in setupapi.dll to get a handle to your device, and then do calls using theMicrosoft Bluetooth GATTlibrary (BluetoothAPIs.h) functions if you're reading/writing to a generic GATT device.If you're writing a Windows Store app, it'smuch simpler.

author: coppice
author_rank: Super Contributor
timestamp: July 21, 2015, 06:52:15 am
content: Windows 8 supports BLE, but most people are still using Windows 7. Some might think MS refused to add BLE support to Windows 7, just to push people towards Windows 8. Could that possibly be true?Windows 10 obviously supports BLE, and if it becomes more popular than 8 I guess the BLE support issue will gradually be solved.

author: funkathustra
author_rank: Regular Contributor
timestamp: July 22, 2015, 01:48:28 am
content: Quote from: coppice on July 21, 2015, 06:52:15 amWindows 7 was introduced 6 years ago, and discontinued more than 3 years ago. You honestly think Microsoft should go back and pushnew functionalityinto their legacy products? Are you insane?Be glad that they continued patching it against security bugs for three years after they released Windows 8 -- that's way more than most other companies do: Apple expects users to upgrade every year -- and users stop getting security updates if they're more than one version behind.

author: miguelvp
author_rank: Super Contributor
timestamp: July 22, 2015, 02:50:51 am
content: My CY5672 PRoC BLE Remote Control Reference Design Kit works great on Windows 7.http://www.cypress.com/documentation/development-kitsboards/cy5672-proc-ble-remote-control-reference-design-kit-rdkThey sell the BLE dongle by itself as well:http://www.cypress.com/documentation/development-kitsboards/cy5670-cysmart-usb-dongleBe aware that it's via emulation so I guess it won't support any BLE devices.But it doesn't matter much, since it's up to you to get the free upgrade to Windows 10 around the corner if you have Windows 7 or 8 installed.

author: coppice
author_rank: Super Contributor
timestamp: July 22, 2015, 06:23:58 am
content: Quote from: funkathustra on July 22, 2015, 01:48:28 amWindows 7 is what practically all businesses are currently using, and MS have been fully aware since Windows 8 launched that this would be so. They do put new functionality into old OSes when businesses kick hard enough.
Bleeder resistor / fusing - Page 1
Forum section: electronics / projects

author: LatvianOnJuice
author_rank: Contributor
timestamp: November 07, 2021, 09:35:42 pm
content: Hello, everyone!I am an amateur hobbyist trying to build a nice design for a power distribution board.I have put a 12VDC power supply that takes the 230VAC input from the mains, and with the help of some LM voltage regulators I plan on distributing voltage to several output terminals (see the attachment).I read that once my ON/OFF switch turns off, and there is no load, for safety purposes I should put a bleeder resistor on the output of the circuit that quickly discharges the capacitors such that it is safe to touch.Researching into bleeder resistors I found some calculators that would help me getting the value, but I am unsure about the input of those calculations...In other words - would you mind answering the two following questions?:1) Do I need a bleeder resistor?2) (if yes) How do I calculate its value?Any other constructive criticism is greatly appreciate!Thanks in advance!

author: Benta
author_rank: Super Contributor
timestamp: November 07, 2021, 10:12:43 pm
content: I don't really see a need for bleed resistors here.But a good idea is diodes from output to input on your two linear regulators. This will protect them when powering down (from the charge stored on your load circuits)..
Bleuthoot ON/OFF Controle - Page 1
Forum section: electronics / projects

author: hichm19956
author_rank: Newbie
timestamp: July 01, 2020, 01:06:59 pm
content: Hello,i want to share with this bleuthoot pcb made by me,it's free to use, commercial, develop, diy ...any thing you wantjust what you need after soldring the modules and SMD componant in right place, is to find an App to pair with it and communicatehttps://easyeda.com/hichm/controle-device-via-bleutooth-tryhere the link of the pcb, and also i extract a pdf to see how it's look like (Attached files)Happy DIY
Block Analog Pass Digital Question. Bilateral Analog Switch? - Page 1
Forum section: electronics / projects

author: pacmann
author_rank: Contributor
timestamp: October 26, 2023, 09:58:56 am
content: An input pin accepts analog and digital inputs. I want to connect it to my micro controller gpio when in "digital" mode only and block the analog otherwise. The analog can get up to +10 to -10v and it will damage the micro. Whats the best way I can do this?Will a bilateral analog switch like TC4S66F be able to block the analog if its out of VSS(0v) and VDD(5v) range? TC4S66F has operating range up to 18V but what happens if the input is more than the 5v VDD or less than 0v VSS?Cheers!

author: Terry Bites
author_rank: Super Contributor
timestamp: October 26, 2023, 10:26:09 am
content: You will exceed the input voltages allowed for the IC: see absolute maximum ratings.If the signal is out of range it may destroy the switch.Solution. Add a series resistance to the input to limit the fault current to 5mA or less. Risky. Add an external clamp, better. Use a "Fault Protected/ Tolerant Analog Switch". Best, eg DG2535

author: ajb
author_rank: Super Contributor
timestamp: October 26, 2023, 02:52:23 pm
content: In lieu of a switch, you could use a comparator for the digital input and leave it connected all the time. It could be a part that will directly tolerate the full ±10V range, or you could divide the input down and adjust thresholds appropriately.

author: pacmann
author_rank: Contributor
timestamp: October 29, 2023, 07:47:26 am
content: ThanksCan a solid state relay like TLP172 be useful for this? Does ssr work well for digital data signals?
Blown (or just scorched) mica caps? - Page 1
Forum section: electronics / projects

author: Unknown
author_rank: Unknown
timestamp: September 13, 2013, 02:30:45 pm
content: Hi all,Was planning on pulling these mica caps to test but read that it was not a good idea in devices with precision tuning. This is a HP 3312A Function Generator which has a waveform fault on the main output channel. i.e no waveform output!Some caps are clearly darkened. Surely not a good sign, but can that be read as bad?Photos includedCheers chaps.

author: mmagin
author_rank: Frequent Contributor
timestamp: September 13, 2013, 02:43:00 pm
content: I would wonder if the color of the (epoxy?) dip was more variable than we would expect. This doesn't look like the sort of circuitry that's going to damage 300V rated capacitors. I see a 50v rated cap (non-silver mica) in there, and I don't see power semiconductors that I would associate with heavy RF currents through those capacitors.Also, my impression from the people who repair old (consumer-grade) tube radios is that film and electrolytic capacitors are often bad, but silver mica very rarely fail.(I haven't a lot of experience fixing up old stuff -- Would certainly be interested to hear I'm wrong from anyone with firsthand experience to the contrary.)

author: Alex
author_rank: Regular Contributor
timestamp: September 13, 2013, 02:53:15 pm
content: Discolouration is a sign of overheating, although it is surprising to see this in a signal section of a circuit. It is unlikely to be due to aging as other caps are fine.I would not worry about calibration when you don't even have an output. Remove the caps one by one, test properly and resolder in original position. Then clean the flux residue. If the failure is due to the caps I would expect a major failure of the caps like a short.If you do have to replace the caps, chances are that something else is wrong; mica caps have high reliability. You should also check the power supply levels according to the service manual. Temporarily insert ceramics and check operation. When you replace the caps the circuit calibration will be off, but noone can avoid that.In any case calibration has probably expired anyway, so repair freely as normal but with care.Alex

author: Unknown
author_rank: Unknown
timestamp: September 13, 2013, 05:05:59 pm
content: Thanks chaps,will pull them and see.Only just got this so haven't had the time to get 'into' it yet and now it's weekend, but I like the idea of of testing with ceramics.

author: Conrad Hoffman
author_rank: Super Contributor
timestamp: September 18, 2013, 02:25:22 am
content: I see that a lot on low voltage low power circuits and those caps are very likely fine. I also have a lot of NOS s-m caps with the same discoloration! No idea what causes it, but it seems to be common.

author: Unknown
author_rank: Unknown
timestamp: September 19, 2013, 12:06:24 pm
content: Actually, I pulled a few and they were all fine, so I just re-soldered several suspect looking joints elsewhere and the unit came back to life.Just need to do some fine tuning now.
Blown Electrolytic and SM Regulator Chip - Page 1
Forum section: electronics / projects

author: itdontgo
author_rank: Regular Contributor
timestamp: January 21, 2014, 12:03:09 pm
content: I have a board with a burst electrolytic which is connected over the 24V DC input terminals (through a diode). The switch mode regulator chip on board has also blown open - this comes after the capacitor i.e. it regulates the 24V to a lower voltage. There is no input protection on this board unfortunately!I would assume the only way an electrolytic capacitor will fail is through over voltage or perhaps through longest of long shots ripple if it was exposed to some severe AC currents (in this case it isn't though). It's also a low power cool running board. Plus the diode will stop reverse voltage.My possibly stupid question is can it possibly be anything else apart from over voltage? It is 35V cap and the diode has a reverse voltage of 40V.

author: dannyf
author_rank: Super Contributor
timestamp: January 21, 2014, 12:06:53 pm
content: QuoteIf it is a switching mode regulator, the electrolytic capacitor by definition sees "severe AC currents" all the time. No way around it, not by a long shot.
Blown up L298P DC Motor Driver - what is the reason ? - Page 1
Forum section: electronics / projects

author: ciseli
author_rank: Newbie
timestamp: March 05, 2019, 06:32:27 pm
content: Hello,I am driving a brushed DC motor, 24V 0.5A in an actuator with a L298P.For the second time I have caused the magic smoke to escape from the L298P.The first time I am pretty sure the cause was that I reversed the direction bit without taking enable low, probably causing a short between the 2 power transistors of the bridge. I just had a small resistive load during that test.The second time, I made sure to disallow direction changing while enable is on, and added 20 millisecond delay after lowering enable before flipping the direction bit... and yet I obtained a nice big spark and fumes, and the results are shown on the attached picture. L298P blown up with visible hole in the casing...My current impression is that probably the motor was still spinning due to inertia while I did the direction flipping after 20 milliseconds and putting enable on after 10 more milliseconds.Any other ideas of probable/possible causes ?Thanks and kind regards,Christian

author: RES
author_rank: Regular Contributor
timestamp: March 05, 2019, 09:18:46 pm
content: Check this page:https://e2e.ti.com/blogs_/b/motordrivecontrol/archive/2014/03/20/get-your-motor-running-brushed-dc-motor-driver-selection

author: fcb
author_rank: Super Contributor
timestamp: March 05, 2019, 09:33:25 pm
content: The L298 is not very robust and dies very easily. Not super helpful I know.On a practical note, make sure you have FAST back emf diodes protecting the outputs - 1N4001 probably not good enough. Also, are you using a current sensing resistor? Make sure it's low inductance and the 'appropriate' size, it can help 'cushion' the start-up.
Blue Pill Thermometer project, ready to run binary. Uses a LMT01 sensor. - Page 1
Forum section: electronics / projects

author: techman-001
author_rank: Frequent Contributor
timestamp: November 17, 2019, 05:11:18 am
content: Hi all,This Forth project uses fixed point arithmetic to calculate the temperature in Degrees C or Degrees F to one decimal place either from a serial terminal command or a push button press. It has some extra features including switchable USB/USART2 terminal access, and a MCU “Device Electronic Signature” reader.It contains a ready to run binary for a 64KB Flash version of the STM32F103 Cortex-M3 MCU as used in the Blue Pill ( and other cheap boards) and boots from USB at power up with a virtual terminal.Connect the few components shown in the schematic to read the temperature.Details:https://mecrisp-stellaris-folkdoc.sourceforge.io/project-stm32f103-lmt01.html#stm32f103-lmt01Binary:https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/ae9236b921613c07b1967f21ff20ee97.tar.gz/download
Blueprintf - a Bluetooth serial monitor - Page 1
Forum section: electronics / projects

author: rea5245
author_rank: Frequent Contributor
timestamp: January 15, 2015, 07:54:41 pm
content: I built a Bluetooth-based serial monitor that connects to microcontroller-based projects and lets me debug them or send them commands from my cell phone or tablet. I've posted a brief video demo and a longer description, and made the source code and design files available for download on my blog atgalacticstudios.org/blueprintf/- Bob
Bluetooth 4.2 mesh networking - Page 1
Forum section: electronics / projects

author: trevwhite
author_rank: Frequent Contributor
timestamp: June 28, 2017, 11:17:32 am
content: Anyone used the ST bluetooth module, SPBTLE-RF.It is supposed to have mesh networking support and I was wondering what kind of range it delivers between nodes. What is it like in a normal home with walls, etc? Has anyone used it with say 100 nodes?Trev
Bluetooth audio module - Page 1
Forum section: electronics / projects

author: EugenioN
author_rank: Contributor
timestamp: December 28, 2023, 03:00:18 pm
content: For a guitar amplifier I'm designing, is there any el-cheapo bluetooth audio receiver module I can set the device name?I'd really love to see the bluetooth audio listed with a name I can program during production.As a plus would be a 'quiet' mode: no annoying voices or tones when connected/disconnected.Thank you for any advice!

author: Edison
author_rank: Frequent Contributor
timestamp: January 16, 2024, 02:30:17 am
content: I only know the module that does not speak, connects automatically (has no buttons), does not make noise and is in stereo with line output - version BT5.0 - but cannot be renamed. VHM-314
Bluetooth Audio Modules - Page 1
Forum section: electronics / projects

author: Obi_Kwiet
author_rank: Regular Contributor
timestamp: April 22, 2019, 04:03:23 pm
content: I'm developing a communications system for my powered paraglider. I'd like to use wireless audio links between various system components. I like to avoid wireless if possible, but in this case, I think the safety benefits are compelling.I don't have much experience with bluetooth, and I was hoping to get some perspectives on what modules are have the best support and documentation for beginners. I've got some requirements that might be a hassle. First, I have an IO unit that connects to several analog radios, and I'd like a two way wireless audio link between it and my helmet. I'd like to be able to switch between A2DP and Headset profile, because this unit will have an aux input.I'd like the headset to simultaneously be able to connect to a cellphone. It should be able to reliably switch between audio streams from the analog IO unit and the cellphone. I also need to pass occasional commands between the headset master and the slaves. I'd also like to be able to get some control commands to and from additional BLE slave modules.Can a single Bluetooth master reasonably handle all of this reliably? Do you think Bluetooth is reasonable here? Are there any good resources for learning how to juggle profiles like this?So far I'm looking at either an ESP32 or something from Si Labs or Cypress. I'd like to use the on board SoC as my micro.Thanks!
bluetooth audio receiver pair name change error by onboard serial - Page 1
Forum section: electronics / projects

author: arvindgr
author_rank: Newbie
timestamp: November 09, 2015, 11:56:18 am
content: My 1st question. I've got a cheap PT-810 bluetooth audio receiver whose chip is very clearly pictured athttps://www.eevblog.com/forum/beginners/bluetooth-module-noise-issue/My aim is to rename the Bluetooth pair name, default is PT-810 to something else, since I use many such modules around me, After a lot of search I was guided by -- How to change Bluetooth music receiver's name and other settings using a serial converter (or otherwise)http://electronics.stackexchange.com/questions/191071/how-to-change-bluetooth-music-receivers-name-and-other-settings-using-a-serial--- and hence followed hobbyist site's bluetooth-module-configurations instructions from same post But since @QuestionerNo27 seems to have issue with USB-Serial converter, I had on-board serial port which had D-type connector, I felt positive. I connected RX-TX and TX-RX of Serial port no. 2 and 3 to soldered RX&TX pins of bluetooth. But after verified proper connections Result is just Square BOX!!! in serial moniter... Please guide me where I've went wrong while many like me are deperate to change this name...

author: arvindgr
author_rank: Newbie
timestamp: November 09, 2015, 02:43:43 pm
content: Quote from: blueskull on November 09, 2015, 01:34:53 pmSince the whole motherboard has common GND, USB and serial port's 5 pin is common GND and hence wasn't possible to externally connect them. Also, The site asked to mention less than 115200 bauds while I was much lower at 9600. Can you help me, with what Those square BOXES in output denote?..