Another DNA 20 Mod

Status
Not open for further replies.

Innocuous

Super Member
ECF Veteran
Mar 23, 2013
508
149
Washington (the desert)
SO, is the pushbutton function momentary? Or, push-on/push-off? A momentary there would be nice.
Note:
It just now occurred to me.. *sigh* I been musing a roller-pot for a mod for months. Well, I know *exactly* where to find a rotary encoder and Momentary as well: a $15 micro-mouse! sheesh.. Brain-gas.:oops:
 
Last edited:

ecat

Full Member
Oct 7, 2013
42
31
uk
I would seriously consider the simple solution, it's just three switches in a handy, spring loaded format.
EC111012010H - ALPS - ENCODER, SELF RETURN, 11MM | Farnell United Kingdom

But if you must use the encoder solution, here is the circuit I used...
EncoderBoardSchematic.gif


You will need some way to program the PIC. Let me know if you want to give this a try and I'll post the source and .hex file.

Wiring:
I connected V+, 0V to the battery (max permissible voltage 5V!) and added the protection diodes to avoid damage to the dna. You could try to tap 3.3V directly from the DNA board, it's something I'm thinking about.

EA, EC, EB connect to the corresponding three pins on the encoder.

U and D go to the Up+ and Down+ on the DNA board. If the up and down act backwards just swap these two wires.

MC is not connected to the DNA, it is one of the signals needed to program the chip. While programming you also need to disconnect U and D and connect the programmer to GP0 and GP1 as per the PIC programmer documentation.

The click switch on the encoder is wired to the DNA as any other switch would be.

The only down side to the encoder or three way switch solution is the specified switch life. I'll let you know more in a year lol

Hope this helps :)
 
Last edited:

ecat

Full Member
Oct 7, 2013
42
31
uk
Design files:
The case walls are 3mm thick. This is overkill for aluminium, may be about right for 3d printing and may even be thick enough for wood. The only cut-out is the one for the display (and it's wrong! That's what happens when you follow the official documentation instead of getting out your ruler) so the position of the head, button(s), USB socket, vent holes is up to you... Although there is not too much room available for creative freedom.

To hold all the bits in place I created a L shaped bracket sort of thing out of 1mm plastic card. Drop a post if you need more details on this or indeed anything else.


AnotherDNA20Mod-Image.jpg


AnotherDNA20Mod-Drw.gif



I'm releasing this project under Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0 . Any derivative works should attribute ecat.

The .zip contains 5 files:
Another DNA20 Mod.pdf : see the Notes in this file for comments, suggestions and issues.
AnotherDN20Mod.stl
AnotherDNA20Mod-Drw.gif
AnotherDNA20Mod-Image.jpg
License.txt

The stl file is the 3d model, the pdf a dimensioned drawing. The remaining files are two previews and the license file.

http://www.i2net.me.uk/files/cnc/ecigs/Publish02.1/AnotherDNA20Mod.zip


So get your hands on a CnC or 3d printer, perhaps at your local HackerSpace and enjoy :)
 
Last edited:

ecat

Full Member
Oct 7, 2013
42
31
uk
Update 2013/11/18 to Post #26
http://www.e-cigarette-forum.com/forum/battery-mods/482340-another-dna-20-mod-3.html#post11293678

Changed Note1 on drawing to read 'from right' instead of 'from left'.

In addition I must add:
Please ensure wiring does not encounter any sharp case edges, use extra insulation - I use a small section of folded plastic around the corner of the 'shelf' for example - as necessary.

Please use the updated link found in this post

AnotherDNA20Mod-Drw.gif


http://www.i2net.me.uk/files/cnc/ecigs/Publish02.1.01/AnotherDNA20Mod.zip

-----------------------------------------------------------------------------


This may be of interest to our U.S. chums Free! Geomagic Design 30 Day Trial & 3D Printing ? TouchStone 3D , Free printing!? I have no idea of the conditions that apply (at a guess you need to buy the sw :( ) or how common such offers are in your fine country, still, worth keeping a lookout for similar deals if you have any future projects.
 
Last edited:
Status
Not open for further replies.

Users who are viewing this thread