I got a LiPo voltage buzzer, the buzzer got 2 buzzers (sounds funny :D) I want to take
one buzzer off the circuit and plug 2 cables instead of that buzzer, any suggestions how to connect
them to arduino without killing the arduino?
How exactly should I plug that 2 calbes on analogs or on digitals pins as input read?
The main reason on this small project is to get a sound from the buzzer + a warning message on the arduino that the LiPo voltage is low.
I got a LiPo voltage buzzer, the buzzer got 2 buzzers (sounds funny :D) I want to take
one buzzer off the circuit and plug 2 cables instead of that buzzer, any suggestions how to connect
them to arduino without killing the arduino?
How exactly should I plug that 2 calbes on analogs or on digitals pins as input read?
Have no idea what you mean. Post photos of what you have .
The proper way to communicate with English speaking people is to speak proper English.
English is not my native language but I made myself enough clear to other people understand what im talking about.
I would use an optocoupler to a digital pin.
optocoupler?
** I gave a look about optocoupler it's a nice way but in that care I could measure the voltage of the output and use a resistor with a led and a photodiode, but I'd like less components, well I'm thinking, if we get output voltage why not to use a 1k or higher resistor and read the value with analog pins? It will work as a potentiometer, isn't it?
You need a Lipo battery to use that.
If you do NOT have the Lipo battery then get one and come back when you do have it.
If you cannot get a Lipo battery then stop here. Do not proceed past this point until you have the Lipo battery. If the lipo balancer connector shown in the photo is YOUR balacer connectof coming from YOUR Lipo battery, then proceed...
If you understand Envlish then what is it about ghe wire labels that you do not understand ?
Do you not know what those labels mean (the wire labels you FAILED to mention in your post?) (1S,2S3S , etc )
Have you never used a Lipo battery before ?
Do you NOT know what "1S,2S,3S" means ,as it relates to a Lipo battery ?
Have you NEVER heard of a Lipo Balancer before ?
If anyone deserves a face palm it's you.
You are the one who labeled the "Ground" wire.
I'll give you 3 guesses where that goes.
Since the OTHER wires are NOT GND, and a lipo is a battery comprised of multiple cells , where do you suppose those '1S, 2S , 3S pins connect on the liipo battery ?
Given that they connect where they do, which pins on the arduino would MOST LIKELY be used to MEASURE VOLTAGE ( DUH) ?
Given that ALL BUT ONE of those "1S, 2S, 3S " pins will have voltages in EXCESS of the MAXIMUM INPUT VOLTAGE ALLOWED , WHAT kind of circuit would CONVERT those excessive voltages to LOWER voltages that ARE safe to connect to the arduino, in a simple and cheap way ? (DUH)
Draw that circuit and post a photo of it.
Do the calculations. ( show your work !)
MAKE SURE YOU SHOW THE LIPO BATTERY connections to your "buzzer" in your circuit schematic.
You have 24 hours.
BEGIN !
"How I supposed to take off one buzzer ? "
You are NOT supposed to take off one buzzer .
Do NOT attemlt to disassemble the "devuce" !
Leave it as is ( INTACT)
....
.....Have you never used a Lipo battery before ?
Do you NOT know what "1S,2S,3S" means ,as it relates to a Lipo battery ?
Have you NEVER heard of a Lipo Equalizer before ?
If anyone deserves a face palm it's you.
You are the one who labeled the "Ground" wire.
I'll give you 3 guesses where that goes......
Kinda funny I read everything but let me stop you at this right point, I took those picture from google
the only modified picture is the last one.
Anyway
Let me update to myself as I see, my progress, I've been testing today many ways to get a "Signal" to my arduino that the LiPo is running out of battery, well one way was to unsolder / unplug one buzzer and solder 2 wires but I didn't knew what to do next so I remembered the "Battery voltage meter" or "Analog potentiometer reading" from 0 to 1024.
So I found this nice tutorial:
But after doing some tests found out that the pins or analog read is not stable so I could get a wrong warning so I moved on.
So as outsider said :
I would use an optocoupler to a digital pin.
It came in my mind, "I don't have a optocoupler right now so let's improvise".
This is a personal design, had only paint at the moment so I used it, hope you will understand,
pictures are easier to understand than worlds, isn't it ?
yes at this point is not really necessary to unsolder the buzzer but I don't need a loud buzzer, buzzing around :D.
Measuring the output voltage from the Voltage alarm circuit (buzzer pins) calculating the resistance for the IR led and the rest are in the picture.
Voala getting a warning on arduino/atmega chips that the LiPo is running out of juice, hope someone will find this useful and Thanks outsider(+1 Karma) mentioning the optocoupler
PS forgot to mention:
You need a Lipo battery to use that.
If you do NOT have the Lipo battery then get one and come back when you do have it.
I do have a LiPo battery why the hack would I use it without having one? Doesn't make sense
Voala getting a warning on arduino/atmega chips that the LiPo is running out of juice, hope someone will find this useful and Thanks outsider(+1 Karma) mentioning the optocoupler
How could they find it useful when you post about a buzzer/alarm circuit when you do not show the connections to the buzzer circuit ? Is there some reason you can't post a photo of a hand drawn schematic that shows how to connect it to the buzzer ?
Is there some reason you didn't list the pin NAME of the OTHER (NON-GND) pin on the buzzer and show how that connects to your opto circuit ? It clearly has a pin name. Why is it not shown in your circuit ?
Or could it be that the opto circuit is something else you found on the web ?
Draw the circuit and show how it connects to your "device" and post a photo of the schematic.
FYI, any led will work with a photo transistor. There is no need for IR in this application , although it will still work.
( see video in next post (Reply#9) )
If you are going to take the time to post a circuit that connects to the buzzer alarm you should at least show how you connect it. The connection wire labels you use for your circuit do not match the pin labels on the device. How would an inexperienced person know how to connect your circuit to the circuit in the photo ?
BTW, that's not how I would have done it. In fact, there is absolutely no point in using that device if you are going to do that because the whole thing can be replaced by two resistors. You don't need the buzzer alarm or the opto if that's what you are going to do. All you need is a voltage divider to the battery and an analog input. (like in the tutorial)
So now that you have deleted the two photos that you posted what next ?
If your post is finished you should edit your post title and change the title in the original post to "[SOLVED] Voltage buzzer warning system" so the rest of the forum knows the post is solved.
that's not how I would have done it. In fact, there is absolutely no point in using that device if you are going to do that because the whole thing can be replaced by two resistors.
Then why you waste my time? tell me that from the beginning, I start a topic to find help to solve a problem, i get "bullied" instead of asking like a normal person, I find my own solution i post it and after that same screaming sh*t why i don't post info about that ...etc
Help me instead pushing me in the hole.
Thanks a lot, you wasted my day, found my own solution in my own topic, posted plenty of info, bb.
Our job is to help you learn while providing a solution. This isn't a customer support line.
We work for free. If you want to learn, answer the questions I posted in my first reply.
If you don't know the answer then reply "I don't know" to that answer. When you have completed the test I will give you all the correct answers along with a schematic and instructions.
FYI, you should change the VSS to something else because VSS means GND.
FYI, the schematic looks good, although I would change the name of the output to the arduino to something more standard like "Digital Out" (I don't know what "Ap" is supposed to mean. It can't be "Analog Pin" if it is a digital output.
Sorry for my anger in last comments, not my lucky day today, I'm under a big pressure, got a big project to
do and not sure if I'll finish it in time.
No problem.
I should point out that you posted the link to the tutorial that shows how to use two resistors to measure the voltage but you abandoned that idea saying it was unstable.
If you post your measurements and explain how you connected it to that module, we could determine why your measurements were "unstable". I admit that having a detector circuit that outputs a signal when the battery gets to some preset voltage is an advantage but from the photo it appears the module has a default setting for 3.7V. You said your circuit worked but the balancer you plugged into the module in the photo is from a 3S which has a charged voltage of 12.54 Vdc. You never said you changed the "setting" and you never mentioned if you even measured the output voltage of the module, so technically, you solution is incomplete because anyone reading your post would not know what the output voltage from the "+" pin of the module is. You connection diagram for the IR opto circuit shows generic values. Nothing in the opto circuit diagram or your hand drawn schematic shows any "real world " values. You have the opto and the module but did not determine the "VLed" (which BTW, should be "Vf for "Vforward ) or choose a resistor value ? Posting the generic equation is expected but it is also expected for you to "show your work" and "crunch the numbers" by solving the equation in an example using your hardware . Anyone can copy an equation from the web. Here on the forum, it is expected that if you know enough about the equation to post it, you know enough to solve and example so "Newbies" can see how it should be done. I suggest you do just that.
Either look up the Vforward for your photo diode/transistor or measure it with a meter and solve the equation and post the calculations .
ie:
Let Vf (from datasheet) = 2.3V @ 20 mA
Let Vcc ("+" pin of module) = 3.5V ( I have no idea what voltage that is so I am just
picking an arbitrary value)
I see I confused you a bit, I don't know get the VCC that's why I didn't posted anything about resistor
value and posted the formula to calculate the resistor.
The VCC at this point will not be from the pins of the LiPo Alarm but will be from the vias of the Buzzer,
as you and others observed the LiPo alarm got 2 buzzers while the voltage of the LiPo battery get's lower than it should be the Buzzers turn ON. My idea was to unsolder one buzzer and use the VCC/Chip pin + voltage (not sure how it's exactly connected there) and ground to act as the Vout VCC/GND to power up the IR Tx Led and use the RX IR led to receive the signal / light from the TX led and get a message on my arduino.
So let me recap:
I get the "LiPo Battery low voltage Alarm"
Unsolder one of the two buzzers and use the buzzer vias/PCB holes as VCC/GND
Measure the voltage with a voltage meter while the buzzer are ON
Calculate the resistance with the formula I wrote for the IR TX Led
While the Buzzer are ON the IR TX Led will light up and the RX led will receive the signal
I write a small code to read thru Analog pin and type a message or do a action/task inside the arduino.
FYI, the schematic looks good, although I would change the name of the output to the arduino to something more standard like "Digital Out" (I don't know what "Ap" is supposed to mean. It can't be "Analog Pin" if it is a digital output.
I'm pretty sure the Rx opto output would be a digital level signal and you wouldn't need to do an analogRead. This is based on the simple fact that the pullup resistor is connected to to 5V.
I don't remember how you had it connected but it should have been a pullup from the collector of the photo transistor to +5V, with the transistor emitter connected to GND.
This results in a HIGH with NO signal and a LOW WITH and input signal. (light from led turns on phototransistor which pulls collector to GND.)
Measure the voltage with a meter and post the value. Also post the buzzer out voltage.
You should repost the corrected schematic for the circuit (that you removed)
I'm pretty sure the Rx opto output would be a digital level signal and you wouldn't need to do an analogRead. This is based on the simple fact that the pullup resistor is connected to to 5V.
That's another trick Yes "Ap" I mark on my note like that the "Analog Pins" or Dp "Digital Pins", I tested it 1st with Analog pin because I wanted to see what values do I get, like a potentiometer, at the beginning I get
the value 33 if you saw the video I posted in the prev. comments, if I had that on digital pin that would be HIGH without even lighting up the TX led.
Well another problem was that I'm out of Digital pins and the only free are 4x analog pins, so in that case I would use the analog to read if it's high or low, as I tested it should be 33 low and over 700 high.
I will repost hand schematic when I'll get more info and few voltages ..etc and pictures of real components.
That's another trick Yes "Ap" I mark on my note like that the "Analog Pins" or Dp "Digital Pins", I tested it 1st with Analog pin because I wanted to see what values do I get, like a potentiometer, at the beginning I get
the value 33 if you saw the video I posted in the prev. comments, if I had that on digital pin that would be HIGH without even lighting up the TX led.
I have no idea what you are using for an input to the opto circuit but if you are talking about
the buzzer voltage then you need to say so. If not then you need to state what you are doing. The above statement by itself makes no sense.
If you are talking about the buzzer output you need to post the voltages for both states.
(normal state/alarm state)