This is my current circuit. I have the 3 led pushbuttons there because fritzing don't have an rgb led button. I want the ring to be green when charged, blue when charging. Orange and yellow as the power depletes and red when it needs to be charged. Since I have little space, I want as many items to have as many duties as they canelectro mag
#electromagnet circuit
1 messages · Page 1 of 1 (latest)
I'm assuming you have a microcontroller somewhere here to control the RGB LED.
No. The leds have yet to be wired and I would like to do it without a new board if possible. I remember seeing it somewhere where someone used resistors to do this with a bar graph indicator but don't remember where
Ah. Well, that's not impossible, but it's probably going to be quite a mess of op-amps and transistors and stuff like that to get the behavior you want.
This is because the logic mixes the colors in interesting ways. Like, the green LED needs to be full on when charged, but off when charging, and some variable intermediate brightness to contribute to the orange and yellow intermediate states. Generating that signal with analog logic isn't trivial. Red will be the same complexity, though blue at least is relatively simple.
That's why lightsaber boards are so complex. I thought it was just different resistor levels to turn on different lights. I guess I hot it confused with fuses
Does everything else look right?
I think the EN logic might be backwards... this looks like it will be normally on, but disable the regulator when the RGB button is held down.
I should note that the button is a latching type
I have it set on the normally open pin
Ah, then it doesn't really matter, except for which latching state is considered on or off.
The EN pin is active high, so when the button is closed, it'll be grounded and turn off the regulator.
The normally open runs to en and the common switch and led pins go to ground
Ah.so it doesn't act like a normal switch which allows power through or stops it. It just controls the device that foes
Does it matter if I have a latching or a momentary on it then? Cause its just turning the board on and off and reading power. The toggle on the right controls the electromag
Well, with a momentary you'd need to hold it down.
Yeah, if you want that type of color behavior, a simple MCU would be the typical approach. If you didn't want that level of complexity, another alternative might be attaching a little fiber-optic light pipe to the LED indicators on the boost board to let you see them outside the enclosure, if "low bat" and "charging" are good enough.
https://www.thecustomsabershop.com/PLI-Power-Level-Indicator-P267.aspx this us kinda the behavior I want, but on an rgb.
MCU, then, yeah.
I honestly tend to go with nonboard as much as I can so I font know what I'm looking for
Would something like this work?
Cause I may be OK running a number of these to do what I need
https://www.youtube.com/watch?v=OYzoVyF3F2g this is what I was hoping to do, but with one rgb. I take it its impossible to donit so simply with jus an rgb?
How to make a Battery Level indicator, battery volt level indicator
Today i will show you how to make a battery charge level indicator circuit, battery voltage level indicator. Simple and easy battery level indicator circuit make at home. simple and easy electronics diy projects make at home.
I hopeful this video will be helpful for you and you...
@ivory idol would thus work? Or would it just end up being white when its full power? I may be wrong, but would this just keep adding colors?
Imstill looking fir a controller, but am having trouble knowing what to grt
https://www.adafruit.com/product/2078 https://www.adafruit.com/product/2077 would I be able to build the led control circuit on the protoshield and pair it with the power shield and get my above circuit
What's a project if it's trapped on your desk? Now you can take your Arduino anywhere you wish with the PowerBoost shield! This stackable shield goes onto your Arduino and provides a ...
This prototyping shield is the best out there (well, we think so, at least), and now is even better with Version R3 - updated for the most compatibility with just about all the Arduinos! It ...
Catching up...
The GPIO breakout board doesn't have any built-in intelligence, so it would itself need to be controlled by an MCU.
With just resistors, you'd indeed end up adding colors... red, yellow, and white for low, medium, and high voltage.
If you need a small MCU, then something like the QT Py would be a tiny choice: https://www.adafruit.com/product/4600
What a cutie pie! Or is it... a QT Py? This diminutive dev board comes with our favorite lil chip, the SAMD21 (as made famous in our GEMMA M0 and Trinket M0 boards).This time it comes with ...
This is the size of the Arduino shields compared to how much space i have in my project. Since its a printed item im a little worried about having enough space while maintaining its dtrength
Fritzing doesn't have a qt py so I used a proto board in its place. Am I missing anything?
It doesn't seem to have a way to read the battery voltage, for instance.
Or the charging indicator.
Honestly I don't know where those pins are or if I should place that circuit between the battery and everything else
Temporarily moved on to a switch issue I'm having. I would like the toggle to be center off up on and down temp interruption of the electro magnets power
I'm making an oculus adaptor that puts pistol adaptors on the controllers. With a flip of a switch the electro may turns on and the trigger pistol is placed into the stock of the support pistol an locks into a rifle. The temp interruption is to allow reload
if I can find a momentary toggle, I plan on using this https://www.thecustomsabershop.com/Momentary-to-latching-converter-22-to-16V-P1129.aspx to make one end latching