digital_write
Digital Write
Set one or more digital GPIO pins on a Bolt device to HIGH (5V) or LOW (0V). Supports writing to a single pin or multiple pins at once. Use this to control LEDs, relays, motors, and other on/off actuators.
digital_write
Set one or more digital GPIO pins on a Bolt device to HIGH (5V) or LOW (0V). Supports writing to a single pin or multiple pins at once. Use this to control LEDs, relays, motors, and other on/off actuators.
digital_read
Read the current digital state of one or more GPIO pins on a Bolt device. Returns the HIGH/LOW state of each pin. Useful for checking the status of switches, buttons, or other digital input sensors.
list_devices
Retrieve all Bolt IoT devices associated with your account. Returns a list of devices with their names and online/offline status. Useful for discovering available devices before performing operations on them.
restart_device
Remotely restart a Bolt IoT device. The device will reboot and reconnect to the Bolt Cloud. Useful for recovering from errors or applying configuration changes.
get_device_status
Check whether a Bolt IoT device is online (alive) or offline (dead), and retrieve its firmware and hardware version information. Combines the status check and version query into a single tool for complete device health overview.
analog_read
Read the analog value from a pin on a Bolt device. The analog pin A0 returns values from 0 to 1023, representing the voltage level. Commonly used for reading sensor data such as temperature, light intensity, or humidity.
uart_communicate
Perform UART (serial) communication with a device connected to the Bolt module. Supports initializing the serial interface, sending data, reading data, or sending and reading in one step. Choose the appropriate operation for your use case.
analog_write
Write an analog (PWM) value to an output pin on a Bolt device. Accepts values from 0 to 255, enabling variable control of devices like dimmable LEDs, motors, and other analog actuators.
servo_control
Control a servo motor connected to a Bolt device by setting its angle position. Specify the pin and the desired angle (0–180 degrees). Requires Bolt Cloud Pro and firmware version 1.4.1 or above.
Control and monitor IoT devices connected via Bolt WiFi modules. Set and read digital GPIO pin states to control LEDs, relays, and motors. Read analog sensor values (e.g., temperature, light) and write PWM output for variable device control. Manage UART serial communication to send and receive data with external microcontrollers like Arduino. List devices, check online/offline status, query firmware versions, and restart devices remotely. Supports data collection, visualization, and machine learning-based anomaly detection through the Bolt Cloud platform.
Common questions about connecting Bolt Iot to AI agents with Metorial.