تعليمي - إنشاء تطبيق أندرويد لمحاكاة دوائر باور كنترول كهربائية بشكل ذكي، يسمح للمستخدم برسم الدوائر وتشغيلها افتراضيًا مع حسابات الأمبير والقدرة...
Generated Prompt
## APPLICATION OVERVIEW The application is a web-based tool designed for Android that simulates power control electrical circuits intelligently. It allows users to visually draw circuits, run virtual simulations, and automatically calculate amperage, power, and select appropriate cables, contactors, and overload relays. Its primary purpose is to enhance learning for electrical engineering students and professionals while significantly reducing design errors and manual calculation times. ## CORE FEATURES - **Drag & Drop Circuit Builder**: Users can easily construct power control circuits using a library of components, including motors, contactors, overload relays, and more. - **Automatic Amperage Calculations**: The app automatically calculates the current for three-phase motors based on user-input data, ensuring accurate results for design. - **Cable Database and Suggestions**: A built-in database suggests appropriate cables based on the calculated amperage and cross-sectional area. - **Contactor and Overload Selection**: Automatically selects suitable contactors and overloads based on motor specifications and safety factors. - **Simulation Mode**: Users can visualize circuit operations in real-time, including connecting and disconnecting contactors and monitoring current flow, with alerts for errors. - **Error Detection**: The application identifies common design mistakes, such as unsuitable cables and incorrect overload settings, enhancing user learning and design accuracy. ## DESIGN SPECIFICATIONS - **Visual Style**: Minimalist - Clean, simple design with plenty of white space, minimal color palette, and a focus on typography to enhance usability and clarity. - **Color Mode**: Light theme with dark text on light backgrounds to ensure readability and a professional appearance. - **Layout**: The main layout consists of a sidebar for the component library, a central canvas for circuit design, and a status area for displaying calculations, alerts, and simulation results. - **Typography**: Use a sans-serif font for headings and body text, maintaining a clear hierarchy with larger font sizes for headings and consistent spacing to improve readability. ## TECHNICAL REQUIREMENTS - **Framework**: React with TypeScript for a robust and type-safe application. - **Styling**: Tailwind CSS for utility-first styling, ensuring a responsive and customizable design. - **UI Components**: Utilize shadcn/ui for pre-built components that align with the minimalist design aesthetic. - **State Management**: Implement context API or Zustand for state management to handle user interactions and component states effectively. ## IMPLEMENTATION STEPS 1. **Set Up Project**: Initialize a new React project using Create React App with TypeScript template. 2. **Install Dependencies**: Install necessary libraries including Tailwind CSS, shadcn/ui, and Zustand for state management. 3. **Design Layout**: Create the main layout with a sidebar for the component palette, a central canvas for circuit drawing, and a status area for calculations and alerts. 4. **Develop Core Features**: - Build the Drag & Drop Circuit Builder using React DnD for intuitive component placement. - Implement automatic calculations for amperage and cable selection based on user input. - Create a simulation engine that visually represents circuit operations and alerts for design errors. 5. **Integrate AI Layer**: Develop algorithms for automatic circuit design suggestions and explanations, enhancing user learning through a dedicated educational mode. 6. **Test and Optimize**: Conduct thorough testing for usability, performance, and error handling, ensuring a smooth user experience across devices. ## USER EXPERIENCE Users interact with the app through a drag-and-drop interface that allows them to easily construct electrical circuits. As they design, the application provides real-time feedback on calculations and potential errors, enhancing their understanding of electrical principles. The simulation mode offers an engaging way to visualize circuit operations, while the educational mode aids in reinforcing concepts with clear explanations and contextual guidance. The overall design ensures a seamless experience, focusing on clarity and ease of use to cater to both students and professionals in the electrical engineering field.
Loved by thousands of makers from
From early prototypes to real products, they started here.







































Generate optimized prompts for your vibe coding projects
Generate prompt
Enter a brief description of the app you want to build and get an optimized prompt
Review and use your prompt
Review (and edit if necessary) the generated prompt, then copy it or open it directly in your chosen platform
Get inspired with new ideas
Get AI-generated suggestions to expand your product with features that will surprise your users
Frequently Asked Questions
Everything you need to know about creating better prompts for your Lovable projects
Still have questions?
Can't find what you're looking for? We're here to help!
