Jump to content

DOLLx8

From Wikipedia, the free encyclopedia

DOLLx8
Developer(s)MISOLIMA
Stable release
3.18b / 29 February 2012(2012-02-29)
Written inAssembler,C++,C++,Java
Operating systemAndroid,Microsoft Windows,Linux,Mac OS X,DOLLx8 RTOS
TypeIntegrated development environment
LicenseMISOLIMAEULA,[clarification needed]LGPLorGPLlicense
Websitewww.misolima

Digital One Line Link(DOLLx8) is atechnologyarchitecture that consists of datacommunication protocol,synchronous serial data bus and a communication system forembedded systemsandelectronics.DOLLx8 useASCIIcharacters in its data protocol,differential signalingin the bus system, where the communication consists of an active long-distance technology based on system logic where handling of the communication is done automatically by themicrocontrollerand its internal embeddedReal-time operating system(RTOS) andsoftware.

A traditionallocal area network(LAN) is based on Ethernet, a network system used in personal computers where one PC is able to talk to another PCs. In embedded systems, RS-232 TTL (Transistor-Transistor Logic) has dominated the market over a longer period of time as the most common communication standard that also works as an internal embedded network system. With the use of MAX 232integrated circuit(IC), the RS-232 TTL may connect to an externalRS-232connection where the immediate advantage of using MAX 232 is that there is no need of using positive and negativepower supply.It is also possible to connect toUSBvia RS-232 to USB converter, and even if the original standard for RS-232 was basically a point-to-point system for the serial port on PCs, it is still possible to use RS-232 in small local area network using micro-controller and source code to control the signals and data transmission.

A DOLLx8 embedded network uses its own specificinterfacesystem named DOLLx8 Dataport that via DOLLx8 eMaster unit connects to external RS-232 and from there to USB directly, but requires the installation of a separate DOLLx8 driver. DOLLx8 runs on its own internal clock system that allows the DOLLx8 Dataport bus speed to be independent of the RS-232baudspeed set on the PC side, and can thus be determined by the user. With DOLLx8, USB works as a virtual communication port and can be set to a maximum speed of 128,000kbps.

MISOLIMA

[edit]

MISOLIMA is a registeredtrademarkof FIKO Software Co., Ltd. and are being used for all products from FIKO Software which also includes products other than software, electronics and embedded systems. One such product-range is MISOLIMA Home and Offices[1][2]that is ready-built modular houses supplied with DOLLx8 technologies such ashome automation,solar cellsandGSMalarm. MISOLIMA accounts for most of the product developments in cooperation with other companies that use DOLLx8 technologies, where MISOLIMA getsgrantsfrom the National Innovation Agency[3]in the development of DOLLx8 forAndroid.

MISOLIMA established Thailand's first foreign owned software and technology park in Chiang Mai in 2001/2002 with approvals from theThailand Board of Investmentunder the name Cyber Media Park for e-Gravity (CMPEG) "[4][5]where the name was later on changed to MISOLIMA Software and Technology Park (MSTP).[6][7][8][9][10]MSTP consists of 11 400 square meters (122 708 square feet) land area with main building of 1 600 square meters (17 222 square feet).

History

[edit]
DOLL module from September 1995

The first DOLL (Digital One Line Link) version was developed as a joint project betweenNorway,EnglandandHungary[11][12][13][14][15]by Anne Selene FIKO and her team in the early 1990s and was used in home automation, electronic control- and audio system. The early DOLL system[16][17]was back then based on 18 –bitPulse-width modulation(PWM) where the communication was 120Khzand was divided into 10-bit address and 8-bit data word. The signal was sent three times before the electronics of the receiver side (with the right set address code) was able to approve the data transfer and accept the 8 data bits. The reason why the data was sent 3 times was that it should make sure that the receiver did not receive erroneously information in the data network.

Some years later, around 1995 and until 1999, the DOLL was further developed together with a new group of developers in New Zealand and then became the DOLLx8 versions 1.0 to 3.0. DOLLx8 was then also extended into applications such as audio[18]where it was emphasized on that the system should send feedbacks to the master unit and where one could check the status of all devices connected to the network.

The DOLLx8 system was in the period 2001 to 2003[19]re-developed so that it could receive commands via text messages rather than just data and address bits, and was then developed for both cascade (2-port) and parallel networking using RS-232 and USB. Such cascade and parallel networks had its pros and cons, where links between the units had weaknesses in such way that it had limited cable length of 16 meters, while the RS-232 TTL version had the same limitation but with only 5 meters. With such limitations, the best solution was a cascade network where each device in the network was acting as a signal buffer, where data was received on port one and went out buffered on port two. The major drawback of such solution was that if a device did not work as intended due to errors in the system, the rest of the devices would not be able to communicate with either master devices nor the rest of the network. In the same period MISOLIMA received export subsidies from the Department of International Trade Promotion[20]and held exhibition atComdex2002 inLas Vegas,United States[21]

MISOLIMA Q12 Series PFD

From 2003 to 2006 DOLLx8 was also developed for embedded systems within aviation through Aeronautical Software and Technology Lab[22](ASLT)[23][24]in Thailand where ASLT developed a DOLLx8streamingsystem for the transfer ofGPS-, navigation (navaid), terrain, andMEMSgyroscopedata for Electronic Map Display (EMD) and Primary Flight Display (PFD).[25]The system could then receive GPS data in NMEA and binary formats, along with other aircraft data and transmit this along with the flight plan, terrain and navigation data so that both instruments could use the same flight data over one or two DOLLx8 data lines. The advantage of such technology was that the aircraft or helicopters would need only one GPS antenna for two or more GPS based instruments. The streaming system that was developed back then by ASLT was also used in later versions and is now a permanent part of DOLLx8 in connection with sensor streaming technologies andGSMdata transfer viaGPRS.

Today's system

[edit]

The latest version of DOLLx8[26]is far more advanced than earlier versions and is based on 20-year experience in control systems and sensor technologies, where weaknesses in previous versions has meant that MISOLIMA[27][28]has byresearch and development(R&D) developed, extended its expertise, created technologies and come up with products that are also suitable for educational purposes. The latest version of DOLLx8 as of February 2012 is 3.18b.

DOLLx8 bus signals

[edit]

The DOLLx8 bus works with five logical signals at 5 volts each, where the bus-line requires resistors aselectrical termination(terminator) of 120ohm.The system uses standard UTP category-5 Ethernet cable (twisted pair cable) with eight contact points andRJ-45as end-piece connected to i.e. the DOLLx8 eMaster unit. DOLLx8 devices may connect to a PC or server via UTP cable, but can also be used "stand alone" without a central computer.

This table shows the bus signals and color codes in DOLLx8 contact points on MISOLIMA eSherlock 1800Tx8 where the contact'C2'is connected to the RJ-45 end-piece of the UTP cable. The signals corresponding to the same contact point (1-8) on the RJ-45 connector if the RJ-45 connector is held in the hand with the locking tab facing down and the cable opening is held towards the body. The connectors are numbered 1-8 and goes from left to right.

Contact point Signal Description Usage Wire color
1 DAT- Data active low Data between Master and Slave – infull duplex
gray
2 DAT+ Data active high Data between Master and Slave – i full duplex
purple
3 BSEL- Bus Select active low Output from DOLLx8 Master i full duplex
blue
4 BSEL+ Bus Select active high Output from DOLLx8 Master i full duplex
green
5 CLK Serial clock signal Serial clock with output from DOLLx8 Master
yellow
6 Ground Connects to signal ground Ground for signal ground
orange
7 +5Vdc In Connects to power supply +5Vdc may be taken from the USB port
red
8 +12Vdc In Connects to power supply May be taken from i.e. battery with solar cell
brown

DAT+ and DAT- signals will be activated as soon as data is placed in the internal data buffer memory. DAT- goes positive and then activates the BSEL lines 3.5ms after the DAT lines are activated. The bus speed in DOLLx8 network is managed by the CLK signal and are currently set to 36kHz,which represents 14millisecondsbetween each clock pulse. The bus clock is controlled by a positive BSEL- signal (BSEL + goes then simultaneously negative or low) and remains high as long as there is data in the data buffer memory. When data communication is completed and DAT receives HEX 0D 0A (CRLF) from the data buffer memory, the BSEL+ signal goes high again while BSEL signal goes low, which results in that the CLK signal ceases. The DOLLx8 system is then passively in standby or hibernation mode with minimal power consumption that leads to zeroelectromagnetic interference(EMI) in the network.

Application

[edit]

The DOLLx8 solution is used in vehicles, buses, trains, caravans, marine, aviation, laboratories, homes, offices, buildings and in other automated systems.[29][30]DOLLx8 is based on program-controlled embedded system, or integrated systems technology, and may therefore also interface to multiple systems such as RS-232, RS-422, RS-485,Controller Area Network(CAN-bus), GSM, USB and more, but may also be connected to wireless systems such asBluetooth,Wi-Fi,VHF, GSM, laser orInternetfor communication without the use of the data buffers between the units. DOLLx8 as multi-functional data network with mixture of combinatorial logics may connect via single or multiple connection-points adapted to multiple systems as defined inCommon Hybrid Interface Protocol System(CHIPS).

Modules

[edit]
MISOLIMA ePAT MCU module.

MISOLIMA DOLLx8 system is based on several complete small modules and can be used in various integrated electronic projects. The main module isePAT MCUwith a clock frequency of18.432 MHz,which is also the main unit used in most DOLLx8 systems. ePAT MCU uses only internal memory and distributed memory capacity, according to this table;

256byteas on-chip RAMused for variables
1 Kbyte as on-chip XRAMused to buffer variables
32 Kbytes as on-chip Flash Memoryfor software
2 Kbyte as on-chip Flash memorybootloader
2 Kbyte as on-chip EEPROMused for users settings

ePAT MCU also includes three 16-bit counters, two serial ports, five I/O ports (4 × 8 =32 bits+ 1 × 2 bits), five channels 16-bit PCA (Programmable Counter Array) with 8-bit PWM, 21-bit watchdog counter and 8x10-bitanalog-to-digital converters(ADC). ePAT has integratedswitched-mode power supply(SMPS) on the upper side of thePCBwhich handles power input from5 to 30VDC.Beside ePAT MCU, there exists also i.e. small GPS and GSM modules.

DOLLx8 protocol system (version 3.18b)

[edit]
eSherlock Home Automation end GSM alarm unit for Android. Connects to USB and GSM, Wi-Fi and Bluetooth with interface.

DOLLx8 protocol system is based on ASCII-text and/or hexadecimal values, where the users can control device features, settings and parameters via PC, Internet,smartphoneor regular mobile phone viaSMS.DOLLx8 devices such as fleet management, GSM alarm systems have features such as for Master Phone, where the owner or owners of the system can alone use the mobile network to control DOLLx8 devices. For all others calling the devices via GSM will be treated as a normal phone call. The owner of Master Phone can also use a SpyCall function where the owner can call the device and listen into what's being said without those on the other end knowing about it.

All DOLLx8 devices have an integrated unique vendor and product ID that consists of 12-digits hexadecimal values which includes Country Code, Company Code, Product ID, Manufacturer Product ID, User's Product ID and User sub-Product ID.

A DOLLx8 command may according to the table hereunder look like this:@ax, 02C002A030010, ON <CRLF>.If this command is sent to a DOLLx8 device with a buzzer installed it will start to buzz until the "OFF" command is sent to the device. If the command was successfully sent and received by the device with the right ID, then the device will acknowledge with#ax,02C002A030010,ONfollowed by<CRLF>as confirmation that the device has executed the command.

It is also possible to use a key name instead of the 12-digit Vendor and Product ID and if the key name is set to "living room" then the same command would look like this@ax,living room,ON <CRLF>.

Description Byte ASCII value Character value/Description
Start command #1 064d 40h @
Product function #2 120d 78h x for DOLLx8 functions[a]
Intern function #3 086d 56h B for buzzer function[b]
Comma separation #4 044d 2Ch ,
Country Code #5-7[c] 044d 2Ch 02Chfor British manufacturer
Company Code #8-10[d] - 002hfor MISOLIMA
Group-ID #11 065d 41h Ah for node device
069d 45h Eh for slave device
070d 46h Fh for master device
Manufacture Product-ID #12-13 - 00htoFFh
Users Product-ID #14-15 - 00htoFFh
Users sub-Product-ID #16 - 0htoFh
Comma separation #17 044d 2Ch ,
Function message strig #18+ - DOLLx8 message[e]
End command #1 0Dh CR
#2 0Ah LF
  1. ^All DOLLx8 device has a product identification code consisting of an ASCII character
  2. ^All DOLLx8 devices have a functional identification code consisting of an ASCII character
  3. ^The Country Code is specified as 3-digit hexadecimal code
  4. ^Company Code is specified as 3-digit hexadecimal code and together with the assigned Country Code it becomes manufacturer ID.
  5. ^DOLLx8 message can be 32 characters, but in SMS it can be a maximum of 160 characters
  • The Product ID bytes from #5 to #16 can also be replaced with a user-defined key names such as "living room"

Example of DOLLx8 VB code

[edit]

This section shows how to send a command to DOLLx8 via MISOLIMA.DLL and Visual Basic 6.0. In this case, an integrated light function on MISOLIMAseSinclar PWM4 RGB + WLEDlight system is turned ON and changes colors automatically where according to the next two VB examples the speed between red, green and blue can be adjusted up or down by the user. The result of this code, you can see onYouTube[31]

DeclareFunctionfnSendDataToDeviceLib"MISOLIMA.dll"Alias"SENDDATATODEVICE"_
(sCommandAsString,_
sDeviceIDAsString,_
nDataAsString)AsLong

OptionExplicit
DimsDeviceNameAsString
DimlRetValAsLong

PrivateSubForm_Load()
sDeviceName="eSinclair"
EndSub

PrivateSubbtnPatern1_Click()
lRetVal=fnSendDataToDevice("@sB",sDeviceName,"P1")' Activates RGB pattern #1 in eSinclair PWM4 LED light module
EndSub

Adjusting color change speed opp

PrivateSubbtnAdjUp_Click()
lRetVal=fnSendDataToDevice("@sB",sDeviceName,"T+")
EndSub

Adjusting color change speed down

PrivateSubbtnAdjDwn_Click()
lRetVal=fnSendDataToDevice("@sB",sDeviceName,"T-")
EndSub

Internet of Things

[edit]

In addition to the above-mentioned protocol system, the latest version of DOLLx8 has also integratedInternet of Things(IoT) functions which, among other things, registering an IoT serial number that consist in total of 281,474,976,710.655 unique combinations. This IoT serial number is registered by the manufacturer and together with the 12-digit DOLLx8 Product ID, this becomes the "IoT product-ID" which can then be identified as a unique number on a worldwide basis.

References

[edit]
  1. ^MISOLIMA house and officeHouse with DOLLx8 home automation
  2. ^Complete built Unit HousingThai Board of Investments approvals 22 August 2011
  3. ^National Innovation AgencyArchived24 February 2012 at theWayback Machine(NIA)
  4. ^Chiang Mai Software Park ready to openBangkok Post, 20 March 2002
  5. ^Human resource development toward a knowledge-based economy: The case of ThailandInstitute of Developing Economies,Japan External Trade Organization(IDE-JETRO)] 2003 Page 8ISBN4-258-55066-3
  6. ^"Software Park to be established north", 14–16 February 2000, Prah Cha-Chat Turakit, Business newspaper in Thai, page 1 and page 23
  7. ^"New Technology Park in Thailand", article in Nikkei Industrial Daily – Tokyo, Japan. 27 December 2000
  8. ^"Software Park opens in Chiang Mai, Thailand", Article in Financial Times, United Kingdom (via Bangkok office) March 2001
  9. ^"Special report – Eastern Promises", e-Biz Magazine, page 32-35, UK May 2001
  10. ^"MISOLIMA – Eastern Opportunity", Business Online – UK Internet Magazine, July 2001
  11. ^"Belső erősítés MPC-knek", PC World Hungary, August 1994
  12. ^"Magyar multimédia", Heti Chip Magazine 3rd year, 16th edition April 1994
  13. ^"A DOLL interface rendzer", Gödölői Forró Drót, 3rd year, 46th edition, December 1994
  14. ^"Erősítők Veresegyháztól Thaifőldig" By Dombi Gábor, Magyar Népszabadság – TECHNICA, 4 January 1995
  15. ^"Az új SAMA 4040", CHIP Magazine, 7th edition – June 1995
  16. ^"2x10 Watt in you PC", BYTE Magazine USA, March 1995
  17. ^"Hi-Fi on a card", BYTE International, June 1995
  18. ^article in Hungarian Telecomputer2nd year, 8th edition, 28 April 1997
  19. ^Hometoys eMagazine[permanent dead link]February 2002
  20. ^"DITP".Archived fromthe originalon 12 February 2012.Retrieved11 March2012.
  21. ^Local firms do Comdex(Bangkok Post – Post Database 4 December 2002)
  22. ^Walden-Schertz, Jeremy,Directions in Aviation,THAILAND Opportunities, August 2003, pages 52-55
  23. ^Chiang Mai firm two Develop software for the aviation sector(BangkokPost – Post Database 27 August 2003)
  24. ^ASLT on ICAO ADS-B Study and Implementation task force[permanent dead link]ADS-B/TF/3 21–25 March 2005
  25. ^Chiang Mai software niche group Developing 32-bit OS(BangkokPost – Post Database 19 February 2003)
  26. ^Hometoys eMagazineArchived8 February 2015 at theWayback MachineFebruary 2011
  27. ^MISOLIMAonFacebook
  28. ^Sectors and Areas of FocusArchived13 February 2012 at theWayback MachineChiang Mai Creative City2012
  29. ^Blogg.noArchived4 March 2016 at theWayback MachineThis MISOLIMA blog is about embedded systems based on ATMEL microcontrollers 5 March 2011
  30. ^Vikan, Tore; "Det ukjente dataeventyret", Trønder-Avisa (Norwegian newspaper), 14 January 2012, page 10-13 of section 2
  31. ^eSinclair RGB + W on YouTube13 January 2012