Breaktru Forum

eCigarette Forum => Modding => Topic started by: Breaktru on May 06, 2012, 03:57:30 PM

Title: Microcontroller 2 Mod
Post by: Breaktru on May 06, 2012, 03:57:30 PM
Started a new microcontoller mod that will be smaller than the first one.

(http://breaktru.com/ecig/mcu2_mod_1.jpg)(http://breaktru.com/ecig/mcu2_mod_2.jpg)
(http://breaktru.com/ecig/mcu2_mod_3.jpg)(http://breaktru.com/ecig/mcu2_mod_4.jpg)
Title: Re: Microcontroller 2 Mod
Post by: jester on May 07, 2012, 11:06:17 AM
looking good i wish i could but for now i will just keep reading and asking questions  :rockin smiley:jimmy
Title: Re: Microcontroller 2 Mod
Post by: Dznutz on May 07, 2012, 01:07:03 PM
Ahhh hell ya, micro sizing it  :D
Title: Re: Microcontroller 2 Mod
Post by: freelinuxer on May 09, 2012, 05:21:15 PM
Started a new microcontoller mod that will be smaller than the first one.
(http://breaktru.com/ecig/mcu2_mod_1.jpg)(http://breaktru.com/ecig/mcu2_mod_2.jpg)

Looks cool.
BTW, breaktru, where did you get those nice LCD ?
 :beer-toast:
Title: Re: Microcontroller 2 Mod
Post by: Breaktru on May 09, 2012, 05:57:05 PM
It's an OLED graphic Display. A bit different than an LCD. from Adafruit

An OLED display works without a backlight. Thus, it can display deep black levels and can be thinner and lighter than a liquid crystal display (LCD). In low ambient light conditions such as a dark room an OLED screen can achieve a higher contrast ratio than an LCD
http://en.wikipedia.org/wiki/OLED
Title: Re: Microcontroller 2 Mod
Post by: freelinuxer on May 10, 2012, 12:08:49 AM
It's an OLED graphic Display. A bit different than an LCD. from Adafruit

An OLED display works without a backlight. Thus, it can display deep black levels and can be thinner and lighter than a liquid crystal display (LCD). In low ambient light conditions such as a dark room an OLED screen can achieve a higher contrast ratio than an LCD
http://en.wikipedia.org/wiki/OLED

Thanks Breaktru, I recently got DOG-M 16x3 LCD working with SPI. This OLED certainly looks great. I'd try it soon.
I will wait on another nice mod of yours. !!
Title: Re: Microcontroller 2 Mod
Post by: jomurp on May 10, 2012, 11:14:38 AM
That display would make a nice mod. Very good breaktru  :beer-toast:
Title: Re: Microcontroller 2 Mod
Post by: Tameron on May 10, 2012, 03:23:08 PM
 :rockin smiley:

Two exciting hobbies rolled into one.
Mod building and Microcontroller building.
Never gets dull around here.
Keep up the good work guys. I see there are few mod builders in this forum that use microcontrollers.  :beer-toast:

Maybe a section just for microcontollers are in order...  :yes"
Title: Re: Microcontroller 2 Mod
Post by: gknowes on May 10, 2012, 06:12:27 PM
your brain is in overdrive my man :rockin smiley:
Title: Re: Microcontroller 2 Mod
Post by: columbusbk on May 10, 2012, 11:00:47 PM
your brain is in overdrive my man :rockin smiley:

I second that  :thumbsup:
Title: Re: Microcontroller 2 Mod
Post by: charming on May 15, 2012, 04:43:35 PM

Two exciting hobbies rolled into one.
Mod building and Microcontroller building.
Never gets dull around here.
Keep up the good work guys. I see there are few mod builders in this forum that use microcontrollers.

Maybe a section just for microcontollers are in order...  :yes"

Sure is a nice hobby. Me likes very much..  :rockin smiley:
Title: Re: Microcontroller 2 Mod
Post by: DRA on May 17, 2012, 12:50:01 PM
Very nice indeed. The mod of the future.
Can't wait to see it in a box or something
Title: Re: Microcontroller 2 Mod
Post by: Breaktru on May 18, 2012, 09:02:48 PM
This new MCU and OLED display will house the NEW DNA by Evolv.
See  DNA 12 Evolv w/ an MCU (http://breaktru.com/smf/index.php/topic,588.0.html)
Title: Re: Microcontroller 2 Mod
Post by: zeus17 on July 26, 2013, 05:58:12 PM
me likey...how the heck do I learn that?hahahhaha continue reading....
Title: Re: Microcontroller 2 Mod
Post by: DjKiDD on November 10, 2013, 11:13:30 AM
Did this ever get finished? I am working on my own uC mod and am quite interested in your builds.
Title: Re: Microcontroller 2 Mod
Post by: Breaktru on November 10, 2013, 12:17:45 PM
Did this ever get finished? I am working on my own uC mod and am quite interested in your builds.

Yes there are a few shown in the "Mods" category
We would like to see yours here as well

You should also take a look at CraigHB's Powerblok mods. They are by far the most advanced technology mods I have ever seen.
See: It's Alive (http://breaktru.com/smf/index.php/topic,598.msg3895.html#msg3895) and My Latest (http://breaktru.com/smf/index.php/topic,677.0.html)
Title: Re: Microcontroller 2 Mod
Post by: DjKiDD on November 10, 2013, 02:55:35 PM
Yes there are a few shown in the "Mods" category
We would like to see yours here as well

You should also take a look at CraigHB's Powerblok mods. They are by far the most advanced technology mods I have ever seen.
See: It's Alive (http://breaktru.com/smf/index.php/topic,598.msg3895.html#msg3895) and My Latest (http://breaktru.com/smf/index.php/topic,677.0.html)

I am only in the planning stages of my first mod, haven't built anything just yet, but I definitely will when I do.
Yes I've looked at them they are amazing!
I was wondering how you get the resistance of the atomizer to display. Do you measure the resistance somehow or is it just calculated from V and I?
Title: Re: Microcontroller 2 Mod
Post by: Breaktru on November 10, 2013, 03:54:22 PM
Yes it's calculated by reading output voltage and amperage. I must say it's pretty accurate.
Title: Re: Microcontroller 2 Mod
Post by: CraigHB on November 10, 2013, 05:04:51 PM
It's actually much more accurate that way compared to incorporating an ohmmeter circuit, also much easier to implement.  I get reliable resistance readings to two decimal places.  You typically only get one decimal place for mods that use a ohmmeter circuit.  Though, the down side is you have to power the atomizer to take a resistance reading.  Not a big deal though, I only need to tap the trigger quickly to get it.  The mod gets a reliable resistance reading from powering the atomizer for only a few hundredths of a second.
Title: Re: Microcontroller 2 Mod
Post by: quitter on December 16, 2013, 04:23:12 PM
Hey Dave, Craig, and all:

Just wanted to know if you guys had taken a look at this.

http://www.smokio.com/

Think it would be cool to build one of your microcontroller mods, made in america, that won't cost an arm and a leg, that can work with my phone.

Any help appreciated!
Title: Re: Microcontroller 2 Mod
Post by: CraigHB on December 16, 2013, 06:16:29 PM
Problem is that interface stuff takes up circuit board space that can be better used to actually improve vaping performance.  I admit it's novel, but does it improve your vaping satisfaction?  What's the compromise.
Title: Re: Microcontroller 2 Mod
Post by: quitter on December 16, 2013, 06:23:59 PM
Good point Craig.We were playing around with the idea of modding my buddies Vamo V2 or just using the casing lol. Sure its big, definitely not as sleek as some of your mods, but could accomplish both goals. Do you think there enough space to house everything in there?
Title: Re: Microcontroller 2 Mod
Post by: Breaktru on December 16, 2013, 07:01:22 PM
Problem is that interface stuff takes up circuit board space that can be better used to actually improve vaping performance.  I admit it's novel, but does it improve your vaping satisfaction?  What's the compromise.

I agree.
I personally wouldn't be interested in making one although it shouldn't be that hard.
Heres an interface that can be used: Arduino to Android via Bluetooth (http://www.instructables.com/id/Androino-Talk-with-an-Arduino-from-your-Android-d/)
Title: Re: Microcontroller 2 Mod
Post by: CraigHB on December 16, 2013, 07:03:14 PM
I don't know, depends on what it takes to interface with a phone, never looked into it.  Assuming you want to maintain the variable output feature, you would  probably have to use the full 18650 size Vamo with an 18350 in there to make room for the interface stuff.  You need a data port from the controller for the phone interface which would not be available with the existing Vamo board.  So, the circuit board would have to be a ground-up design.  Not really worth it IMO, but if that's something you really want, might be worth it for you if you can do it.
Title: Re: Microcontroller 2 Mod
Post by: CraigHB on December 16, 2013, 07:15:28 PM
I can think of one really good use for a Bluetooth interface and that's an e-cig locator.  Now that's something I could really use, I'm always misplacing that darn thing.
Title: Re: Microcontroller 2 Mod
Post by: quitter on December 16, 2013, 10:51:34 PM
@CraigHB Amen. These things are expensive. @breakthru breaktru thanks for the tutorial!
Title: Re: Microcontroller 2 Mod
Post by: DjKiDD on December 19, 2013, 01:37:42 PM
One of my ideas was to be able to pair my e-cig to my phone so I could get more detailed readouts of performance and maybe graph them. Other that that being able to remotely set the voltage/wattage and having a readout for resistance on your phone wouldn't hurt
Title: Re: Microcontroller 2 Mod
Post by: davidlewallen on March 20, 2014, 02:51:32 AM
Awesome idea. I could see this going far with creativity
Title: Re: Microcontroller 2 Mod
Post by: Bruno_B on November 11, 2014, 01:25:27 AM
I've had good luck with this OLED https://www.tindie.com/products/miker/096-oled-i2c-display/ I only use 3.3v OLEDS because all my sensors are 3.3v and I don't want to do level conversion. But, that same maker has a few 5v offerings.

If I ever manage to start a topic, I'd like to find out about single cell power amplifier options. All the Murata, TI, GE, and other options I can find require stacking batteries and I'd like to avoid that.
Title: Re: Microcontroller 2 Mod
Post by: wa9w00d on November 11, 2014, 07:25:56 AM
Hi Bruno, new here myself, but welcome.

There are single cell builds here, just look for boost or booster in the thread.

Wayne  :)
Title: Re: Microcontroller 2 Mod
Post by: Breaktru on November 11, 2014, 07:44:13 AM
Here is a boost converter using a single battery, monitored by a microcontroller (http://breaktru.com/smf/index.php/topic,615.0.html)
Title: Re: Microcontroller 2 Mod
Post by: Bruno_B on November 11, 2014, 03:15:20 PM
Here is a boost converter using a single battery, monitored by a microcontroller (http://breaktru.com/smf/index.php/topic,615.0.html)

Thanks, Breaktru. That's a great thread. I make no apologies for reviving it. ;-)

I'm really big on taking big projects and breaking it into small tasks. My first MCU project (http://osky.in/) was literally a matter of life and death, and interfaced with 7 peripherals. It's good to have a plan for success and unit tests. I'd like to start either a thread or a series of threads on solving common microcontroller tasks. Maybe it could be a child board under modding? I think there should also be another dedicated to VV/VW circuits.
Title: Re: Microcontroller 2 Mod
Post by: F1aminfury on December 17, 2015, 03:41:07 AM
Ok so I'm new and I joined to ask a question I'm 100% new to diy and I didn't want an unregulated box that took 5 min . So I made a huge dive and got a raptor 120 watt chip and a arduino micro board . Some resistors and other misc parts . There was a open source code on here I was following but it was for an okr and it was in 2014 lol so my questions . Basically if some 1 could help . I know little to nothing about c/c++ I've been watching tutorials and pretty sure I can make an led light up *great!* lol also I have a oled screen . I want to make (preferably ) a complete (store looking) box mod . What I mean is . I want the screen to display things that u normally see , battery life /% , circuit protections , over discharge protection , warnings.  Vw/vv and so on. Basically the whole shebang . But I think if I can get the raptor itself understood and in a box then microprocessor understood them ever thing together i have a better chance . I'm kinda at a loss of the pots are they resistors or dials ? How can u read 200 ohms in a dial ? So so many questions sadly too new to start my own so . For lack of better ways I joined here to be able to ask hopefully I didn't hijack this as what u posted is my intent to hopefully make it to my own pcb board ! But right now breadboard and temporary trouble shooting and debugging . Any help for parts I need ? In a way I don't want a drag and drop code . Atleast not for the whole thing on the screen I want to UNDERSTAND the ins and outs of the whole thing all components , buttons , things , twisty knobs , codes , letters , numbers . And yea
Title: Re: Microcontroller 2 Mod
Post by: Duckster on January 26, 2016, 01:32:33 PM
   cant_believe:       iI just happened to follow this forum from the forum on making a wire zapper, Breaktru you just keep amazing me with how involved you are in so many areas, I don't know how you do it all? In the other forum I mentioned eventually wanting to use Arduino technology to make the display due to their LOW COST,availability( Gear Best), library modules, and higher level open source language, to overcome the accuracy limitations for ohm measurement using  dedicated voltmeters, plus using Arduino technology to even achieve some control for presetting levels of voltage. Now I see in even older postings on the modder site you using Arduino tech, MCU tech, OLED displays etc. I agree with the Guru of this technology (CraigHB) who favors a lower level assembly machine language for Speed and not having the processor have to convert to machine language but using machine directly.
 I am an old dog trying to learn new tricks, I was around before there were computers widely available, I had a computer kit that used a Motorola (circa !975) I believe it was the 6800 series processor and all you had available to use was machine language, and what a pain it was to do even simple math functions., but all computers ultimately work at this level. The languages allow the programmer an easier way to achieve the desired results. For me to even learn C language for Arduino will be a chore for me but I will eventually do it with people like you helping, and the many resources the internet provides. For now I have to walk before I can run and will concentrate on at least starting to make a wire zapper with an existing volmeter display, but I would like to find an alternative to the unit you used, still looking.  I want to keep it simple with a high input impedeance meter, mv readout, and use of a simple voltage divider network for increasing the voltage range.  If anyone has any leads on a good inexpensive voltmeter such as this please let me know.   :thankyou:
Title: Re: Microcontroller 2 Mod
Post by: Breaktru on January 26, 2016, 02:57:27 PM
Hey Duckster,
Have not been doing much building and tinkering. Just note that when I made the "Spark-O-Matic" w/ the ohm reader, the low ohm trend was 1 ohm. That setup won't work well for sub-ohm coil reading because it only reads tenths. Hundredths and thousandths of an ohm would be ideal.
Using an Arduino and display would be the alternative for sub-ohm reading.
Title: Re: Microcontroller 2 Mod
Post by: Duckster on January 26, 2016, 05:38:04 PM
Hear you there Breaktru, Yes another reason for at least an Arduino in my future. I was just reviewing lessons on C++ at, http://www.ladyada.net/learn/arduino/   the expressions and operands are hard for me to wrap my mind around, it will take some drilling and using for it to sink in. Still a little confused why if a true 200mv reading on a meter that only tenths available. Mathematically 200mv should equate to an upper limit of 2 ohms using 100ma constant current source, if a drop of 200mv=2ohm disregarding even the decimal point possibly being wrong depending on the meter. If reading a .75 ohm resistor isn't the drop=75mv?, which is at least reading hundredth place for a 3 digit display. 200mv=XXX or even some meters referred to as 3 1/2 digit, XXX.X =075.0mv  Full scale=XXX.X=199.9mv
Most builds nowadays are < 2 ohms with the titanium and nickel single coils at a range of .1-.3 for nickel, and .4-.7 for titanium, haven't done any SS yet.
Title: Re: Microcontroller 2 Mod
Post by: Duckster on January 26, 2016, 05:50:31 PM
Breaaktru , When ,using the Ardruino instead of using a 5volt reference for the a/d converter, I think it was called a band gap reference (1.1v) which is built into the board for its use and that can be accessed allowing you to divide it into the 1024 bit steps available  for a better resolution? 
Title: Re: Microcontroller 2 Mod
Post by: Corsario76 on February 15, 2018, 12:06:58 PM
Started a new microcontoller mod that will be smaller than the first one.

(http://breaktru.com/ecig/mcu2_mod_1.jpg)(http://breaktru.com/ecig/mcu2_mod_2.jpg)
(http://breaktru.com/ecig/mcu2_mod_3.jpg)(http://breaktru.com/ecig/mcu2_mod_4.jpg)

buenas tardes
soy de espaƱa y quiero realizar la fabricacion de un mod ...he visto que tienes el programa para hacerlo funcionar habria forma me lo pudieras enviar
gracias