Tag Archives: arduino

Bringup of ESP32 Gateway Board

Arduino

Introduction

Here is one more blog where the ESP32 Gateway bring up is displayed along with a video.

The ESP32 Gateway Board described here would be tested and its bring-up would be shown. Here is the block diagram of the board:

Block diagram gateway

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bringup Steps

Here are some of the bring-up steps followed for testing:
1. Visual inspection: Quick check to ensure that all components are soldered as per the orientation and visual shorts exist.
2. Power and clock check: Quick power test on the PCB to check for open short test. Using the multimeter to quickly test the 3.3V and 5V supply. The clock output from the oscillator was tested at 50Mhz.
3. USB connection: USB cable was connected to the J10 port. 5V and 3.3V supply was good on the board and coming at test points. Checked on oscilloscope to measure voltage ripple which is under 5%.
4. Reset check: The reset was asserted and de-asserted by TPS3895 as expected.
5. USB to UART connections: An external board was used to connect the ESP32 UART port to USB Port on the board.
6. ESP32 detection: The factory programmed ESP32 comes with the Wifi stack and can be easily detected as the WIFI host with the name ESP32. If the ESP32 is out of reset it would show esp32 wifi LAN which can be connected to. It again indicates it is alive and functional.
7. LED programming: Ardunio was selected to test the board as it is easy to program and most of the drivers are easily available. Programmed the LED program to test the led and also testing the programming sequence of JP1.
8. Switch detection: Next quick program which detects switch press and led lighting up.
9. Mounting the Click board: Mounted the ADXL345 accelerometer from Mikro Electronica on the click connector. The LED on accel click switches on and the supply stays stable for 3.3v and 5v.
10. Testing of i2c interface: Detected the device at 0x1d and 0x51. Read through the register values and moved the boards to check the accelerometer output.

i2c_scanner_Gatway

 

 

 

 

 

 

 

 

 

 

11. Testing of spi interface: Changed the Mikroe Accell click board to spi mode and tested the spi operation on the board using ESP32 module.
12. Testing other examples with esp32: The board was tested with other software examples specified at the Sparkfun website to check for power, operation, and functionality.
13. Testing of LAN8710 device. The device was detected using the MDC/MDIO pins. Ethernet cord was connected to the port and the activity led blink was observed. More tests are underway on the board.

Here is the link to the video of the board displaying power-up status detecting i2c devices on board and on module. The next video would contain some additional tests with ethernet port. Arduino code used with the esp32 rapid development click board is available at link.

Additional read:

  1. ESP32 Gateway Board Design using Circuit Tree
  2. Custom board development with Arduino.

Bringup of ESP32 Click Board

Introduction

In this blog, we describe how are our boards are hardware tested after prototypes are available. This testing is done to ensure that the boards designed work and work as per requirements.

The ESP32 click Board described here would be tested and its bring-up would be shown. Here is the block diagram of the board:

ESP32 Block diagram

ESP32 Block diagram

 

 

 

 

 

 

 

 

 

 

 

 

 

Bringup Steps

Here are some of the bring-up steps followed for testing:
1. Visual inspection: Quick check to ensure that all components are soldered as per the orientation and visual shorts exist.
2. Power check: Quick power test on the PCB to check for open short test. Using the multimeter to quickly test the 3.3V and 5V supply.
3. USB connection: USB cable was connected to the J10 port. 5V and 3.3V supply was good on the board and coming at test points. Checked on oscilloscope to measure voltage ripple which is under 5%.
4. Reset check: The reset was asserted and de-asserted by TPS3895 as expected.
5. FT232 Driver detection: The device was quickly found on the laptop and the driver was easily found on the web. This indicates that the USB to UART device ft232 is functioning correctly.
6. ESP32 detection: The factory programmed ESP32 comes with the Wifi stack and can be easily detected as the WIFI host with the name ESP32. If the ESP32 is out of reset it would show esp32 wifi LAN which can be connected to. It again indicates it is alive and functional.
7. LED programming: Ardunio was selected to test the board as it is easy to program and most of the drivers are easily available. Programmed the LED program to test the led and also testing the programming sequence of JP1.
8. Switch detection: Next quick program which detects switch press and led lighting up.
9. Mounting the Click board: Mounted the ADXL345 accelerometer from Mikro Electronica on the click connector. The LED on accel click switches on and the supply stays stable for 3.3v and 5v.
10. Testing of i2c interface: Detected the device at 0x1d. Read through the register values and moved the boards to check the accelerometer output.

i2c_device_detected

 

 

 

 

 

 

 

 

 

 

 

 

11. Testing of spi interface: Changed the Mikroe Accell click board to spi mode and tested the spi operation on the board using ESP32 module.
12. Testing other examples with esp32: The board was tested with other software examples specified at the Sparkfun website to check for power, operation, and functionality.
13. Testing of battery charging and functionality. The battery of 220mA was connected to the battery connector and charged. The voltage was measured on the port. Shortly afterward the battery-powered operation was tested.

Bring up and the testing of the board were fun and quite enriching as with each board it brings pleasure to see circuit tree platform getting mature.

Here is the link to the video of the board displaying power-up status reading accelerometer data from the module. Arduino code used with the esp32 rapid development click board is available at link

Additional read:

  1. ESP32 Rapid Development Kit Design using Circuit Tree
  2. Custom board development with Arduino.

ESP32 Gateway board


Introduction: 

ESP32 Gateway board is the second board designed using circuit tree application having following feature set:

  1. ESP32D-WROOM Module used.
  2. Mikro click connectivity on board. More details at https://www.mikroe.com/mikrobus
  3. 12V Power input for connecting DC jack.
  4. 10/100 Base T Ethernet port
  5. USB to UART cable connector for connecting FTDI USB to UART cable.
  6. Onboard regulators of 3.3v/5V along with control logic
  7. Switch and LED’s to provide status.
  8.  4 layer design

The board has been designed autonomously by Circuit Tree application. This design has been added in Example 4 in app-circuit-tree.com and can be customized/modified with any changes desired.

Here are some of the screenshots of the top/bottom SVG renderings.

All_layers_gateway

 

 

 

 

 

 

 

 

 

 

 

 

esp32 gateway svg Top_Side

 

esp32 gateway svg Bot_layer

 

 

 

 

 

 

 

 

 

 

 

 

Fabricated Board

 

esp32_gateway2

Assembled Board

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bring-up test is underway for the board. So far initial tests show no electrical failures. We did miss on the silkscreen but that is why we need to automate more so that errors are minimized.

Design files and Arduino test code is uploaded at the Github link.

Additional read:

Thanks


 

ESP32 rapid development click board

Board objective:

Everybody likes rapid development kit. These boards should be easy to interconnect to a number of boards/shields and offer firmware to jump-start to start testing the idea.

What better to have click modules designed by Mikro-electronica which offers more than 500+ boards to connect any type of peripheral.

esp32 from express-if is another popular board that offers wifi/Bluetooth along with a number of peripherals bus to connect to a variety of devices.

Combining these two functions on the board boosts a number of different ideas that can be implemented with this board.

So introducing our new board named esp32 rapid development click board. The board has been designed using Circuit tree app autonomously except for some placement change and silkscreen updates which were done manually.

Here are some of the key features of the board:

  1. ESP32D-WROOM Module used.
  2. USB/Battery powered board
  3. On-Board UART to USB function for debugging and programming.
  4. Onboard regulators of 3.3v/5V along with control logic
  5. Switch and LED’s to provide status.

Screenshots:

Here are some of the screenshots of the top/bottom SVG renderings.

esp32_click_module_all

 

esp32_click_module_Top_Side

 

 

 

esp32_click_module_back

 

 

 

 

 

 

 

 

 

esp32 rapid development board-PCB Fabrication -Top side

 

esp32_click_board_assembled

esp32_click_board_assembled

 

 

 

 

 

 

 

 

 

 

 

Design files Arduino test code are available at Github.

There is much more planned fun along with the board which would be shared in upcoming blogs.

This board is available on sale from our website.

Designing a board gives a lot of satisfaction and fills you with motivation to keep going. The happiness and motivation that we got from the project were boosted much more as it was not only the successful board bring up but it was the Circuit Tree application that was also tested.

I hope you are also able to share our joy.

Additional read: