Skip to content
Snippets Groups Projects
Commit fba7fc77 authored by Sara Al Hadhrami's avatar Sara Al Hadhrami
Browse files

update

parent b0cb8e95
No related branches found
No related tags found
No related merge requests found
Pipeline #292658 passed
// ---------------------------------------------------------------- //
// Arduino Ultrasoninc Sensor HC-SR04
// Re-writed by Arbi Abdul Jabbaar
// Using Arduino IDE 1.8.7
// Using HC-SR04 Module
// Tested on 17 September 2019
// ---------------------------------------------------------------- //
#include "BluetoothSerial.h"
......
assets/img/week13/neo_pins.jpg

254 KiB

assets/img/week13/neo_with_esp32.jpg

260 KiB

assets/img/week13/neopixel_example_code.jpg

88.7 KiB

......@@ -98,10 +98,30 @@ DC Buzzer is an output device that generated beep sound. <br> I put the desi
<h3> Neopixel LED</h3>
<p>In my final project I used an output device (Neopixel LED)</p>
<p>In my final project I used an output device (Neopixel LED). I used the PCB I designed for my final project that is controlled by using esp32 microcontroller.</p>
<img src="assets/img/week13/neopixle.jpg" alt="Trulli" width="500">
<br> <br>
<p>I used a strip of 6 LEDs</p>
<img src="assets/img/week13/neopixle-place.jpg" alt="Trulli" width="500">
<br> <br>
<p> Neopixel strip has VCC, GND and digital pins. </p>
<img src="assets/img/week13/neo_pins.jpg" alt="Trulli" width="30%">
<br> <br>
<p> I connected the digital pin in neopixel with pin13 in esp32cam by using orange wire. </p>
<img src="assets/img/week13/neo_with_esp32.jpg" alt="Trulli" width="40%">
<br> <br>
<p> I used the example code from arduino IDE and I modified it to work with my pcb and light up with blue. </p>
<img src="assets/img/week13/neopixel_example_code.jpg" alt="Trulli" width="50%">
<br> <br>
<p> I uploaded the code to my pcb by using FTDI cable. Then I connected the pcb with the battery and it immediately lights up. </p>
<img src="assets/img/week13/" alt="Trulli" width="50%">
<br> <br>
<br> <br> <hr> <br>
......@@ -134,8 +154,11 @@ DC Buzzer is an output device that generated beep sound. <br> I put the desi
<td> DC Buzzer Code </td>
<td> <a href="assets/design/Buzzercode.ino">Arduino IDE File </a> </td>
</tr>
<tr>
<td> Neopixel Code </td>
<td> <a href="assets/design/Buzzercode.ino">Arduino IDE File </a> </td>
</tr>
</table>
<br> <br>
......
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