Shield Design V1 #92
Replies: 11 comments 3 replies
-
Basic design is done. This is where I'm at.
All of these components are readily available, both online and via your local Jaycar / Maplins / Radio-Shack / etc They all use common / universal footprints and so component brands should be interchangeable. Apart from the pressure sensors, everything is through-hole and so should be easy-peasy to assemble It will not be as cheap to build as directly mounting components to the PCB but the aim is try and strike a balance between cost and ease of assembly. Most of the sub components are SMD which puts assembly out of reach for many. So using break-out-boards and buck style PSUs helps to ensure that anyone can build it. I still have network routing to do, but it's kinda getting there. |
Beta Was this translation helpful? Give feedback.
-
I've finished the PCB design and it looks okay. I'll get some made up and do some tests to validate. I've uploaded the schematics and Gerbers to the PCB folder should someone want to make their own up but obviously these are untested at this stage. I'll update this thread once I've received the boards |
Beta Was this translation helpful? Give feedback.
-
I've added a Readme / BOM to the PCB folder and also updated the BOM page in the WIKI. |
Beta Was this translation helpful? Give feedback.
-
Found a cheaper more accessible alternative to the molex headers... These use ribbon cable and have a standard pin spacing and so can be easily substituted with regular pin headers. The ribbon cable can be purchased by the metre and easily used to create a loom. The plugs also have the advantage that you do not need special tools to crimp the pins, unlike the molex, which can be pretty tricky. Comes in fancy rainbow colours too |
Beta Was this translation helpful? Give feedback.
-
So one thing that I have learned about ADC modules is that they can only measure up to VDD, meaning that if you use them on a 3.3v system they can only measure a maximum of 3.3v. This is an issue when using 5v FSD analog sensors and wanting to use the ADC as a way to translate between 5v and 3.3v devices. This is something that I initially missed. The solution is to run the ADC on 5v and then use I2C logic converters to convert the I2C bus voltage down to 3.3v. Essentially you can connect all of the 3.3v I2C devices to the 3.3v side of the bus and all of the 5v I2C devices to the 5V side. It should be noted that each side of the bus requires its own pull-up resistors. This is unfortunately a feature I omitted from the prototype. I will have to see if I can jumper one in. |
Beta Was this translation helpful? Give feedback.
-
Code changes required for 1015 / 1115 ADC support have been added in merge request #95 Note: FREQ based MAF needs to be attached direct to input as it needs pulse counter attached to it, which means that I need to add signal conditioning / level shifting to the MAF pin. If Voltage based MAF is used it attaches to ADC. This is because frequency measurement requires interrupt / pulse counter attached direct to pin. So default method for reading 5v devices is that they are attached via the ADC. In turn the ADC connects via I2C to the ESP32, however. The ADC needs to have VDD set to 5V, which means that the I2C interface is also at 5v, which is too high for the ESP32. So the solution is to level shift the I2C bus using something like the PCA9306 |
Beta Was this translation helpful? Give feedback.
-
Initial shield testing is underway. The first prototype has been assembled and I am working through the initial setup. There are a few issues with this version so these corrections will be integrated into the next batch before the next order. |
Beta Was this translation helpful? Give feedback.
-
Hi ,have,you completed, the shield design ?
…On Thu., 26 Aug. 2021, 3:57 pm Mick Percy, ***@***.***> wrote:
[image: Screen Shot 2021-08-26 at 4 16 21 pm]
<https://user-images.githubusercontent.com/3038710/130923714-d838d41b-3066-44eb-9784-eef28d65b201.png>
I'm not too far from being done with the shield design. I've made some
design choices with a view to keeping the design simple and accessible.
I'm aiming at a standard hammond case size with PCB dimensions of 100mm x
220mm
A 12v PSU will be required to power the system. The MAF needs 12V so it
makes sense to use 12V as the system voltage. This is also good for the
stepper motor which can utilise 12V for the 8825 stepper driver supply.
For the outputs (fan control) I'm using a ULN2003A darlington array
<https://www.ti.com/lit/ds/symlink/uln2003a.pdf?ts=1629939740539>. These
switch 12v to ground and can be used with inductive loads such as relays.
This means you can use a regular automotive relay to switch your fans. NIce
and accessible to everyone
I've decided to use a 4 channel 12 bit ADC to read the 5v pressure and MAF
sensors. This uses I2C to communicate with the processor, which free's up 4
inputs. I've gone for an ADS1015 <https://www.adafruit.com/product/1083>
on a breakout board (BOB). These are readily available and the BOB makes it
easier for those with limited soldering skills to assemble the shield.
I've stuck with the GY-BME280 for baro, temp and relh measurement as this
makes life very easy. Again for ease of assembly I've integrated it with
it's BOB. I will also include some alternate headers as there are a few
different flavours of these boards with different pin-outs.
I've decided to go with this modular approach rather than SMD or
individual components so that the shield is easy to assemble. I've also
doubled up on pressure sensor footprints so that the user can substitute
the sensors for alternate package sizes if they wish. This goes hand in
hand with the software design which should hopefully be easy to adapt for
other components
I'll post up a progress update when I have something more to report.
Happy to receive comments and suggestions...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#92>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKI25VAM4RC6BEBPBX4ML2LT6XXXTANCNFSM5C2YOWFA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Beta Was this translation helpful? Give feedback.
-
The shield is pretty much done but I've not been able to finish off testing to validate the changes. Unfortunately work has been hectic this past month or so so testing has ground to a halt. Once testing is complete I will publish the design and get some more boards made up, hopefully over the next few weeks |
Beta Was this translation helpful? Give feedback.
-
Cool , can't wait to see it
Thanks Pete
…On Thu., 28 Oct. 2021, 6:41 am Mick Percy, ***@***.***> wrote:
The shield is pretty much done but I've not been able to finish off
testing to validate the changes. Unfortunately work has been hectic this
past month or so so testing has ground to a halt.
Once testing is complete I will publish the design and get some more
boards made up, hopefully over the next few weeks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#92 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKI25VGFADTCYRUUCSP4L6TUJB53NANCNFSM5C2YOWFA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
@DeeEmm looking forward for that as well. |
Beta Was this translation helpful? Give feedback.
-
I'm not too far from being done with the shield design. I've made some design choices with a view to keeping the design simple and accessible.
I'm aiming at a standard hammond case size with PCB dimensions of 100mm x 120mm
A 12v PSU will be required to power the system. The MAF needs 12V so it makes sense to use 12V as the system voltage. This is also good for the stepper motor which can utilise 12V for the 8825 stepper driver supply.
For the outputs (fan control) I'm using a ULN2003A darlington array. These switch 12v to ground and can be used with inductive loads such as relays. This means you can use a regular automotive relay to switch your fans. NIce and accessible to everyone
I've decided to use a 4 channel 12 bit ADC to read the 5v pressure and MAF sensors. This uses I2C to communicate with the processor, which free's up 4 inputs. I've gone for an ADS1015 on a breakout board (BOB). These are readily available and the BOB makes it easier for those with limited soldering skills to assemble the shield.
I've stuck with the GY-BME280 for baro, temp and relh measurement as this makes life very easy. Again for ease of assembly I've integrated it with it's BOB. I will also include some alternate headers as there are a few different flavours of these boards with different pin-outs.
I've decided to go with this modular approach rather than SMD or individual components so that the shield is easy to assemble. I've also doubled up on pressure sensor footprints so that the user can substitute the sensors for alternate package sizes if they wish. This goes hand in hand with the software design which should hopefully be easy to adapt for other components
I'll post up a progress update when I have something more to report.
Happy to receive comments and suggestions...
Beta Was this translation helpful? Give feedback.
All reactions