background image

 

 

 

 

 

 

 

 

 

 

QUICK START GUIDE 

Grid-EYE Evaluation Kit 

User Manual 

Grid-EYE Evaluation Kit 

Summary of Contents for Grid-EYE

Page 1: ...QUICK START GUIDE Grid EYE Evaluation Kit User Manual Grid EYE Evaluation Kit ...

Page 2: ... J17 10 3 1 3 Serial Wire Debug port for PAN1740 Header definition J1 10 3 1 4 Arduino Interfaces J2 J3 J4 and J5 11 3 1 5 Arduino Analog I O A0 A5 pin definitions J2 12 3 1 6 Arduino Digital I O D0 D7 pin definition J3 12 3 1 7 Arduino Power port pin definition J4 13 3 1 8 Arduino Digital I O D8 D15 pin definition J5 13 3 1 9 Other Jumpers Definition 14 4 Development with Evaluation Kit 15 4 1 Fi...

Page 3: ...A 28 4 3 2 Use Serial interface to update PAN1740 30 5 Grid EYE Demonstration Software for PC 35 5 1 Preparation 35 5 1 1 Jumper Setting 35 5 2 Demonstration 36 5 2 1 Independent Mode Demonstration 36 5 2 2 Arduino Mode Demonstration 40 6 Appendix 43 6 1 Install USB Driver for ATSAMD21G18A 43 7 ESD precautions and proper handling procedures 46 8 Compliance Information 47 ...

Page 4: ...Definition BT Bluetooth refers to PAN1740 CDC Communications Device Class HW Hardware I2C IIC I 2 C Inter Integrated Circuit I O Input Output IoT Internet of Things IR Infrared JTAG Joint Test Action Group MCU Microcontroller PC Personal Computer SW Software SWD Serial Wire Debug UART Universal Asynchronous Receive Transmit USB Universal Serial Bus ...

Page 5: ...le and a microcontroller on one PCB By combining its new IR sensor technology with Bluetooth technology and software for IR detection of people and objects on one board Panasonic enables customers to develop rapid prototypes and quickly build their own wireless sensor Internet of Things applications To make it simpler and easier for the user Panasonic has been flexible in the development of this e...

Page 6: ...o a PC and smartphone via USB and Bluetooth respectively In this mode the microcontroller ATSAMD21G18 acts as USB CDC device and provides a communication channel between Arduino mother board and PC In both of the two modes the Bluetooth module provides a communication channel between the microcontroller or the Arduino mother board and smartphone 2 2 Evaluation Kit Component Details Grid EYE Sensor...

Page 7: ... Specification Value Power voltage 3 3V 10 5V 10 Current consumption 4 5mA normal 0 8mA standby 0 2mA sleep View angle 60 degrees x y Absolute temperature accuracy High gain 2 5 o C typ Low gain 3 0ºC typ Noise Equivalent Temperature Difference 0 5 C 10Hz Frame rate selectable 1 frame sec or 10 frames sec External interface I 2 C 12bit Operation mode Normal Standby Sleep Selectable Number of Pixel...

Page 8: ...851 Low Gain AMG8852 The sensors are packaged in a 8mm x 11 6mm x 4 3mm SMD reflow mountable can package The packaging of the sensor is moisture proof comparable to MSL level 3 2 2 2 ATSAMD21 SMART ARM Based Microcontroller The Atmel SMART SAM D21 is a series of low power microcontrollers using the 32 bit ARM Cortex M0 processor with identical peripheral modules hex compatible code identical linea...

Page 9: ...Bluetooth V4 0 standard It includes dedicated hardware for the Link Layer implementation of Bluetooth Smart and interface controllers for enhanced connectivity capabilities Due to its high performance Panasonic chose to use this for the evaluation kit Basic specifications of this BT module can be seen below Item Description CPU Core Cortex M0 CPU frequency 16MHz or 32 768KHz Power Consumption Max ...

Page 10: ...ers and interfaces on the evaluation kit 3 1 1 USB interface pin definition J16 The Micro USB interface on the evaluation kit is used for power supply and communication with the external PC The definition of USB pins is defined below in the table Pin Number Signal Function 1 VBUS 5V 2 DM USB Data 3 DP USB Data 4 ID USB ID 5 GND GND J2 Arduino header J4 Arduino header J4 Arduino header J5 Arduino h...

Page 11: ...d 10 pin JTAG Debug Download Interface are shown below in the table Pin Number Signal Function 1 VDD3 3 3 3V 2 SWDIO SW debug data signal for ATSAMD21 3 GND GND 4 SWCLK SW debug clock signal for ATSAMD21 5 GND GND 6 NC NC 7 GND GND 8 NC NC 9 GND GND 10 RESET Reset ATSAMD21 MCU GND Ground NC Not Connected 3 1 3 Serial Wire Debug port for PAN1740 Header definition J1 Standard 10 pin JTAG Debug Downl...

Page 12: ...11 User Manual Grid EYE Evaluation Kit 3 1 4 Arduino Interfaces J2 J3 J4 and J5 The following schematics define the pins for each header on the evaluation kit Schematics ...

Page 13: ...ignal Function 1 NC NC 2 NC NC 3 NC NC 4 NC NC 5 NC NC 6 NC NC 3 1 6 Arduino Digital I O D0 D7 pin definition J3 The following table shows the pin definition of the J3 header Pin Number Signal Function 1 TX D0 for Arduino TX pin for PAN1740 UART 2 RX D1 for Arduino RX pin for PAN1740 UART 3 D2 D2 for Arduino 4 D3 D3 for Arduino 5 UART1_TX D4 for Arduino TX pin for ATSAMD21 UART1 6 UART1_RX D5 for ...

Page 14: ...nput power 6 GND GND 7 GND GND 8 NC NC 3 1 8 Arduino Digital I O D8 D15 pin definition J5 The following table shows the pin definition of the J5 header Pin Number Signal Function 1 UART1_CTS D8 for Arduino 2 UART1_RTS D9 for Arduino 3 NC D10 for Arduino 4 NC D11 for Arduino 5 NC D12 for Arduino 6 NC D13 for Arduino 7 GND GND 8 NC AREF for Arduino 9 D14 D14 for Arduino SDA pin for ATSAMD21 I2 C 10 ...

Page 15: ...er from Arduino board J11 3 3V VDD3 3 Select 3 3V power from Arduino board J14 D6 RESET Select to connect D6 for Arduino with Reset pin for PAN1740 J18 GND PA15 Select to connect PA15 for ATSAMD21 to ground Jumper settings 1 J7 and J10 are used to isolate the UART port for the ATSAMD21 microcontroller when programming the Bluetooth module PAN1740 or engage the board into Arduino mode 2 J9 and J12 ...

Page 16: ...modes This section explains this in detail 4 1 Firmware architecture As explained earlier there are two modes that the board can be used in Independent mode and Arduino mode 4 1 1 Independent Mode The following block diagram illustrates the independent mode of operation for the evaluation kit utilizing the standard communications protocols Grid EYE sensor Smart Phone PAN1740 ATSAMD21G18A PC US B I...

Page 17: ...Independent mode is confirmed o If invalid Arduino mode is confirmed Delay of 100ms is applied for periodic inspection of I2 C This allows the microcontroller to determine mode of operation Parse the command from PC such as the command of setting the sampling frequency Measurement read data from the sensor and send it to PC and smartphone Updating frequency if the sampling frequency is updated the...

Page 18: ...2 Arduino Mode The following block diagram illustrates Arduino mode of operation for the evaluation kit with standard communication protocols Grid EYE sensor Smartphone PAN1740 ATSAMD21G18A on Eval board PC USB I2C U A R T BTLE ARDUINO DUE UART ...

Page 19: ... flow diagram is shown below Flow chart steps explained Parse the command from PC such as the command of setting the sampling frequency Measurement Read data from the sensor and send it to PC and smartphone If the sampling frequency is updated then reset the sampling frequency Delay applied in the loop determined by the sampling frequency ...

Page 20: ...cables 3 TTL Serial to USB module only to program Bluetooth module PAN 1740 4 J Link Software Users need to install the following software according to the target they develop Software Description Download link Atmel Studio Develop the code for ATSAMD21 http www atmel com tools ATMELSTUDIO aspx SAM BA Program ATSAMD21 if JTAG is not available http www atmel com tools ATMELSAM BAIN SYSTEMPROGRAMMER...

Page 21: ... link and or you want to download the program through USB interface with SAM BA the bootloader must be downloaded into the MCU before downloading application Thus you need to modify the linker script before building the project to tell the linker how to allocate the address of the bootloader and Application Linker script is located in the following path SAMD21_USB_DUART_DEMO src ASF sam0 utils lin...

Page 22: ...detection and human body detection functions via the serial debug assistant 4 2 3 1 Introduction to API Lib Grid EYE API Lib is divided into 3 layers users can select API functions from these layers according to the requirement API Lv1 APIs from this layer implement Grid EYE data acquisition transformation of temperature value and data format API Lv2 APIs from this layer implement filtering of ori...

Page 23: ...s for Arduino DUE board If users have access to other Arduino boards then some porting work will need to be done To run the demonstration two libraries GE_SoftUart and Grid EYE we provided need to be copied to the Arduino libraries directory arduino nightly windows arduino nightly libraries Open the ino file and select the corresponding target board before you start the work ...

Page 24: ...23 User Manual Grid EYE Evaluation Kit Compile the code and upload it on the board ...

Page 25: ...24 User Manual Grid EYE Evaluation Kit ...

Page 26: ...r com Block diagram as follows The BLUE stack and application are based on RivieraWaves Kernel OS The Applications part is our application program The BLE stack part is provided as binary code which was burnt onto the chip Dialog Semiconductor does not provide open access to its BLE protocol stack source code but users can apply API s provided to develop their applications To develop the Bluetooth...

Page 27: ...26 User Manual Grid EYE Evaluation Kit Below is the directory for the corresponding profile src ip ble hl src profiles src modules app src app_profiles ...

Page 28: ...27 User Manual Grid EYE Evaluation Kit Add related file to project then un comment corresponding macro definition in da14580_config h and write your app code ...

Page 29: ... ON ON ON ON ON 2 Open device manager to check whether there is USB CDC virtual COM You should see the Bossa Program Port You need to remember the COM id that will be used in the following steps 3 Open SAM BA select the COM id SAMD21_xplained_pro and then click Connect Configure the program address select the bin file project path given below and then click Send File Grid EYE Source ATSAMD21G18A A...

Page 30: ...29 User Manual Grid EYE Evaluation Kit Program process ...

Page 31: ...ate ATSAMD21G18A finished successfully 4 3 2 Use Serial interface to update PAN1740 Tools and Software Download tools USB to serial module Software SmartSnippets How to program 1 Connect USB to PC set the jumpers as following connect the TX pin on Grid EYE sensor board with RX pin of USB to serial module and connect the RX pin on Grid EYE sensor board with TX pin of USB to serial module Jumper Num...

Page 32: ...31 User Manual Grid EYE Evaluation Kit 2 Create a download project select UART mode corresponding COM port and chip version 3 Select SPI FLASH Programmer and then select the file to download ...

Page 33: ...000 then click Connect button After clicking Connect button the software will remind you to reset the Bluetooth module so we need to press reset button SW2 to reset the Bluetooth module 5 If the connection is successful there will be a prompt message in the Log window Once you see this click Read 32KB button ...

Page 34: ...33 User Manual Grid EYE Evaluation Kit 6 Then click Erase button after the memory is read 7 After erase has been finished click Burn button ...

Page 35: ...Grid EYE Evaluation Kit 8 A pop up window comes out after you click Burn select Yes 9 You will see Memory burning completed successfully info if everything goes well It means that Update PAN1740 finished successfully ...

Page 36: ... 1 Preparation To run this demonstration you need to Install the USB driver for Grid Eye sensor board Install the LabVIEW program to show the temperature image Install the DSPS application on mobile phone to connect the Bluetooth module and show the received data 5 1 1 Jumper Setting Operation mode can be switched through open and close the following jumper Jumper Number J12 J9 J7 J10 J18 Independ...

Page 37: ...oes not blink at this frequency it indicates that USB does not work normally please check the USB driver and USB cable 2 Open device manager to check the COM id for USB virtual COM If the COM port is not detected then reinstall the USB driver from http eu industrial panasonic com grideye evalkit under Software Source Code for Download USB Driver ATSAMD21G18A ATSAMD21G18A_USB_DUART_DEMO SAMD21_USB_...

Page 38: ...he supplied folder with appropriate 32bit or 64bit versions 4 Now select the appropriate COM port shown as COM41 in the image below and click Open COM button to view the data fed to the PC from the Grid EYE sensor Temperature data detected Temperature values can be observed on the LabVIEW 8 x 8 matrix window Colours for the heat map can be set between 20 C and 100 C The second tab is showing an in...

Page 39: ...38 User Manual Grid EYE Evaluation Kit Image after interpolation and the original image Image after smoothing Original image ...

Page 40: ...39 User Manual Grid EYE Evaluation Kit 5 Open the DSPS Panasonic app on the smartphone and connect with Grid EYE sensor view the data sent over Bluetooth ...

Page 41: ...id EYE Evaluation Kit 5 2 2 Arduino Mode Demonstration 1 Plug the Grid EYE sensor board to Arduino mother board set the jumpers and connect the USB interface 2 Open device manager to check the COM id for USB virtual COM ...

Page 42: ...41 User Manual Grid EYE Evaluation Kit 3 Open PC software select the corresponding COM port 4 Open Com to view the output Temperature data detected ...

Page 43: ...YE Evaluation Kit Image after interpolation and the original image Image after interpolation Original image 5 Open the DSPS Panasonic app on the smartphone and connect with Grid EYE sensor view the data sent over Bluetooth ...

Page 44: ...YE Evaluation Kit 6 Appendix 6 1 Install USB Driver for ATSAMD21G18A 1 Open Device manager if you haven t installed the USB Driver you will find the CDC Virtual Com in Other devices tag with a yellow exclamation mark on it ...

Page 45: ...User Manual Grid EYE Evaluation Kit 2 Right click the device name then choose Update Driver Software supplied in the USB driver folder 3 Choose Browse my computer for driver software select the driver path ...

Page 46: ...45 User Manual Grid EYE Evaluation Kit 4 Choose Install this driver software anyway then wait for the complement of installation 5 You will see the following after install is finished ...

Page 47: ...unded metal object such as the system unit unpainted metal chassis If possible use antistatic devices such as wrist straps and floor mats Always hold an evaluation board by its edges Avoid touching the contacts and components on the board Take care when connecting or disconnecting cables A damaged cable can cause a short in the electrical circuit Prevent damage to the connectors by aligning connec...

Page 48: ...in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which...

Reviews: