2014年10月22日星期三

LE-1600

Keyword:
       INHAOS , Arduino , Smart Car , UGV , MassDuino , LE-1600


l  Introduce

The LE-1600 is a 16-way LED expansion board based on MassDuino , the main chip is MD-8088. MD-8088 integrates a wealth of digital peripherals and analog peripherals, it offers great flexibility and play space for the users of the product design. LE -1600 using SPI communication with main processor, its benefits can save a lot of ports. If you have a need, in this way can also extend other modules from the control board, such as the sensor module , ADC acquisition module and so on. MD-8088 chip is editable in the Arduino environment, so we can use a USB to serial cable for LE-1600 for upgrade firmware. The module is high performance low power, low cost , and it support secondary development.




l  Features

Ø  Can be program in the Arduino environment, very easy to use
Ø  Support secondary development
Ø  8K bytes of in-system programmable FLASH, innovative data encryption technology  
Ø  504 bytes of data FLASH, support byte read (simulate E2PROM)
Ø  1K SRAM bytes on-chip
Ø  Programmable synchronous / asynchronous USART
Ø  Can work in master / slave mode SPI Serial Interface
Ø  I2C -compatible two-wire serial communication interface protocols , supporting master and slave device mode
Ø  32 8it general purpose working registers
Ø  Support the expansion of the chip in-circuit debugging functions
Ø  By SWD interface programming for FLASH, EEPROM, system configuration area , the ISP function
Ø  Up to 30 programmable I / O
Ø  High-performance, low -power and low-cost







l  SPI communication ports

  When we use the LE-1600, we can use the DuPong cable to connect it to the master chip SPI communication port.



l  Pin Description




l  SPI Protocol
The LE-1600 was working in SPI Slave mode , after power on , the chip will wait for command form SPI Master ,then implement it if the it received valid command.

The communication protocol as below:



In the master side , the SPI initial code as below:



LE-1600 supported command as below:


l  LED Connection

Below figure show the connection of the LED and LE-1600 , in most application the board can be directly driver a LED with 5V power. if user need to driver a bigger power LED, you can add a power driver for the LED and control by LE-1600.




l  Arduino Source Code
Two code will coming with this board:
1,  LE_1600.rar
    This is arduino source code for LE-1600 , to development the LE-1600 , user need to install MassDuino driver, and write code in arduino , and upload sketch via USB2SERIAL light cable, the relational link as below:
         MassDuino support package:  http://www.inhaos.com/downcount.php?download_id=139

2, LE_1600_UNO_MASTER.rar
        This is arduino source code for UNO , the UNO will working with LE-1600, this code demo how to use LE-1600 in Arduino.
All code can be download from www.inhaos.com


l  Application:
n  Extend IO and save code for UNO to drive many leds
n  Arduino car / robotics
n  Color LED drive
n  State indication
n  Toy

没有评论:

发表评论