Skip to content
Snippets Groups Projects
Commit 4ba4a852 authored by Mitalee Parikh's avatar Mitalee Parikh
Browse files

++

parent 864a4559
No related branches found
No related tags found
No related merge requests found
Pipeline #252417 passed
...@@ -18,9 +18,8 @@ This week I made some 3d printed tools and 3d scanned using photogrammetry. ...@@ -18,9 +18,8 @@ This week I made some 3d printed tools and 3d scanned using photogrammetry.
--- ---
I used [these files on thingiverse](https://www.thingiverse.com/thing:533472) to test design rules of the Ultimaker 3 I used in the lab. I used [these files on thingiverse](https://www.thingiverse.com/thing:533472) to test design rules of the Ultimaker 3 I used in the lab.
These test geometries are designed to evaluate specific performance characteristics and motion systems in common low-cost FDM/FFF machines. Make Magazine's third annual 3D Printing Shootout was conducted using these files, created by Andreas Bastian to benchmark performance of desktop 3D printers. These test geometries are designed to evaluate specific performance characteristics and motion systems in common low-cost FDM/FFF machines. Make Magazine's third annual 3D Printing Shootout was conducted using these files, created by Andreas Bastian to benchmark performance of desktop 3D printers.
How to evaluate the test geometries at: [link](http://wp.me/p22K2I-1TOt)
There are 7 individual files that help test: These tests individually help with testing:
1. Dimensional Accuracy 1. Dimensional Accuracy
2. Bridging Performance 2. Bridging Performance
3. Overhang Performance 3. Overhang Performance
...@@ -29,7 +28,22 @@ There are 7 individual files that help test: ...@@ -29,7 +28,22 @@ There are 7 individual files that help test:
6. XY Resonance 6. XY Resonance
7. Z Resonance 7. Z Resonance
I will finish this part when I am back in the lab. I use Cura to make the gcode. They are supposed to be evaluated at default at default 'normal' settings in PLA with a 0.4mm nozzle.
Layer Height: 0.15
Infill: 18%
Adhesion On
Support Off
![cura](./images/ed/ss/cura.jpg)
I used an Ultimaker 2+ to perform the tests (Fablab SP).
![U2](docs/images/ed/ss/u2.jpg)
There is a nice evaluation system described in [How to evaluate the test geometries](https://makezine.com/2014/11/07/how-to-evaluate-the-2015-make-3dp-test-probes/). I used this to score the printer I was using. This is the result.
![evaluation](./images/ed/ss/evaluation.jpg)
Here are all the tests overall:
![tests](./images/ed/ss/tests.jpg)
2. Designing for 3D printing 2. Designing for 3D printing
--- ---
......
...@@ -121,12 +121,17 @@ But this time I used [Mods](http://mods.cba.mit.edu/) instead of Fabmodules. Her ...@@ -121,12 +121,17 @@ But this time I used [Mods](http://mods.cba.mit.edu/) instead of Fabmodules. Her
![](./images/ed/ss/mods.gif) ![](./images/ed/ss/mods.gif)
#### At the lab
I could not fabricate this board because did not have access to a lab. I started to mill the board, solder the components by following the workflow described in [Electronics Production week](./Electronics Production.md).
#### At the lab On the first attempt, the I found that the edges of outline were too close to the traces, and they were fragile.
![](./images/ed/ss/board1.jpg)
After offsetting the outline farther away, and milling the board again, the board with componants looks like this:
![board](./images/ed/ss/board.jpg)
So steps remaining for this week - mill the board, solder the components, test. Programming the board is done during the [Embedded Programming](./Embedded Programming.md) week.
#### References #### References
......
...@@ -15,28 +15,28 @@ When I have access to a lab, I will make a microcontroller board with a colour s ...@@ -15,28 +15,28 @@ When I have access to a lab, I will make a microcontroller board with a colour s
--- ---
0. Inputs using Arduino board (no lab access) 0. Inputs using Arduino board (no lab access)
--- -
I wanted to start with a simple project to get the basics right and understand fundamentals of using inputs with a microcontroller board. Using an Arduino Uno board with it's documentation was very basic. So I did this before designing my own board. I wanted to start with a simple project to get the basics right and understand fundamentals of using inputs with microcontroller board. Using an Arduino Uno board with it's documentation was very basic. So I did this befordesigning my own board.
For reference, I used the [Arduino Project 3](https://create.arduino.cc/projecthub/godboi123/love-o-meter-bda552) as it used the temperature sensor. For reference, I used the [Arduino Project 3](https://create.arduino.cc/projecthub/godboi123/love-o-meter-bda552) ait used the temperature sensor.
I started by collecting all the components. I started by collecting all the components.
![Gathering components](./images/input/shopping.jpeg) ![Gathering components](./images/input/shopping.jpeg)
I used this schematic to connect everything. I used this schematic to connect everything.
![Sketch](./images/input/schematic.jpeg) ![Sketch](./images/input/schematic.jpeg)
The circuit setup was fairly easy. This is how it looks. The circuit setup was fairly easy. This is how it looks.
![setup](./images/input/setup.jpeg) ![setup](./images/input/setup.jpeg)
At first, all lights were continuously on. I checked the serial monitor and saw that the temperature was around 26 degrees without touching. So I adjusted the baseline temperature to 25 in the sketch. After some trial and error, I adjusted the sketch so that on touching it lightly for about 5 seconds, the second led lit up and on holding it tight for some seconds the third led lit up. The serial monitor indicated temperature range from 26-32 degrees. At first, all lights were continuously on. I checked the serial monitor and saw that the temperature was around 2degrees without touching. So I adjusted the baseline temperature to 25 in the sketch. After some trial and error, adjusted the sketch so that on touching it lightly for about 5 seconds, the second led lit up and on holding it tighfor some seconds the third led lit up. The serial monitor indicated temperature range from 26-32 degrees.
So an increment of 2-4-6 degrees worked out perfectly. So an increment of 2-4-6 degrees worked out perfectly.
![serial](./images/input/serial.jpeg) ![serial](./images/input/serial.jpeg)
This is it in action: This is it in action:
![in action](./images/input/hot.gif) ![in action](./images/input/hot.gif)
The code was fairly simple as well. You can find it here - [Sketch](./images/input/3leds.zip) The code was fairly simple as well. You can find it here - [Sketch](./images/input/3leds.zip)
Understanding the basics: Understanding the basics:
``` ```
// defining constants // defining constants
const int SensorPin = A1; // analog template input from temp sensor const int SensorPin = A1; // analog template input from temp sensor
...@@ -95,12 +95,19 @@ When I have access to a lab, I will make a microcontroller board with a colour s ...@@ -95,12 +95,19 @@ When I have access to a lab, I will make a microcontroller board with a colour s
1. Probing an input device's analog levels and digital signals 1. Probing an input device's analog levels and digital signals
--- ---
2. Designing a micro-controller board to read input 2. Designing a micro-controller board to read input
--- ---
For this I want to try measuring light color using a RGB colour sensor. For this I want to try measuring light color using a RGB colour sensor.
[ATtiny412 Datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny212-214-412-414-416-DataSheet-DS40002287A.pdf) First task is to select a microcontroller for the selected sensor.
[VEML6040](https://www.vishay.com/docs/84276/veml6040.pdf) By looking at the datasheet and pinout of the sensor VEML6040, it needs only SDA and SCL to be connected by I2C communication protocol. The SDA needs a pull-up resistor.
The microcontroller itself needs to Tx, RX to be able to connect through UPDI to a programmer.
I choose the Attiny412 because...
[ATtiny412 Datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny212-214-412-414-416-DataSheet-DS40002287A.pdf)
[VEML6040](https://www.vishay.com/docs/84276/veml6040.pdf) - RGBW Color Sensor with I2C Interface
Downloaded the footprint from [Here](https://www.snapeda.com/parts/VEML6040A3OG/Vishay%20Semiconductor%20Opto%20Division/view-part/702426/?company=-&welcome=home) Downloaded the footprint from [Here](https://www.snapeda.com/parts/VEML6040A3OG/Vishay%20Semiconductor%20Opto%20Division/view-part/702426/?company=-&welcome=home)
Installed the symbol and footprint on KiCAD using [this guide](https://www.snapeda.com/about/import/#) Installed the symbol and footprint on KiCAD using [this guide](https://www.snapeda.com/about/import/#)
...@@ -139,5 +146,5 @@ Installed the symbol and footprint on KiCAD using [this guide](https://www.snape ...@@ -139,5 +146,5 @@ Installed the symbol and footprint on KiCAD using [this guide](https://www.snape
8. Important and Interesting Links 8. Important and Interesting Links
--- ---
https://en.wikipedia.org/wiki/List_of_sensors [List of sensors Wiki article](https://en.wikipedia.org/wiki/List_of_sensors)
https://hackmd.io/RzTkiKoXTbqeQOn4Nz_zAw?view#INPUTS [Victor's notes - INPUTS](https://hackmd.io/RzTkiKoXTbqeQOn4Nz_zAw?view#INPUTS)
docs/images/ed/ss/board.jpg

80.2 KiB

docs/images/ed/ss/board1.jpg

91.6 KiB

docs/images/ed/ss/cura.jpg

32.1 KiB

docs/images/ed/ss/evaluation.jpg

26.9 KiB

docs/images/ed/ss/tests.jpg

60.3 KiB

docs/images/ed/ss/u2.jpg

28.8 KiB

File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment