Wednesday, June 3, 2015

Bluetooth programming services, android bluetooth programming, bluetooth coding in java

Bluetooth programming services

XE has been a leading one stop provider of hardware and software solutions for the embedded realtime systems market.XE together with its associate companies, possesses in-depth expertise and vast experience with real-time embedded systems and development tools, has succeeded in bringing to fore an ecosystem of highly integrated hardware and software solutions, tools and products ranging from Development Suites, Middleware Solutions, In Circuit Debuggers and Emulators, Connectivity Solutions, Protocol Analyzers and Hardware Subsystems to holistically support design, development and debugging processes in Embedded Systems.
Development Environment & Platforms
Android SDK/NDK, Dynamic C, AtmelStudio, Code Composer Studio,Linux-GCC,IAR Embedded Workbench, AVR Studio, Visual Studio,GitHub-Repo,Visual Basic 6.0,MPLAB,Arduino, Visual C++,Code Warrior.
Operating System
Linux Kernel, Windows MFC API, Android NDK,Real Time Operating Systems(RTOs), MicroC OS-II,U-boot,etc
Protocols
UART,USART,USB,CAN,Ethernet,DeviceNet,Modbus,TCP-IP,Bluetooth,Wifi,RF,Zigbee
Bluetooth programming services, android bluetooth programming, bluetooth programming windows, bluetooth programming in python, bluetooth programming in java, j2me bluetooth application, bluetooth coding in java
Skype: xtint.technology
Tel -  +91-9173929262    

Thursday, January 22, 2015

String Delimiter Program for Arduino Platform

An arduino sketch for parsing strings is required in general firmware.
Here it is a bsic structure of code is proposed to delimit the string of  bytes by Colon(:).

For, Example

Series of Data comming is in row of "12:123:23:45:8283:9474758:94848:28373:848:3834:89485:384:8484:9494949:9"

Then to retrieve or parse each individual value of data the code is proposed based on inbuilt functions used from arduino library.


Fig 1




Fig 2.

Code has been tested on Arduino Mega2560 Board. Fig 2. shows sample code with output.
If you want to have sketch  please write one mail to me at xtint.technologies@gmail.com.

http://www.xtint.us                                       https://www.facebook.com/Xtintt
xtint.technologies@gmail.com                     https://twitter.com/dhavalpateel
Skype: xtint.technology                                https://plus.google.com/u/0/+DhavalPatelFirmwareProgrammer    
+91-9173-929262                                         in.linkedin.com/in/dhavalnpatel/


Monday, November 10, 2014

PIC16F8722 write CRC 16 calculation in assembly language

I  have written asm code written to determine a polynomial CRC 16 8005 (x16+x15+x2+1) checksum.

Theres many scripts in C but i have written one in assembler for the Microchip  pic16f8722 

To test if it works i require the following hex string

313233343536373839

to produce the checksum FEE8.

Build in MPLAB 8.87 IDE, C18 Compiler, PIC16F8722, Assembly language
Anyone can contact me if you want this code.

Reach me at http://www.xtintt.com   or contact me at skype: xtint.technology or write me at info@xtintt.com

project link: Odesk.com 

Thursday, October 30, 2014

Hardware Bitcoin Wallet

A minimal Bitcoin (see http://bitcoin.org/ ) wallet for embedded devices. The
wallet is responsible for parsing transactions, prompting the user and signing
transactions. In order to do this, the wallet also stores and manages private
keys, but it does not store anything else. The wallet is not aware of the
blockchain and communicates with a BitCoin client ("the host" from the point
of view of the code here) via. a point-to-point stream-based link.

Everything in the top-level source directory is self-contained and should be
platform-independent. The only platform-dependent file there is common.h,
which should be modified if porting to other platforms. hwinterface.h
describes what platform-dependent functions need to be implemented. The
Makefile in the top-level source directory will build platform-independent
unit tests. Those unit tests can make use of the test vectors in the
test_vectors/ subdirectory.

Everything in the avr/ subdirectory is specific to the 8 bit AVR platform. The
Makefile in avr/ will produce a (non-testing) binary suitable for programming
an 8 bit AVR device with.

Link: https://github.com/someone42/hardware-bitcoin-wallet

Tools for Building this:
OS: Ubuntu 12.04 
Compiler: AVRGCC
Programmer: AVRDude
Dev. Board: Arduino Mega or Arduino Uno.

How to Operate This Walllet:

1. You need to have desktop application.
2. Which will connected serially with virtual USB of PC with wallet and accepts commands.
3. Accordingly wallet will perform tasks.

Good Luck.

http://in.linkedin.com/in/dhavalnpatel/


Wednesday, September 17, 2014

Raspberry_PI_01_Level_Shifter_Circuit


  • Hardware Connection between Raspberry PI and Arduino Uno level Shifter circuit for Serial Port UART interfacing with each other.

  • TX pin second last from Arduino GPIO is connected with 1.6K ohm resister and resistor is connected with RX pin of raspberry pi at pin number 5, again, this pin 5 is connected with Ground GND using 3.3kOhmResistor as shown.

  •  RX pin from Arduino board is directly connected with TX pin of Raspberry PI,there is no need to do voltage level shifting.


Thursday, May 22, 2014

How to Run QT Application on raspberry PI Board at Startup

How to Run QT Application on raspberry PI Board at Startup.

1. Download ubuntu 12.04 and install ubuntu workspace (like 5Gb to 25GB as much as you can) as much as you can give to Ubuntu during time of installation.

2.Download QT Creator IDE , Different way are available to install.
     a. Directly download QT Creator  from QTProject.org site
     b. Goto Ubuntu Software Center and Search "QT" From Results find QTCreator and Install it.

3. If you are downloading specific version of QT from QTproject site as .run file.
   You need to make that file as excutable on Ubuntu by firing this command.
   chmod  +x /PATHOF.run press enter on Terminal.

( For open Terminal fire ALT +CTRL+T)

4. Now, Directly double click on  QTfileXX.run give Next Next Next Qt Creator will be installed.

5. Browse Project from Example and Run Qmake and Build ALL and Run. Application will run on Screen of Desktop.

6.Now to Run this application On Raspberry Pi baord. You need to cross compile that Application.
 Which is one Different Story. I will explain on another one. For that You need to have arm-linux-uclibgnueabi-g++ compiler, qmake build by Your Linux Repo for ARM and Specific to your QT Vesrion as same application was built on QtCretor IDE's QT version.  Make it clear version of QTCreator IDE and QT.

  7. Once you have cross compiled QT Application Binary ready to put it on raspberyy pi board.
You need to have Custom Linux Repo or Raspbian Linux Repo.  Make it sure it have already QT package installed. Which is also a different Story and require detailed explanation.

8.Once you have Raspberrypi Board ready with Linux Installed have Login prompt coming on power up your Linux image is ready to use for QT Application.

9. Just Copy Qt Application Binary Files to raspberry Pi's /root/ directory.
    First take SD card from Raspberry Pi board and plug it to ubuntu CPU.
    fire command : cp -avr /sourcedir  /media/SDCARD/root/

10.once copied, you need to have script to run at startup at /etc/init.d/  folder.
    For that first 
    a. goto  /media/SDCARD/etc/init.d/
    b. gedit S50Network  // text file opens in gedit viewer.
    c. delete all contents from these S50Netwro file
    d. Type:   cd /root
                   ./NameofQTBianry    
       (Which is already placed on root directory)  
    e. you need to save as file as difrent name like S60MyQTApp and close gedit.
   
11. Again you need to make script excutable by typing command:
       chmod +X S60MyQTApp

12.Done. Exit from all. Plug your SD card Power UP. Your App will work on Raspberyy Pi.
     You can see on your screen of Raspberry Pi board attached with it by HDMi or other video interface.

13.Thanks for reading.

Happy Coding.

Note: If you have reached to step 12 you are coolest person with COOL peach of mind as it required lots of patience.