اطلاعیه

Collapse
No announcement yet.

درخواست معرفی کتابی در مورد آموزش pic به زبان c

Collapse
این موضوع بسته شده است.
X
X
 
  • فیلتر
  • زمان
  • Show
Clear All
new posts

    درخواست معرفی کتابی در مورد آموزش pic به زبان c

    سلام
    مثل اینکه کتابی که قرار بود توسط تیم pic انجمن نوشته بشه خیلی کار داره و حالا حالا بیرون نمیاد !
    شدیداً دنبال کتابی برای آموزش pic به زبان c یکی از کامپایلرهای معروف هستم !
    کلی گشتم چیزی ندیدم ! همه بیسیک بودند !
    زبان انگلیسیم متوسطه و چند تا pdf انگلیسی هم خوندم ، ولی اصلاً لذت بخش نیست که 2 ساعت دنبال بعضی از مفاهیم باشی تا اینکه درست بری سر اصل مطلب !


    #2
    پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

    نوشته اصلی توسط فرشاد اکرمی
    سلام
    مثل اینکه کتابی که قرار بود توسط تیم pic انجمن نوشته بشه خیلی کار داره و حالا حالا بیرون نمیاد !
    شدیداً دنبال کتابی برای آموزش pic به زبان c یکی از کامپایلرهای معروف هستم !
    کلی گشتم چیزی ندیدم ! همه بیسیک بودند !
    زبان انگلیسیم متوسطه و چند تا pdf انگلیسی هم خوندم ، ولی اصلاً لذت بخش نیست که 2 ساعت دنبال بعضی از مفاهیم باشی تا اینکه درست بری سر اصل مطلب !

    آقای اکرمی، جدا کتاب یا کتاب های خوبی به زبان C برای PIC در ایران وجود نداد. اکثرا همه ترجمه هست. ولی مثلا برای کامپایلر CCS کتاب می خواهید کتاب C WHAT HAPPENDS کتابی بود که پیدا کردم اما کامل نگاه نکردم ولی فک کنم کلا یه جورایی توضیح دستورات HELP برنامه CCS باشه .
    چند تا کتاب دیگه هم هست که اگه فرصت کنم نگا کنم اسامیشون رو میارم.
    بگذارعشق خاصیت تو باشد نه رابطه خاص تو باکسی
    موفقيت پيش رفتن است نه به نقطه ي پايان رسيدن
    نلسون ماندلا

    دیدگاه


      #3
      پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

      کامپایلر CCS رو داشتم نگاه میکردم
      واقعا چیز جالبیه ! مخصوصاً بخش ویزارد که خیلی خیلی تکمیله !
      منم میگردم اگر کتاب خاصی بود میزارم !

      دیدگاه


        #4
        پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

        منم در مورد PIC کتاب زیاد دارم. ولی متاسفانه اکثرا اسمبلی و بیسیک هستند. ولی یه چند تایی هم C هستن. اگه به دردتون میخوره بگید تا پلودشون کنم.

        دیدگاه


          #5
          پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

          کتابی که با ccs آموزش داده باشه
          سراغ دارین ؟ یه نموره هم مبتدی و رون هم باشه تا راه بیفتیم

          دیدگاه


            #6
            پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

            نوشته اصلی توسط فرشاد اکرمی
            کتابی که با ccs آموزش داده باشه
            سراغ دارین ؟ یه نموره هم مبتدی و رون هم باشه تا راه بیفتیم
            تو این صفحه لینکش هست :
            http://www.sonsivri.com/forum/index.php?topic=12293.0
            بگذارعشق خاصیت تو باشد نه رابطه خاص تو باکسی
            موفقيت پيش رفتن است نه به نقطه ي پايان رسيدن
            نلسون ماندلا

            دیدگاه


              #7
              پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

              نوشته اصلی توسط فرشاد اکرمی
              سلام
              مثل اینکه کتابی که قرار بود توسط تیم pic انجمن نوشته بشه خیلی کار داره و حالا حالا بیرون نمیاد !
              شدیداً دنبال کتابی برای آموزش pic به زبان c یکی از کامپایلرهای معروف هستم !
              کلی گشتم چیزی ندیدم ! همه بیسیک بودند !
              زبان انگلیسیم متوسطه و چند تا pdf انگلیسی هم خوندم ، ولی اصلاً لذت بخش نیست که 2 ساعت دنبال بعضی از مفاهیم باشی تا اینکه درست بری سر اصل مطلب !
              سلام مهندس فرشاد
              آقا ما به قولی که دادیم داریم عمل میکنیم فقط احتیاج به زمان داریم، امیدوارم که هرچه زودتر این کار رو تموم کنیم تا شرمنده شما و دوستان نشیم :icon_razz:

              موفق باشید

              دیدگاه


                #8
                پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

                این کتاب هست به صورت کامل هم توضیح داده لینک دانلود کامل به همراه مثال ها با شبیه ساز پروتئوس هم توش هست ولی زبانش اسپانیاییه. :angry:
                ولی می شه از کد هاش فهمید.




                شامل پروژه های زیر:

                T3-E1 .- Turn on and off an LED with a switch.

                T3-E2 .-Counter decimal from 0 to 99 with 7-segment display.

                T3-E3 .- Control of an LCD menu with two buttons.

                T3-E4 .- Display of the status of a port input through a graphical display.

                T3-E5 .- Visualization of data on a keyboard in a 3x4 matrix LCD.

                T3-E6 .- Access control via keyboard.

                T3- E7-Speed control, keyboard, a DC motor

                T4-E1 .- On and Off Led by an external interrupt.

                T4-E2 .- Generation of a signal of 1 kHz using the TMR0.

                T4-E3 .- Generation of delays of 1s by TMR1.

                T4-E4 .- Measurement of pulse width via TMR1 and external interrupt.

                T4-E5 .- Generation of a signal of 1 kHz by TMR2.

                T4-E6 -speed control, keyboard, a DC motor through use of TMR1. Digital tachometer.

                T4-E7 .- Multifunction with a single key.

                T5-E1 .- Reading of tension on the channel an0.

                T5-E2 .- Thermometer, NTC.

                T5-E3 .- Barometer / Altimeter with NTC and pressure sensor.

                T5-E4 .- Acquisition of negative voltages.

                T6-E1 .- Measurement of pulse width using the CCP module.

                T6-E2 .- Generation of a 2 KHz signal through the CCP module.

                T6-E3 .- AD conversion by the CCP module. PWM signal generation proportional to the measured signal.

                T6-E4 .- Basic Oscilloscope by CCP and graphic display module.

                T6-E5 .- PID temperature of an oven.

                T6-E6 .- Problems in the simulation CCP PWM module.
                T7-E1 .- PIC to PIC serial communication.

                T7-E2 .- PIC Serial communication to PC.

                T7-E3 .- Communication (bidirectional) series of PIC to PC.

                T7-E4 .- Writing / reading an I2C serial EEPROM.

                T7-E5 .- Reading an I2C temperature sensor, an I2C real time clock to save your data in the I2C serial EEPROM. Dump data from the EEPROM by the serial port.

                T8-E1 .- Real time clock with the PIC18F4520.

                T8-E2 .- Lifting PIC18F4520 self-regulated voltage.

                T9-E1 .- PID control of temperature of a furnace with RTOS. More Control display. Control over program viewing with the PIC18F4520.

                T10-E1 .- USB CDC.

                T10-E2 .- USB CDC
                ------------------------------------------------------------------------------------------------------------------------------------------

                توضیحات منبع:
                Well this is my first contribution is a good book on programming microcontrollers using the CCS C compiler.
                Summary:

                Microchip's PICmicro microcontrollers have experienced a significant increase in presence in the industrial sector. In programming languages highlights the development of C language specific to a microcontroller that allows maximum performance of the micro.
                The simulation programs allow almost to perfection to debug the design before it is built, with a huge time and cost savings. One of the best simulator for microcontrollers is ISIS PROTEUS.

                Chapter 1 provides a brief, but intense, ISIS Description PROTEUS, so that the reader can afford the simulation of designs without any problems.

                In Chapter 2 a review is conducted for PIC C Compiler CCS, after reading any reader will meet the design small programs that are discussed in subsequent chapters.

                Chapter 3 to 7 shows the various modules of a PIC (ADC, USART, CCP, etc..) Hardware level, linking them with the relevant directives and functions of C.

                Chapter 8 presents the high end (PIC18) and in Chapter 9 a more complex, the RTOS (Real Time Operating System), in these chapters are incorporated various application examples. Finally, in Chapter 10 USB develops new entrants to ISIS.

                The examples developed are not too complex, are short and can be strengthening the knowledge chapter by chapter.

                In each chapter are raised and develop simple examples of application that the reader can study and modify to complete their knowledge.
                ************************************************** ************************************************** **********
                لینک داناود کدها و شبیه سازی پروتئوس به همراه کتاب به فرمت ISO
                http://pertican2007.dl.rapidbaz.com/...adores_Pic.iso
                میرور:
                http://depositfiles.com/files/iiax92h81

                لینک دانلود کتاب بدون کدها:
                http://depositfiles.com/files/ac8fao6wc
                ************************************************** ************************************************** **********

                دیدگاه


                  #9
                  پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

                  یه کتاب دیگم هست که به انگلیسی هست که مخصوص CCS C نوشته شده.


                  Book Title:C What Happens Using PIC® Microcontrollersand the CCS C Compiler by David Benson

                  Description:"C What Happens Using PIC® Microcontrollers and the CCS C Compiler," contains a series of explanations and examples for those who want to learn to program PIC® microcontrollers using the C programming language. It is assumed that the reader has no knowledge of PIC microcontrollers or programming, but does have a rudimentary understanding of electronics. The reader will learn to create programs by making selections from a large variety of built-in functions provided in the CCS C compiler, writing his/her own functions as needed, and writing executable statements. The reader will 'C what happens' by programming a PIC® microcontroller with the newly created code and exercising it using a simple circuit described in the book. The subject matter is laid out in a logical progression from simple to not-so-simple and is illustrated with lots of examples. The complete table of contents follows:

                  Table of Contents
                  INTRODUCTION
                  PIC MICROCONTROLLER PRODUCT OVERVIEW

                  SELECTING A DEVICE FOR EXPERIMENTS

                  PIC16F818

                  Pins and functions
                  Package
                  Clock oscillator
                  Reset
                  Ports
                  Special Features
                  PIC microcontroller architecture
                  Code and data protection
                  Configuration bits
                  CIRCUIT FOR PIC16F818 EXPERIMENTS

                  CHOOSING DEVELOPMENT TOOLS


                  CCS compiler
                  Device programming methods
                  Device programmers and ease of running code examples
                  Device programmer
                  In-circuit serial programmer
                  Choosing a device programmer
                  Microchip PICSTART Plus
                  Choosing an in-circuit programmer/debugger
                  CCS ICD-U40 (or -S40)
                  Microchip PICkit 2®
                  Microchip ICD 2®
                  PROGRAMMING A DEVICE USING THE ICD-U40 (or -S40)

                  PROGRAMMING A DEVICE USING THE PICkit 2®

                  PROGRAMMING A DEVICE USING THE ICD 2®

                  PROGRAMMING A DEVICE USING THE PICSTART Plus®

                  CCS COMPILER

                  C SOURCE CODE


                  What it looks like
                  Typing accuracy
                  Comments
                  Text And Formatting
                  BITS, BYTES, ETC.


                  Bit
                  Nibble
                  Byte
                  Binary
                  Hexadecimal
                  CONSTANTS

                  VARIABLES

                  DATA


                  Data types
                  ASCII characters
                  NAMING CONSTANTS AND VARIABLES


                  Reserved words in C
                  OPERATORS - SHORT LIST

                  TRUE vs. FALSE

                  DEVICE FILES

                  PRE-PROCESSOR DIRECTIVES - SHORT LIST

                  INs AND OUTS OF DIGITAL I/O

                  CONFIGURATION REGISTER(S) FUSES

                  FUNCTIONS


                  main() function
                  Functions
                  Built-in functions - short list
                  STATEMENTS


                  Executable statements
                  Blocks
                  Conditional statements
                  Semicolon use rules
                  PROGRAM DESIGN


                  Program design - control flow
                  if
                  if/else
                  while loop
                  do/while loop
                  for loop
                  switch/case
                  break
                  continue
                  return
                  goto
                  Rule
                  Modular programming
                  WRITING PROGRAMS (With Experiments)


                  Programming concepts
                  Programming examples
                  Simple data transfers
                  Loop - endless
                  While loop
                  Do/while loop
                  Port registers accessed as variables
                  - Port addresses defined using #byte directives
                  - Port addresses defined using user-created include file
                  - Port addresses defined using get environment built-in function
                  Loop with a counter
                  For loop
                  Loop until
                  While loop
                  Comparisons
                  Relational operators
                  If/else
                  Switch/case
                  Function calls and time delays
                  Bit-level I/O using built-in functions
                  Bit toggle
                  If statement - read switch position
                  ! logical operator
                  && logical operator (two switches)
                  || logical operator (two switches)
                  if/else, else, else
                  Read input bit, write output bit
                  Event counting
                  Bit manipulation using bit manipulation functions
                  Bit set/clear
                  Bit testing
                  Flags
                  #bit pre-processor directive example
                  typedef example
                  Bit manipulation using bitwise operators
                  Shift bits right or left
                  Change specific bit to"1"
                  Change specific bit to"0"
                  Change specific bit to it's complement
                  Goto
                  Function library
                  Cut and paste
                  TALKING TO A PIC MICROCONTROLLER WITH A PC VIA A WINDOWS TERMINAL PROGRAM


                  "U"-turn experiment
                  PC-to-PC "2-lane highway" experiment
                  PC/PIC microcontroller
                  PC baud rates
                  RS-232 interface for a PIC microcontroller
                  PIC microcontroller-to-PC serial communication
                  Formatting PIC microcontroller data on a PC screen
                  STRINGS

                  ARRAYS


                  Index to an array
                  Step through array elements
                  Extract nth element from array
                  Add offset to index
                  Lookup tables
                  7-segment LED display
                  STRUCTURES


                  Structures and ports - bit fields
                  MATH AND MANIPULATING NUMBERS


                  Mathematical operators
                  Operator precedence
                  Data type selection considerations
                  Formatting variables such as math results for printing
                  PASSING VARIABLES


                  Passing arguments
                  Returning values
                  Prototyping functions
                  OPERATORS


                  Assignment operator
                  Relational operators
                  Logical operators
                  Increment and decrement
                  Mathematical operators
                  Bitwise operators
                  Pointer operators
                  Structure operators
                  Operators that don't fit the categories
                  INTERRUPTS


                  External interrupt sources
                  Internal interrupt sources
                  Timer 0 interrupt
                  Port B interrupt on change - bits 7,6,5,4
                  Interrupts generated by other peripherals
                  Global interrupt enable flag (GIE)
                  Return from interrupt
                  Where to put the interrupt service routine in program memory
                  Interrupt latency
                  Multiple external interrupt sources
                  Interrupts in C
                  Functions - Built-in
                  Pre-processor directives used to identify interrupt service routines
                  Example - external interrupt
                  TIMING AND COUNTING USING TIMER 0


                  Digital output waveforms
                  Using timer 0
                  Prescaler
                  Putting timer 0 to work
                  Setting up timer 0
                  Starting timer 0
                  Counter
                  How do we know timer 0 is doing something?
                  Timer 0 will keep on counting as long as:
                  Timer 0 must be reloaded after each overflow for repeating time intervals
                  Stopping timer 0
                  Timer 0 experiments
                  Digital output waveform using timer 0 - internal clock
                  Single time interval - internal clock
                  Free running mode - internal clock - 0.1 second period
                  Single time interval - external clock
                  Free running mode - internal clock
                  Counting events (pulses)
                  Going further
                  ANALOG TO DIGITAL CONVERSION

                  INSERTING ASSEMBLY CODE IN C CODE

                  APPENDIX A - PULSER

                  APPENDIX B - SOURCES

                  APPENDIX C - HEXADECIMAL NUMBERS

                  APPENDIX D - PROGRAM LISTINGS vs. PAGE NUMBERS

                  لینک دانلود (مستقیم)
                  http://pertican2007.dl.rapidbaz.com/V-qf/C_Wht_Hppns.pdf
                  میرور:
                  http://rapidshare.com/files/306989696/C_Wht_Hppns.pdf

                  دیدگاه


                    #10
                    پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

                    سلام
                    من یه کتاب آموزشی به زبان C پیدا کردم اما متاسفانه تحت کمپایلر MikroC هست .
                    من خودم با این کتاب شروع کردم تا یه اصولی دستم بیاد بعد رفتم سراغ Help خود CCS
                    نام کتاب : پروژه های پیشرفته میکرو کنترل های PIC به زبان C
                    نویسنده :مهندس هوار بطخایی
                    انتشارات :پندار پارس
                    زمان تنها واحد حقیقی اندازه گیریه
                    زمان وجود ماده رو اثبات میکنه
                    بدون زمان هیچکدوم ما وجود نخواهیم داشت
                    زمان یکتاست

                    دیدگاه


                      #11
                      پاسخ : درخواست معرفی کتابی در مورد آموزش pic به زبان c

                      دوباره سلام
                      خودم پیداش کردم
                      این کتابش

                      http://rapidshare.com/files/351982119/Compilador_C_Ccs_Y_Simulador_Proteus_Para_Microcon troladores_Pic.pdf

                      اینم مثالاش

                      http://www.mediafire.com/?gg2jifwyztt

                      دیدگاه

                      لطفا صبر کنید...
                      X