background image

Hardware Manual

for eYFi-Mega Development Board

Produced by: e-Yantra Team

https://e-yantra.org/products/eyfi-mega

Version: 0.1

Dated: December 14, 2019

Summary of Contents for eYFi-Mega

Page 1: ...Hardware Manual for eYFi Mega Development Board Produced by e Yantra Team https e yantra org products eyfi mega Version 0 1 Dated December 14 2019...

Page 2: ...ut notice This document is provided as is with no warranties whatsoever includ ing any warranty or merchantability non infringement fitness for any particular purpose or any warranty otherwise arising...

Page 3: ...controller 10 2 1 3 16 MHz crystal 10 2 1 4 LEDs 11 2 1 5 Switches 12 2 1 6 ICSP connector 13 2 1 7 GPIO1 header 13 2 1 8 GPIO2 header 15 2 1 9 INTx header 15 2 1 10 ADCx header 15 2 1 11 I2C header...

Page 4: ...C Flashing Boot loader on ESP32 25 3...

Page 5: ...udio 7 23 7 Fuse settings to be done 23 8 All OK message after programming the Fuses 24 List of Tables 1 Specifications of eYFi Mega development board 7 2 Functional Diagram of eYFi Mega 9 3 Partition...

Page 6: ...various combinations of performance power consumption and features The eYFi Mega board does not require any specialized hardware for programming as it comes with pre installed bootloader file thus the...

Page 7: ...tware Connect the eYFi Mega board to a PC with a USB micro B plug to USB A plug cable through USB connector to power the board The red LEDs AVR_ON and ESP_ON should light up The RGB LED should light u...

Page 8: ...reeRTOS Both micro controllers are capable of running FreeRTOS ESP32 runs FreeRTOS out of the box Arduino Programming Language Both micro controllers can be programmed using Arduino Programming Langua...

Page 9: ...f eYFi Mega The eYFi Mega board includes ATmega2560 and ESP32 micro controllers and a range of useful peripheral features as the block diagram in Figure 2 This chapter describes how these peripherals...

Page 10: ...M header 2 INTx header 15 EXT_PWR header 3 ADCx header 16 S3 switch 4 I2C header 17 3 3 V header 5 GPIO1 header 18 S1 switch 6 USER_SW push button 19 TX LED and RX LED 7 16 MHz crystal 20 ESP32 GPIO h...

Page 11: ...Wi Fi BT BLE MCU module that targets a wide variety of applications ranging from low power sensor networks to the most de manding tasks such as voice encoding music streaming and MP3 decoding It has...

Page 12: ...is important to know the different states in which your board is These states are indicated by this LED Below is the description of different LED patterns associated with different states of the board...

Page 13: ...of ESP32 respectively Through this connection one can send and receive any data between ATmega2560 and ESP32 If S2 is switched to right side the connection between ATmega2560 and ESP32 breaks Note Mak...

Page 14: ...In Circuit Serial Programming or ISP In System Program ming header of ATmega2560 For more details about ISP and boot loader refer to Sec tion 2 1 1 The ICSP connector pins are shown in Figure 4 Note...

Page 15: ...Figure 4 eYFi Mega Pinout Diagram for ATmega2560 14...

Page 16: ...s two pins of VCC i e 5V and GND each 2 1 10 ADCx header This header is a group of pins of ATmega2560 that can be used as analog inputs or chan nels for the Analog to Digital Converter ADC inside the...

Page 17: ...sed as Output Compare or Pulse Width Modulation PWM pins for the Timers in the micro controller There are two 8 bit Timers Timer 0 and 2 and four 16 bit Timers Timer 1 3 4 and 5 in AT mega2560 8 bit T...

Page 18: ...This is a Micro USB port where a USB micro B plug to USB A plug cable can be con nected to the PC It can be used to flash the firmware on ATmega2560 or ESP32 via wired connection Also one can connect...

Page 19: ...Figure 5 eYFi Mega Pinout Diagram for ESP32 18...

Page 20: ...r This header is a group of pins where the eYFi Mega board can be powered by an External DC Supply These pins are divide into VIN and GND each having four pins The positive terminal of External DC Sup...

Page 21: ...om sites default files documentation esp32 wroom 32_datasheet_en pdf 3 Espressif IoT Development Framework ESP IDF Programming Guide available at https docs espressif com projects esp idf en stable in...

Page 22: ...Appendices A Revision History Table 7 Revision History of the document Date Version Release notes December 14 2019 v0 1 First release of the document 21...

Page 23: ...section on eYFi Mega page link https e yantra org products eyfi mega 2 Connect the USB A Male to B Male cable to the PC and Atmel AVRISP mkII 3 Connect the 6 pin AVR ISP FRC cable of Atmel AVRISP mkII...

Page 24: ...Apply 11 Click on Read to read the Device Signature 12 Check whether the Device Signature value is 0x1E9801 and the Target Voltage is around 5V 13 Go to Fuses and select the Fuse settings as shown in...

Page 25: ...8 Make sure the options Erase device before programming and Verify flash device after programming are selected 19 Select the Boot loader firmware downloaded under the Flash 256 KB section and press Pr...

Page 26: ...ESP32 refer the Section Flashing eYFi Mega ESP32 Bootloader in the Software Manual of eYFi Mega development board 2 To upload the Partition Table of ESP32 refer the Section Flashing eYFi Mega ESP32 P...

Reviews: