Chat
Welcome to Flux
Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More
Reviews
Compact Chocolate Transporter
Properties
Properties describe core aspects of the project.
Pricing & Availability
Distributor | Qty 1 |
|---|---|
Digi-Key | $2.10 |
LCSC | $3.42 |
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.
aris1abadi
copilot
-
Power Supply
- Connect U2:VDD to U1:3V3. This powers the NRF24L01 module with 3.3V, which is required as it is not 5V tolerant.
- Connect U2:GND to U1:GND. This creates a common ground between the two devices.
-
SPI Interface
- Connect U2:SCK to U1:D5. This connects the SPI clock from the WeMos D1 Mini to the NRF24L01.
- Connect U2:MOSI to U1:D7. This lines up the Master Out Slave In line for SPI communication.
- Connect U2:MISO to U1:D6. This hooks up the Master In Slave Out for the SPI interface.
-
Control Lines
- Connect U2:CE to U1:D4. The CE pin on NRF24L01 is used to enable/disable the module.
- Connect U2:~CSN to U1:D8. The ~CSN (Chip Select Not) pin is used to select the NRF24L01 module for SPI communication.
Notes:aris1abadi
copilot
-
Power Supply
- Connect K1:VCC to U1:5V. This powers the relay module. Since the KY-019 typically works with 5V, it can be directly connected to the 5V pin of U1, assuming U1 can provide sufficient current.
- Connect K1:GND to U1:GND. This establishes a common ground for the circuit.
-
Control Signal
- Connect K1:Signal to U1:D1 (or another GPIO if D1 is reserved for another purpose). The signal pin is used to control the relay's state (ON or OFF) from the WeMos D1 Mini. GPIO D1 is chosen here as an example; any available digital pin can be used as per your project requirements.
Assumption- Power Considerations: I'm assuming that the WeMos D1 Mini's 5V pin can supply enough current to the relay module. If your relay module is particularly power-hungry, or if you're powering multiple energy-intensive modules, consider using an external power supply for the relay, ensuring to connect all ground lines (GND) together.
Summary- Connect K1:VCC to U1:5V.
- Connect K1:GND to U1:GND.
- Connect K1:Signal to U1:D1.
Use and Programmingaris1abadi
copilot
-
Start a New Project:
- Open Flux.ai and create a new project. Name it "Compact Chocolate Transporter" for easy reference.
-
Add Components:
- From the components library, add a WeMos D1 Mini (U1). If the exact component isn't available, use a generic ESP8266 module and customize the pin labels accordingly.
- Add an NRF24L01 module (U2). Again, if not available directly, you may use a generic 8-pin component and label pins as needed.
- Include a KY-019 relay module (K1). Use a generic relay component if the specific model isn't in the library.
- For simplicity, remember to label each component with the designators U1, U2, and K1, respectively.
-
Wire SPI Connections for U1 and U2:
- Connect U1:D5 (SCK/D5) to U2:SCK.
- Connect U1:D7 (MOSI/D7) to U2:MOSI.
- Connect U1:D6 (MISO/D6) to U2:MISO.
- These connections enable SPI communication between the WeMos D1 Mini and the NRF24L01.
-
Wire Control Lines:
- Connect U1:D4 to U2:CE.
- Connect U1:D8 (CS/D8) to U2:~CSN.
- This setup uses Digital pins for Chip Enable (CE) and Chip Select Not (~CSN) control functions.
-
Power and Ground Connections:
- Wire the 3V3 pin of U1 to the VDD pin of U2 for powering the NRF module.
- Connect the GND pins of U1 and U2 to establish a common ground.
- For the relay module (K1), connect K1:VCC to U1:5V and K1:GND to U1:GND for power. Connect K1:Signal to U1:D1 (or another digital pin) for control.
-
Label Net Connections:
- Label the wired connections (nets) according to their function, like "SPI_SCK", "SPI_MOSI", "SPI_MISO", "NRF_CE", "NRF_CSN", "RELAY_CTRL", etc., for clarity.
-
Verify Connections:
- Use the design rule check (DRC) feature in Flux.ai to verify there are no electrical errors, such as missing connections or shorts.
-
Save Your Work:
- Once you are satisfied with your schematic, save your project in Flux.ai.
Additional Steps for PCB Design: