John Posted August 3, 2015 Report Share Posted August 3, 2015 Well, do you know any programming languages? It is just plain text serial, so very easy to bash together a quick program to do whatever you need. Link to comment Share on other sites More sharing options...
AllenH Posted August 3, 2015 Report Share Posted August 3, 2015 I do know a bit- but it's been ages. However, I think I can get my work done via the device monitor, so all should go well here. And as I mentioned, it's a tricky test, so not sure if it will work anyway. Manual playing may be the best anyway. Thanks for this excellent interface!! Link to comment Share on other sites More sharing options...
SteamMonkey Posted August 10, 2015 Report Share Posted August 10, 2015 Any way to get the full command list for serial input? I'm working on something with an external controller and the serial commands would be super useful so I don't have to write something that simulates button presses. Link to comment Share on other sites More sharing options...
John Posted August 10, 2015 Report Share Posted August 10, 2015 What do you need that isn't covered by James's post on the previous page? Link to comment Share on other sites More sharing options...
SteamMonkey Posted August 10, 2015 Report Share Posted August 10, 2015 basically 'everything else'. I'm working on a custom interface that'll let users have more control over the board on the actual device itself without connecting it to a PC. Link to comment Share on other sites More sharing options...
hunnimonstr Posted August 13, 2015 Report Share Posted August 13, 2015 Hi all, newbie in here just playing with my first dna200 device.found this thread looking for the serial interface commands..as it happens i also have been anticipating some sort of wireless coms and think an esp8266 is an ideal broadcast board probably an internal addition taking off solder points on the board (if they exist??) for serial Rx and Tx as well as a 3.5v +ve and ground..the esp8266 is an easy access platform and is even compatible with the arduino programming ide Link to comment Share on other sites More sharing options...
phausler Posted September 8, 2015 Report Share Posted September 8, 2015 There seem to be a few other command query prefixes:E=GETC=GETR=GETC seems to respond Watt Hours? For example C=1.502WHR seems to respond the ohmsI have not yet figured out what the E command is for; perhaps it is negotiation to Escribe itself?Has anyone found a good way to associate battery cell queries with the responses?I ended up writing to the buffer "B=GET CELL 1\r\nB=GET CELL 3\r\nB=GET CELL 3\r\n" but that just responds back three cell values in a row instead of identifying the response per cell; so I am assuming that the queue for queries is FIFO Link to comment Share on other sites More sharing options...
VapingBad Posted September 8, 2015 Report Share Posted September 8, 2015 If c = charge/capacity, r = resistance, could e= volts (electromotive force) Link to comment Share on other sites More sharing options...
James Posted September 9, 2015 Report Share Posted September 9, 2015 E is actually a bit different:E=GET MFRE=GET PRODUCTE=GET FEATURE (1 to 7)E ("e-cigarette") and S ("statistics", because E=GET FEATURE returns St) support the ECigStats command set. Link to comment Share on other sites More sharing options...
Zrave Posted September 9, 2015 Report Share Posted September 9, 2015 Hey @James been doing some research on linux and haven't found a way to upload temp curves through the serial interface. Is that considered part of the encrypted firmware? Or is it available as a serial command? Also is there a resource out there that lists all options/settings available from the serial interface and the options/settings that are encrypted as part of the firmware? Thanks for the help and I've been loving the device. Link to comment Share on other sites More sharing options...
phausler Posted September 9, 2015 Report Share Posted September 9, 2015 Thanks for the update on the "E" query. For my device (a HanaModz) it respondsMFR - E=EvolvPRODUCT - E=DNA 2001 - E=PC2 - E=TC3 - E=St4 - E=FG5 - E=S:36 - E=M7 - E=Evolv_DNAIs the MFR supposed to be the device manufacturer? or the board?Is the PRODUCT supposed to be the product name of the device? or the board? What are the meanings of each of the features?Are there any plans for allowing for uploads of themes or modifying the values of profiles?Is there a way to modify the preheat punch via serial? Link to comment Share on other sites More sharing options...
scoopy Posted September 11, 2015 Report Share Posted September 11, 2015 Yes the MFR is manufacturer which is of course Evolv And the PRODUCT is the device and/or board being the DNA 200 As to the meaning it's just a way to find out who made it and what it is and if it's an actual authentic chip As to uploading themes or modifying the values of profiles via serial interface. ....I really don't know....that would have to be a question for James or John if he isn't still working on his new project Hope that helps explain some things Link to comment Share on other sites More sharing options...
postfixx Posted October 8, 2015 Report Share Posted October 8, 2015 Is there any plan to add a help function to the terminal? Link to comment Share on other sites More sharing options...
Mad Scientist Posted October 29, 2015 Report Share Posted October 29, 2015 James said:Here are the main control commands. Enjoy Fire: F=#SSet Power Setting: P=#WSet Temperature Setting: T=#C or T=#F or T=OFFSet Profile: M=# (1 to 8)Get Power: P=GETGet Power Setting: P=GET SPGet Temperature: T=GETGet Temperature Setting: T=GET SPGet Voltage: V=GETGet Current: I=GETGet Profile: M=GETGet Battery: B=GETGet Battery Cell: B=GET CELL # (1 to 3)The Device Monitor works by issuing serial commands, so really anything it can do can be commanded. Hi James, Would it be possible to get an updated comprehensive list of available commands? I remember you guys added the up / down button presses as commands (I'm almost positive I saw a post on that -- and I thank you for doing that) and looks like I'm finally approaching a point where I'm going to need them. As always, thanks very much. Link to comment Share on other sites More sharing options...
VapingBad Posted October 29, 2015 Report Share Posted October 29, 2015 There are a few in this thread not on that list[CODE]/*Function: CommandFire: F=#SSet Power Setting: P=#WSet Temperature Setting: T=#C or T=#F or T=OFFSet Profile: M=# (1 to 8)Get Power: P=GETGet Power Setting: P=GET SPGet Temperature: T=GETGet Temperature Setting: T=GET SPGet Voltage: V=GETGet Current: I=GETGet Profile: M=GETGet Battery: B=GETGet Battery Cell: B=GET CELL # (1 to 3)Get Charge: C=GETGet Resistance: R=GETGet e-cig Manufacturer: E=GET MFRGet e-cig Product Name: E=GET PRODUCTGet e-cig Feature info: E=GET FEATURE #(1 to 7)*/[/CODE] 1 Link to comment Share on other sites More sharing options...
Mad Scientist Posted October 30, 2015 Report Share Posted October 30, 2015 VapingBad said:There are a few in this thread not on that list[CODE]/* Function: Command Fire: F=#S Set Power Setting: P=#W Set Temperature Setting: T=#C or T=#F or T=OFF Set Profile: M=# (1 to 8) Get Power: P=GET Get Power Setting: P=GET SP Get Temperature: T=GET Get Temperature Setting: T=GET SP Get Voltage: V=GET Get Current: I=GET Get Profile: M=GET Get Battery: B=GET Get Battery Cell: B=GET CELL # (1 to 3) Get Charge: C=GET Get Resistance: R=GET Get e-cig Manufacturer: E=GET MFR Get e-cig Product Name: E=GET PRODUCT Get e-cig Feature info: E=GET FEATURE #(1 to 7) */[/CODE] Thanks VB. With those, just about everything can be done through USB except answer that darned new coil question lol. Link to comment Share on other sites More sharing options...
VapingBad Posted October 30, 2015 Report Share Posted October 30, 2015 Pre heat adjustment would be cool, it would make it worth doing a basic phone app. Link to comment Share on other sites More sharing options...
hobbyquaker Posted December 21, 2016 Report Share Posted December 21, 2016 T=OFF isn't working for me. Does anyone know if and how TC can be turned off? I'm also interested in getting the board temperature, escribes device monitor is capable of showing it, so I guess there should be a serial cmd for this? Link to comment Share on other sites More sharing options...
VapingBad Posted December 21, 2016 Report Share Posted December 21, 2016 Not working for me on a 200 either, I got it from post #12. Link to comment Share on other sites More sharing options...
James Posted December 22, 2016 Report Share Posted December 22, 2016 Use ? for 'null' values: T=? turns temperature protection off.Also,T=MONITOR is temperature monitoring mode: it keeps measuring it, but does not control to it.E=GET MFR and E=GET PRODUCT are the board.As for the feature keys...E=GET FEATURE can go above 8, by the way -- query it until you receive a question mark.PC means power commands/queries.TC means temperature commands/queries.St means long-term statistics queries. (Total energy, etc.)FG means fuel-gauging (DNA 200/250), so C=GET works. (Capacity.)S:3 means multi-cell, max 3. You can use B=GET CELLS to get the actual cell count.M means profiles.The feature keys enable creating devices with more restricted or more extended feature sets. For example, if a device responds with PC as its only feature, ECigStats is happy to talk to and sync it (that implies single-cell, power-controlled only, so it won't send T=GET, etc.). Or if it's only St, it'll only ask about puff count and time. 1 Link to comment Share on other sites More sharing options...
hobbyquaker Posted December 23, 2016 Report Share Posted December 23, 2016 Thx for the Infos!The correct command to get battery cell count is B=GET CELLS Link to comment Share on other sites More sharing options...
hobbyquaker Posted December 23, 2016 Report Share Posted December 23, 2016 R=GET seems to return the cold-resistance. Can you tell me how to retrieve the current resistance during a puff? Link to comment Share on other sites More sharing options...
VapingBad Posted December 23, 2016 Report Share Posted December 23, 2016 A complete guess maybe TR=GET Link to comment Share on other sites More sharing options...
hobbyquaker Posted December 23, 2016 Report Share Posted December 23, 2016 Nope, that also returns the cold resistance. Seems to be irrelevant what's before the R, also XYZR=GET returns the cold resistance. I guess it's something after the GET, like R=GET XYZ, but my tries to guess it aren't successful Link to comment Share on other sites More sharing options...
hobbyquaker Posted December 23, 2016 Report Share Posted December 23, 2016 wohoo guessing sometimes is successful :-))T=GET BOARDT=GET ROOMare working Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now