Arduino Pro Mini-Based Battery-Powered Temperature and Laser Display System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino Pro Mini microcontroller interfaced with various components including a USB Serial TTL for communication, a 9V battery for power, a momentary switch, a KY-008 Laser Emitter, a 0.96" OLED display, and an MLX90614 temperature sensor. The circuit is designed to read temperature data, display it on the OLED, and control the laser emitter based on certain conditions.
Component List
Arduino Pro Mini
- Description: A compact microcontroller board based on the ATmega328.
- 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
9V Battery
- Description: A standard 9V battery used to power the circuit.
- Pins: -, +
Black Momentary Switch 32 mm
- Description: A momentary switch used to control power to the circuit.
- Pins: In, Out
KY-008 Laser Emitter
- Description: A laser emitter module.
- Pins: SIG, 5v, GND
0.96" OLED
- Description: A small OLED display for visual output.
- Pins: GND, VDD, SCK, SDA
MLX90614
- Description: An infrared temperature sensor.
- Pins: SDA, SCL, GND, VIN
USB Serial TTL
- Description: A USB to TTL serial converter for programming the Arduino.
- Pins: GND, 5V, TX, RX, DTR, 3.3V
Wiring Details
Arduino Pro Mini
- DTR: Connected to USB Serial TTL DTR
- TXO: Connected to USB Serial TTL RX
- RXI: Connected to USB Serial TTL TX
- VCC: Connected to USB Serial TTL 5V, MLX90614 VIN, KY-008 Laser Emitter 5v, 0.96" OLED VDD
- GND: Connected to USB Serial TTL GND, MLX90614 GND, KY-008 Laser Emitter GND, 0.96" OLED GND, 9V Battery -
- A4: Connected to MLX90614 SDA, 0.96" OLED SDA
- A5: Connected to MLX90614 SCL, 0.96" OLED SCK
- RAW: Connected to Black Momentary Switch In
- MISO: Connected to KY-008 Laser Emitter SIG
9V Battery
- -: Connected to Arduino Pro Mini GND, MLX90614 GND, KY-008 Laser Emitter GND, 0.96" OLED GND
- +: Connected to Black Momentary Switch Out
Black Momentary Switch 32 mm
- In: Connected to Arduino Pro Mini RAW
- Out: Connected to 9V Battery +
KY-008 Laser Emitter
- SIG: Connected to Arduino Pro Mini MISO
- 5v: Connected to Arduino Pro Mini VCC
- GND: Connected to Arduino Pro Mini GND, 9V Battery -
0.96" OLED
- GND: Connected to Arduino Pro Mini GND, 9V Battery -
- VDD: Connected to Arduino Pro Mini VCC
- SCK: Connected to Arduino Pro Mini A5
- SDA: Connected to Arduino Pro Mini A4
MLX90614
- SDA: Connected to Arduino Pro Mini A4, 0.96" OLED SDA
- SCL: Connected to Arduino Pro Mini A5, 0.96" OLED SCK
- GND: Connected to Arduino Pro Mini GND, KY-008 Laser Emitter GND, 0.96" OLED GND, 9V Battery -
- VIN: Connected to Arduino Pro Mini VCC, KY-008 Laser Emitter 5v, 0.96" OLED VDD
USB Serial TTL
- DTR: Connected to Arduino Pro Mini DTR
- RX: Connected to Arduino Pro Mini TXO
- TX: Connected to Arduino Pro Mini RXI
- 5V: Connected to Arduino Pro Mini VCC
- GND: Connected to Arduino Pro Mini GND
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)
This documentation provides a comprehensive overview of the circuit, including a detailed list of components, their connections, and the code used in the microcontroller.