40feeb6959d568b5d548f322f1888b2a5f0d6cf4
Board-dat/Board-DAT.md
| ... | ... | @@ -384,7 +384,7 @@ MT7688 |
| 384 | 384 | |
| 385 | 385 | [[camera-dat]] |
| 386 | 386 | |
| 387 | -- [[SCM1030-dat]] - [[SCM1002-dat]] - [[SCM1004-dat]] |
|
| 387 | +- [[SCM1030-dat]] - [[SCM1002-dat]] - [[SCM1004-dat]] - [[SCM1008-dat]] |
|
| 388 | 388 | |
| 389 | 389 | |
| 390 | 390 | ### SCU |
| ... | ... | @@ -400,7 +400,7 @@ Darlinton driver - [[SCU1024-dat]] |
| 400 | 400 | |
| 401 | 401 | - [[SDR1040-DAT]] - [[SDR1041-DAT]] - [[SDR1096-DAT]] - [[SDR1106-dat]] - [[SDR1113-DAT]] - [[sdr1070-dat]] |
| 402 | 402 | |
| 403 | -- [[sdr1062-dat]] |
|
| 403 | +- [[sdr1062-dat]] - [[SDR1060-dat]] |
|
| 404 | 404 | |
| 405 | 405 | ### SMO |
| 406 | 406 | |
| ... | ... | @@ -421,9 +421,12 @@ Motion sensor |
| 421 | 421 | - [[STM1004-DAT]] |
| 422 | 422 | |
| 423 | 423 | ### SSL |
| 424 | -- [[SSL1027-dat]] - [[SSL1075-DAT]] |
|
| 425 | 424 | |
| 426 | -- [[SSL1042-dat]] - [[SSL1045-dat]] |
|
| 425 | +- [[SSL1027-dat]] - [[SSL1075-DAT]] - [[SSL1072-dat]] |
|
| 426 | + |
|
| 427 | +- [[SSL1042-dat]] - [[SSL1045-dat]] - [[SSL1034-dat]] |
|
| 428 | + |
|
| 429 | +[[buzzer-dat]] - [[SSL1019-dat]] |
|
| 427 | 430 | |
| 428 | 431 | ### SVC |
| 429 | 432 |
Board-dat/SDR/SDR1060-dat/2025-04-01-13-12-55.png
| ... | ... | Binary files /dev/null and b/Board-dat/SDR/SDR1060-dat/2025-04-01-13-12-55.png differ |
Board-dat/SDR/SDR1060-dat/2025-04-01-13-13-09.png
| ... | ... | Binary files /dev/null and b/Board-dat/SDR/SDR1060-dat/2025-04-01-13-13-09.png differ |
Board-dat/SDR/SDR1060-dat/2025-04-01-13-18-46.png
| ... | ... | Binary files /dev/null and b/Board-dat/SDR/SDR1060-dat/2025-04-01-13-18-46.png differ |
Board-dat/SDR/SDR1060-dat/SDR1060-dat.md
| ... | ... | @@ -0,0 +1,71 @@ |
| 1 | + |
|
| 2 | +# SDR1060-dat.md |
|
| 3 | + |
|
| 4 | +## Info |
|
| 5 | + |
|
| 6 | +[product url - L293D Arduino Motor Shield](https://www.electrodragon.com/product/arduino-official-motor-drive-shield-l293d/) |
|
| 7 | + |
|
| 8 | +This shield has an L293D IC, a dual H-bridge motor driver integrated circuit (IC), which allows it to drive |
|
| 9 | +- two DC motors, |
|
| 10 | +- a stepper motor, |
|
| 11 | +- or a servo motor. |
|
| 12 | + |
|
| 13 | + |
|
| 14 | +Key Features of the L293D Motor Driver Shield |
|
| 15 | + |
|
| 16 | +- Dual H-Bridge IC: The L293D IC can control up to two DC motors or one stepper motor. It provides bidirectional control for two motors independently. |
|
| 17 | +- Current Handling: Each channel of the L293D can handle up to 600mA of continuous current and peak currents up to 1.2A per channel. |
|
| 18 | +- Voltage Range: The shield can operate at a wide range of voltages, typically from 4.5V to 36V. |
|
| 19 | +- Protection Diodes: The shield has built-in diodes to protect the IC from back EMF generated by the motors. |
|
| 20 | +- PWM Control: Supports Pulse Width Modulation (PWM) for speed control of the motors. |
|
| 21 | + |
|
| 22 | + |
|
| 23 | +### Board Map, Dimension, Pins, etc. |
|
| 24 | + |
|
| 25 | +Pin Definitions |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 30 | + |
|
| 31 | + |
|
| 32 | +| Pin No. of Connector | Pin Name | Arduino Pin | Functionality | |
|
| 33 | +| -------------------- | --------- | ----------- | --------------------------------------------- | |
|
| 34 | +| J1-1 | - | D0 | - | |
|
| 35 | +| J1-2 | - | D1 | - | |
|
| 36 | +| J1-3 | - | D2 | - | |
|
| 37 | +| J1-4 | PWM2B | D3 | Enable pin of L293D IC controlling port M2 | |
|
| 38 | +| J1-5 | DIR_CLK | D4 | Clock Pin of 74HC595 | |
|
| 39 | +| J1-6 | PWM0B | D5 | Enable Pin of L293D IC controlling port M3 | |
|
| 40 | +| J1-7 | PWM0A | D6 | Enable Pin of L293D IC controlling port M4 | |
|
| 41 | +| J1-8 | DIR_EN | D7 | Enable Pin of 74HC595 | |
|
| 42 | +| J3-1 | DIR_SER | D8 | Serial Data Input Pin of 74HC595 | |
|
| 43 | +| J3-2 | PWM1A | D9 | PWM control pin of Second Servo Port(SERVO_2) | |
|
| 44 | +| J3-3 | PWM1B | D10 | PWM control pin of First Servo Port(SER1) | |
|
| 45 | +| J3-4 | PWM2A | D11 | Enable pin of L293D IC controlling port M1 | |
|
| 46 | +| J3-5 | DIR_LATCH | D12 | Latch Pin of 74HC595 | |
|
| 47 | +| J3-6 | - | D13 | - | |
|
| 48 | +| J3-7 | Gnd | Gnd | Ground | |
|
| 49 | +| J3-8 | - | Aref | - | |
|
| 50 | + |
|
| 51 | + |
|
| 52 | + |
|
| 53 | + |
|
| 54 | +Schematic |
|
| 55 | + |
|
| 56 | + |
|
| 57 | + |
|
| 58 | + |
|
| 59 | + |
|
| 60 | +## Applications, category, tags, etc. |
|
| 61 | + |
|
| 62 | +## Demo Code and Video |
|
| 63 | + |
|
| 64 | +## ref |
|
| 65 | + |
|
| 66 | +- [[SDR1060]] - [[L293-dat]] |
|
| 67 | + |
|
| 68 | +- [[arduino-shields-dat]] - [[motor-driver-dat]] |
|
| 69 | + |
|
| 70 | +- [legacy wiki page](https://www.electrodragon.com/w/L293D) |
|
| 71 | + |
|
| ... | ... | \ No newline at end of file |
Board-dat/SSL/SSL1019-dat/2025-04-01-13-50-27.png
| ... | ... | Binary files /dev/null and b/Board-dat/SSL/SSL1019-dat/2025-04-01-13-50-27.png differ |
Board-dat/SSL/SSL1019-dat/2025-04-01-13-51-48.png
| ... | ... | Binary files /dev/null and b/Board-dat/SSL/SSL1019-dat/2025-04-01-13-51-48.png differ |
Board-dat/SSL/SSL1019-dat/2025-04-01-13-52-07.png
| ... | ... | Binary files /dev/null and b/Board-dat/SSL/SSL1019-dat/2025-04-01-13-52-07.png differ |
Board-dat/SSL/SSL1019-dat/2025-04-01-13-52-26.png
| ... | ... | Binary files /dev/null and b/Board-dat/SSL/SSL1019-dat/2025-04-01-13-52-26.png differ |
Board-dat/SSL/SSL1019-dat/2025-04-01-13-52-44.png
| ... | ... | Binary files /dev/null and b/Board-dat/SSL/SSL1019-dat/2025-04-01-13-52-44.png differ |
Board-dat/SSL/SSL1019-dat/2025-04-01-13-54-00.png
| ... | ... | Binary files /dev/null and b/Board-dat/SSL/SSL1019-dat/2025-04-01-13-54-00.png differ |
Board-dat/SSL/SSL1019-dat/SSL1019-dat.md
| ... | ... | @@ -0,0 +1,61 @@ |
| 1 | + |
|
| 2 | +# SSL1019-dat |
|
| 3 | + |
|
| 4 | +## Info |
|
| 5 | + |
|
| 6 | +[product url - 5PCs 5V Active Continous Beeper/Buzzer](https://www.electrodragon.com/product/3v-active-buzzer-continous-beep-12095-type/) |
|
| 7 | + |
|
| 8 | +SPECIFICATION OF R/TMB12D05 |
|
| 9 | + |
|
| 10 | +FEATURES |
|
| 11 | + |
|
| 12 | +- Seal with built-in |
|
| 13 | +- Oscillating circuit fom wave |
|
| 14 | +- Soldering and washing |
|
| 15 | +- Case:black noryl |
|
| 16 | + |
|
| 17 | +SPECIFICATIONS: |
|
| 18 | + |
|
| 19 | +| TYPE | unit | R/TMB12D05 | |
|
| 20 | +| --------------------- | ---- | ---------- | |
|
| 21 | +| RATED VOLTAGE | (V) | 5 | |
|
| 22 | +| OPERATING VOLTAGE | (V) | 3~7 | |
|
| 23 | +| RATEDCURRENT | (mA) | 30 | |
|
| 24 | +| SOUND OUTPUT AT 10CM | (dB) | ≥83 | |
|
| 25 | +| RESONANT FREQUENCY | (Hz) | 2800±500 | |
|
| 26 | +| OPERATING TEMPERATURE | (C) | -20~+80 | |
|
| 27 | +| STORAGE TEMPERATURE | (C) | 25~+90 | |
|
| 28 | +| WEIGHT | (g) | 2 | |
|
| 29 | + |
|
| 30 | + |
|
| 31 | + |
|
| 32 | + |
|
| 33 | + |
|
| 34 | + |
|
| 35 | + |
|
| 36 | + |
|
| 37 | + |
|
| 38 | +注:焊锡温度:250℃时,5秒以内;350℃时2秒以内。 |
|
| 39 | + |
|
| 40 | +DIMENSION:(UNIT:mm) |
|
| 41 | + |
|
| 42 | + |
|
| 43 | + |
|
| 44 | + |
|
| 45 | + |
|
| 46 | + |
|
| 47 | +### Board Map, Dimension, Pins, etc. |
|
| 48 | + |
|
| 49 | +## Applications, category, tags, etc. |
|
| 50 | + |
|
| 51 | +## Demo Code and Video |
|
| 52 | + |
|
| 53 | + |
|
| 54 | +## ref |
|
| 55 | + |
|
| 56 | +- [[SSL1019]] |
|
| 57 | + |
|
| 58 | +- legacy wiki page |
|
| 59 | + |
|
| 60 | + |
|
| 61 | + |
Board-dat/SSL/SSL1034-dat/2025-04-01-13-00-01.png
| ... | ... | Binary files /dev/null and b/Board-dat/SSL/SSL1034-dat/2025-04-01-13-00-01.png differ |
Board-dat/SSL/SSL1034-dat/SSL1034-dat.md
| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | + |
|
| 2 | +# SSL1034-dat |
|
| 3 | + |
|
| 4 | +## Info |
|
| 5 | + |
|
| 6 | +[product url - Ambient Light Sensor Breakout, BH1750FVI](https://www.electrodragon.com/product/light-sensitive-bh1750fvi-light-sensor-module/) |
|
| 7 | + |
|
| 8 | +### Board Map, Dimension, Pins, etc. |
|
| 9 | + |
|
| 10 | +schematic |
|
| 11 | + |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 15 | +## Applications, category, tags, etc. |
|
| 16 | + |
|
| 17 | +- [[BH1750FVI-dat]] - [[Ambient-light-sensor]] |
|
| 18 | + |
|
| 19 | +## Demo Code and Video |
|
| 20 | + |
|
| 21 | +- [[BH1750FVI-dat]] |
|
| 22 | + |
|
| 23 | +## ref |
|
| 24 | + |
|
| 25 | +- [[SSL1034]] - [[BH1750FVI-dat]] |
|
| 26 | + |
|
| 27 | +- [legacy wiki page ](https://www.electrodragon.com/w/index.php?title=Light-Sensitive_BH1750FVI_Light_Sensor_Module) |
|
| 28 | + |
|
| 29 | + |
Board-dat/SSL/SSL1072-dat/SSL1072-dat.md
| ... | ... | @@ -0,0 +1,21 @@ |
| 1 | + |
|
| 2 | +# SSL1072-dat |
|
| 3 | + |
|
| 4 | +version 20KG, prefer to version [[SSL1070-dat]] |
|
| 5 | + |
|
| 6 | +## Info |
|
| 7 | + |
|
| 8 | +[product url - Load Cell Amplifier, Weight Sensor Kit, HX711 [KG]](https://www.electrodragon.com/product/load-cell-amplifier-weight-sensor-kit-hx711-kg/) |
|
| 9 | + |
|
| 10 | +### Board Map, Dimension, Pins, etc. |
|
| 11 | + |
|
| 12 | +## Applications, category, tags, etc. |
|
| 13 | + |
|
| 14 | +## Demo Code and Video |
|
| 15 | + |
|
| 16 | +## ref |
|
| 17 | + |
|
| 18 | +- [[SSL1070]] |
|
| 19 | + |
|
| 20 | +- legacy wiki page |
|
| 21 | + |
|
| ... | ... | \ No newline at end of file |
Chip-dat/TI-dat/TI-Motor-dat/L293-dat/L293-dat.md
| ... | ... | @@ -14,7 +14,9 @@ The L293D is a 16-pin motor driver IC, also known as a quad half-H driver, capab |
| 14 | 14 | - [[SDR1064-dat]] |
| 15 | 15 | |
| 16 | 16 | |
| 17 | +## demo code |
|
| 17 | 18 | |
| 19 | +- single DC motor control [[afMotor-1.ino]] |
|
| 18 | 20 | |
| 19 | 21 | ## ref |
| 20 | 22 |
Chip-dat/TI-dat/TI-Motor-dat/L293-dat/afMotor-1.ino
| ... | ... | @@ -0,0 +1,149 @@ |
| 1 | +#include <AFMotor.h> |
|
| 2 | +// Library to run DC Motor Using Motor Driver Shield |
|
| 3 | +#include <LiquidCrystal_I2C.h> |
|
| 4 | +// Library to Run I2C LCD |
|
| 5 | + |
|
| 6 | +LiquidCrystal_I2C lcd(0x27, 16, 2); // Format -> (Address,Columns,Rows ) |
|
| 7 | + |
|
| 8 | +// Create the motor object connected to M3 |
|
| 9 | +AF_DCMotor motor(3); |
|
| 10 | + |
|
| 11 | +// Define button pins |
|
| 12 | +const int forwardButtonPin = A1; |
|
| 13 | +const int reverseButtonPin = A2; |
|
| 14 | +const int stopButtonPin = A3; |
|
| 15 | + |
|
| 16 | +// Define potentiometer pin |
|
| 17 | +const int potPin = A0; |
|
| 18 | + |
|
| 19 | +// Variables to store motor state and direction |
|
| 20 | +bool motorRunning = false; |
|
| 21 | +int motorDirection = BACKWARD; // FORWARD or BACKWARD |
|
| 22 | + |
|
| 23 | +// Read the potentiometer value |
|
| 24 | +int potValue; |
|
| 25 | +int motorSpeed; |
|
| 26 | + |
|
| 27 | +// Variable to store button states |
|
| 28 | +bool forwardButtonState; |
|
| 29 | +bool stopButtonState; |
|
| 30 | +bool reverseButtonState; |
|
| 31 | + |
|
| 32 | +// Inline function to check if button is pressed packed with debouncing logic |
|
| 33 | +inline bool chkButtonState(int pinNum, int checkState, int debounceDelay) |
|
| 34 | +{ |
|
| 35 | + if (((digitalRead(pinNum) == checkState) ? true : false) == true) |
|
| 36 | + { |
|
| 37 | + delay(debounceDelay); |
|
| 38 | + return (((digitalRead(pinNum) == checkState) ? (true) : (false)) == true); |
|
| 39 | + } |
|
| 40 | + else |
|
| 41 | + { |
|
| 42 | + return false; |
|
| 43 | + } |
|
| 44 | +} |
|
| 45 | + |
|
| 46 | +void setup() |
|
| 47 | +{ |
|
| 48 | + // initialize the lcd |
|
| 49 | + lcd.init(); |
|
| 50 | + // Turn on the Backlight |
|
| 51 | + lcd.backlight(); |
|
| 52 | + // Clear the display buffer |
|
| 53 | + lcd.clear(); |
|
| 54 | + |
|
| 55 | + // Set cursor (Column, Row) |
|
| 56 | + lcd.setCursor(0, 0); |
|
| 57 | + lcd.print("DC Motor using"); |
|
| 58 | + lcd.setCursor(0, 1); |
|
| 59 | + lcd.print("L293D Shield"); |
|
| 60 | + |
|
| 61 | + // Set button pins as inputs |
|
| 62 | + pinMode(forwardButtonPin, INPUT_PULLUP); |
|
| 63 | + pinMode(stopButtonPin, INPUT_PULLUP); |
|
| 64 | + pinMode(reverseButtonPin, INPUT_PULLUP); |
|
| 65 | + |
|
| 66 | + // Start with motor off |
|
| 67 | + motor.setSpeed(0); |
|
| 68 | + motor.run(RELEASE); |
|
| 69 | + |
|
| 70 | + delay(2000); |
|
| 71 | + |
|
| 72 | + // Clear the display buffer |
|
| 73 | + lcd.clear(); |
|
| 74 | + // Set cursor (Column, Row) |
|
| 75 | + lcd.setCursor(0, 0); |
|
| 76 | + lcd.print("Motor Direction:"); |
|
| 77 | + lcd.setCursor(0, 1); |
|
| 78 | + lcd.print("Stopped "); |
|
| 79 | +} |
|
| 80 | + |
|
| 81 | +void loop() |
|
| 82 | +{ |
|
| 83 | + // Read the potentiometer value for changing speed as per Analog input |
|
| 84 | + potValue = analogRead(potPin); |
|
| 85 | + motorSpeed = map(potValue, 0, 1023, 0, 255); |
|
| 86 | + |
|
| 87 | + // Read the button states |
|
| 88 | + forwardButtonState = chkButtonState(forwardButtonPin, LOW, 20); |
|
| 89 | + reverseButtonState = chkButtonState(reverseButtonPin, LOW, 20); |
|
| 90 | + stopButtonState = chkButtonState(stopButtonPin, LOW, 20); |
|
| 91 | + |
|
| 92 | + // check for Forward run |
|
| 93 | + if (forwardButtonState && (!motorRunning || motorDirection == BACKWARD)) |
|
| 94 | + { |
|
| 95 | + // Set cursor (Column, Row) |
|
| 96 | + lcd.setCursor(0, 1); |
|
| 97 | + lcd.print("Clock "); |
|
| 98 | + if (motorDirection == BACKWARD) |
|
| 99 | + { |
|
| 100 | + motor.setSpeed(0); |
|
| 101 | + motor.run(RELEASE); |
|
| 102 | + delay(1000); |
|
| 103 | + } |
|
| 104 | + motorRunning = true; |
|
| 105 | + motorDirection = FORWARD; |
|
| 106 | + motor.setSpeed(motorSpeed); |
|
| 107 | + motor.run(FORWARD); |
|
| 108 | + } |
|
| 109 | + |
|
| 110 | + // check for Reverse run |
|
| 111 | + else if (reverseButtonState && (!motorRunning || motorDirection == FORWARD)) |
|
| 112 | + { |
|
| 113 | + // Set cursor (Column, Row) |
|
| 114 | + lcd.setCursor(0, 1); |
|
| 115 | + lcd.print("Anti-Clk"); |
|
| 116 | + if (motorDirection == FORWARD) |
|
| 117 | + { |
|
| 118 | + motor.setSpeed(0); |
|
| 119 | + motor.run(RELEASE); |
|
| 120 | + delay(1000); |
|
| 121 | + } |
|
| 122 | + motorRunning = true; |
|
| 123 | + motorDirection = BACKWARD; |
|
| 124 | + motor.setSpeed(motorSpeed); |
|
| 125 | + motor.run(BACKWARD); |
|
| 126 | + } |
|
| 127 | + |
|
| 128 | + // Stop motor |
|
| 129 | + else if (stopButtonState && motorRunning) |
|
| 130 | + { |
|
| 131 | + // Set cursor (Column, Row) |
|
| 132 | + lcd.setCursor(0, 1); |
|
| 133 | + lcd.print("Stopped "); |
|
| 134 | + motorRunning = false; |
|
| 135 | + motor.setSpeed(0); |
|
| 136 | + motor.run(RELEASE); |
|
| 137 | + } |
|
| 138 | + |
|
| 139 | + // Adjust motor speed if running and display speed on LCD |
|
| 140 | + if (motorRunning) |
|
| 141 | + { |
|
| 142 | + motor.setSpeed(motorSpeed); |
|
| 143 | + // Set cursor (Column, Row) |
|
| 144 | + lcd.setCursor(9, 1); |
|
| 145 | + lcd.print("SPD:"); |
|
| 146 | + lcd.print(((motorSpeed * 100) / 255)); |
|
| 147 | + lcd.print("% "); |
|
| 148 | + } |
|
| 149 | +} |
|
| ... | ... | \ No newline at end of file |
Chip-dat/rohm-dat/BH1750FVI-dat/2025-04-01-12-55-22.png
| ... | ... | Binary files /dev/null and b/Chip-dat/rohm-dat/BH1750FVI-dat/2025-04-01-12-55-22.png differ |
Chip-dat/rohm-dat/BH1750FVI-dat/BH1750FVI-ard.ino
| ... | ... | @@ -0,0 +1,66 @@ |
| 1 | + |
|
| 2 | +/* |
|
| 3 | + This is a simple code to test BH1750FVI Light senosr |
|
| 4 | + communicate using I2C Protocol |
|
| 5 | + this library enable 2 slave device address |
|
| 6 | + Main address 0x23 |
|
| 7 | + secondary address 0x5C |
|
| 8 | + connect this sensor as following : |
|
| 9 | + VCC >>> 3.3V |
|
| 10 | + SDA >>> A4 |
|
| 11 | + SCL >>> A5 |
|
| 12 | + addr >> A3 |
|
| 13 | + Gnd >>>Gnd |
|
| 14 | + |
|
| 15 | + |
|
| 16 | +*/ |
|
| 17 | + |
|
| 18 | +// First define the library : |
|
| 19 | + |
|
| 20 | +#include <BH1750FVI.h> // Sensor Library |
|
| 21 | +#include <Wire.h> // I2C Library |
|
| 22 | + |
|
| 23 | +BH1750FVI LightSensor; |
|
| 24 | + |
|
| 25 | +void setup() |
|
| 26 | + // put your setup code here, to run once: |
|
| 27 | + Serial.begin(9600); |
|
| 28 | + LightSensor.begin(); |
|
| 29 | + /* |
|
| 30 | + Set the address for this sensor |
|
| 31 | + you can use 2 different address |
|
| 32 | + Device_Address_H "0x5C" |
|
| 33 | + Device_Address_L "0x23" |
|
| 34 | + you must connect Addr pin to A3 . |
|
| 35 | + */ |
|
| 36 | + LightSensor.SetAddress(Device_Address_H); // Address 0x5C |
|
| 37 | + // To adjust the slave on other address , uncomment this line |
|
| 38 | + // lightMeter.SetAddress(Device_Address_L); //Address 0x5C |
|
| 39 | + //----------------------------------------------- |
|
| 40 | + /* |
|
| 41 | + set the Working Mode for this sensor |
|
| 42 | + Select the following Mode: |
|
| 43 | + Continuous_H_resolution_Mode |
|
| 44 | + Continuous_H_resolution_Mode2 |
|
| 45 | + Continuous_L_resolution_Mode |
|
| 46 | + OneTime_H_resolution_Mode |
|
| 47 | + OneTime_H_resolution_Mode2 |
|
| 48 | + OneTime_L_resolution_Mode |
|
| 49 | + |
|
| 50 | + The data sheet recommanded To use Continuous_H_resolution_Mode |
|
| 51 | + */ |
|
| 52 | + |
|
| 53 | + LightSensor.SetMode(Continuous_H_resolution_Mode); |
|
| 54 | + |
|
| 55 | + Serial.println("Running..."); |
|
| 56 | + |
|
| 57 | + |
|
| 58 | +void loop() |
|
| 59 | +{ |
|
| 60 | + // put your main code here, to run repeatedly: |
|
| 61 | + uint16_t lux = LightSensor.GetLightIntensity(); // Get Lux value |
|
| 62 | + Serial.print("Light: "); |
|
| 63 | + Serial.print(lux); |
|
| 64 | + Serial.println(" lux"); |
|
| 65 | + delay(1000); |
|
| 66 | +} |
|
| ... | ... | \ No newline at end of file |
Chip-dat/rohm-dat/BH1750FVI-dat/BH1750FVI-dat.md
| ... | ... | @@ -0,0 +1,42 @@ |
| 1 | + |
|
| 2 | +# BH1750FVI-dat |
|
| 3 | + |
|
| 4 | +Digital 16bit Serial Output Type Ambient Light Sensor IC |
|
| 5 | + |
|
| 6 | +## Specifications |
|
| 7 | + |
|
| 8 | +1) Illuminance to Digital Converter |
|
| 9 | +2) Wide range and High resolution. ( 1 - 65535 lx ) |
|
| 10 | +3) Low Current by power down function |
|
| 11 | +4) 50Hz / 60Hz Light noise reject-function |
|
| 12 | +5) I2C bus Interface ( f / s Mode Support ) |
|
| 13 | +6) No need any external parts |
|
| 14 | +7) It is possible to select 2 type of I2C slave-address. |
|
| 15 | +8) It is possible to detect min. 0.11 lx, max. 100000 lx by using this function. |
|
| 16 | + |
|
| 17 | + |
|
| 18 | +## Setup |
|
| 19 | + |
|
| 20 | +Supply voltage : prefer to use 3.3 V to communicate with , Not 5V TTL Logic |
|
| 21 | + |
|
| 22 | +I2C Protocol is used to communicate with Microcontroller , with clock SCL Frequency 400KHz . |
|
| 23 | + |
|
| 24 | + |
|
| 25 | +Measurement mode: this sensor has 3 Measurement mode : |
|
| 26 | + |
|
| 27 | +1) H-resolution with Sensitivity 0.5 lux |
|
| 28 | +2) H-Resolution with Sensitivity 1 lux. |
|
| 29 | +3) L-Resolution with Sensitivity 4 lux. |
|
| 30 | + |
|
| 31 | + |
|
| 32 | + |
|
| 33 | + |
|
| 34 | + |
|
| 35 | +I2C address == 0x23 or 0x5C |
|
| 36 | + |
|
| 37 | + |
|
| 38 | +## demo code |
|
| 39 | + |
|
| 40 | +https://github.com/Genotronex/BH1750FVI_Master |
|
| 41 | + |
|
| 42 | +- arduino code - [[BH1750FVI-ard.ino]] |
Tech-dat/Sensor-dat/light-sensor-dat/ambient-light-sensor-dat.md
| ... | ... | @@ -2,6 +2,10 @@ |
| 2 | 2 | # ambient-light-sensor-dat |
| 3 | 3 | |
| 4 | 4 | |
| 5 | -- [[SMO1090-dat]] |
|
| 5 | +- [[SMO1090-dat]] - [[SSL1034-dat]] - [[BH1750FVI-dat]] - [[Ambient-light-sensor]] - [[ambient-light-sensor-dat]] - [[ambient-light-sensor-dat]] |
|
| 6 | + |
|
| 7 | +- [[ambient-light-sensor]] |
|
| 8 | + |
|
| 9 | + |
|
| 10 | +- [[BH1750FVI-dat]] |
|
| 6 | 11 | |
| 7 | -- [[ambient-light-sensor]] |
|
| ... | ... | \ No newline at end of file |
Tech-dat/acturator-dat/buzzer-dat/buzzer-dat.md
| ... | ... | @@ -0,0 +1,4 @@ |
| 1 | + |
|
| 2 | +# buzzer-dat |
|
| 3 | + |
|
| 4 | +- [[SSL1019-dat]] |
|
| ... | ... | \ No newline at end of file |
Tech-dat/acturator-dat/motor-driver-dat/motor-driver-dat.md
| ... | ... | @@ -9,6 +9,8 @@ |
| 9 | 9 | |
| 10 | 10 | - [[SDR1090-dat]] - [[SDR1079-dat]] - [[SDR1062-dat]] |
| 11 | 11 | |
| 12 | +- [[SDR1060-dat]] |
|
| 13 | + |
|
| 12 | 14 | ## chips |
| 13 | 15 | |
| 14 | 16 | - [[ti-motor-dat]] |
Tech-dat/oscilloscope-dat/oscilloscope-dat.md
| ... | ... | @@ -4,4 +4,13 @@ |
| 4 | 4 | |
| 5 | 5 | - 196678365 |
| 6 | 6 | |
| 7 | - |
|
| ... | ... | \ No newline at end of file |
| 0 | + |
|
| 1 | + |
|
| 2 | + |
|
| 3 | +## spectrum analyzer |
|
| 4 | + |
|
| 5 | +[Spectrum Analyzer](https://academo.org/demos/virtual-oscilloscope/) |
|
| 6 | + |
|
| 7 | +## Selection |
|
| 8 | + |
|
| 9 | +$299 12bit == https://youtu.be/3hyp0-0ns9U?t=680 |
|
| ... | ... | \ No newline at end of file |
board-series-dat/arduino-shields-dat/arduino-shields-dat.md
| ... | ... | @@ -1,4 +1,8 @@ |
| 1 | 1 | |
| 2 | 2 | # arduino-shields-dat |
| 3 | 3 | |
| 4 | -- [[SCU1090-dat]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[SCU1090-dat]] |
|
| 1 | + |
|
| 2 | +motor drive shields |
|
| 3 | + |
|
| 4 | +- [[SDR1060-dat]] |
|
| ... | ... | \ No newline at end of file |