Saturday, August 4, 2012

qSerialTerm: Serial port servomotor control

qSerialTerm, a Qt based serial port terminal emulator, now supports a "frame" feature, intended for servomotor control applications.

This "frame" feature allows the user to send multiple data points (uint8, int8, etc) grouped in a frame. The user can send this frame by click a button or choose to periodically send these frames via a checkbox.

The value of these data points can be varied via a slider or, alternatively, via a spin box. The frame can be sent in two formats: Raw binary or hexadecimal string, where each byte is represented by two characters. e.g. 31 (one raw binary byte) or "1F" (hexadecimal string = 2 bytes).

The minimum and maximum values for the data points and the endianness of data points can also be specified by the user.

Additionally, the user can append one byte and/or prepend one byte to the frame.

A image is worth a thousand of words, the above description will be clearer with the following image.

qSerialTerm frame feature

In the following sections, I'll show you some usage of this frame feature.

Raw binary format


Raw binary format

For this example, the frame was composed of these bytes: 48, 49, 50, 51; and sent in raw binary format. These bytes are equivalent to the '0', '1', '2' and '3' characters shown in the terminal.

Hexadecimal string format and endianness


Hexadecimal string format

In this example, these 4 words (uint16): 15, 255, 4095 and 65535 were sent in hexadecimal string format.

Notice that these 4 words should take 8 bytes, however the hexadecimal string format takes 16 characters (bytes).

Also the frame is in little endian format, this means that the least significant byte occupies the the lowest memory address. e.g. the word 15 is represented as 0x000F in big endian format, and represented as 0x0F00 in little endian format.

Finally, in little endian format 15 -> 0x0F00, 255 -> 0xFF00, 4095 ->0xFF0F and 65535 -> 0xFFFF. All this results in the following string: "0F00FF00FF0FFFFF", which is shown in the terminal.

Servomotor control demo


I owe you this one for now. I've used this software to send signal controls to a robot. I'll post a video later.

Repository


qSerialTerm source code is available in this repository.

More information


qSerialTerm as a serial port emulator
qSerialTerm for data logging
qSerialTerm for data acquisition
qSerialTerm for image visualization  

4 comments:

  1. How about if you have a pet robo???
    Meet the multi-talented Humanoid Robot- AIHRO...!!!
    Do Watch and Share

    http://sudowiki.com/aihro-an-artificial-intelligent-humanoid.html

    ReplyDelete
  2. Selling USA FRESH SPAMMED SSN Leads/Fullz, along with Driving License/ID Number with EXCELLENT connectivity.

    **PRICE**
    >>1$ FOR EACH FULLZ WITHOUT DL NUMBER
    >>2$ FOR EACH LEAD/FULLZ/PROFILE
    >>5$ FOR EACH PREMIUM LEAD/FULLZ/PROFILE

    **DETAILS IN EACH LEAD/FULLZ**

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER WITH EXPIRY DATE
    ->ADDRESS WITH ZIP
    ->PHONE NUMBER, EMAIL, I.P ADDRESS
    ->EMPLOYEE DETAILS
    ->REALTIONSHIP DETAILS
    ->MORTGAGE INFO
    ->BANK ACCOUNT DETAILS

    >All Leads are Tested & Verified.
    >Invalid info found, will be replaced.
    >Serious buyers will be welcome & I will give discounts on bulk orders.
    >Fresh spammed data of USA Credit Bureau
    >Good credit Scores, 700 minimum scores
    >Bulk order will be preferable
    >Minimum order 20 leads/fullz
    >Hope for the long term business
    >You can asked for samples, specific states & zips (if needed)
    >Payment mode BTC, ETH, LTC, Paypal & PERFECT MONEY

    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    ''OTHER GADGETS PROVIDING''

    >SSN Fullz
    >CC fullz
    >Dead Fullz
    >Carding Tutorials
    >Hacking Tutorials
    >SMTP Linux Root
    >DUMPS with pins track 1 and 2
    >Sock Tools
    >Server I.P's
    >USA emails with passwords (bulk order preferable)

    **Contact 24/7**

    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    ReplyDelete
  3. HELLO GUYS,

    #USA SSN,Canada SIN,UK NIN,USA SSN DL front back with Selfie,CC & Dumps
    #Bu$iness owner leads
    #Payday loan leads
    #Loan leads
    #Sweepstakes leads
    #C@sino leads
    #Homeowners leads
    #Employee leads
    #USA B@nk leads
    #Phone numbers leads
    #Email leads
    #Email combos
    #Mortgage leads
    #Crypto Leads
    #Forex Leads
    #Stock market leads
    #Education Leads
    #Health insurance Leads
    #Auto insurance Leads
    #Cars database with MRV

    CONTACT us at =
    Telegram @Leadshop01
    If the Leads are not fresh, they can be replaced but non-refundable
    >Price negotiable
    $payment in crypto only
    24/7 Available

    ReplyDelete
  4. Vaild.Work [+] Dumps Track 1&2 Verify Code 101 Pin atm cash out CC Fullz TopUp PayPal CashApp Skrill Zelle Venmo WU Transfer Bug
    Vaild.Work [+] fresh ccv paypal cashapp fullz info,cc dob/ssn,cc non vbv,card with bins,cc random
    Vaild.Work [+] Sell Paypal Cashappp WorldWide Dumps+Pin(TR1+TR2) Fullzinfo (USA,UK,EU,Canada,AUS,Asia,JP,China) CC(CCV,CVV) Valid 95%
    Vaild.Work [+] SSN DOB SIN UK | FULL INFO ON SSNDOB | REAL DL Fullz with Issue & Exp Dates | NIN DOB ADDRESS | BUSINESS EIN COMPANY
    Vaild.Work [+] Passport Photos with Selfie DL SSN| SSN SIN SPAMMED & V|SSN DOB | FULL INFO ON SSNDOB | paypal Cashapp
    Vaild.Work [+] clone cards atm available for cash out in ATMs online purchase. Our clone cards comes with an ATM pin for easy cash out
    Vaild.Work [+] credit card Dumps Track 1&2 (101 & 201)magnetic stripe debit card.CVV non vbv
    Vaild.Work [+] Paypal & cashapp transfer verify high balance fullz NIN SIN DOB DL UK
    Vaild.Work [+] Fullzinfo SSN DOB NIN database available Bank Account/Routing /Social Security/Driver's License
    Vaild.Work [+] UK US LEADS INFO FULLZ Format CCV2,Name,Adress,DOB,Sortcode,AccNum,DL,SSN,Phone,Mail
    Vaild.Work [+] Sells FULLZ INFO SSN DOB KYC full database personal Dl Front Back Selfie
    Vaild.Work [+] Sell Selfie Driver's License KYC Fullz SSN DOB MMN SIN NIN
    Vaild.Work [+] ID Front+Back Driver's License Fullz Person SSN MMN DOB DL USA UK JAPAN CANADA EURO AUS
    Vaild.Work [+] FULLZ PERSON SSN CANADA DOB SIN UK - ID Front+Back Driver's License USA - AUS
    Vaild.Work [+] SELLING (DL+FRONT+BACK+SELFIE+SSN FULLZ)HIGH QUALITY PRIVATE USA DRIVER LICENSE PACKS - DAILY UPDATES


    >>>> FULLZ DATABASE AVAILABLE<<<<
    My clients can access it via this link: https://vaild.work/login.html
    Registration address: https://vaild.work/register.php
    For clients wanting daily backups and free backups, please visit: https://vaild.work/free.php
    To view reviews, please visit: https://vaild.work/feedback.php
    VK Messenger ID: @clonedcards
    https://vk.me/clonedcards
    Telegram: @bigshop79
    https://t.me/bigshop79
    Zangi : 2961747096
    Gmail: dumpsfresh79@gmail.com
    WhatsApp: +84932475671
    Signal: vaildwork.79
                                                     

    Passport Photos with Selfie | High Credit Scores | DL FOR COINBASE | SSN SIN SPAMMED
    VERIFIED NIN DOB ADDRESS | BUSINESS EIN COMPANY
    Passport Photos with Selfie | High Credit Scores | DL SELLING FULLZ------REAL DL Fullz with Issue & Exp Dates----
    -NIN DOB ADDRESS SORT CODE & ACCOUNT NUMEBR UK----USA UK CANADA SSN SIN SPAMMED & VERIFIED
    USA      UK      CANADA    AUS  GERMANY  MPANY

    |REAL DL Fullz with Issue & Exp Dates |
    |NIN DOB ADDRESS |
    |BUSINESS EIN COMPANY|
    |Passport Photos with Selfie |
    |High Credit Scores |
    |DL FOR COINBASE |
    |SSN SIN SPAMMED & VERIFIED|
    clone cards are available for cash out in ATMs?,Gas Station and can be used for online purchase. Our clone cards comes with an ATM pin for easy cash out
    |SSN FULLZ USA REAL DOCS ID|DL FRONT BACK
    |UK NIN DOB DL ADDRESS|
    |CANADIAN & GERMANY INFOS |
    |SIN DOB ADDRESS MMN PHONE |
    |BUSINESS EIN COMPANY PROS |
    |DEAD FULLZ |
    |SWEEP STAKES |
    |CC WITH CVV |
    |PAYDAY LEADS |
    |Verified Email Database |
    |HOME OWNER LEADS |
    |EMPLOYEE LEADS |
    |FOREX DATABASE |
    |DUMPS WITH PIN TRACK 101 & 202 |
    |DATA FOR TAX RETURN |
    |AMAZON |
    ELISANTIAGO RIVERO 3157233673 elisantiago134@gmail.com 768 RUTGER ST
    UTICA NY 13501 100022541 928731798
    ricardo aguero 6467173160 neftali.aguero@gmail.com 27 PURSER PL
    YONKERS NY 10705 7/16/1989 100027358 981626583 21000322
    FULLZPROS #USALEADS #UKFULLZ #CANADAFULLZ #BTC #ETH #CRYPTOCURRENCY #MAGA #SWEEPSTAKES #DEADFULLZ #OLDAGEFULLZ #TAXRETURN #CRYPTOLEADS #SINFULLZ #CANADAFULLZ #CCINFOS #DUMPS #SSNDOB #UKFULLZ #CANADAFULLZ #SINDOB #CCFULLZ #DUMPS #SSNFULLZ #REALDL #USA #SAVENATURE #HACKING #SELLER #VENDOR
    4659444588043865|02|2020|610|Ms a achilleosi|83 Hall lane |London|E4 8hw|UK|phone number : 07939331889|date of birth : 07/03/1953|account number : 11563823|sort code: 400522|mother maiden name : Andrea|Full name: Mrs Maria Achilleos

    ReplyDelete