SQUARE 1 ELECTRONICS

ERRATA

Listed below are known errors. We apologize for any inconvenience these errors may have caused.

Easy PIC'n - Versions 3.0 and Version 3.1 

Page 16 -- When constructing the circuit, the 8 port B LEDs should be positioned in a row on your circuit board so that they are in numerical order with bit 0 on the right as you view the board when using it (bit 7 on the left). 

Page 50--Under Literal Instructions, d'16' should read d'15.' 

Page 73--Schematic - RB0 should be RB2 

Page 118 -- Note:  It ....... LED to turn off 

Page 124 -- Examples:   Load 0xF6



Easy Microcontrol'n - Version 4.0

Page 21 -- Referring to the schematic, the notch in the left end of the rectangle which represents the PIC16F84A should not be there. The pins are shown with like pin functions grouped together to make reading the schematic easy. The pins are NOT shown in their physical locations with respect to the rectangular block.

When constructing the circuit, the 8 port B LEDs should be positioned in a row on your circuit board so that they are in numerical order with bit 0 on the right as you view the board when using it (bit 7 on the left).

Page 24-- The switch on port B INT/0 should be between the terminal block and the resistor.


Page 54--Under Literal Instructions, d'16' should read d'15'. 

Page 126----Note: It.......LED to turn off


Page 132 -- Examples: Load 0xF6

In the 8th line of code beginning with the label "ltmr", change "0xf5" to 0xf6". 

Page 168 -- Referring to the upper left-hand corner of the top of the page, the value of the 8 resistors should be 150 ohms, not 680 ohms.


Easy Microcontrol'n - Version 4.1

Page 54--Under Literal Instructions, d'16' should read d'15'. 

Page 165 -- Delete first three lines of text at the top of the page.


PIC'n Up The Pace - Versions 1.0 and 1.1

Page 22--In both drawings, the output pin sequence 1 through 7 is reversed. The sequence shown in the drawing on page 21 is correct. Three labels in the drawing at the bottom of the page appear in the wrong order. Top to bottom they should appear as "Latch Data," "Clear" and "Clock."

Page 23--"164" in the fifth rectangle from the bottom in the right hand flow chart should be "595."

Page 60-- First paragraph under "Display Ram" heading: 15:20 File Registers, should be: 16 File Registers 

Page 130--Timing diagram - CE should be CS.


Page 174 - The 2nd, 3rd, and 4th equations counting up from the bottom of the page should end with +5. The last equation at the bottom of the page should not have a minus sign after the = sign. The first equation at the top of the next page should not have a minus sign after the two = signs. The result is +4.


Microcontrol'n Apps - - Version 2.0

Table of Contents, 5th page -- References to pages 353 and 354 PIC12F629/675

Pages 57 and 59--


count2 equ 0x0d

Page 60--

First paragraph under "Display Ram" heading:

15:20 File Registers, should be: 16 File Registers 

Page 94-- The text in the drawing for instruction 0x03 should read (0x04 was omitted):


0x03 ASCII character and display

RAM address follow - send

character to display RAM

0x04 Hex byte follows - convert to

ASCII and display

Page 139-- Delete period between Hi/lo.won't 

Page 164-- In code near label "cycle step", comment should read" :send volts to d/a", not "a/d". 

Page 168-- The Offset Amplifier Gain = 1 is a nominal value. The Scaling Amplifier Gain = 4 is a nominal value. 

Page 170-- The nominal Offset Adjust resistance is 100 K. The nominal Scale Adjust resistance is 400 K. 

Page 189-- The first sentance should begin with "The ADC0831 may be ..... 

Pages 200, 201, 207, 379, and 391-- The least significant register bit should be labeled "0". This illustrates how easily we can replicate errors! 

Page 203-- The LED on the left should be labeled "9", not "10". 

Page 255-- All "C" should be "°C". 

Page 276-- On fourth line, comment should read ";clear port B, bit 4 

Page 319-- Fraction should be 1 sec/256 µ sec = 3906 

Page 359-- In the matrix/diagram, Digital I/O vs. MCLR should be Digital input vs. MCLR. 

Page 367-- Delete indentation/notch in left side of PIC16F628 outline. The pins are not shown in their physical locations. 

Page 374-- Under heading "PORTS - GPIO" 

The first sentence should begin "The pins of the F675 ......"
In the table: 

GP3*       * Input only

Page 375-- In the table, GP3 should be Digital Input vs. MCLR. 

Page 391-- Note 2) See section on PIC16F870 On-Board 10-bit A/D and data book for more information. 

Page 395-- Lower right hand corner of schematic - lower ends of capacitors should be connected to ground. 


Microcontrol'n Apps - - Version 3.0

Page 60--

First paragraph under "Display Ram" heading:

15:20 File Registers, should be: 16 File Registers 

Page 131--


Graph Y axis should be labeled   0V   1.28V   2.55v

Page 205--


PIC16F870 go/done bit in ADCON0 bit 2

PIC12F675 go/done bit in ADCON0 bit 1

Page 300--

Below line which reads "To run PC to PIC microcontroller:"

Delete "Send switch on."



PIC'n Techniques - Version 1.0

Page 37 - Schematic, PIC16C63 - "CCP1" should be over RC2, not RC3.

Page 42--In the block diagram, the prescaler values should be 1, 4, 16. 

Page 192-- The first sentence of the third paragraph should read as follows: "A little thought reveals that the rounding off process can ripple back all the way to the most significant digit". Add the following as the fourth paragraph: "Details on rounding off are in PIC'n Up The Pace". Delete the flow chart.

Page 199--The last three lines of code on page 199 and the first nine lines of code on page 200 should be replaced with the following:

Click here for corrected code for Page 199


Page 201--The last three sentences of the third paragraph should read: "HyperTerminal" under Windows 95 is dumbed down slightly and is not capable of assigning a file name prior to receiving the file. It also has no provision for clearing the buffer which clears the screen. Only Terminal will work for our purposes."

Page 236-- Four lines of code are missing. Count up 13 lines from the bottom of the page and insert four lines as shown:

12th goto sndtst ;bytes equal 

      

movf instr,w ;get copy of instruction       

sublw a'a'         ;compare with "a"

btfsc status,z     ;z flag set if bytes are equal

goto chr_ram      ;bytes equal


13th    goto enterm ;wait for next transmission

;----------------------------------------------------------



Time'n and Count'n- Version 2.0 

Page 26--In the block diagram, the prescaler values should be 1, 4, 16.

Page 103-- In CCP1CON drawing at lower-right corner of the page:
    Bits 5,4 are the duty cycle least significant bits in the PWM 10-bit mode (bits 1,0) 

Serial PIC'n - Versions 1.0 and 2.0

Page 19--Under Data Terminal Ready - There are two typos in the second sentence. It should read "In the originate mode, the modem cannot dial a phone number until DTR is asserted and in answer mode it cannot answer until DTR is asserted."

Page 139-- The last word in the note in the upper right hand corner of the page should be "cleared", not"set".

Page 188-- In the listing, delete the following lines of code:


22 lines up from bottom:  bsf status,rp0 ;switch to bank 1


20 lines up from bottom:  bcf status,rp0 ;switch to bank 0


 7 lines up from bottom:  bsf status,rp0 ;switch to bank 1


 4 lines up from bottom:  bcf status,rp0 ;switch to bank 0

Page 209-- The last two sentences in the paragraph at the top of the page should be deleted.

Page 255-- The second full paragraph refers twice to a user register called "systat". The register should be called "comstat".

Page 259-- In line 8 (beginning at the top of the page), the reference to "IICOMS.TXT" should be changed to "IICOMS.GRP".

Page 417--After the label "sspad1", change "portb" to "portc".

Page 425--Two thirds of the way down the page, change "movlw 034" to "movlw 035" and delete "SPI clock-osc/64" on the second line below that.

Page 491--Change 

"dslin3    btfsc" to "dslin3    btfss".

Page 492--Change 

"goto    dslwr4" to "goto    dslwr5"    in two places.


Serial Communications - Version 3.0

Page 440--Second paragraph, last sentence--change SPIPOLL.TXT to SPIDONE.TXT.


Page 465:

IVORY1.ASM 

Between the sspif and peie equates, add the following equate:


sspie   equ   3   ;pie1 ssp interrupt enable


Between the code lines

    movwf   trisc

and

    bcf     status,rp0

add:

    bsf     pie1,sspie     ;enable ssp interrupt

Easy Debug'n - Version 1.0 

Page 3-- Drawing at bottom of page should be RB7 and RB6.


Page 12 - In the table under File Address, "0x0E" should be "0x09".


Page 17-- Remember to pull up RB7 and RB6.



Easy Step'n - Version 1.0


Page 37 - In the pin diagram, Vdd is power, not ground.


Page 48 - In the pin diagram, Vdd is power, not ground.


Page 62 - Schematic - There is no +5V connection to the ULN2803A board. The terminal block at the top of the ULN2803A board should have 2 terminals, not 3.


Page 65 - Schematic - There is no +5V connection to the TIP120 board. The terminal block at the top of the TIP120 board should have 2 terminals, not 3.


Page 71 -- Last line: input high, output high


Page 121 through 126--Refers to the SLA7024M Unipolar Driver--

    Through a sharp reader's experience, our own mistakes, and the effort required to correct them, we have determined that the SLA7024M experiment presented in Easy Step'n is not suitable for experimenters because tweaking of the IC manufacturer's recommended circuit may be required to obtain proper performance when driving a specific motor.

    The SLA7024M and the manufacturer's tech support are excellent. The hand tailoring required is fine for experienced engineers developing a commercial product, but not for the experimenter just learning about stepper motors.

    Please ignore pages 121 through 126. The concept is correct, but making it work for a given motor can be a bit of a trick in my experience. 



Page 147 -- The Sharp Microelectronics sensor (photointerrupter in Sharp terminology) GPIS55 has been replaced by the GP1S56T which is currently available from Digi-Key.

The output of the circuits shown in both schematics on page 147 should be connected to a 270 ohm resistor in series with an LED connected to ground. This LED serves as an indicator. If the sensor slot is blocked, the indicator LED will be off.

The terminolgy used in the description is wrong or inconsistant. Please make the following changes:

Page   Text Line       As Written           Should Be

147        5       infrared diode       sensor LED

147        6       infrared radiation   light

147        9       infrared             light

147        9       the LED              the indicator LED

148       13       LED turn off         indicator LED turn off

148       13       the LED              the sensor LED

149        7       (ie. LED             (ie. indicator LED    

 

EASY CNC - Version 1.0

Page 47--

Change as follows:
After File>Export, insert the line 

   The Export dialog box will appear.

After the first Click Export, delete the following four lines: 

   The Export dialog box will appear.

   Enter your file name.

   Select save as a GIF file.

   Click Export.

The next line (correct) reads: 

   The Convert to Bitmap dialog box will appear.

Page 33--

The second crop dot did not make it onto the printed page. It should be at the lower left-hand area of the image.

Page 144--


Code line N0007 comment should read  (dwell 2 milliseconds)



C WHAT HAPPENS - Version 1.0

Programming the PIC16F818 using the PICSTART Plus

In the process of creating the experiments for C What Happens, I did not experience any problems using the PICSTART Plus to program the PIC16F818 devices that I was using. I used MPLPAB version 8.0 and PICSTART Plus firmware version 4.50.06.

One reader has reported that he experienced difficulty doing this (using MPLAB 8.10). He read through the MPLAB release notes for the PICSTART Plus and found that Microchip recommends connecting a 1 K ohm resistor between MCLR and GND in the PICSTART programmer when programming the PIC16F818. This work-around worked for him. If you experience this problem, you may wish to try Microchip's recommended solution. 

Pages 64 and 77--

To improve the while loop description, replace items 3 and 4 with the following:

3) If condition is false, the while statement is terminated and execution passes to the code following the while loop (if there is any).

4) The code following the while loop (if there is any) may not be executed at all if condition remains true.

Page 125--

Add a semicolon at the end of line 

     char msg[6] = "error";

MOV'n UP

Page 23 and 92--

Delete the last line of code: 

;internal oscillator frequency 31 KHz - default

Page 78--

Delete the semicolon at the beginning of the line:


; config OSC = INTIO2,FSCM = OFF,ISEO = OFF

Page 97--


Add to the third paragraph  ..... tristate register.  This is from the PIC18F1220 Data Book,

page 131, section 16.0.

When I created the examples in this book, I lost track of this requirement and set up the

pins the way I use them, and it works.


Add a sentence at the end of the last line  ..... 4.0 MHz.  The USART doesn't care about

that as the baud rate is derived from the 8 MHz internal oscillator



 ©Square 1 Electronics 1996-2016

Last updated April 14, 2016


| Home | Back to Updates Page | Contact Us