Arduino Sensor Training Board

Tell us about your projects. Update us regularly.
Post Reply
parkview
Guru Maker
Posts: 522
Joined: Tue Jun 24, 2014 8:25 pm
Location: Busselton
Contact:

Arduino Sensor Training Board

Post by parkview » Sat Oct 31, 2020 12:09 pm

One day I might want to do some public Arduino training and I think it would be handy to have all the sensors I want to talk about on one handy PCB. This will help in packing and transportation and in losing a sensor or two here and there.

I am really enjoying the ESP32-WROOM MCU at the moment. It's currently at a nice price or around A$3.40. This is the plain little package, not a ESP32 Development Board. So I have based my Arduino Sensor Training Board around this micro controller. It's nice and fast and comes with wireless network interface built in.

The current list of sensors one the first beta version of the PCB are:
1) Accelerometer/Gyro - 6DoF
2) LUX light
3) MEMS i2S Microphone
4) i2S Speaker amplifier output
5) Dual DC Motor output
6) Pizeo Buzzer
7) 4 x User LEDs
8) 2 x User button switches
9) 2 x User Slide switches
10) 2 x Touch Pads
11) Air Temperature/Pressure/Humidity
12) Variable resistor
13) Hall effect sensor (built into ESP32)
14) 3 x WS2812B/Neopixel RGB LEDs
15) 5V Servo output
16) Sharp Infra-red Distance Sensor
17) OLED screen - 128px by 64px
18) A 16 pin breadboard expansion header plug

The sensor training board is 10cm x 10cm in size and is designed to fit onto a laser cut MDF base board. This will allow other larger components like the breadboard, loud speaker, servo to be mounted around the red PCB. Something like this:
PCB-Breadboard-layout.jpg
PCB-Breadboard-layout.jpg (9.03 KiB) Viewed 884 times
The front side of the PCB will look something like this:
Arduino Sensor Training Board 3D layout - front.jpg
Arduino Sensor Training Board 3D layout - front.jpg (102.7 KiB) Viewed 884 times
And the backside of the PCB looks like this:
Arduino Sensor Training Board 3D layout - back.jpg
Arduino Sensor Training Board 3D layout - back.jpg (71.7 KiB) Viewed 884 times

parkview
Guru Maker
Posts: 522
Joined: Tue Jun 24, 2014 8:25 pm
Location: Busselton
Contact:

Re: Arduino Sensor Training Board

Post by parkview » Sun Jan 10, 2021 9:29 am

The PCB arrived a month or so ago. I used my hotplate to assemble components onto the PCB. There are a few IC footprint errors, but the rest looks ok. Next up is software. I have been busy writing Arduino based software functions to test out each of the sections and IC's on the PCB. I first used the i2c-scanner software to enumerate all the i2c addresses of the IC's around the board.
Arduino-Sensor-Board_V0.5_sml.jpg
Arduino-Sensor-Board_V0.5_sml.jpg (82.06 KiB) Viewed 783 times
I might even have a go at writing my first Arduino library for the DRV8847 motor driver IC, as there isn't much software out there for it. Then it will be time to spin out a new beta version of the PCB. I see that there is a new MCU, the ESP32-S3 IC coming out later this year. Might have a look at using that IC for the final version of the board.

parkview
Guru Maker
Posts: 522
Joined: Tue Jun 24, 2014 8:25 pm
Location: Busselton
Contact:

Re: Arduino Sensor Training Board

Post by parkview » Sat Jan 23, 2021 8:38 am

I designed up a simple breadboard expansion header socket. I have some 16pin ribbon cables that will connect the breadboard to the Arduino Sensor board:
Arduino Header Extension_sml.jpg
Arduino Header Extension_sml.jpg (48.59 KiB) Viewed 754 times

parkview
Guru Maker
Posts: 522
Joined: Tue Jun 24, 2014 8:25 pm
Location: Busselton
Contact:

Re: Arduino Sensor Training Board

Post by parkview » Sat Feb 20, 2021 8:32 pm

A new updated set of KiCAD Gerber files have been sent off to JLCPCB for manufacture. This will be version 0.7 and be manufactured with a blue solder mask. I find it's handy to have a different colour for each version as it quickly differentiates the few PCB versions you might have lying around on a desk.

Over the intervening months, I have written some Arduino code to test each function of the Arduino Sensor Board. I find this gives me time to thoroughly explore the project and out of the process, I have a list of changes for the next PCB version.

There are lots of tweaks, but the main ones being: corrected a few IC footprints, replaced the i2C DRV8847 motor driver IC (doesn't allow PWM of the motor), with two i2C driven DRV8830 IC's. added a larger finger-able potentiometer, changed some connectors with larger, more robust kind, moved the touch pads over the right a bit, changed the slide switches over to a DIP switch package and added more GPIO and pin data to the back of the PCB.

The next PCB will look something like this:
ArduinoSensorBoardV0.7.jpg
ArduinoSensorBoardV0.7.jpg (84.38 KiB) Viewed 637 times

Post Reply