Hardware/PICEBS/Welcome

(Difference between revisions)
Jump to: navigation, search
Line 59: Line 59:
 
** [https://hevslabs:hevslabs@repos.hevs.ch/svn/picebs2-labs/trunk/incbin.exe incbin.exe -> Transform any file in a 'C' table of characters (for bitmaps, ...)]
 
** [https://hevslabs:hevslabs@repos.hevs.ch/svn/picebs2-labs/trunk/incbin.exe incbin.exe -> Transform any file in a 'C' table of characters (for bitmaps, ...)]
 
** [https://hevslabs:hevslabs@repos.hevs.ch/svn/picebs2-labs/trunk/TheDotFactory.exe TheDotFactory.exe -> Transform any font on your PC in a 'C' table of characters for graphical use]
 
** [https://hevslabs:hevslabs@repos.hevs.ch/svn/picebs2-labs/trunk/TheDotFactory.exe TheDotFactory.exe -> Transform any font on your PC in a 'C' table of characters for graphical use]
* Tips & tricks
+
=== Tips & tricks ===
=== CPU speed control===
+
* CPU speed control
 
<pre>
 
<pre>
 
// to work with maximum CPU speed (64MHz) insert following code at start.
 
// to work with maximum CPU speed (64MHz) insert following code at start.
Line 67: Line 67:
 
   ...
 
   ...
 
</pre>
 
</pre>
Change one bit on a port
+
* Change one bit on a port
 
<pre>
 
<pre>
 
// to change one bit on a port, use LATx and not PORTx
 
// to change one bit on a port, use LATx and not PORTx

Revision as of 09:58, 14 July 2015

Contents

Welcome to the PICEBS2 wiki

If you don't know what the PICEBS2 project is, have a look a the presentation.

Presentation

PICEBS2 (hardware details) is the name of a small embedded computer board targeted at teaching embedded system programming. As it's name suggests, it's the second iteration of a successful family of Microchip PIC board, this time focused on a stronger system.

As a student, you can loan a board during your Hes-so//Valais studing process ;-) Just ask the laboratory responsible Pascal Sartoretti (sap).

PICEBS2.jpg

We, the PICEBS2 team, provide a comprehensive solution for

  • Practical work for HEI courses Information systems
  • All kind of project featuring a low-sized micro-controller.


What can be done with the PICEBS2 ?

The board is powerful enough to run applications with:

  • LCD and touch screen interface
  • Serial port usage (UART)
  • CAN interface
  • ...
  • This board includes the PICKIT3 for programming and debugging

Hardware

(hardware details).

Here is a list of the main PICEBS2's characteristics

  • CPU PIC18F87K22
    • High range PIC18 family with 128kB Flash & 4kB RAM
    • RTC
    • 12 bits ADC
    • 11 timers
    • UART, SPI, I2C
    • ...
  • Onboard PICKIT3 debugger
    • Compatible with MPLABX
  • LCD Display
    • 320x240
    • Touch screen
  • Networking and communication
    • CAN
    • RS232
    • PS2 keyboard
    • Olimex UEXT

Software

Tips & tricks

  • CPU speed control
// to work with maximum CPU speed (64MHz) insert following code at start.
   PLLEN = 1;            // activate PLL x4
   OSCCON = 0b01110000;  // for 64MHz cpu clock (default is 8MHz)
   ...
  • Change one bit on a port
// to change one bit on a port, use LATx and not PORTx
   LATH2 = 1;            // turn led on for example
   ...

Bugs, issues, questions and comments

Feel free to contact the PICEBS2 team when you encounter a problem. Don't forget to have a look at the troubleshooting section ;)

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox