ST STM32 User Manual

ST STM32 User Manual

Based camera with zigbee connectivity
Hide thumbs Also See for STM32:

Advertisement

Quick Links

UM0908
User manual
®
STM32-based camera with ZigBee
connectivity
Introduction
This user manual describes the function of hardware boards on the "STM32 based camera
®
with ZigBee
connectivity" system (henceforth the system). The system is designed as two
separate hardware units. One of the hardware units (called the "camera unit") consists of a
camera and ZigBee module interfaced with an STM32 microcontroller, while the other unit
(called the "monitoring unit") consists of a TFT and ZigBee module interfaced with an
STM32 for viewing/monitoring jpeg images.
The STM32 microcontroller in the camera unit captures jpeg images from the camera (using
DMA) and transfers them onto the ZigBee network using an SPI controlled SN260 module.
The images are transferred into jpeg format which helps to save transfer time on the ZigBee
network. The camera unit can also record these images in the onboard memory (microSD
card) using a FAT file system. The user can record these images at the click of a button or
the present system can be expanded to record the images once motion is detected by the
camera (using a PIR sensor).
The monitoring unit scans for jpeg images on the ZigBee network. Once the images are
available on the network they are captured. These jpeg images are then converted into bmp
format for display on the onboard TFT. Both units can be powered either by battery or
through a USB. The system can be configured to go into standby mode as per user
configuration. This feature helps in reducing the power consumption of the system. With
these features, the system is useful for applications where certain areas need to be
monitored wirelessly, e.g. door intercoms and baby monitoring systems.
July 2010
Doc ID 17087 Rev 1
1/33
www.st.com
www.BDTIC.com/ST

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STM32

  • Page 1 ® STM32-based camera with ZigBee connectivity Introduction This user manual describes the function of hardware boards on the “STM32 based camera ® with ZigBee connectivity” system (henceforth the system). The system is designed as two separate hardware units. One of the hardware units (called the “camera unit”) consists of a camera and ZigBee module interfaced with an STM32 microcontroller, while the other unit (called the “monitoring unit”) consists of a TFT and ZigBee module interfaced with an...
  • Page 2: Table Of Contents

    Revision history ......... . . 32 2/33 Doc ID 17087 Rev 1 www.BDTIC.com/ST...
  • Page 3 Touch schematic............25 Doc ID 17087 Rev 1 3/33 www.BDTIC.com/ST...
  • Page 4: Getting Started

    Getting started UM0908 Getting started Package The STM32-based camera with a ZigBee connectivity package (STEVAL-IFV001V1) includes the following items: ● Hardware content – Demonstration board fitted with camera, micro SD card, and ZigBee module (also called camera unit). ● Firmware –...
  • Page 5: Setting The Monitoring Unit

    This unit needs to be powered up after powering the camera unit (as the camera unit acts as the ZigBee coordinator). Figure 2. Monitoring unit Doc ID 17087 Rev 1 5/33 www.BDTIC.com/ST...
  • Page 6: Hardware Layout

    LQFP64 package. The hardware layout of the camera unit is shown in Figure 3. For the layout of the monitoring unit, please refer to the UM0874 user manual. Figure 3. STEVAL-IFV001V1 front view Figure 4. STEVAL-IFV001V1 rear view 6/33 Doc ID 17087 Rev 1 www.BDTIC.com/ST...
  • Page 7: System Overview

    The system works as a wireless camera using ZigBee communication. The system has two units; one is the “camera unit” while the other is the “monitoring unit”. Both units are based on the STM32 microcontroller. Figure 5. System architecture In the camera unit, the STM32 microcontroller is interfaced to the camera through GPIOs.
  • Page 8 The other unit in the system, called the monitoring unit, is capable of capturing images from the ZigBee network using the SN260 module. The STM32 microcontroller in this unit runs a jpeg decompression algorithm which converts the captured jpeg images into raw bmp format.
  • Page 9: Running The System

    FAT file system which can be seen on the desktop machine using a card reader. This feature is useful for applications where a picture needs to be captured and saved in local memory at some external trigger (e.g. trigger from PIR sensor). Doc ID 17087 Rev 1 9/33 www.BDTIC.com/ST...
  • Page 10: Schematics Of Steval-Ifv001V1

    Schematics of STEVAL-IFV001V1 UM0908 Schematics of STEVAL-IFV001V1 Camera unit Figure 6. Microcontroller schematic 10/33 Doc ID 17087 Rev 1 www.BDTIC.com/ST...
  • Page 11: Figure 7. Connector Schematic

    UM0908 Schematics of STEVAL-IFV001V1 Figure 7. Connector schematic Doc ID 17087 Rev 1 11/33 www.BDTIC.com/ST...
  • Page 12: Figure 8. Camera Zigbee Schematic

    Schematics of STEVAL-IFV001V1 UM0908 Figure 8. Camera ZigBee schematic 12/33 Doc ID 17087 Rev 1 www.BDTIC.com/ST...
  • Page 13: Figure 9. Battery Schematic

    UM0908 Schematics of STEVAL-IFV001V1 Figure 9. Battery schematic Doc ID 17087 Rev 1 13/33 www.BDTIC.com/ST...
  • Page 14: Bill Of Material Of Steval-Ifv001V1

    USB protection IC SOT666 STMicroelectronics USBLC6-2P6 STMicroelectronics USBLC6-2P6 Reset supervisor IC SOT23-3 STMicroelectronics STM1001MWX6F STMicroelectronics STM1001MWX6F STM32 Performance Line 64-pin, 32 K LQFP64 STMicroelectronics STM32F103RET6 STMicroelectronics STM32F103RET6 Flash, 20 K RAM 3.3 V voltage SOT223 STMicroelectronics LD1117ADT33TR STMicroelectronics LD1117ADT33TR regulator 2.8 V regulator...
  • Page 15 ERJ-2GEJ104X Digi-Key P100KJCT-ND 1/10 W (VA) V 200 kΩ resistance Panasonic - ECG 403 SMD ERJ-2GEJ204X Digi-Key P200KJCT-ND 1/10 W (VA) V 1 MΩ resistance 1/ Panasonic - ECG R35,R39 0402 SMD ERJ-2GEJ105X Digi-Key P1.0MJCT-ND 10 W (VA) V www.BDTIC.com/ST...
  • Page 16 (VA) V Tantalum capacitors Rohm C2, C7 0805 SMD TCP0J475M8R Digi-Key 511-1443-1-ND 4.7 µF 6.3 V 20 % R semiconductor C10, C16, Tantalum capacitors Rohm C26, C27, 0805 SMD TCP0J106M8R Digi-Key 511-1447-1-ND 10 µF 6.3 V 20 % R semiconductor www.BDTIC.com/ST...
  • Page 17 Switch, micro detect LEDs SW1, SW2 MCFTE-2C-V MULTICOMP Farnell 1316984 right angle Slide switch, SPDT, 01-10290-01 Farnell 674357 horizontal Box header, Crystals right angle, 20 JTAG CONN way, 2x10 pin, Molex 70246-1001 Mouser 538-70246-1001 oscillators 2.54 mm x 2.54 mm Pitch www.BDTIC.com/ST...
  • Page 18 Digi-Key S9014E-50-ND solutions oscillators GOLD SMD USB USB mini-B type MUSB-05-S-B- Mini-B type SAMTEC connector SM-A connector CONN Header 2-pin battery 2POS, 2.54 SAMTEC TSW-106-07-T-S Digi-Key SAM1035-06-ND connector mm pitch Switches CLE9124- U3 (Socket) Camera socket SMK corporation 1501FSZ www.BDTIC.com/ST...
  • Page 19: Schematics Of The Steval-Ccm003V1

    UM0908 Schematics of the STEVAL-CCM003V1 Schematics of the STEVAL-CCM003V1 Figure 10. Microcontroller schematic Doc ID 17087 Rev 1 19/33 www.BDTIC.com/ST...
  • Page 20: Figure 11. Bluetooth Schematic

    Schematics of the STEVAL-CCM003V1 UM0908 Figure 11. Bluetooth schematic 20/33 Doc ID 17087 Rev 1 www.BDTIC.com/ST...
  • Page 21: Figure 12. Tft, Touch, Temperature And Jtag Schematics

    UM0908 Schematics of the STEVAL-CCM003V1 Figure 12. TFT, touch, temperature and JTAG schematics Doc ID 17087 Rev 1 21/33 www.BDTIC.com/ST...
  • Page 22: Figure 13. Micro Sd And Zigbee Schematics

    Schematics of the STEVAL-CCM003V1 UM0908 Figure 13. Micro SD and ZigBee schematics 22/33 Doc ID 17087 Rev 1 www.BDTIC.com/ST...
  • Page 23: Figure 14. Power Schematic

    UM0908 Schematics of the STEVAL-CCM003V1 Figure 14. Power schematic Doc ID 17087 Rev 1 23/33 www.BDTIC.com/ST...
  • Page 24: Figure 15. Mems And Usb Schematics

    Schematics of the STEVAL-CCM003V1 UM0908 Figure 15. MEMS and USB schematics 24/33 Doc ID 17087 Rev 1 www.BDTIC.com/ST...
  • Page 25: Figure 16. Touch Schematic

    UM0908 Schematics of the STEVAL-CCM003V1 Figure 16. Touch schematic Doc ID 17087 Rev 1 25/33 www.BDTIC.com/ST...
  • Page 26: Bill Of Material Of The Steval-Ccm003V1

    USBLC6_2P6 very low capacitance ESD SOT23-6L STMicroelectronics USBLC6-2P6 protection for USB 3-axis MEMS LGA16 (3x3x1) STMicroelectronics LIS331DLH ST devices Microcontroller, ARM 32- bit Cortex™-M3 CPU, 100-pin LQPF STMicroelectronics STM32F103VET6 512 K flash, 64 K RAM U9 (not mounted) Reset Supervisor SOT23...
  • Page 27 ELECTRONICS through hole Connectors Connector 10-pin for J1(not mounted) SAMTEC FTSH-105-01-F-DV-K jumpers and ZigBee upgrade switches Box header, straight 20way, JTAG connector 2x10pin, 2.54 mm Protectron P9603-20-15-1 x 2.54 mm pitch, through hole Proconn µSD connector MSPN09-D0-1002 technology www.BDTIC.com/ST...
  • Page 28 HU2032-LF Mouser 614-HU2032-LF 2 pin header,2.5 Li-Ion 2-pin battery conn mm pitch, through hole LED for ZigBee LEDs D2,D5 LED for test purpose C44,C47 1 pF SMD0805 6 pF SMD0805 Capacitors C24,C25 10 pF SMD0805 C19,C20 15 pF SMD0805 www.BDTIC.com/ST...
  • Page 29 EIA 3528-21/ 22 µF size B EIA 3528-21/ C8,C16 47 µF size B C40,C41,C42, C43,C45,C46, (Not mounted) SMD0805 C48, C49,C50,C51 Inductors L1,L2 10 µH SMD0805 R1,R2,R3,R4, R13,R15,R17, 10 kΩ SMD0805 R18,R20,R28, Resistors R5,R6,R7,R8,R9 47 kΩ SMD0805 R10,R57,R59 100 kΩ SMD0805 www.BDTIC.com/ST...
  • Page 30 0.125 W Resistors R29,R38 2 MΩ SMD0805 15 kΩ SMD0805 18 k(DNM) SMD0805 16 kΩ SMD0805 200 kΩ SMD0805 22 kΩ SMD0805 1 kΩ SMD0805 R45,R48,R56, 1 MΩ SMD0805 33 Ω R46,R47 SMD0805 1.5 kΩ SMD0805 150 kΩ SMD0805 www.BDTIC.com/ST...
  • Page 31 Table 3. BOM (continued) Manufacturer’s Reference ordering code / Supplier Category Component description Package Manufacturer Supplier designator orderable part ordering code number Resistors 200 kΩ SMD0805 TFT: 320 x 240 Module: MB694 MB694 Others MicroSD card MicroSD card www.BDTIC.com/ST...
  • Page 32: Revision History

    Revision history UM0908 Revision history Table 4. Document revision history Date Revision Changes 12-Jul-2010 Initial release. 32/33 Doc ID 17087 Rev 1 www.BDTIC.com/ST...
  • Page 33 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

Table of Contents