Skip to content

A8 - Electronics Design

Brief


  • Use an EDA tool to design a development board to interact and communicate with an embedded microcontroller

xxx TODO HERO IMAGE

Designing a node


My project requires many 'nodes', a device that can get all of the sensor values then turn off. On the node will be soil moisture sensors, and I2C port for more sensors and a nano power timer.

I already have a substantial amount of experience in (KiCAD)[https://www.kicad.org/] an open source and easy EDA software.

Schematic

On the left are all of the inputs, 4x soil moisture sensors connected to analog pins on the ESP32-S3 Xiao, then an I2C connector for Atmospheric, Light or any other I2C sensors we might want to use.

The Xiao has an additional 2 pads underneather we can use to bypass the onboard diode from USB - isntead using the MOSFET, keeping power consuption lower, a dedicated connector will be made for this.

Then power, we plug the power timers output into the Xiao's battery connector. And can measure the voltage using a high impedance voltage divider.

Node schematic

PCB layout

Footprints were created from datasheets/dimension drawings where necessary.

I havent had a lot of experience designing boards on a single layer and wasnt keen on soldering headers from the top side, instead of underneath.

So I designed the board on the backside and before printing the gerbers, flipping it before milling, now components could go on the top side.

Node layout

Milling

The same process was followed from A4 - PCB Milling, though one suggestion for Mods would be to add a flip option, and adding all 3 files to their respective flows.

... After generating the gcode, I failed to realise there was white-space in each of the images, so the board outline did not match the zero point of the mill.

xxx TODO IMAGE FAILED PCB MILL

I remilled it with an approximated offset and got the desired result.

xxx TODO IMAGE

PCB Fabrication House

I also got this board produced at PCBgogo, the whole process was simple, quick and cheap.

Both results turned out very well and produced working boards (albiet with different configurations).

Resources - DESCRIPTION

FILES

DOWNLOAD LINKS HERE