Awesome! Welcome to the fray
Great job!
Awesome! Welcome to the fray
Great job!
Nice effort.
Good stuff! I know the feeling when you fire up your first board with your own design and it works
Looking good.
This board should be useful for testing and programming the "tiny" attiny13a (MMU). It is labeled with USBAsp pins for easy hookup (I always mix up at least one pin every time I wire up a new programming clip! )
Nice board RMMâŚthanks!
[untested] 12.2mm Shutter Switch button board v005
For use converting SRK or similar from 1-stage button to 2-stage button. Inspired by Heliosâs Tact switch (button) board 12.2mm round v2 found in the OP.
All this 1-stage switch stuff is for the birds, right?
v005 @ OSH Park
https://oshpark.com/shared_projects/P1GnvS2a
What is the stage 1/stage 2 for?
Itâs a shutter switch. Like in a camera.
You press it halfway and it closes Stage 1 with the long horizontal strip (GND). You press it the rest of the way (harder) and it closes Stage 2 with the long horizontal strip (GND). This allows for more complex UI behavior. Some mid to high end lights have this type of switch. I think Nitecore uses a switch of that type for some things (such as the EA4).
It requires 3 wires, GND, SW1, and SW2. Typical use would be with 2x pins on the MCU, although there are hacks to allow for less pin usage.
EDIT: Iâm not sure that this thing is actually useful, and I donât have any of the switches yet. Iâll get a couple on my next Mouser order.
Oops. This double-action switch is a lot less expensive:
ALPS SKSMAFE010
http://www.mouser.com/ProductDetail/ALPS/SKRNPME010/?qs=sGAEpiMZZMsqIr59i2oRchLk7FYgnUpFPhAcyn%2Fs610%3D
Itâs also got a bit lower operating force though, for both stages. EDIT: and a TON more travel. Hmm. Might have to get both. The ALPS part has a totally different pinout, requires a new PCB.
Man I bet Matt would be pretty interested in that switch, someone should email him the PN.
This isnât exactly a shared project, itâs closed source because of the complexity but I wanted to show my newest driver offâŚ
Daughter (switch) board. Tho it would serve no purpose this would actually run on its own as a complete driver.
https://oshpark.com/shared_projects/NlLyqjAM
Main board, mounts to the light, makes battery + and GND contacts and holds an additional 5x 7135 per channel
https://oshpark.com/shared_projects/vb7HPcvp
There is a third board that is absolutely required but itâs only for support, there are no components so you can just harvest it from the host lightâs driver.
Assembled (PIC, a cap and 2 resistors missing, values being determined by testing) and the code is still undergoing hardware debugging.
This is a driver to transform a nitecore Cx6 (any of the series) into a tint mixing light. The code allows for seamless tint selection from 100% cool to 100% warm (and literally any step in between). It operates off a mix of tail Clicky and button presses and is designed to hide all the extra features (like tint mixing and the cool blinky modes) so you can hand it to someone and they can use it as a flashlight without needing a lesson while still being easy to access and control the added features for the advanced user.
It has battery monitoring LEDâs under the side switch boot that are PWMâs to go from green to yellow to red (all the time when power is applied at the tail). The main emitters actually require a second PWM input each (obviously both CW and NW need their own main PWM inputâs as well) and this 2nd shared PWM signal goes threw the series of BJTâs to not back feed into one another. This allows me to have the needed 2 PWM signals per channel while only taking up 3 MCU PWM outputâs (the 16F1825 PIC has 4 PWM channels, the battery monitor is controlled by the 4th).
Fit perfectly in the host!
Boards
Built
This was my first time fitting boards together like this (âTâ butted together). Also my first time making slotâs. 100mil is the smallest slot width supported, a little wider than needed but not to much that solder wouldnât easily bridge the gap.
This project has been in the works MONTHS now, really excited Im this close now!
Youâll have to document this a bit more, I donât really understand it. Why do you not create threads for things like this?
Itâs not far enough along for a thread yet, I donât bother with âWIPâ threads, I have to many ongoing projects (of my own and of customers). This is a light which will be an official KillerLumens light offered for sale, once nearer completion there will be a thread and/or my site page.
BTW There are 5 connections (5 plus gnd) between the two boards- VDD, CW & WW PWMâs and CW & WW outputs (from the 7135âs). Thatâs 7 solder points (2 GNDâs help with physical support), there is also 4 large pads for connection to the top support plate. Also of interest is how I accomplished polarity protection reusing the factory style spring plate, I really like this method and am looking into sourcing the plastic button top isolators for future builds (every one of these I built I can just reuse the piece from the host light). Physical protection eliminates any voltage drop issues across a diode meaning battery voltage can be monitored directly at the MCUâs VDD via the internal reference, no voltage divider needed!
Damn, just realized I forgot to edit the masks in DRC and Iâve got all exposed viaâs on the contact board.
If anyone is designing a driver where you have boards connecting in this manner (T butted together) let me know and Iâll send you my files so you can copy the contact point layout / space allowed for the thickness of the board. I surprised myself in getting it perfect first try!
Thanks for the details.
What PWM resolution are you attempting to achieve?
FWIW youâre getting temperature mixing. Tint mixing is a different thing and I do not think that 2 LEDs is enough for that.
wicked cool build C_KâŚthree dimensional drivers
whatâs the difference between color temperature mixing and tint mixing?
BTW not only am I interested in the variable color temp using this method but also the greatly expanded CRI you get out of 2 different LEDâs. This light will have 2 XP-Lâs, the CW around 2A, the warm one will be a 7A3 HCRI (to bad I cant get a >6000K HCRI LED for the CW side).
When this idea first came about I did some testing swapping emitters around in my Imalent SA04 and it seems (basing my calibration off Nichias and my public lab spectra kit) that it will do somewhere around 92-94 CRI with that setup and with a very wide spectra. Currently my SA04 has one Nichia 219 and one HCRI XM-L2 S6 7A3 and itâs spectra is better than those Iâve taken of my HID sources! I use these lights for photography (along with my recently finished quad N.119 AT-008 with wide TIR)
What PWM resolution are you trying to achieve Cereal_killer?
Unknown as of now, hardware debugging starts today! Probably start at 1Khz (should be a pretty safe start point) and see how much higher I can go without issue.
I mean how many divisions (resolution), not frequency (repetition rate). It would be measured in bit depth or number of steps/divisions. For example 8bit (256 divisions), 7bit (128 divisions), 10bit (1024 divisions), etc.