2014年12月19日星期五

How to use OV7670 camera module with Arduino?

Here we introduced one OV7670 camera module just purchased online, including the communication of camera module and Arduino UNO, the using ways to take photo via camera module, and so on. This is an Arduino camera module,  adopted the Surveillance cameras digital image processing chip-OV0706, specially designed for image acquisition and processing application,  based on TTL communication interface, very convenient to connect with Arduino controller, able to read image and data via UART serial port, and then perform some image processing. This is a detailed DIY guide for the OV7670 TTL and UART camera, and you can also download the code from ElecFreaks.

Part 1   General description

This camera module can perform image processing such as AWB (auto white balance), AE (automatic exposure) and AGC (automatic gain control), for the video signal coming from CMOS sensor. What’s more, in fusion of other advanced technology such as image enhancement processing under low illumination, and image noise intelligent forecast and suppress, this module would output high quality digital video signals by standard CCIR656 interface. OV7670 built-in JPEG decoder supported reatime encoding for collected image, and external controller can easily read the M – JPEG video streams, achieving the camera design of double stream. OV7670 supported motion detection and OSD display function of screen characters and pattern overlay, capable of self-defining detection area and sensitivity.

Part 2  Test OV7670 camera module

Step 1   Needed tool for testing

Hardware:
1. SD Module
2. Digital key module
3. Arduino UNO
4. Jumper wire
5. USB cable
6. OV7670 camera module
Software:
1. Camera_VC0706_TEST
2. Arduino IDE(download it from official website)

Step 2 Hardware connection

1. Connect the hardware as below:

camera 0706 B

 

2. Here below is the physical diagram:

camera 0706 C

Step 3  Software use and code programming

1. Firstly download the two files of Camera_OV0706_lib and Camera_OV0706_TEST from the Camera Module Code written by ElecFreaks and then unzip it.
2. Put the unzipped file of Camera_OV0706_lib into the Arduino IDE folder of Libraries.
3. Open unzipped file of Camera_OV0706_TEST, and the program the code into UNO. The detailed steps are demonstrated as below.

camera 0706 D

4. Click Tools,and then choose the board of Arduino uno like below.

camera 0706 E

5. Click Tools / Serial Port,and then choose the corresponding COM number.

camera 0706 F

6. And then click the button of programming like below in red rectangle,program the code into the UNO board until done uploading appears.

F

7. Finally open the monitoring serial port as below in red rectangle.

camera 0706 I

8. When the serial port display the data like demonstrated below, you can press the digital keys to take a photo.

camera 0706 G

9. If photo was taken successfully, the serial port would be displayed as below.

camera 0706 H

10. Until now, the module testing has been completed.

2014年12月11日星期四

CAN-BUS Shield


Buy from http://www.elecfreaks.com/store/canbus-shield-p-746.html.

Description:
CAN-BUS is a common industrial bus because of its long travel distance, medium communication speed and high reliability. It is commonly found on modern machine tools and as an automotive diagnostic bus. This CAN-BUS Shield adopts MCP2515 CAN Bus controller with SPI interface and MCP2551 CAN transceiver to give your Arduino/Seeeduino CAN-BUS capibility. With an OBD-II converter cable added on and the OBD-II library imported, you are ready to build an onboard diagnostic device or data logger.

Documents for download. 

Features:
  • Implements CAN V2.0B at up to 1 Mb/s
  • SPI Interface up to 10 MHz
  • Ariduino/ Freaduino Completely compatible
  • Standard (11 bit) and extended (29 bit) data and remote frames
  • Industrial standard 9 pin sub-D connector
  • Two receive buffers with prioritized message storage
  • Operating voltage: DC5-12V
  • Size: 78mmx53.5m
Applications:
  • Industrial control
  • Car control field

2014年12月10日星期三

GPRS/GSM Module-EFCom Pro EFComPro




Buy from http://www.elecfreaks.com/store/gprsgsm-moduleefcom-pro-efcompro-p-450.html

4 Frequency GPRS/GSM Module-EFCom Pro is an ultra compact and reliable wireless module. It is a breakout board and minimum system of SIM900 Quad-band GSM/GPRS module. It can communicate with controllers via AT commands (GSM 07.07 ,07.05 and SIMCOM enhanced AT Commands). This module support software power on and reset. 

EFCom Pro is base on SIM900 4 Frequency GPRS module.

The GPRS is configured and controlled via its UART using simple AT commands. Just connect on the Arduino/AVR/ARM/FPGA/CPLD board, you could easy to use AT command control it. EFCom Por can be connect to PC via FT233RL, recommend our FT232 Bee adapter
EFCom Pro IO List:GND , +5V , RX , TX , PWR , RST .


 Documents for Download. 

Feature
  • Power Supply: +5V
  • Fully compatible with AVR/Arduino/ARM/FPGA
  • Free serial port connecting, you can select Hardware/Software Serial port control
  • Super capacitor power supply for the RTC.
  • EFCom not only can use the button for power on , but also can use the digital pin of Arduino to power on and reset the SIM900 module.
  • Quad-Band 850/ 900/ 1800/ 1900 MHz
  • GPRS multi-slot class 10/8
  • GPRS mobile station class B
  • Compliant to GSM phase 2/2+
    - Class 4 (2 W 850/ 900 MHz)
    - Class 1 (1 W 1800/1900MHz)
  • Control via AT commands (GSM 07.07 ,07.05 and EFCOM enhanced AT Commands)
  • Supply voltage range : 3.1 - 4.8V
  • Low power consumption: 1.5mA(sleep mode)
  • Dimension:60 mm x 53 mm
  • 2014年12月1日星期一

    ELF X: 3D FPV Quadcopter With VR



    ELF X is the ever low-cost open source Quadcopter providing AR plus VR experience. Using the most affordable VR device Google Cardboard, 3D printed shell, smartphone Bluetooth 4.0 to control (save joystick), combined with PCB construction, we created the best VR drone at such low price. The coolest thing is, the wifi camera will capture 720P video for real-time transmission to the mobile phone to present wonderful AR (Augmented Reality) experience.

    There are also many to be improvement, at same time we need more external help from hobbyist. ELF-X will be pre-ordering early Oct at ElecFreaks store, starting only 300 pcs. For the very first batch, sorry will not wifi camera and google cardbaod which we are still upgrade more stable fly firmware. Keep download our newest firmware, you can mount 720p wifi camera in future. We will sell at cost price, hoping to get valuable and useful feedback in return.


    Key Features
    • Open source
    •  3D printed shell
    • Wireless (BT) configuration
    • Smartphone app control (Android, ios)
    • 3D FPV flights (Google Cardboard)
    • Smaller and safer
    ElecFreaks team has been so absorbed in this project called ELF, now we’re about to see the light: we are so well prepared to present to the folks the ELF Quad.
    The open source, 3D printed, pocket size quadcopter for anyone to take control.


    ELF-X is built with
    • Google Cardboard, Cheapest VR device.(Done)
    • 3D printed shell, Rapid prototyping design.(Done)
    • Smartphone APP by Bluetooth 4.0 control, Save joystick controller.(Done)
    • Combined with PCB construction (Done)
    • 720P wifi camera for real-time transmission to the smartphone to present wonderful AR/VR experience.(Doing )
    Upholding the spirit of open source, we will share all the hardware, software, app and the codes, enabling anyone to learn and enjoy AR/VR technology while piloting his own copter. We hope to build a brand new flight platform for experiencing and learning, as such, getting more and more people involved to help improve and complete the application scenarios.
    We will keep update source code soon and more info and video, please keep attentive.

    Source: elecfreaks blog

    BLE Adapter For BLE Wiressless Progream and TTL



    Description

    BLE Adapter, one of ElecFreaks BLE series items, can enable you to upload code by BLE wireless. At the same time, it is a USB-TTL adapter.

    Adopting TI CC2540 chip with 256 KB space, the BLE module can use BLE technology through the simple IO control, between the module and mobile, also between the module and module. The BLE module has both Master and Slave Mode, with the command control, through the serial port capable of switching module master-slave role, capable of configuring the serial port baud rate, capable of modifying the module radio name, capable of modifying the broadcast interval and the connection interval. Using this module, users can quickly transmit data in the form of Bluetooth packet. BLE Adapter can cooperate with our BLEduino Main board.


    Buy from elecfreaks store.

    Applications

    • Wireless programming
    • Industrial remote control, telemetry
    • Automotive testing equipment
    • Portable, battery-powered medical equipment
    • Automated data collection
    • Bluetooth Printer
    • Smart home, industrial control


    BLE Bee Compatible with Xbee and Support Wiressless Program



    Description

    The BLE Bee is a Bluetooth 4.0 BLE and compatible with Xbee.You can use it with Arduino and other MCU. Using with our APP,you can easily control robot ,drone and others by BLE.

    Adopting TI CC2540 chip with 256 KB space, the BLE Bee module can use BLE technology through the simple IO control, between the module and mobile, also between the module and module. The BLE module has both Master and Slave Mode, with the command control, through the serial port capable of switching module master-slave role, capable of configuring the serial port baud rate, capable of modifying the module radio name, capable of modifying the broadcast interval and the connection interval. Using this module, users can quickly transmit data in the form of Bluetooth packet.

    Buy from elecfreaks store.

    Applications
    • POS system, Bluetooth keyboard, mouse, gamepad
    • Industrial remote control, telemetry
    • Automotive testing equipment
    • Portable, battery-powered medical equipment
    • Automated data collection
    • Bluetooth remote control toys
    • Wireless LED Display System
    • Bluetooth Printer
    • Smart home, industrial control



    BLEduino - Bluetooth 4.0 Low Energy + Arduino

      $29.90 




    It's time to get Bluetooth 4.0 into your project, together with your phone! For aficionados of smart devices and wearables, now you can go further than hacking things bought in the market to building your own prototype out of garage. The BLEduino board is first of its kind in intergrating BT 4.0(BLE) module into Arduino Uno, making it an ideal prototyping platform for both software and hardware developers to go wireless. You will be able to develope your own smart bracelet,smart pedometer and more. Through the low- power Bluetooth 4.0 technology, real-time low energy communication can be made really easy. The BLEduino integrates with a TI CC2540 BT 4.0 chip with the Arduino UNO development board. It allows wireless programming via BLE, supports Bluetooth HID, supports AT command to config the BLE, and you can upgrade BLE firmware easily. The BLEduino is also compatible with all Arduino Uno pins which means any project made with Uno can directly go wireless! Whatsmore, we also developed the App for the BLEduino (both Android and IOS), and they are completely opensource, so that you can modify and develope your own BLE-hardware platform. Below is a quick demo video covering some of the major features of BLEduino with the help of an Accessory Shield for BLEduino, which will also be available very soon. In short, you can use BLEduino with any Bluetooth 4.0 compatible devices and enjoy features such as wireless transmission, master and slave settings, wireless burning, and even establishing a Bluetooth HID connection with the PC.

    Buy from elecfreaks store.

    Applications:

  • POS system, Bluetooth keyboard, Mouse, Gamepad
  • Industrial remote control, telemetry
  • Automotive testing equipment
  • Portable, battery-powered medical equipment
  • Automated data collection
  • Bluetooth remote control toys
  • Wireless LED Display System between devices.
  • Bluetooth Printer
  • Smart home, industrial control