Flux prompt examples

Flux is an AI hardware engineer. Use these prompts to describe your device and the work you need.

Electronics

See Schematic Design, PCB placement, and PCB routing.

Define requirements

Ask Flux to turn your device needs into electrical requirements.

List the electrical requirements for a battery-powered temperature monitor. Identify the values you need before you select parts.
Plan the power, sensor, wireless, and connector requirements for this low-power air-quality monitor.

Open Chat and describe the device, its operating conditions, power needs, and interfaces.

Select parts

Ask Flux to find parts that meet the device requirements.

Find a low-power temperature sensor and microcontroller for a battery-powered monitor. Compare their supply voltage, current, interface, and availability.
Find a USB-C connector and 3.3 V regulator for this board. Compare the parts by package, ratings, and stock.

Open Chat and name the requirements or parts to compare. Ask Flux to use the project schematic and datasheets.

Design the schematic

Ask Flux to create or update the circuit.

Create the schematic for this battery-powered temperature logger. Add a sensor, microcontroller, USB-C input, and battery connector.
Add input protection and a 3.3 V regulator to this schematic. Connect the power-good signal to the microcontroller.

Open Chat with the project and describe the circuit blocks, parts, and connections.

Place components

Ask Flux to place components on the PCB.

Place the USB-C connector at the board edge, then group the power input parts near it.
Place the sensor away from the switching regulator and keep its input traces short.

Open Chat and describe the board edge, component groups, and placement constraints.

Route the board

Ask Flux to route traces and nets.

Route this four-layer board. Keep the USB differential pair at 90 ohms and the switching regulator away from the sensor input.
Route the power nets with 0.5 mm traces and keep the return path continuous under the signal traces.

Open Chat and name the nets, widths, layers, and routing constraints.

Run design checks

Ask Flux to check the schematic and PCB.

Run ERC and DRC checks on this board. Group the findings by net and severity.
Find unconnected pins, floating nets, and short circuits. Fix the errors and summarize the changes.

Open Chat and ask Flux to run the checks or resolve the findings.

Prepare the BOM and source parts

Ask Flux to create a BOM and review part availability.

Create a BOM with designators, quantities, values, packages, and manufacturer part numbers.
Check the availability and lead time for every part in this BOM. Compare replacements for parts with long lead times.

Open Chat and ask Flux to create or review the BOM. Include price, stock, and lead-time details you need.

Mechanical design

See Mechanical Design for parts, assemblies, fit, analysis, and exports.

Design new parts

Ask Flux to create a part from its purpose and dimensions.

Design a bracket that holds a NEMA 17 motor 40 mm above the base plate. Use 3 mm aluminum and four M3 holes.
Create a heat sink for U1 that fits in a 30 mm by 30 mm by 15 mm space.

Open Chat and describe the part, its hardware, dimensions, material, and mounting points.

Design enclosures

Ask Flux to create an enclosure around the project hardware.

Design a two-part enclosure for this sensor board. Add a USB-C opening, four mounting bosses, and a removable lid.
Create a handheld instrument enclosure with a display opening, a replaceable battery compartment, and access to the probe connector.

Open Chat and identify the board, connectors, controls, dimensions, and enclosure features.

Build assemblies and mechanisms

Ask Flux to combine parts or design moving mechanisms.

Build an assembly with a base, shoulder, elbow, and gripper for this robot arm. Keep the joints clear of the controller board.
Add a hinge to this two-part enclosure. Set the pivot axis and opening angle, then check the lid movement.

Open Chat and name the parts, joints, motion, and hardware that the assembly must include.

Edit imported CAD models

Ask Flux to change an imported model to fit the device.

Edit the imported enclosure. Add a 2 mm wall and openings for the USB-C connector and status LED.
Move the mounting holes on this imported motor plate 5 mm apart and keep the shaft opening centered.

Open Chat and identify the imported part, the features to change, and the dimensions to keep.

Check fit and clearance

Ask Flux to check how parts fit and move together.

Fit this PCB inside the enclosure. Align the mounting holes and leave clearance around the USB-C connector.
Check the robot arm through its full movement. Find collisions between the links, harness, and enclosure.

Open Chat and describe the parts, fit requirements, and movement to check.

Analyze mechanical designs

Ask Flux to calculate strength, deflection, or mass.

Analyze the deflection and stress in this bracket under a 40 N load. Fix the two mounting faces and use 6061-T6 aluminum.
Calculate the mass and center of mass of this assembly from its part volumes and material densities.

Open Chat and provide the material, loads, supports, and analysis results you need.

Prepare drawings and exports

Ask Flux to create drawings or export mechanical files.

Create a dimensioned drawing of this motor bracket. Show the hole pattern, overall dimensions, and material.
Export this assembly as a STEP file and create a drawing for the enclosure.

Open Chat and name the parts, drawing views, dimensions, and export format.

Firmware

See Firmware for firmware workflows and board bring-up.

Use prompts that describe the device, the behavior, and the result you want. Add details about the schematic, board, timing, and test output to get a useful firmware project document.

Write firmware

Tell Flux what the firmware should do and which hardware it uses.

Write bare-metal firmware for the STM32F103 in this schematic. Blink PC13 at one hertz and document the clock setup.
Build minimal ESP32 firmware that prints a counter once per second over serial. Include source, image files, and flash and RAM use.

Open Chat and describe the behavior. Include the microcontroller, connected peripherals, timing, and output. Ask Flux to write from the schematic or continue from a public repository, uploaded ZIP, or pasted source. Read the generated firmware starter document in Files.

Set up pins and peripherals

Tell Flux to map schematic connections to firmware configuration.

Create a pin map for this schematic with function, pin, connected net, direction, and notes.
Document I2C addresses, SPI and UART pins, clock setup, power modes, and boot strap signals.

Open Chat with the schematic in the project and ask for the pin map. Include bus addresses, clock requirements, and boot behavior. Open Files to read the updated table, then ask Flux to compare it with the firmware source.

Build and test

Tell Flux to compile the project and run checks that match the firmware behavior.

Build this nRF52840 firmware with two real-time tasks. Report the image files and memory footprint.
Run host unit tests, check memory and undefined behavior, report coverage, and analyze the source.

Open Chat and name the board target. Ask for image files, flash and RAM footprint, largest symbols, and a flashing command for your computer. Flux can run host tests and static analysis, then report the results with the project files.

Prepare board bring-up

Tell Flux to create a project plan with the equipment and measurements for your board.

Create a bring-up plan with visual inspection, expected rail voltages, reset and boot checks, and programming steps.
Add bus scans, loopbacks, sensor and actuator tests, ADC measurements, and wireless checks.

Open Chat and ask Flux to create or update the bring-up plan. Open Files to read the project document and bring-up firmware. Include expected voltage, timing, and functional results so the plan has clear pass and fail outcomes.

Sync firmware with hardware

Tell Flux which schematic or mechanical change should update the firmware.

I connected a new sensor and changed two pins. Update firmware, the pin map, and bring-up tests.
Read the spacer's volume from the mechanical model and use it as an STM32 firmware constant.

Open Chat after you change a peripheral, pin, board connection, or mechanical value. Ask Flux to re-check the pin map against the schematic and update the firmware document and bring-up plan.

Connect code and firmware services

Tell Flux which public repository or connected firmware service to use.

Read this public firmware repository and adapt its sensor driver to the schematic.
Use Memfault crash data to identify failures for the next hardware revision.

Open Chat to share a public repository link. To connect GitHub, GitLab, or Memfault, select AI Integrations in the Chat panel, open the Integrations tab, and choose Firmware & Development.

Design the complete device

Tell Flux how firmware works with the electronics and mechanical design.

Design the sensor board, write firmware for its I2C sensor, and create an enclosure with access to the connector.
Create a robot arm with a motor-control board, firmware for its encoders, and mechanical joints with cable clearance.
Design a handheld monitor with an enclosure, a sensor board, and firmware that shows status on an OLED.

Open Chat and describe the device, its functions, and the way its electronics and mechanical parts work together. Ask Flux to create a schematic, mechanical model, firmware, and bring-up plan in the project.

State the device's functions, the physical parts, and how the electronics connect. Add the firmware behavior and tests you need. Ask Flux to keep the schematic, mechanical model, firmware, and bring-up plan in one project.

Wire harnesses

See Wire harnesses with Flux, Design wire harnesses, and Wire harness quotes and orders.

Get the cables for your device designed and quoted with one request. Tell Flux which connectors each cable joins, how long it is, how much current it carries, and how many cables you need.

Robots

Tell Flux how the boards, motors, and battery of the robot connect.

I am building a small ground robot. Design the wire harness that connects the main controller board to the drive motor driver and the battery. Use JST GH connectors on the controller side and XT30 for battery power. Each run is 250 mm.
Design the encoder cable for each joint of this robot arm. The cable runs 350 mm from the joint board J5 to the controller J2.
Size the battery cable of this robot for 15 A continuous and 30 A peak, and quote 10 pieces.

Open the Chat panel and enter the request. Select Files in the project view switcher to read the harness build record.

Drones

Tell Flux how the flight controller connects to the arms, motors, and sensors.

Design the arm cables for this quadcopter. Each cable runs 180 mm from the flight controller to the motor and LED board on the arm.
Create a 120 mm cable from the flight controller GPS port to the GPS module. Use the nets in this project.
Quote 25 sensor cables for the drone arms. Each cable is 180 mm from J4 to J7.

Open Chat and describe the cables. Flux finds the mating housings for each connector and selects the wires.

Vehicles

Tell Flux which modules of the vehicle the harness connects.

Create the CAN and power harness between the battery management board and the motor controller of this e-bike. The run is 600 mm.
Design a 600 mm harness from the vehicle control unit connector J1 to the dashboard connector J2. Match pins that share a net.
Use red for 12V, black for GND, and blue for the CAN wires. Quote the vehicle harness again.

Open Chat and give the length of each cable. Flux asks for the length when the request has none.

Test rigs

Tell Flux how the fixture connects to the device under test.

Design the test rig cable from the fixture board connector J3 to the device-under-test connector J9. Make it 400 mm and quote 25 pieces.
Create a 1 m cable from the bench power board to the test fixture. Give me the pin-to-pin wiring table and a harness drawing.
Quote 100 harnesses for the test rig: 400 mm from J3 to J9.

Open Chat and describe the fixture cables. Flux adds the harness drawing and the wiring table to the project files.

Wiring tables and drawings

Tell Flux which harness documents you want.

Give me the connectors and mating housings, the wire gauge and color for each wire, the pin-to-pin wiring table, and a harness drawing.
Add a cable bill of materials for 10 sets of the harness to the project files.

Select Files in the project view switcher to open the harness build record.

Quotes and orders

Tell Flux the quantity, and tell Flux when you want to order.

I need a cable to connect J1 to J2, about 200 mm long. What would 10 of them cost, and how long would they take to make?
Looks good. I want to order 10 of them.

Flux shows the price, the price breaks, and the lead time in the chat. When you order, Flux gives you a checkout link with the cable filled in.

Simulation

See Simulation with Flux and Circuit simulation.

Circuit simulation

Ask Flux to simulate circuit behavior and compare results with the design.

Run a transient simulation of this converter during startup. Plot the output voltage and switch-node waveform.
Run an AC analysis of this amplifier from 10 Hz to 100 kHz. Plot gain and phase.

Open Chat with the schematic in the project and describe the analysis and signals to compare.

Electromagnetic and RF analysis

Ask Flux to analyze electromagnetic behavior and RF performance.

Analyze the electromagnetic field around this coil at 100 kHz. Show the field strength and main coupling paths.
Review the antenna layout and estimate its impedance match across the operating band.

Open Chat and name the frequency, geometry, materials, and results you need.

Thermal and power analysis

Ask Flux to analyze board temperature, power, or battery life.

Estimate PCB temperatures at 12 V input and 1.5 A load. Report component temperatures and show the heat map.
Estimate the run time of a 2S battery pack for this robot's load profile. Report voltage sag and pack temperature rise.

Open Chat and describe the input, load, operating modes, and component power.

Mechanical and fluid analysis

Ask Flux to analyze mechanical load, motion, or cooling.

Analyze the deflection and stress in this bracket under a 40 N load. Fix the two mounting faces and use 6061-T6 aluminum.
Simulate the air flow through this enclosure with the 40 mm fan at full speed. Report the regulator's peak temperature and the outlet air temperature.

Open Chat and name the materials, supports, load, fluid, and operating conditions.

Manufacturing

See Manufacturing files and Order from Flux.

Prepare fabrication files

Ask Flux to export and check the files for a board.

Export the Gerbers, BOM, and pick-and-place file so I can order assembled boards.
Check the copper spacing, silkscreen, board outline, and exported board design rules.

Open Chat and ask Flux to export the files. To export in the UI, select Flux menu → Export → Electronics → Manufacturing Files (Gerbers, etc) (.zip).

Get board quotes

Ask Flux to compare board fabrication and assembly options.

Compare quotes for 10 bare boards and 10 assembled boards. Show price and lead time.
Get a quote for 25 boards from the Gerber, BOM, and pick-and-place files in this project.

Open Chat and give Flux the quantity and whether you need bare boards or assembly.

Quote and order mechanical parts

Ask Flux to get quotes for printed or machined parts.

Get 3D-print and CNC quotes for this enclosure in PA12 nylon and aluminum 6061. Compare price and lead time.
Get a laser-cut quote for this mounting plate from its DXF drawing.

Open Chat and name the part, process, material, and quantity.

Order manufactured parts

Ask Flux to place an order for a selected offer.

Get a Craftcloud quote for this enclosure in PA12, then order the selected offer.
Order 10 assembled boards from the selected PCB quote.

Open Chat, select the quote you want, and tell Flux the quantity to order.