<html>
<!-- Generated by AceHTML Freeware http://freeware.acehtml.com -->
<!-- Creation date: 6/3/2004 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>www.mindaugas.com</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="mindmil@one.lt">
<meta name="generator" content="AceHTML 5 Freeware">


<style type="text/css">
<!--
A:link {font-family: Arial, Helvetica, sans-serif;  text-decoration: none; color: #006600}

A:visited {font-family: Arial, Helvetica, sans-serif;  text-decoration: none; color: #006600}

A:hover {font-family: Arial, Helvetica, sans-serif;  text-decoration: underline; color: #006600}

A:link.menu {font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #f5f5f5}

A:visited.menu {font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #f5f5f5}

A:link.menuhlt {font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #f5f5b5}

A:visited.menuhlt {font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration: none; color: #f5f5b5}

A:hover.menu {font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration:underline; color: #f5f5f5}

.menu {font-family: Verdana, Arial, Helvetica, sans-serif; color: #f5f5f5}

.menuhlt {font-family: Verdana, Arial, Helvetica, sans-serif; color: #f5f5d5}

td {background:   transparent; color: navy; font-family: Arial, Helvetica, sans-serif; font-size: 9pt}

body {background-color: #dcdcdc; font-size: 9pt}

.mainmenu {background-color: #191970; color: #f5f5f5; font-size: 10pt; width: 120px}

.rightpanel {background-color: #191970; color: #f5f5f5; font-size: 10pt; width: 120px}

.mainmenuline {color: #c0c0c0;noshade}

.field_name2 {background-color: #191970; color: #f5f5f5; }
.field_name {background-color: #303080; color: #f5f5f5; }
.field_value {background-color: #dcdcdc; color: #000080; }

.submenu {background-color: #4169E1; color: #f5f5f5; font-size: 9pt}

.submenu2 {background-color: #EAEAF3; color: #000080; font-size: 9pt}

.submenu2_lll {background-color: #fAfAF3; color: #bF4500; font-size: 9pt}

.submenu2_l {background-color: #fff6E0; color: #000080; font-size: 9pt}
.submenu2_l_2 {background-color: #fAfAF3; color: #000080; font-size: 9pt}

.submenu2_anouncement2 {background-color: #ddFFdd; color: #000080; font-size: 9pt}

.submenu2_anouncement {background-color: #FFfbcc; color: #d02000; font-size: 9pt}
.submenu2_anouncement_big {background-color: #FFfbcc; color: #d02000; font-size: 14pt}

.submenu2_anouncement4 {background-color: #FFfbcc; color: #800000; font-size: 9pt}

.submenu2_anouncement3 {background-color: #FFfbcc; color: #000080; font-size: 9pt}

.submenu2_lt {background-color: #fAfAF3; color: #f5f5f5; font-size: 9pt}

.submenu2_body2 {background-color: #FFFFeb; color: ##800000; font-size: 9pt}

.submenu2_body {background-color: #FFFff7; font-size: 9pt}
.submenu2_body3 {background-color: #dcdcdc; font-size: 9pt}

.submenuitem {background-color: #4169E1; color: #f5f5f5; width: 70px}

.titlebar {background: #FFA500; color: #800000}

.footerbar {background: #FFA500; color: #800000}

h1 {font-size: 16pt}

h2 {font-size: 14pt}

h3 {font-size: 12pt}

h4 {font-size: 10pt}

h5 {font-size: 8pt}

h6 {font-size: 6pt}

.textstyle {font: bold 12px Verdana;  line-height: 1.5;}

.rgdsmailstyle {font: italic bold 12px Verdana;  line-height: 1.5;}

.formstyle {background-color: #E1E1E1;}

/* End of style section. Generated by AceHTML at 2/7/2005 11:43:21 PM */
-->
</style>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


<script type="text/javascript">
var contacts=new Array()
contacts[0]=["Mindaugas Milasauskas", "mindaug[eta]mindaugas[taskas]com"]
contacts[1]=["mindaug[eta]mindaugas[taskas]com", "mindaug[eta]mindaugas[taskas]com"]
contacts[2]=["sales[eta]mindaugas[taskas]com", "sales[eta]mindaugas[taskas]com[klaustukas]subject[lygu]MJoy16-C1 ordering"]
var dropmenucaption="CONTACT US FORM "

function displaycontact(emailarray, cssclass, displaymethod, extrainfo)
{
	if (displaymethod=="text")
	{
		document.write('<span class="' + cssclass + '">\n')
		if (typeof emailarray[0]=="object")
		{ 
			for (i=0; i<emailarray.length; i++)
			{
				var seperator=(i<emailarray.length-1)? extrainfo : ""
				if (emailarray[i][0] == "")
					document.write('<a href="mailto:' + modifyemail(emailarray[i][1])+ '">'+ emailarray[i][1] + '</a>' + seperator)
				else
					document.write('<a href="mailto:' + modifyemail(emailarray[i][1])+ '">'+ emailarray[i][0] + '</a>' + seperator)
					
			}
		}
		else //else if it is a single array element
		if (emailarray[0] == "")
			document.write('<a href="mailto:' + modifyemail(emailarray[1])+ '">'+ modifyemail(emailarray[1]) + '</a>')
		else
			document.write('<a href="mailto:' + modifyemail(emailarray[1])+ '">'+ modifyemail(emailarray[0]) + '</a>')
		document.write('</span>')
	}
	else if (displaymethod=="form")
	{
		document.write('<form>\n')
		document.write('<select size="' + extrainfo + '" onChange="jumptooption(this)" class="' + cssclass + '">\n')
		document.write('<option value="caption">' + dropmenucaption + '</option>\n')
		for (i=0; i<emailarray.length; i++)
			document.write('<option value="mailto:' + modifyemail(emailarray[i][1]) +'">' + emailarray[i][0] + ' </option>\n')
		document.write('</select></form>\n')
	}
}

function modifyemail(emailitem){
var modified=emailitem.replace(/\[eta]/gi, "@")
modified=modified.replace(/\[taskas]/gi, ".")
modified=modified.replace(/\[klaustukas]/gi, "?")
modified=modified.replace(/\[lygu]/gi, "=")
return modified
}

function jumptooption(themenu){
if (themenu.options[themenu.selectedIndex].value !="caption")
location=themenu.options[themenu.selectedIndex].value
}
</script>
		
		
</head>
<body>  <!-- bgcolor="#ffffcc" text="#000000" link="#0000ff" vlink="#800080" alink="#ff0000"> -->

<table width="800" align="center" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" summary="">
	<tr>
		<td height="24" class=titlebar align="center">
		<span style="font: normal; font-family:     sans-serif; font-size: 18pt; font-weight: bold">Mindaugas' Home</span>
		</td>
	</tr>
	<tr>
		<td>
	<table border="0" height="600" cellpadding="0" cellspacing="0" bordercolor="#000000" summary="" >
	<tr>
		<td width="120" align="left" valign="top" class=mainmenu> 
			 <table  border="0" cellpadding="4" cellspacing="0" bordercolor="#000000" summary="" >
				<tr>
					<td class=mainmenu > 
					
												<div >
						<b><a href="../../default.htm" title="Home" class=menu>Home</a></b>						 </div>
						 <hr class=mainmenuline>
														<div >
						<b><a href="../default.htm" title="Projects" class=menu>Projects</a></b><br>&nbsp;&nbsp;<a href="../MJoy/default.htm" title="MJoy" class=menu>MJoy</a><br>&nbsp;&nbsp;<a href="default.htm" title="MJoy16" class=menuhlt>MJoy16</a><br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="C1/default.htm" title="Application C1" class=menu>Application C1</a>						 </div>
						 <hr class=mainmenuline>
														<div >
						<b><a href="../../products/default.htm" title="Products" class=menu>Products</a></b>						 </div>
						 <hr class=mainmenuline>
														<div >
						<b><a href="../../software/default.htm" title="Software" class=menu>Software</a></b>						 </div>
						 <hr class=mainmenuline>
														<div >
						<b><a href="../../about.php" title="About" class=menu>About</a></b>						 </div>
						 <hr class=mainmenuline>
																				 
					</td>
				</tr>
		 	</table>
		 </td>
		<td width="680" align="justify" valign="top" bgcolor="#FFFFCC"  class="submenu2_body" >
	



		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<a name="top"></a>
<table   width="100%" border="0" cellpadding="4" cellspacing="0" bordercolor="#000000" summary="">
   <tr>
      <td class="submenu">
      <table   width="100%" border="0" cellpadding="4" cellspacing="0" bordercolor="#000000" summary="">
         <tr>
            <td class="submenu"><h2>MJoy16 Project</h2></td>
            <td class="submenu"><h4>USB joystick project on ATmega16</h4></td>
      </tr>
      </table>   
   </td>
</tr>
<tr>
   <td align="justify"  >
   
  <br>
<div style="text-align:justify;">
  
<h3>About MJoy16 project
</h3>
MJoy16 project is a successor of MJoy project which was initial work in this area. 
It uses ATmega16 chip which has more inputs and is more flexible than ATmega8 in MJoy. Operation basics stay very
similar to MJoy. If you want learn more about them please look at <a href="../MJoy/index.php">MJoy project</a> page.<br>
The main part is MJoy16 board which has USB port and analogue and digital interface to external devices. These devices could be
potentiometers or switches on your simulator control panel. These devices may also be other module boards performing
some specific functions. One first examples of such modules is Key Matrix board described below.<br>
MJoy16 was developed to be a hardware basis for various applications. Specific functions will depend on application
software of MJoy16 and also other possible peripheral devices. To find a software of first presented application named 
"MJoy16-C1" please look in <a href="#Applications">applications</a> section.<br>
<br>
Assembled and tested MJoy16-C1 is available for purchase from <b><a href="../../products/MJoy16-C1/index.php">MJoy16-C1 product</a></b> page.

<br>
		<br>
<div align="right">	<a href="#top">Go to top of the page</a></div>
		<div align="center"><hr width="95%" color="#c0c0c0"></div>
<br>
<h3>MJoy16 board
</h3>
<table   width="100%" border="0" cellpadding="4" cellspacing="0" bordercolor="#000000" summary="">
         <tr>
            <td valign="top">
			<div style="text-align:justify;">
			MJoy16 board is the main board which has USB interface as well as analogue and digital interfaces to other
			peripheral devices. Main part of it is ATmega16 microcontroller (MCU) by Atmel. This microcontroller has software
			which implements USB protocol processing and other application specific functions. As this board has a lot of 
			I/O pins it makes it universal platform for many applications. It was initialy designed as powerful USB 
			joystick similar to MJoy. But it's capabilities are not limited only to this application. It may be also 
			used as a signal measurement or data gathering device such as interface for PC electronics lab. It may also be
			used as external devices control such as PC house control/security system. Possibilities are numerous.<br>
			
			</div>
			</td >
            <td valign="top" ><a href="MJoy16.jpg"><img src="MJoy16_thumb.jpg" border="0"  alt=""></a></td>
      </tr>
</table>   
<br>
MJoy16 board has folowing connectors for interfacing outside world:<br><br>
<table border="0" summary="">
	<tr>
		<td width="20"></td>
		<td>
<div style="text-align:justify;"><b>- USB socket</b> which is used to connect MJoy16 to host computer via standard B type USB cable.<br><br>
<b>- In-System Programming socket</b> which is used for programming ATmega16 microcontroller chip. The pinout 
of this connector is the same
as of Atmel AVRISP programmer's 10-pin programming connector. This provides compatibility with many different 
Atmel MCU programmers. In simplest
case you can use adapter cable which connects to PC printer port and can be used by PonyProg for programming the chip.
<br><br>
<b>- Analogue Inputs connectors</b> which are used to connect to analogue signal sources such as poentiometers on joystick axes for 
ADC conversion.
<br><br>
<b>- Digital Interface connector</b> which is used to connect to digital peripherals such as buttons, switches 
or maybe other digital chips.
<br><br>
<b>- Analogue Inputs Patch connector</b> which may be used in applications that don't require analogue inputs. 
In this case pins on this connector may be
connected to Analogue Inputs connectors "Signal" pins. In this way you may add additional 8 digital I/O signals 
to Digital Interface connector. 
In other words it is used to connect Analogue Inputs signals to Digital Inputs connector.
<br><br></div>
</td>
	</tr>
</table>
Main features of MJoy16 board are:<br>
<br>
<table border="0" summary="">
	<tr>
		<td width="20"></td>
		<td>
<b>- Low speed USB 1.0 interface support</b><br>
<b>- 8 x 10 bit analogue ADC inputs via 8 4-pin connectors</b><br>
<b>- 21 digital I/O terminals (29 if ADC input pins are used in digital mode) via 40-pin Digital Interface connector</b><br>
<b>- In-System Programming capability</b><br>
<b>- Flexible design for various applications</b><br>

</td>
	</tr>
</table>
<br>
<br>
<h4>MJoy16 board Schematics, PCB and Parts List</h4>
Here are schematics, parts list and PCB board mask with component layout:<br>
		<br>
		<b>&nbsp &nbsp Download:	&nbsp &nbsp 	<a href="MJoy16_v1.pdf">MJoy16 board v1</a></b><br>
		<br>
<br>
Software of MJoy16 is application specific and it is included on applications pages. First presented application is 
MJoy16 Application C1 which is multifunction home simulator cockpit controller. You will find the software there.
<br>
		<br>
<div align="right">	<a href="#top">Go to top of the page</a></div>
		<div align="center"><hr width="95%" color="#c0c0c0"></div>		<br>
<h3>Key Matrix board
</h3>
<table   width="100%" border="0" cellpadding="4" cellspacing="0" bordercolor="#000000" summary="">
         <tr>
            <td valign="top">
			<div style="text-align:justify;">
			Key Matrix board is an optional companion board for MJoy16 board. It is designed to save a lot of tedious work of wiring tens of buttons
and switches with complex wiring mesh with great possibility of errors. It has all needed matrix diodes needed to eliminate "Phantom Keys".
It's output arranged so that all the wires to switches and buttons go straight from Key Matrix board connectors to control itself. No
wire interconnections between controls needed as otherwise would be the case if you would use MJoy16 alone.<br>
			
			</div>
			</td >
            <td valign="top" ><a href="Key_Matrix.jpg"><img src="Key_Matrix_thumb.jpg" border="0"  alt=""></a></td>
      </tr>
</table>   


<h4>Key Matrix board Schematics, PCB and Parts List</h4>
Here are Key Matrix board schematics, parts list and PCB board masks with component layout:<br>
		<br>
		<b>&nbsp &nbsp Download:	&nbsp &nbsp 	<a href="Key_Matrix_v1.pdf">Key Matrix board v1</a><br></b>
		<br>
		

<div align="right">	<a href="#top">Go to top of the page</a></div>
		<div align="center"><hr width="95%" color="#c0c0c0"></div>
				<br>
<a name="Applications"><h3>Applications</h3></a>

<a name="MJoy16-C1"> <h4>MJoy16-C1 - Multifunction home simulator cockpit controller</h4></a>

Detailed information for DIY building C1 Application of MJoy16 is shown on <b><a href="C1/default.htm">MJoy16 Application C1</a></b> page.<br>
<br>
Assembled and tested MJoy16-C1 is available from <b><a href="../../products/index.php">Products</a></b> section <b><a href="../../products/MJoy16-C1/index.php">MJoy16-C1</a></b>.<br>
   
<br><br>
<div align="right">	<a href="#top">Go to top of the page</a></div>
		<div align="center"><hr width="95%" color="#c0c0c0"></div>
   
<br>
<h3>Project contact</h3>

If you have questions regarding this project contact me on address below:<br>
<br>
 <b> &nbsp &nbsp  <script type="text/javascript">
      displaycontact(contacts[1], "", "text", " | ")
</script></b>
<br>
<br>
<div align="right">	<a href="#top">Go to top of the page</a></div>
		<div align="center"><hr width="95%" color="#c0c0c0"></div>
<br>
<h3>Notes</h3>
		Note: All above .pdf documents are in Adobe Acrobat 5 format and can be opened by Adobe Acrobat Reader version 5 or
		later which is available for download from the page on Adobe site: 
		<a href="../../../www.adobe.com/products/acrobat/readermain.html"><b>Get Acrobat Reader 5 or newer</b></a>.<br>
<br>
<div align="right">	<a href="#top">Go to top of the page</a></div>
<div align="center"><hr width="95%" color="#c0c0c0"></div>

<br>		

<h4>Licence and Copyrights</h4>

All information published on this  page is free for non commercial use.<br> 
All presented programs are under GPL licence (for non commercial use).<br>
<br>
For licencing information of this project use in commercial products contact <script type="text/javascript">
      displaycontact(contacts[0], "", "text", " | ")
</script>.
<br>
<br>
Copyright © 
<script type="text/javascript">
      displaycontact(contacts[0], "", "text", " | ")
</script> 
2005, Lithuania, www.mindaugas.com 
<br>
Copyright © Ing. Igor Cesko 2003, Slovakia, http://cesko.euro-science.net/ , cesko@internet.sk <br>
<br>
<div align="right">	<a href="#top">Go to top of the page</a></div>
		<div align="center"><hr width="95%" color="#c0c0c0"></div>
<h5>Last update: 2005-02-09</h5>
</div>
</td>
   </tr>
</table>
		

</td>
</tr>
</table>
		</td>
	</tr>
	<tr>
		<td height="12" class=footerbar align="center">
		</td>
	</tr>

</table>


</body>
</html>