βœ… Officially Supported Arduino Libraries in Tinkercad Circuits:

1. Servo.h πŸ€–πŸ¦Ύ

  • Purpose:
    Control standard servo motors.
  • Functions:
#include <Servo.h>
Servo servo; 
servo.attach(pin);
servo.write(angle);

2. LiquidCrystal.h πŸ“Ίβœ¨

  • Purpose:
    Interface and control LCD displays (16×2, 20×4, etc.).
  • Functions:
#include <LiquidCrystal.h>
LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
lcd.begin(16,2);
lcd.print("Hello");

3. SoftwareSerial.h πŸ”„πŸ“‘

  • Purpose:
    Create additional software-based serial communication ports.
  • Functions:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(RX, TX);
mySerial.begin(9600);
mySerial.println("Hello");

4. Stepper.h πŸ›žβš™οΈ

  • Purpose:
    Control stepper motors (28BYJ-48 and others).
  • Functions:
#include <Stepper.h>
Stepper stepper(stepsPerRev, pin1, pin2, pin3, pin4);
stepper.setSpeed(60);
stepper.step(steps);

5. EEPROM.h πŸ’ΎπŸ“

  • Purpose:
    Read and write data to Arduino’s built-in EEPROM memory.
  • Functions:
#include <EEPROM.h>
EEPROM.write(address, value);
EEPROM.read(address);

🚩 Libraries Not Supported:

Tinkercad does not support custom or external libraries. You cannot upload or include your own libraries (e.g., FastLED, Adafruit_Sensor, etc.).

Example of unsupported use:

#include "CustomLibrary.h"  // ❌ Not supported!

#include <Wire.h>           // ❌ Not supported (no I2C devices)!

#include <SPI.h>            // ❌ Not supported!

⚑ Quick Reference Table:

LibrarySupportedUsage Examples
Servo.hβœ… YESServo motors (SG90, MG90S, etc.)
LiquidCrystal.hβœ… YESLCD displays (16×2, 20×4)
SoftwareSerial.hβœ… YESAdditional serial ports (Bluetooth, GPS)
Stepper.hβœ… YESStepper motor control (28BYJ-48)
EEPROM.hβœ… YESPersistent storage (simple data)
SPI.h❌ NOSPI devices
Wire.h (I2C)❌ NOI2C devices
Custom libraries❌ NOExternal user-created libraries

🌟 Final Recommendation:

Stick to the supported libraries above for a smooth and hassle-free experience while exploring Arduino basics and creating awesome projects in Tinkercad! πŸŽ‰βœ¨πŸ€–

πŸ“‘Broadcast the signal β€” amplify the connection.

Leave a Reply