Revision: 1606
Author: [email protected]
Date: Tue Jan 19 17:09:38 2010
Log: updated many images in tutorial book
http://code.google.com/p/jallib/source/detail?r=1606

Modified:
 /trunk/doc/dita/tutorials/images/blink_a_led_micropro_read_pic.jpg
 /trunk/doc/dita/tutorials/images/getting_started_16F877.jpg
 /trunk/doc/dita/tutorials/images/getting_started_16f877_diagram.jpg
 /trunk/doc/dita/tutorials/images/getting_started_circuit.jpg
 /trunk/doc/dita/tutorials/images/getting_started_jaledit.jpg
 /trunk/doc/dita/tutorials/images/getting_started_micropro.jpg
 /trunk/doc/dita/tutorials/images/getting_started_serial_programmer.jpg
 /trunk/doc/dita/tutorials/images/getting_started_wisp648.jpg
 /trunk/doc/dita/tutorials/images/serial_communication_board_1.jpg
 /trunk/doc/dita/tutorials/images/serial_communication_board_2.jpg
 /trunk/doc/dita/tutorials/images/serial_communication_board_3.jpg
 /trunk/doc/dita/tutorials/images/serialboard_purchased1.jpg
 /trunk/doc/dita/tutorials/images/serialboard_purchased2.jpg
 /trunk/doc/dita/tutorials/images/serialboard_purchased3.jpg
 /trunk/doc/dita/tutorials/tutorial_blink_a_led.xml
 /trunk/doc/dita/tutorials/tutorial_getting_started.xml
 /trunk/doc/dita/tutorials/tutorial_serial_communication.xml
 /trunk/doc/dita/tutorials/tutorial_serial_port_board.xml

=======================================
--- /trunk/doc/dita/tutorials/images/blink_a_led_micropro_read_pic.jpg Sat Oct 31 13:05:20 2009 +++ /trunk/doc/dita/tutorials/images/blink_a_led_micropro_read_pic.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/getting_started_16F877.jpg Sun Nov 1 16:53:11 2009 +++ /trunk/doc/dita/tutorials/images/getting_started_16F877.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/getting_started_16f877_diagram.jpg Mon Nov 2 00:50:55 2009 +++ /trunk/doc/dita/tutorials/images/getting_started_16f877_diagram.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/getting_started_circuit.jpg Sun Nov 1 16:53:11 2009 +++ /trunk/doc/dita/tutorials/images/getting_started_circuit.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/getting_started_jaledit.jpg Sun Nov 1 16:53:11 2009 +++ /trunk/doc/dita/tutorials/images/getting_started_jaledit.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/getting_started_micropro.jpg Sun Nov 1 16:53:11 2009 +++ /trunk/doc/dita/tutorials/images/getting_started_micropro.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/getting_started_serial_programmer.jpg Sun Nov 1 16:53:11 2009 +++ /trunk/doc/dita/tutorials/images/getting_started_serial_programmer.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/getting_started_wisp648.jpg Sun Nov 1 16:53:11 2009 +++ /trunk/doc/dita/tutorials/images/getting_started_wisp648.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/serial_communication_board_1.jpg Fri Jan 15 20:48:12 2010 +++ /trunk/doc/dita/tutorials/images/serial_communication_board_1.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/serial_communication_board_2.jpg Fri Jan 15 20:48:12 2010 +++ /trunk/doc/dita/tutorials/images/serial_communication_board_2.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/serial_communication_board_3.jpg Fri Jan 15 20:48:12 2010 +++ /trunk/doc/dita/tutorials/images/serial_communication_board_3.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/serialboard_purchased1.jpg Wed Oct 21 23:03:26 2009 +++ /trunk/doc/dita/tutorials/images/serialboard_purchased1.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/serialboard_purchased2.jpg Wed Oct 21 23:03:26 2009 +++ /trunk/doc/dita/tutorials/images/serialboard_purchased2.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/images/serialboard_purchased3.jpg Wed Oct 21 23:03:26 2009 +++ /trunk/doc/dita/tutorials/images/serialboard_purchased3.jpg Tue Jan 19 17:09:38 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/tutorials/tutorial_blink_a_led.xml Sun Jan 17 23:35:40 2010 +++ /trunk/doc/dita/tutorials/tutorial_blink_a_led.xml Tue Jan 19 17:09:38 2010
@@ -1,6 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- This document was created with Syntext Serna Free. -->
-<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd" []>
+<!-- This document was created with Syntext Serna Free. --><!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd" []>
 <topic id="template_id">
   <title>Blink A Led (Your First Project)</title>
   <prolog>
@@ -23,7 +22,7 @@
<p>Now check PC connectivity to your programmer. Open your programming software on your PC, check the settings within your software to change the serial port number and programmer type (if available). Your programmer software may tell you that your board is connected, if not, put your PIC in your programmer and do some basic tests such as “read chip”, “blank / erase chip”</p>
       <image href="images/blink_a_led_programmer.jpg"/>
<p>If you are using Micropro, click on “file” -&gt; “port”, and “file” -&gt; “programmer” -&gt; (your programmer type). If you do not know the programmer type, you will have to guess until Micropro says something like “K149-BC board connected”, Put your PIC in your programmer and choose your PIC type from the “Chip Selector” text box. Now do some basic read/erase tests.</p>
-      <image href="images/blink_a_led_micropro_read_pic.jpg"/>
+      <image href="images/blink_a_led_micropro_read_pic.jpg" width="450"/>
     </section>
     <section>
       <title>Build your circuit</title>
@@ -110,7 +109,7 @@
       <p><image href="images/blink_a_led_16f877_pinout.jpg"/></p>
<p>As you can see, we are using the pin RA0/ANO at pin #2. RA0 is the pin name we are looking for. AN0 is another name for this same pin (used in the analog to digital tutorial), but we can ignore it in this tutorial. In the JAL language RA0 is written as pin_A0</p> <p>Now let’s read the details of this pin in the datasheet on page 10. As you can see RA0 is a TTL Digital I/O pin. We are checking this to make sure it is not a open drain output. Open drain outputs (like pin RA4) require a pull-up resistor from the pin to V+</p> - <p><image href="images/blink_a_led_16f877_pin_info.jpg" width="500" otherprops="clickable"/></p> + <p><image href="images/blink_a_led_16f877_pin_info.jpg" width="450" otherprops="clickable"/></p> <p>Now write code for pin A0. We are writing an “alias” only because in the future we can refer to pin 2 (A0) as “led”. This way we no longer need to remember the name of the pin (except for the directional register in the next line of code we will write).</p>
       <p><codeblock>--
 -- You may want to change the selected pin:
@@ -205,7 +204,7 @@
<p>Put your PIC back into your circuit, double check your circuit if you haven’t already, and make sure your PIC is facing the correct direction. Apply power to your circuit.</p> <p>It’s alive! You should see your led blinking! Congratulations on your first JALv2 + JALLIB circuit!</p> <p>Here&apos;s a youtube video of the result: <xref href="http://www.youtube.com/watch?v=PYuPZO7isoo"; format="html"/></p> - <p>I strongly suggest you do this tutorial next: <xref class="- topic/xref " href="tutorial_serial_communication.xml">Serial Port &amp; RS-232 for communication</xref>.</p> + <p>I strongly suggest you do this tutorial next: <xref href="tutorial_serial_communication.xml" class="- topic/xref ">Serial Port &amp; RS-232 for communication</xref>.</p>
     </section>
   </body>
 </topic>
=======================================
--- /trunk/doc/dita/tutorials/tutorial_getting_started.xml Fri Jan 15 20:48:12 2010 +++ /trunk/doc/dita/tutorials/tutorial_getting_started.xml Tue Jan 19 17:09:38 2010
@@ -1,6 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!-- This document was created with Syntext Serna Free. -->
-<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd" []>
+<!-- This document was created with Syntext Serna Free. --><!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd" []>
 <topic id="template_id">
   <title>Getting Started</title>
   <prolog>
@@ -11,8 +10,7 @@
<p id="firstcontent">Guide to getting started with PIC microcontrollers JALv2 &amp; Jallib</p>
     <section>
<p><b>So, you’ve heard all the hype about PIC microcontrollers &amp; JALv2 and want to hear more?</b></p>
-      <image href="images/getting_started_circuit.jpg"/>
-      <p>Let’s start with some questions you may have.</p>
+ <image href="images/getting_started_circuit.jpg" width="200" otherprops="clickable"/>
     </section>
     <section>
       <title>Why use PIC microcontrollers, JALv2, and this book?</title>
@@ -51,7 +49,7 @@
     </section>
     <section>
       <title>What PIC microcontroller should I buy?</title>
- <p><image href="images/getting_started_16F877.jpg" width="150"/><image href="images/getting_started_16f877_diagram.jpg" width="100"/></p> + <p><image href="images/getting_started_16F877.jpg" width="200" otherprops="clickable"/><image href="images/getting_started_16f877_diagram.jpg" width="150" otherprops="clickable"/></p> <p>PIC16F877 or PIC16F877A seem to be the most popular mid-range PIC at the moment (in the image above). You should be able to find them at your local electronics store for around $10. This microcontroller has many features and a good amount of memory. It will be sufficient for most of your projects. We will build our first project on this chip.</p> <p>There are many low-end PIC’s to choose from, PIC16F84, PIC16F88 are smaller chips for around $5. There are also very low end 8 pin PIC’s such as 12F675 for $1.</p> <p>If you’re looking for speed, functionality, and a whole lot of memory space, you can go with a PIC18Fxxx chip. Some of these have USB capability. I would suggest one of the following: 18F452, 18F4550, 18F2550. These PIC’s will also work in our getting started “blink a led” tutorial with the same circuit diagram. For future tutorials, the circuits may need some modifications.</p>
@@ -109,17 +107,17 @@
       <title>What programmer should I buy?</title>
<p>Any pic programmer will do. The only suggestions I have is to make sure it can program a wide variety of PIC’s such as the ones listed above, and make sure it has a ICSP port for future use. ICSP is for in-circuit programming.</p>
       <p>Here are some images of programmers we use:</p>
- <p><image href="images/getting_started_serial_programmer.jpg"/><image href="images/getting_started_a-wisp648.jpg" width="197"/></p> + <p><image href="images/getting_started_serial_programmer.jpg" width="150" otherprops="clickable"/><image href="images/getting_started_a-wisp648.jpg" width="217" otherprops="clickable"/></p>
     </section>
     <section>
       <title>What editor should I use?</title>
<p>Any text editor is fine, but if you are on a windows machine. We suggest the free editor “JAL Edit” which will highlight &amp; color important text as well as compile your JAL program to a hex file for burning to your microcontroller. If you followed our installation guide, you will already have this editor.</p>
-      <image href="images/getting_started_jaledit.jpg"/>
+ <image href="images/getting_started_jaledit.jpg" width="400" otherprops="clickable"/>
     </section>
     <section>
       <title>What programming/burning software should I use?</title>
<p>Did your programmer come with software? There are many to choose from so use whatever you prefer. I use “Micropro” from <xref href="http://www.ozitronics.com/micropro.html"; format="html"/>. It’s a free, open source software for programming a wide range of PIC’s. It supports many types of programmers.</p>
-      <image href="images/getting_started_micropro.jpg"/>
+ <image href="images/getting_started_micropro.jpg" width="400" otherprops="clickable"/>
     </section>
     <section>
<p>OK, enough of this boring stuff, lets build something! Start with the <xref href="tutorial_blink_a_led.xml">Blink A Led Tutorial</xref>.</p>
=======================================
--- /trunk/doc/dita/tutorials/tutorial_serial_communication.xml Mon Jan 18 01:07:05 2010 +++ /trunk/doc/dita/tutorials/tutorial_serial_communication.xml Tue Jan 19 17:09:38 2010
@@ -26,7 +26,7 @@
       <p>6. The port number on your PC</p>
<p>You will be able to choose the transmission speed yourself. The Jallib library we will be using will use 1 start bit, 8 data bits, no parity, and 1 stop bit. Your other device, such as your PC will also need to know this information.</p>
     </section>
- <section><title>What do I need?</title>In the first part of this tutorial I will show you how to hook your serial port up to your PC. I will show you how to connect it to another PIC later on in this tutorial. I feel that connectivity to your PC is quite important. You will need:<p>1. A PIC that has TX and RX Pin names. Most PIC&apos;s have them. Check your pinout diagram in the PIC&apos;s datasheet.</p><image href="images/serial_communication_16f877_pinout.jpg"/><p>2. A serial port board. You can buy one on the net, or build your own. <xref href="tutorial_serial_port_board.xml">See Here</xref> for more information. A serial port board is needed for voltage conversion. Serial ports output voltages up to 12v and go lower than 0v.</p><image href="images/serial_communication_board_1.jpg"/><image href="images/serial_communication_board_2.jpg"/><image href="images/serial_communication_board_3.jpg"/><p>3. A regular RS-232 Cable (make sure it is not a null modem cable, they look the same). You can check what type of cable you have with your multimeter. Put your multimeter on each pin of your cable starting with pin 1. Check for a zero ohm reading. This will check that the pins are the same at both ends. Null modem cables have some pins crossed.</p><image href="images/serial_communication_cable.jpg"/><image href="images/serial_communication_usb.jpg"/></section> + <section><title>What do I need?</title>In the first part of this tutorial I will show you how to hook your serial port up to your PC. I will show you how to connect it to another PIC later on in this tutorial. I feel that connectivity to your PC is quite important. You will need:<p>1. A PIC that has TX and RX Pin names. Most PIC&apos;s have them. Check your pinout diagram in the PIC&apos;s datasheet.</p><image href="images/serial_communication_16f877_pinout.jpg"/><p>2. A serial port board. You can buy one on the net, or build your own. <xref href="tutorial_serial_port_board.xml">See Here</xref> for more information. A serial port board is needed for voltage conversion. Serial ports output voltages up to 12v and go lower than 0v.</p><image href="images/serial_communication_board_1.jpg" width="200" otherprops="clickable"/><image href="images/serial_communication_board_2.jpg" width="200" otherprops="clickable"/><image href="images/serial_communication_board_3.jpg" width="200" otherprops="clickable"/> <p>3. A regular RS-232 Cable (make sure it is not a null modem cable, they look the same). You can check what type of cable you have with your multimeter. Put your multimeter on each pin of your cable starting with pin 1. Check for a zero ohm reading. This will check that the pins are the same at both ends. Null modem cables have some pins crossed.</p><image href="images/serial_communication_cable.jpg"/><image href="images/serial_communication_usb.jpg"/></section>
     <section>
       <title>Build your circuit</title>
<p>The circuit will be quite simple, you can take your blink a led circuit, and attach your serial port board. Here&apos;s a schematic with 16F877. We will be using the TX and RX pins:</p>
=======================================
--- /trunk/doc/dita/tutorials/tutorial_serial_port_board.xml Fri Jan 15 20:48:12 2010 +++ /trunk/doc/dita/tutorials/tutorial_serial_port_board.xml Tue Jan 19 17:09:38 2010
@@ -10,7 +10,7 @@
<p>In this tutorial, we&apos;re going to build a serial port that can connect your PIC&apos;s TX and RX pins to your pc or other hardware using a max232 chip.</p>
     <section>
<p>Many circuits will require some serial port communication, you may buy yourself a rs232 to TTL adapter off the net for as little as $10, or you can build one yourself. The max232 is a very popular chip. It converts your 5v circuit to the 12v required for serial communication to things like your PC. Many microcontrollers have RX and TX output pins. Here is a image of the max232 adapter I purchased. It has input pins for RX, TX, CT, RT as well as GND and 5v. The RX and TX pins can be directly connected to your PIC.</p> - <p><image href="images/serialboard_purchased1.jpg"/><image href="images/serialboard_purchased2.jpg"/><image href="images/serialboard_purchased3.jpg"/></p> + <p><image href="images/serialboard_purchased1.jpg" otherprops="clickable" width="200"/><image href="images/serialboard_purchased2.jpg" width="200" otherprops="clickable"/><image href="images/serialboard_purchased3.jpg" otherprops="clickable" width="200"/></p>
     </section>
     <section>
       <p><b>Now, lets build our own! </b></p>
-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.


Reply via email to