Arduino Pro Mini-Based Battery-Powered Laser Emitter with Temperature Sensing and OLED Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino Pro Mini microcontroller interfacing with various components including a momentary switch, a laser emitter, a temperature sensor (mlx90614), an OLED display, and a USB Serial TTL for communication. The circuit is powered by a 9V battery.
Component List
Arduino Pro Mini
- Description: A compact microcontroller board based on the ATmega328P.
- Pins: DTR, TXO, RXI, VCC, GND, A4, A5, RAW, RESET, A3, A2, A1, A0, SCK, MISO, MOSI, D10, D9, D8, D7, D6, D5, D4, D3, D2
Black Momentary Switch 32 mm
- Description: A momentary push-button switch.
- Pins: In, Out
KY-008 Laser Emitter
- Description: A laser module that emits a red laser beam.
- Pins: SIG, 5v, GND
mlx90614
- Description: An infrared temperature sensor.
- Pins: SDA, SCL, GND, VIN
OLED 128x64 I2C Monochrome Display VDD-GND
- Description: A monochrome OLED display with I2C interface.
- Pins: VDD, GND, SCK, SDA
USB Serial TTL
- Description: A USB to TTL serial converter.
- Pins: GND, 5V, TX, RX, DTR, 3.3V
9V Battery
- Description: A standard 9V battery for powering the circuit.
- Pins: -, +
Wiring Details
Arduino Pro Mini
- RAW: Connected to In of Black Momentary Switch 32 mm
- GND: Connected to GND of mlx90614, GND of 9V Battery, GND of KY-008 Laser Emitter, GND of OLED 128x64 I2C Monochrome Display, and GND of USB Serial TTL
- VCC: Connected to VIN of mlx90614, 5v of KY-008 Laser Emitter, VDD of OLED 128x64 I2C Monochrome Display, and 5V of USB Serial TTL
- A5: Connected to SCL of mlx90614 and SCK of OLED 128x64 I2C Monochrome Display
- A4: Connected to SDA of mlx90614 and SDA of OLED 128x64 I2C Monochrome Display
- DTR: Connected to DTR of USB Serial TTL
- TXO: Connected to RX of USB Serial TTL
- RXI: Connected to TX of USB Serial TTL
- MISO: Connected to SIG of KY-008 Laser Emitter
Black Momentary Switch 32 mm
- In: Connected to RAW of Arduino Pro Mini
- Out: Connected to + of 9V Battery
KY-008 Laser Emitter
- SIG: Connected to MISO of Arduino Pro Mini
- 5v: Connected to VCC of Arduino Pro Mini
- GND: Connected to GND of Arduino Pro Mini
mlx90614
- SDA: Connected to A4 of Arduino Pro Mini
- SCL: Connected to A5 of Arduino Pro Mini
- GND: Connected to GND of Arduino Pro Mini
- VIN: Connected to VCC of Arduino Pro Mini
OLED 128x64 I2C Monochrome Display VDD-GND
- VDD: Connected to VCC of Arduino Pro Mini
- GND: Connected to GND of Arduino Pro Mini
- SCK: Connected to A5 of Arduino Pro Mini
- SDA: Connected to A4 of Arduino Pro Mini
USB Serial TTL
- GND: Connected to GND of Arduino Pro Mini
- 5V: Connected to VCC of Arduino Pro Mini
- TX: Connected to RXI of Arduino Pro Mini
- RX: Connected to TXO of Arduino Pro Mini
- DTR: Connected to DTR of Arduino Pro Mini
9V Battery
- -: Connected to GND of Arduino Pro Mini
- +: Connected to Out of Black Momentary Switch 32 mm
Documented Code
Arduino Pro Mini Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)