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


  • 2014年11月5日星期三

    Cable & Wire

    10 pin Test Line 350MM

    $9.90 

    Description:
    • Length: 350mm
    • Imports of wire rod
    • 10 color line
    • 5-color two-pin test clip
    • DuPont joint and integrated sheath
    Application:
    • External expansion breadboard test circuit Application
    • Ready-made circuit board test leads
    • Plat DP1 test experiment

    $5.0
    This is approximately 65 pcs male-to-male jump wires cables 
    The length of the wires : 115mm, 160mm, 200mm, 240mm



    Adapter Board

    $1.90

    Wiichuck A Wii-Nunchuck Adapter

    The WiiChuck Adapter is a small PCB that is designed to be inserted into the connector of a Nintendo Wii Nunchuck to provide access to all 4 wires of the remote. The power, ground and two-wire interface of the Nunchuck are all broken out to a 4-pin 0.1 pitch header. Compared with standard WiiChuck, the DFRobot WiiChuck has extra 4 pins which allow you connect it to two devices.

    The Wii Nunchuck is loaded with features -- a 2-axis joystick, two buttons and a 3 axis +-2g accelerometer -- and any device capable of I2C can communicate with it! The WiiChuck allows you to interface with the Nunchuck without making a mess and cutting the wires.






    $4.50

    QFN/QFP/TQFP/LQFP 16-80 to DIP Adapter

    QFN/QFP/TQFP/LQFP 16-80 pins to DIP Adapter/ Breakout Board. Double side FR-4PCB design which could compatible with more QFP IC.
    One side is 16-80pin to DIP at 0.5mm pitch.
    The other side is 40-64pin to DIP at 0.4mm pitch and 0.65mm pitch for 80pin.




    Protoboard

    $0.46


    Double-Sided Protoboard 2cm x 8xm

    FEATURES:


  • Pads on Double-sided
  • No odor
  • Finely drilled
  • Tough
  • Including power pad
  • Clean hole
  • Points:6x28

  • $0.60

    Double-Sided Protoboard 3cm x 7cm

    FEATURES:

  • Pads on Double-sided
  • No odor
  • Finely drilled
  • Tough
  • Including power pad
  • Clean hole
  • Points:10x24




  • Breadboard

    Magic Breadboard Mama Boart


    This Magic Breadboard Assembly kits could assemble with many of super-mini-breadboards. The super-mini-breadboard is smaller than before mini breadboard. It's material savings and free combination. You just need connect the super-mini-breadboard each other by Breadborad jumper wire . 

    Note: this board not include the super-mini-breadboard.

    The super-mini-breadboard size is 15mm x 20mm and has 25 holes. The there are two feet could plugin Magic Breadboard Mama Boart.

    The Magic Breadboard Mama Boart size is 132mm x 92mm. 

    There are many color of super-mini-breadboard for your choosing.It could clearly provide teaching schematic diagram.

    Magic Super-Mini-Breadboard Black

    The super-mini-breadboard size is 15mm x 20mm and has 25 holes. The there are two feet could plugin Magic Breadboard Mama Boart.

    Prototyping





    Breadboard










    Protoboard










    Adapter Board










    Cable & Wire

    RepRap MeLzi



    RepRap MeLzi


    A compact all-in-one controller board for RepRaps with one extruder head, optimized for mass production.
    The point of RepRap is to make itself, of course. But sometimes people just want plug-and-play RepRap electronics so they can concentrate on the other aspects of the machine, or just because they are more software or mechanics oriented than electronics oriented.
    Melzi is designed to be a complete set of RepRap electronics that should be very cheap to mass produce. It was originally based on the Arduino Leonardo (Francesco Melzi was Leonardo's pupil).

    Specification:
    • Processor: ATMEGA1284P
    • All screw connectors - no soldering
    • Micro SD card slot for GCode files
    • Mini USB interface
    • 4 x A4988 stepper drivers
    • 3 x MOSFET drivers for hot end, bed and cooling fan
    • Dimensions: 210mm x 50mm x 17mm
    • Weight: 70g

    RAMPS Mega Shield V1.4 RAMPSHD

    RAMPS Mega Shield V1.4 RAMPSHD


    RepRap Arduino Mega Shield, or RAMPS for short. It is designed to fit the entire electronics needed for a RepRap in one small package for low cost. It is a "1.5 layer" designed board (i.e. it's double sided board, but one of layers can easily be replaced with wire-jumpers) that is printable on your RepRap with the etch resist pen method, or home fabbed with toner transfer. At the same time it is based on the powerful Freaduino MEGA platform and has plenty room for expansion. The modular design includes plug in stepper drivers and extruder control electronics on an Arduino MEGA shield for easy service, part replacement, upgrade-ability and expansion. Additionally as long as the main RAMPS board is kept to the top of the stack a number of Arduino expansion boards can be added to the system. 





    REMPS LUXURY Kit

    REMPS LUXURY Kit


    Highly recommended,in order to easily and quickly build your own 3D printer, we provide more convenient combination kit 3D printer luxury suite with the support the Max 2A current ElecFreaks Mega2560. 

    To match Endstop SDramps rich packages quickly. With more 4GB SDcard, Smart LCD controller, smart adapter and 20X4 character LCD display operation interface, and MK2a PCB heatbed.

    The LUXURY Kit include :


  • 1 x Freaduino Mega2560 (Max support 2A)
  • 1 x Ramps Shield v1.4
  • 5 x A4988 stepstick
  • 5 x Heatsink
  • 1 x Heat sticker
  • 2 x Heat grease
  • 1 x Grease brush
  • 3 x Endstop
  • 1 x SDramps
  • 1 x LCD Smart Controller board
  • 2 x 30cm cables
  • 1 x Smart Adapter
  • 1 x Characters LCD2004
  • 1 x 4GB SanDisk SDcard
  • 1 x PCB heatbed MK2a(include 1k resistor and 2 LED)
  • 2 x Plastic box
  • Prusa i3 Full Kit - EBoti3



    EBoti3 was designed base on Prusa i3 and we modified the Extruder. Its a full kit and easily built.

    Include:
  • 1 x Prusa i3 Full Kit - EBoti3
  • 1 x Tools kit
  • 1 x CD (All Documentation/User Guide/Vedios In)


  • Parameter:
    Size
    200 * 200 * 180mm
    Power Supply
    110V/220V
    Power Plug
    EU plug and U.S plug
    Thickness
    0.1-0 .4 mm
    SD card offline print
    Support
    LCD
    None
    Maximum print speed
    100mm / s
    Nozzle diameter
    0.4mm standard
    XY axis positioning accuracy
    0.012mm
    Z-axis positioning accuracy
    0.004mm
    Support materials
    ABS, PLA
    Material Diameter
    1.75mm, 3mm
    Consumables tendentious
    PLA
    Language
    Chinese / English
    Supported file formats
    STL, G-Code
    Model support functions
    generation / non-generation alternative
    Machine size
    430 * 405 * 370mm
    Weight
    6.7kg
    Package size
    400 * 350 * 300mm
    Package Weight
    400 * 350 * 300mm
    Operating System
    XP, WIN7 32 bit
    PC software
    Replicotor-Host
    Environmental requirements
    10-30 ℃, humidity of 20-50%



    Read more: http://www.elecfreaks.com/store/prusa-i3-full-kit-eboti3-p-763.html#ixzz3IBLWkN4F

    ElecFreaks PCB Service


    As an electronic hobbyist, are you still bored for expensive PCB production fee. Don't worry, the ElecFreaks PCB service may help you solve this problem.

    Our Printed circuit board / PCB Service is available now. Let me have a brief introduction to you. The Fusion PCB Service starts from $9.9. In order to meet various requirements, we provide 3 kinds of services as below:

    In the first service ‘2 Layer 10cm*10cm max -10pcs’, you can chose 3 kinds of PCB dimension(5cm X 5cm Max, 5cm X 10cm Max, 10cm X 10cm Max.

    The second service ‘2 Layer 20cm*20cm Max (5PCS or 10PCS optional)’ provides more PCB dimensions.

    The third service ‘2 Layer 20cm*20cm max - 50PCS’ is targeted at small batch requirement.
     
    1. 2 Layer 10cm*10cm max - 10pcs  start at $9.9 
    2. 2 Layer 20cm*20cm max - 50pcs  start at $9.9
    3. 4 Layer 5cm*5cm max - 10pcs  start at $65.0
    4. 4 Layer 10cm*10cm max - 10pcs  start at $99.0