Skip to content
Snippets Groups Projects
Commit aae1d58c authored by yuichitamiya's avatar yuichitamiya
Browse files

add inst week10

parent e1509932
No related branches found
No related tags found
No related merge requests found
Pipeline #293598 passed
docs/Instruction/images/week10/time_jp_ar.png

145 KiB

......@@ -57,3 +57,10 @@ GND |GND
![](../images/fa2022env/pi-pico-arduino-setting.png)
![](../images/fa2022env/pi-pico-arduino-error.png)
### TEST 2
Ref. [pico-debugを使って1枚のRaspberry Pi Picoで自分自身をデバッグしてみる](https://qiita.com/yunkya2/items/6a8263e98b3dd2b1959a)
Ref. [pico-debug: a built-in CMSIS-DAP debugger for the RP2040 #RaspberryPiPico #Debugging @Raspberry_Pi](https://blog.adafruit.com/2021/02/05/pico-debug-a-built-in-cmsis-dap-debugger-for-the-rp2040-raspberrypipico-debugging-raspberry_pi/)
Ref. [git](https://github.com/majbthrd/pico-debug/)
# 10. Output devices
This week I worked on defining my final project idea and started to getting used to the documentation process.
## Machine Building
## Research
Meeting with Armenia students
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
- 15:00-17:00JST (10:00-12:00 Armenia) ?
- 22:00- JST (17:00-Armenia) ?
> "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
![](./images/week10/time_jp_ar.png){width=300}
## Useful links
- [Jekyll](http://jekyll.org)
- [Google](http://google.com)
- [Markdown](https://en.wikipedia.org/wiki/Markdown)
- Schedule
- Apr 06: mechanical design, machine design (Class)
- **Apr 09(Sat): local session**
- Apr 13: midterm review
- **Apr 16(Sat): local session**
- Apr 20: input devices (1 min presentation)
## Code Example
Use the three backticks to separate code.
```
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
## nueval
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
```
- Local evaluation
## Gallery
## break
![](../images/sample-photo.jpg)
Apr 13: midterm review
## Video
> **Midterm**
>
> Prepare for global evaluation by having your local instructor
> review your preceding assignments and final project site
### From Vimeo
<iframe src="https://player.vimeo.com/video/10048961" width="640" height="480" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<p><a href="https://vimeo.com/10048961">Sound Waves</a> from <a href="https://vimeo.com/radarboy">George Gally (Radarboy)</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
## Group Assignment
### From Youtube
> measure the power consumption of an output device
<iframe width="560" height="315" src="https://www.youtube.com/embed/jjNgJFemlC4" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
- Ohm’s law
- V = I x R
- Voltage
- Intensity of electricity
- Resistance
- P = I x V [W] = I^2 x R [W]
## 3D Models
- How to measure Voltage
- multimeter
- How to measure I
- I = V/R
- V: multimeter
- R: known value
- Circuits
- 直列(series)
- 並列(parallel)
<div class="sketchfab-embed-wrapper"><iframe width="640" height="480" src="https://sketchfab.com/models/658c8f8a2f3042c3ad7bdedd83f1c915/embed" frameborder="0" allow="autoplay; fullscreen; vr" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
- Sense resistor / Shunt resistor
- Ref. [Shunt Resistors <Current Sence Shunt Resistors>](https://www.rohm.com/electronics-basics/resistors/shunt-resistors)
<p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;">
<a href="https://sketchfab.com/models/658c8f8a2f3042c3ad7bdedd83f1c915?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Dita&#39;s Gown</a>
by <a href="https://sketchfab.com/francisbitontistudio?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Francis Bitonti Studio</a>
on <a href="https://sketchfab.com?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a>
</p>
</div>
Ref. [last year local session](http://academany.fabcloud.io/fabacademy/2021/labs/kannai/site/instruction/local_session/week12/)
Ref. [last year group assignment](http://academany.fabcloud.io/fabacademy/2021/labs/kannai/site/group_assignments/week12/)
## individual assignment:
> add an output device to a microcontroller board you've designed,
> and program it to do something
### Assessment
[Assessment](https://fabacademy.org/2022/nueval/output_devices.html)/Output Devices
> **Is it ok to use the LED in the hello board as an output device for this assignment?**
> Answer: No, you need to do more.
[Assessment](https://fabacademy.org/2022/nueval/input_devices.html)/Input device
> **Can I use a breadboard and/or jump wires to interface my input device(s)**
> Answer: No. You can't use a breadboard. If you use wires, they must be soldered or connected with connectors.
#### Color LED
[kannai_inventry](https://docs.google.com/spreadsheets/d/16No34EYWp9jkpQH5ESc-zzDbUVTjdCI8g1H436G6a8c/edit#gid=426488364)
##### RGB LED
![](./images/week09/rgb_led.png){width=200}
![](./images/week09/rgb_led_sch.png){width=300}
##### NeoPixel(WS2812)
[![](./images/week09/WS2812.png){width=200}](https://akizukidenshi.com/catalog/g/gI-07915/)
![](./images/week09/WS2812_sch.png){width=200}
C1 104 = 100nF = 0.1uF
Ref. [uf-nf-pf-capacitor-conversion-table](https://www.newark.com/uf-nf-pf-capacitor-conversion-table)
![](./images/week09/neopixel.png){width=200}
##### neon (EL wire)
- EL: Electroluminescence
- Ref. [How to make EL-wire blink?(Arduino)](https://kavasmlikon.wordpress.com/2011/11/21/how-to-make-el-wire-blink/)
[![](./images/week09/EL_wire.png){width=300}](www.amazon.co.jp/dp/B09M8NP2YF)
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