MicroController Pros Home Page
My Account  Cart Contents  Checkout  
  Store » Microchip PIC » Boards » Add-On Boards » DB66DEV1 My Account  |  Cart Contents  |  Checkout   
Quick Find
 
Enter keywords to find the product you are looking for in the Quick Find field above

or use
Advanced Search
Categories
Accessory Boards->
8051->
ADI Blackfin
Arduino->
ARM->
Atmel AVR->
Cypress PSoC
Freescale->
FTDI->
Locktronics
Microchip PIC->
  Boards->
    All Boards
    BASIC Stamp
    dsPIC
    PIC24
    PIC32
    08/14-pin PIC Boards
    18-pin PIC Boards
    28-pin PIC Boards
    40/44-pin PIC Boards
    64-pin PIC Boards
    80-pin PIC Boards
    CAN Boards
    Ethernet Boards
    LCD Boards
    RS232 Boards
    RS485 Boards
    SD/MMC Card
    UEXT
    USB Boards
    Wireless
    Add-On Boards
  Books
  Chips
  In-Circuit Debuggers
  Programmers->
  Software
  Starter & Evaluation Kits
  Tutorials
MIPS
Parallax->
Renesas
Silicon Labs
ST Microelectronics->
Texas Instruments->
Tibbo->
Books->
Displays->
E-Blocks->
EEPROM/EPROM/FLASH
Embedded Ethernet->
Embedded Software->
I/O Modules->
Parts & Components->
Pick & Place Tools
Programmable Logic (PLD)
Prototype PCBs->
Robotics
ROM/Flash Emulators
Test & Measurement->
Tutorial Software
Universal Programmers->
Wireless->
Information
Intro to Embedded Tools
Embedded News Digest
Useful Resources
Shipping & Returns
Warranty & Liability
Privacy Notice
Conditions of Use
Contact Us
Development Daughter Board for SBC66: Buttons, Pot, Buzzer, GPIO US$14.95

DB66DEV1
Development Daughter Board for SBC66: Buttons, Pot, Buzzer, GPIO


The DB66DEV1 is a development daughter board for the Netcruzer SBC66 line of Single-Board Computers. It plugs into the daughterboard connector of an SBC66 board. It provides common inputs and outputs required for prototyping and development.

Netcruzer Development Daughter Board Features

  • 4 Tactile buttons connected to SBC66 ports Y0, Y1, Y2 and Y3
  • 8 Red LEDs connected to SBC66 ports X6, X7, X8, X9, T4, T5, T6 and T7
  • Potentiometer connected to SBC66 port X3
  • Buzzer connected to SBC66 port Y4
  • Three 23-pin headers (standard 2.54mm) connected to power
  • One 23-pin header (standard 2.54mm) connected to I2C port and power
  • 114-pin header (standard 2.54mm) connected to LED ports and power (can be used as 8 digital input or output ports)
  • 14 pin header (standard 2.54mm) connected to SBC66 ports X1, X2, X4 and X5 (can be used as analog inputs or general-purpose I/Os)
  • 14-pin header (standard 2.54mm) connected to SBC66 ports Y6, Y7, Y8 and Y9 (can be used as general-purpose I/Os or reconfigurable pins e.g. PWM, SPI, UART, etc.)

Getting Started

The easiest way to get started with the DB66DEV1 board is to modify one of these demo projects. The example programs are located in the ../src/demos folder of the Netcruzer Download. All code is written in C, and can be edited, programmed and debugged with the free MPLAB X IDE, and compiled with the free MPLAB XC16 C Compiler. Then you can upload the compiled code to your SBC66 board.

Netcruzer Development Daughter Board Hardware Overview

LEDs

The board has eight LEDs that are connected to SBC66 ports X6, X7, X8, X9, T4, T5, T6 and T7. Controlling an LED is very easy, and requires the port to be configured as an output, after which it can be set to 1 to turn it on, or 0 to turn it off. The following code shows an example of turning on LED 1:

DIR_X6 = OUTPUT_PIN;	//Configure port X6 (LED 1) as an output
LAT_X6 = 1; //Turn LED 1 on

Buttons

The board has four buttons that are connected to SBC66 ports Y0, Y1, Y2 and Y3. The buttons don't have any pull-up or pull-down resistors, and the port pull-up resistors on the SBC66 ports have to be used. The following examples show how to read the button connected to port Y0:

DIR_Y0 = INPUT_PIN;     //Configure port Y0 (Button 1) as an input
PULLUP_Y0 = 1; //Enable Pull-Up resistor on port Y0

//Do something if button 1 is pressed (buttons are active low = 0 when pressed)
if (PIN_Y0 == 0) {
.... Do Something ....
}

Buzzer (PWM Output)

Port Y4 is connected to a buzzer via a driver circuit. Setting this port to 1 will activate the buzzer. Port Y4 is also connected to a relocatable port pin for all new SBC66 boards (not the case for the SBC66EC Revision 1 and SBC66ECL Revision 1). For these boards, port Y4 can be configured to be a PWM output, and put out a signal at a given frequency. The loudness of the buzzer can be controlled by varying the duty cycle of the PWM. See the demo project for details on how to do this.

The following examples show how to configure port Y4 as a PWM output, and to activate the buzzer with a 1kHz tone:

//Configure Y4 (Buzzer on DB66DEV1) as PWM channel 3
pwm3OpenDefault(PPS_OUT_Y4, 0);

//Output a 1kHz tone at 0.1 duty cycle. (use 0.1 so buzzer is not too loud, 0.5 is maximum volume)
pwmSetFreqAndDutyCycle(3, 1000, 0.1);

Potentiometer (Analog Input)

Port X3 is connected to a potentiometer that provides an output of 0V to 3.3V. This port can be configured as an analog input to read the value of the potentiometer. The following examples show how to test if the analog input has a value of 2.0V or more:

adcOpen(ADC_OPEN_X3);     //Configure X3 as ADC channel

//Test if analog input is above 2.0V (2000mV)
if (adcGetChanMv(ADC_CH_X3) > 2000) {
.... Do Something ....
}

Pin Headers

There are multiple pin headers with power, Analog Inputs, Relocatable Ports (PWM, timer, SPI, UART, etc.) and an I2C port. They are all made available via standard 2.54mm pin headers. The Relocatable Ports can be configured as PWM output, SPI bus, TTL serial port (UART) or many other possibilities.

Download DB66DEV1 User Manual and Schematics


This product was added to our catalog on Thursday 21 November, 2013.

Reviews

Shopping Cart more
0 items
What's New? more
Flowcode 7 for PIC, AVR, Arduino, ARM - Academic 10 User
Flowcode 7 for PIC, AVR, Arduino, ARM - Academic 10 User
US$769.00
Specials more
GSM/GPRS Module for Arduino
GSM/GPRS Module for Arduino
US$103.00
US$89.00
Tell A Friend
 

Tell someone you know about this product.
Notifications more
NotificationsNotify me of updates to Development Daughter Board for SBC66: Buttons, Pot, Buzzer, GPIO
Reviews more
Write ReviewWrite a review on this product!
  Friday 24 March, 2017   List of all our Products

Copyright © 2003-2017 MicroController Pros LLC
Powered by osCommerce