PICSTAR - DOCUMENTS - EXEMPLES

MPLAB-X version 02-2014


 

picstar 11 lr2

Documentation française:

F1 Détails de la carte  picstar_descriptif_1.1b.pdf

F2 Schéma fonctionel:  block_diag.jpg 12/02/2014, 23:40

F3 Schéma détaillé: picstar_schema_det1.1.pdf  48.25 KB

F4 Montage des composants:  PICSTAR_DOC_1.2_montage.pdf 983.82 Kb 16/11/2012

F5 Montage des options:  174.47 Kb  picstar_pcb_options1.1.pdf

F6 MCC18 Cours français: Ecole Nationale Superieure des Mines, St. Etienne

English Documentation:

          E1 Soldering instructions:  picstar_soldering_1.1.pdf  1008.52 KB

          E2 Microdigitaled MPLAB Installation and Tutorial english.

          E3 presentation intallation C18/MPLAB May 2nd 2010 My 1st PICSTAR Program.pdf

          E4 presentation MPLAB add-ones MPLAB tips.pdf

Tools

          T1 HID bootloader PC client for XP+VISTA      HID - Bootloader26a.zip

               Inline HID bootloader for MAC-10.9.2 or later, click  mphidflash version 1.4b

               !!!! ATTENTION, la version 1.3 et 1.4 détruisent le bootloader côté PICSTAR !!!!

          T2  HID bootloader PICSTAR repair file, requires PICKIT2 to install

                     HB= RB3 CPU=48MHz, XT=4Mhz, SW=RB7, BOR=OFF, Motor=off, PWM fixed        

                                                                                              HID Bootloader PIC18F4550  09/12/2013

               this file is required in case the bootloader is corrupted/leds do bot blink anymore.

               this last version also resolves the problem of CCP2 on RB3 that did not work on some

               cards

          T3 MPLABX IDE (development environment)     

          T4 MCC18 C compiler for PIC 18f series    

               you will need to register to download the C18 Compiler,

               Choose the academic or evaluation version, the 60day limit will not handicap

               much your projects ie learning creating C code. Only the optimizer function will be

               reduced.             !!!! Il faut utiliser la version standard evaluation !!!!!!

Programming examples

The following examples have been compiled with MPLAB and C18. They may need some slight changes to run with Compiler XC on MPLAB-X. Importing them with MPLAB-X and the latest version of C18 should not be an issue.

      Simple examples

          X1 New code template and Picstar generic libraries (includes pic ini, def + lkr file):

                   code_template.zip    picstar_library 140213.zip 13/02/2014, 01:19

          X2 My First Project all MPLAB files included 13/02/2014, 01:18 my1stprojectX.zip 

               Setup my first project tutorial update   My 1st PICSTAR Program v1-2012.pdf

          X3 Simple Push Button routine (counts nr of pushes):   PsSimplePushBotton.zip

          X4 Simple PFM driver for Motor control (not interrupt driven):  PsSimplePfm.zip

          X5 Simple PPM driver for Servo control (not interrupt driven):  PsSimpleServo.zip

          X6 Simple Sound driver (Buzzer) sirene, bip, beep(freq,duration_ms):      PsSimpleSound.zip

          X7 Simple Routine to test Motor with encode: work in progress

          X8 Simple RC5 decoder can be used with Microdules  PsSimpleRC5.zip

          X9 Simple ADC example, reading RA0, display on PORTD  PsSimpleADC.zip

          X10 Simple printout on HW UART IO using the Microchip library  PsUart.zip

 

      Interrupt Based Examples

          I1 Interrupt based PFM for Motor Control  PsInt0Pfm.zip

 

      Driver for external modules

          D1 RC5 IR remote control decoder: planned   rc5_decoder.zip

          D2 Interrupt driven routines for Motor, Servo, RC5 IR:

          D3 LCD 2x16 driver test (uses XLCD from Microchip)   PsLCD_2x16.zip

                                                  Example cours picstar:  8.39 Kb  example LCD2x16.zip

          D4 I2C Scanner with 2x16 character display on PortD   i2c_scanner_lcd.zip

          D5 I2C Scanner with Microdule Hex + LED board on PortD+PORTC   i2c_scanner_microdule.zip

          D6 Demo +Driver for CMPS03 compass (i2c):  Compass_CMPS03.zip   

          D7 Demo + Driver for SRF08 Ultrasonic sensor (i2c):  Ultrasonic_SRF08_Microdule.zip

          D8 IR proximity sensor (for didel LIT301 sensor type):  ir_sensor.zip

               Version 2 of IR sensor core, mesures ambiant light+ir reflection  ir_sensor2.zip 

          D9 LCD Nokia 3310/3410 module: LCD3310-3410_driver.zip

          D10 LCD Siemens S65 Color display

          D11 Hope RF12B communication with USB-Dongle "has been removed, need rework"

          D12 MAXIM 1731 temp. Sensor using I2C Hardware  DS1731_driver_hw.zip

          D13 MAXIM DS1731 temp sensor using I2C Software and Nokia 3310 display

                                                                                                                             DS1731_lcd3310.zip

          D14 Philipps BGB203 Bluetooth interface   CDC18F4550_BT_OLIMEX.zip 1.82 Mb 05/12/2013

          D15 1 Wire DS18B20 driver and example  DS18B20_lcd_example 13/07/2015

          ADDITIONAL SOURCE CODE WILL BE POSTED IN THE FORUM WITH ACCESS

          FOR REGISTERED USERS

 

     SOLUTIONS

          S1  Robot using interrupt, pfm and ir-sensor routine  Ps_IRsensor_ROBOT_v1.0.zip

                Robot Block schematic  PICSTAR_Z-ROBOT.pdf  also on youtube, check for zcontrol1

 

    USB related

          U1 CDC serial emulator template for PICSTAR: CDC18F4550_Serial_Interface.zip MPLABX

 

     REFERENCES

          R1  microchip C18 getting started pdf

          R2   microchip mplab quick start guide pdf

          R3   microchip 18f4550 datasheet

          R4   microchip C18 compiler library

          R5   ANSI C Reference Card

PIC BASIC PRO

          B1 Simple LED blinking example  PICSTAR_BASIC_led_blinking.zip

CALM18

          C1 Simple LED blinking example  PsSimpleLED_blinkingCALM.zip

Qestions? suggestions ?, please send a message to Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser..