Commit 61572c77 authored by Philip Hozier's avatar Philip Hozier
Browse files

week14 final update 11/5

parent 20e26d22
Pipeline #229918 passed with stages
in 1 minute and 57 seconds
......@@ -184,12 +184,12 @@ button as an input source to trigger the output response of the board.
| **3 UPDI Header pins** | To allow board programming/UPDI communication. Plus power 5v | | Non-polarity. |
| **ATtiny1614** | More pins and memory than the ATtiny412. | [ATtiny1614-16-17-DataSheet-DS40002204A.pdf](../week12/ATtiny1614-16-17-DataSheet-DS40002204A.pdf "ATtiny1614 datasheet") | Polarity |
| **Voltage regulator** | To drop the input voltage by 1.2v (to 3.3v) for the sensor. | [LM3480_datasheet.pdf](../week10/lm3480.pdf) | Polarity |
| **Capacitor (1µ)** | To stabilize power signal. | | Non-polarity |
| **Capacitor (1µF)** | To stabilize power signal. | | Non-polarity |
| **Resistor (0 Ohm) x2** | To use as a bridge for tracks to run underneath. | | Non-polarity. |
| **Resistor (4.9k Ohm) x3** | To control amount of current going to the separate LEDs | | Non-polarity. |
| **Resistor (1k Ohm) x2** | To control amount of current going to the Red + Green of the RGB LED | Non-polarity. | Non-polarity. |
| **Resistor (499 Ohm)** | To control amount of current going to the Blue of the RGB LED | | Non-polarity. |
| **Button B3 SN** | Input source. | IC | Non-polarity. |
| **Button B3 SN** | Input source. | | Non-polarity. |
| **FTDI header pins** | To allow serial communication. | | Non-polarity. |
| **RGB LED, CLV1A-FKB** | RGB colour combinations. | [RGB-LED-datasheet.pdf](../week12/RGB-LED-datasheet.pdf "RGB-LED datasheet")| Polarity |
......
......@@ -325,7 +325,7 @@ I felt confident enough in the boards I've previously produced to design these b
| **3 UPDI Header pins** | To allow board programming/UPDI communication. Plus power 5v | | Non-polarity. |
| **ATtiny1614** | More pins and memory than the ATtiny412. | [ATtiny1614-16-17-DataSheet-DS40002204A.pdf](../week12/ATtiny1614-16-17-DataSheet-DS40002204A.pdf "ATtiny1614 datasheet") | Polarity |
| **Voltage regulator** | To drop the input voltage by 1.2 v for the sensor. | [LM3480_datasheet.pdf](../week10/lm3480.pdf) | Polarity |
| **Capacitor (1µ)** | To stabilize power signal. | | Non-polarity |
| **Capacitor (1µF)** | To stabilize power signal. | | Non-polarity |
| **Resistor (0 Ohm) x6** | To use as a bridge for tracks to run underneath. | | Non-polarity. |
| **Resistor (1k Ohm) x2** | To control amount of current going to the separate LEDs | | Non-polarity. |
| **Resistor (4.9k Ohm) x2** | 'Pullup' resistors to control amount of current going to the SDA + SCL lines | | Non-polarity. |
......@@ -347,7 +347,7 @@ I felt confident enough in the boards I've previously produced to design these b
| **Resistor (499 Ohm)** | To control amount of current going to the Blue of the RGB LED | | Non-polarity. |
| **Resistor (1k Ohm) x2** | To control amount of current going to the Red + Green of the RGB LED | | Non-polarity. |
| **ATtiny412** | IC | [Attiny212-412_datasheet.pdf](../week10/Attiny212-412_datasheet.pdf) | Polarity |
| **Capacitor (1µ)** | To stabilize power signal. | | Non-polarity |
| **Capacitor (1µF)** | To stabilize power signal. | | Non-polarity |
| **2x3 SPI Header pins** | To allow board I2C communication. | | Non-polarity. |
| **Resistor (0 Ohm) x1** | To use as a bridge for tracks to run underneath. | | Non-polarity. |
......
......@@ -24,6 +24,7 @@ draft: false
## Summary
---
This week I finally had all the knowledge to piece all the parts together to get my 3 Axis accelerometer to work. With some nicely formatted data being sent to the serial port in my computer I was able to bridge the gap between that, a local web server and show it in a web page.
---
## What I thought I knew before
......@@ -38,11 +39,6 @@ Theory and use of things i learnt from this assignment:
Interpret and implement design and programming protocols to create a Graphic User Interface (GUI).
---
## Lessons to take away
---
---
## Group Assignment
......@@ -251,11 +247,8 @@ In the '<body>' section make a call to your javascript file.
<!-- Custom JavaScript -->
<script src="myTestScript.js"></script>
### The interface
To keep it as simple as possible, and use the 3 points of data that the sensor send out, I decided to map the output to an RGB value of the background of a webpage. As the user would interact with the sensor it would change the colour of the page background.
To get to data points of between 0 and 255 from the sensor meant i would have to do a little bit of manipulation to the data first before it can be sent to the web browser. This was easiest to do in the IC, and send correct data to the p5 server where there wouldn't need any other manipulation in javascript.
......@@ -321,6 +314,8 @@ It was pushing out expected serial values from which i could work with :).
## CONCLUSION
---
Making an interface / application depends on firstly getting a some useful data from your circuit board into your computer. A bridge between that and something humans can interact is needed, with it depending on which particular 'tool' or language you intend to visualise it. For which there are 600+.
---
## FILES
---
......
......@@ -24,13 +24,32 @@ draft: false
### Guide
---
- Traces
- Holes
- Interior Cut out
---
### BOM
---
| **PART** | **QTY** | **DESCRIPTION** |
|---|----|---|
| | | |
**Development board**
| **COMPONENT** | **DESCRIPTION** | **DATA SHEET** | **SPECIFICATIONS** |
|---|----|---|---|
|**ADXL343BCCZ-ND** | 3 axis accelerometer | [ADXL343-Datasheet.pdf](../../assignments/week10/AADXL343-3Axis_Accelerometer-Datasheet.pdf) | MAX V{{< rawhtml >}}<sub>s</sub>{{< /rawhtml >}} / V{{< rawhtml >}}<sub>DD</sub>{{< /rawhtml >}} = 3.9v |
| **ATtiny1614** | More pins than the ATtiny1614 | [ATtiny1614-16-17-DataSheet-DS40002204A.pdf](../../assignments/week12/ATtiny1614-16-17-DataSheet-DS40002204A.pdf "ATtiny1614 datasheet") | Polarity |
| **Capacitor (1µF)** | To stabilize power signal. | | Non-polarity |
| **Capacitor (0.1µF)** | To stabilize power signal to sensor. | | Non-polarity |
| **Resistor (0 Ohm) x2** | To use as a bridge for tracks to run underneath. | | Non-polarity. |
| **Resistor (1k Ohm) x2** | To control amount of current going to the Red + Green of the RGB LED | | Non-polarity. |
| **Resistor (499 Ohm)** | To control amount of current going to the Blue of the RGB LED | | Non-polarity. |
| **Button B3 SN** | Input source. | | Non-polarity. |
| **Vibration motor** | Small vibration motor of unknown origin | | Non-polarity. |
| **Vibration motor 3v** | [Small vibration motor](https://www.digikey.nl/product-detail/en/seeed-technology-co-ltd/316040001/1597-1244-ND/5487672 "haptic motor") | [Vibration Motor datasheet](../electronics/haptic_motor_1020-15-003-001_Spec.pdf " haptic datasheet") | Non-polarity. |
| **Resistor (1k Ohm) x1** | To control amount of current going to the vibration motor (and therefore speed) | | Non-polarity. |
| **Button cell battery holder, smd** | [Holder](https://www.digikey.nl/product-detail/en/linx-technologies-inc/BAT-HLD-001-THM/BAT-HLD-001-THM-ND/3044009 "Linx Bat HLD 001") for 3.3v CR2032/35 series button cells | [bat-hld-001-thm.pdf](../electronics/battery_holder_bat-hld-001-thm.pdf)| Polarity. |
---
#### Operating instructions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment