Skip to main content

13 posts tagged with "robotics"

robotics

View All Tags

FRC FIRST Robotics Competition Southern Cross Regional

ยท 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

FIRST Robotics Competition Southern Cross Regional today - my very first time volunteering at FRC! It's the second day of the REEFSCAPE season at Penrith Valley Regional Sports Centre, and I'm already in awe of the โšก energy, ๐Ÿ”ง innovation, and ๐Ÿค teamwork on display.

FRC is the ultimate sport for the mind โœจ, where 40+ high school student teams take on real-world engineering challenges, designing and building industrial-sized robots from a kit of parts to compete in an intense, fast-paced game. But beyond the robots, it's about creativity, problem-solving, and teamwork, all guided by the spirit of GraciousProfessionalism.

This year's challenge, REEFSCAPE ๐ŸŒŠ, is all about using engineering to strengthen one of the ocean's most diverse habitats. It's inspiring to see young minds tackling big problems and shaping the future of STEM.

It was a great pleasure to reconnect with old friends (Garry & Jack), see familiar faces, and make new connections! Exciting to witness teams like 'AI3' showcasing their AI-powered robot, an incredible display of innovation! ๐Ÿคฉ๐Ÿค–

A huge congratulations to Melinda for the 'Woodie Flowers Finalist Award' and to Mark for being 'Volunteer of the Year'! The awards are the perfect recognition of your dedication and countless contributions over so many years. ๐Ÿ‘๐ŸŽ‰

It's been a long day from 7 AM to 6:30 PM โณ, but I've gained a whole new appreciation for the impact of FIRST empowering students and fostering a strong STEM community. Excited for the final day of the competition tomorrow! ๐Ÿš€

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Read more via LinkedIn Post

(Notice) Be a volunteer at FIRST FRC Southern Cross Regional

ยท 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

Be a volunteer at FIRSTRobotics Competition's Southern Cross Regional like me in March 2025, together we will bring this epic event to life! ๐Ÿค– If you think robots and AI might take over the world, this might just be ground zero! โšก

No experience? No problem! There's a role for everyone, and trust me - you'll find something you love. Lucky me, I got assigned to Field Reset role for my first time at the event ! ๐Ÿš€ Can't wait to be in the middle of the action, helping teams compete at their best.

๐Ÿ”ฅ Curious? Check out the video from earlier season below, get involved, and join us! Let's make this an unforgettable experience for these incredible teams.

FRC Southern Cross Regional (Reefscape Season) ๐Ÿ“… March 7 (Fri) to March 9 (Sunday), 2025 ๐Ÿ“ Penrith Valley Regional Sports Centre, NSW Australia

Good luck and see you at the competition! ๐ŸŽŠ ๐Ÿ”— Game & Session info: https://www.firstinspires.org/robotics/frc/game-and-season ๐Ÿ”— Register as a volunteer: https://www.firstinspires.org/ways-to-help/volunteer

Thank you Will & Daniela for organizing and running the awesome events for us!


Read more via LinkedIn Post

FTC Into the Deep Nationals

ยท One min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

No longer qualified as an 'engineer' after my first FTC , guess I'll have to stick with 'Software Engineer' from now on. ๐Ÿ˜…

frc-into-the-deep-national-daniel

frc-into-the-deep-national-vegemite

Volunteering at the FTC Nationals today Macquarie University was both inspiring and humbling. I walked in feeling confident in my skills and walked out realizing the FTC teams operate on an entirely different level. ๐Ÿง ๐Ÿ’ป

frc-into-the-deep-national-game

frc-into-the-deep-national-robot

My job today? Keeping the two practice fields in order. ๐ŸŸ๏ธ And hey, looks like I did an okay job at that! โœ… Meanwhile, the FTC teams were out there pushing the boundaries of what I thought was possible. Watching them work was like seeing a masterclass in precision, creativity, and pure technical brilliance.

A huge congratulations to the winning teams! ๐Ÿ† And a big shoutout to all the volunteers who made the day run smoothly - it's not just a competition; it's a community effort. Special kudos to Will & Daniela for their amazing work! ๐Ÿ‘

frc-into-the-deep-national-practise

frc-into-the-deep-national-ceremony

Build Chatbot for Submerged Season for Coding

ยท 3 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

In the new Submerged season of FIRST LEGO League (FLL), we are continuing our journey of using AI to help us learn, innovate, and make robotics more accessible to everyone. Our team took the initiative to build a chatbot using Microsoft Azure (with lots of helps from coaches) and publish an app that anyone can use, free of charge. This was a big step toward creating a more inclusive, cost-effective way for young engineers and coders to get the most out of AI.

One of the challenges we faced when using tools like ChatGPT is that they often require users to create an account, and there are costs associated with using advanced AI features. This creates a barrier for many students and teams who might not have access to these resources. To solve this, we built a free version of our chatbot that specifically focuses on the needs of FLL participants. We locked down the scope of the questions and answers so that they only relate to the official season documents and guides for the Submerged challenge, as well as coding instructions for the LEGO SPIKE Prime 3.

The chatbot is designed to be simple and focused, giving users clear, relevant information about the FLL challenge and the Python coding required for SPIKE Prime 3 robots. Whether a team needs help understanding the mission details or figuring out how to make their robot move in a specific way, our chatbot has the answers.

alt text

alt text

One of the key skills we emphasized this season is prompt engineering. The art of asking the right questions to get the best answers from an AI. While many people assume that AI automatically gives perfect responses, the truth is that how you ask a question can dramatically affect the quality of the answer you receive. We've been teaching our team and users of the chatbot how to frame their prompts clearly and concisely to get more accurate and useful information.

For example, instead of asking, "How do I code my robot?" a better prompt might be, "Write Python code to move my SPIKE Prime 3 robot forward for 5 seconds and stop." By being specific, users can get actionable responses that directly help with their projects.

This new chatbot, combined with prompt engineering techniques, empowers young engineers to not only rely on AI for quick solutions but also to better understand how to interact with technology in ways that enhance their learning experience. We're excited to see how teams use this tool during the Submerged season and how it helps them innovate and succeed. We hope to remove some of the barriers that traditionally come with using advanced AI tools and give every FLL team a chance to harness the power of AI for their robotic challenges.

Integrate GPT 3.5 model with Spike Prime 3

ยท 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

We've made great progress in our journey to fine-tune an AI model for Spike Prime robots. With the training dataset and validation dataset ready, it's time to take the next step: setting up an Azure endpoint and integrating it with our local Python script.

First, we configured the Azure endpoint to allow us to send and receive data. This will enable our fine-tuned model to process instructions in real-time. By doing this, we can interact with the model directly from our local machine, making it easy to integrate AI-powered code suggestions into our Spike Prime project.

For the robot connection, we used a serial port interface. This allowed us to send commands from the Python script running on our local machine to the robot in real-time. This setup ensures that we can test and execute movements and commands on the fly.

The results look promising so far. The fine-tuned model has demonstrated an ability to stick closely to the instructions we provided. It seems to understand the specifics of the Spike Prime movement commands, offering more accurate code suggestions than a generic model.

alt text

Here's a glimpse of what we've tried so far:

  • Moving forward: The model was able to generate precise movement commands using Spike Prime-specific syntax.
  • Turning: We tested multiple turning scenarios, and the model successfully adjusted the turning angle based on the instructions.
  • Combining movements: The fine-tuned model was able to chain together commands, making the robot perform complex maneuvers smoothly.

The integration between Azure and our local environment is working well, and the fine-tuned model is proving to be a valuable tool in generating Spike Prime-specific Python code. As we continue to refine the model, I'm excited to see how far we can take it!

Use fune-tuned gpt 3.5 model to write python

ยท 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

Over the last 12 months, I've been amazed by all the developments happening in the AI world. From advancements in natural language processing to AI-driven coding tools, it's clear that AI is transforming the tech landscape faster than ever. With all the buzz, I decided to set a challenge for myself: to build an AI app from scratch.

I've heard a lot about is Azure's fine-tuning capabilities. The idea behind fine-tuning is to take a generic AI model and specialize it for a particular task or domain. In my case, I want to see if I can fine-tune a model to improve the accuracy of Python coding snippets, specifically for Spike Prime robots.

alt text

Spike Prime is a versatile LEGO robotics kit that allows users to program movements and interactions. While generic Python code can be used to program the robots, I'm curious if fine-tuning a model on Azure can make the code more optimized for Spike Prime's specific needs.

This will be my first time building a fine-tuned model on Azure, so I want to make the process as smooth as possible. Instead of trying to fine-tune every Python function related to Spike Prime, I've decided to narrow the scope and focus only on a few scenarios, such as robot movement and turning.

The fine-tuning process for this project looks like this:

  1. Dataset preparation: Gather Python code snippets that are specifically tailored for Spike Prime, focusing on movement and turning functions.
  2. Fine-tuning: Use Azure's fine-tuning service to train the model with this specialized dataset.
  3. Testing: Evaluate the fine-tuned model by inputting generic Python code and observing how it converts the code to a more Spike Prime-specific version.

This is just the beginning, and I'm excited to see what kind of improvements we can achieve. Stay tuned as I dive deeper into the world of AI fine-tuning and robotics!

Attempt to ask ChatGPT to write python

ยท 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

The team is struggling with writing Python for the first time! It's so hard, and we don't know where to start. Drag-and-drop coding in the code blocks was so easy, but now we need to learn Python and figure out what to do. The Spike Prime has some examples, but they're not so easy to understand for us.

We turned to ChatGPT for help. It does output lots of code, but it doesn't run on the app. Why? We asked our coach for help and learned that the Spike Prime only uses a specific set of Python, and the robot only knows some of the functions but not all.

It turns out that Spike Prime uses MicroPython, which is a simplified version of Python designed for microcontrollers and embedded systems. This means that not all standard Python libraries and functions are available. Some of the code that ChatGPT provides uses functions that the Spike Prime doesn't support.

This was a bit disheartening at first. We thought that learning Python would open up new possibilities, but instead, we hit a wall. However, we realized that this is just another challenge to overcome. We're now focusing on learning the specific commands and functions that are available in Spike Prime's MicroPython environment.

It's still tough, but we're making progress. We're finding tutorials and resources specifically for Spike Prime's Python coding. We're also experimenting with small bits of code to see what works and what doesn't. It's a learning process, and while it's frustrating at times, it's also exciting to see our robot respond to the code we've written.

In the end, we're hopeful that with perseverance and a better understanding of Spike Prime's Python capabilities, we'll be able to code like pros. For anyone else struggling with this, know that you're not alone, and don't hesitate to seek help and keep experimenting!

Embarking on a Coding Journey with LEGO Spike Prime

ยท 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

We've officially started exploring robot tutorials with the LEGO Spike Prime kit, and it's been quite the learning adventure! While Spike Prime is designed to be educational and user-friendly, getting started with coding was a bit trickier than I anticipated, especially for my young daughter.

alt text

As someone who's fairly comfortable with technology, I was surprised to find myself facing some hurdles, particularly when figuring out how to get the motor up and running. The block-based coding interface appears simple at first glance, but once we delved deeper, we realized there are quite a few features that aren't immediately visible. It turns out you have to enable extension blocks to unlock all the coding options, which definitely took us a moment to discover.

For my daughter, the experience was a bit overwhelming at first. Coding, even in a visual format like this, can be intimidating for a beginner, especially when you're still learning how different blocks function and interact with the hardware. But we're taking it slow, working through tutorials together, and focusing on breaking down each task step by step. Once we activated the extension blocks, it opened up a whole new set of possibilities. Suddenly, we had more control over the motors, sensors, and all the cool features we hadn't noticed before.

The good news is that Spike Prime 3 offers a lot of flexibility for different skill levels. As we continue exploring, I can already see my daughter gaining confidence. She's becoming more curious and asking questions like, "What happens if we change this block?" or "How do we make the robot move faster?" That's the beauty of this kit, it sparks curiosity and creativity, even if there are a few challenges along the way.

We're still in the early stages, but I'm excited to continue our coding journey. With every tutorial we tackle, we're learning something new, and it's a fantastic opportunity for both of us to grow together. Stay tuned for more updates as we get the hang of coding and start building some really fun projects!

alt text

Bring LEGO Robots to Life - A Fun Family Adventure

ยท 3 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

There's nothing quite like spending quality time with my two young kids, especially when it involves creativity, learning, and a dash of engineering. Recently, we decided to dive into the world of LEGO robotics at home, and it turned out to be an unforgettable experience for all of us.

We started by unpacking our LEGO robotics kit, and the kids' eyes lit up at the sight of all the colorful pieces, motors, and sensors. Together, we followed the instructions to build our very own robot. The process was a fantastic way to teach them about mechanical components and how different parts work together. They eagerly assembled gears, connected motors, and snapped bricks into place, watching as their creation slowly took shape.

Once our robot was built, it was time to bring it to life with code. This was where the real fun, and challenges, began. We opened up the coding software, and I could see the curiosity in their eyes as they looked at the blocks of code. At first, we struggled a bit to understand how the code blocks translated into movements for the robot. The concepts of loops, variables, and commands were new to them, and I had to brush up on my own coding skills as well. We experimented with different code sequences, trying to get the robot to move forward, stop, and even make a turn.

There were moments of frustration when the robot didn't move as expected. The kids would exclaim, "Why isn't it working?" But these challenges turned into valuable learning opportunities. We reviewed our code, identified mistakes, and tried again. It was rewarding to see them develop problem-solving skills and persistence. After some trial and error, we finally figured out how to make the robot move and turn. The joy on their faces when the robot obeyed our commands was priceless. It was like magic seeing their creation come alive and respond to the code they had written.

This experience was more than just playtime; it was an educational journey that introduced my kids to the basics of robotics and programming. They learned that with patience and perseverance, they could overcome obstacles and achieve their goals. We also discovered the importance of teamwork. Each of us brought something to the table, whether it was assembling parts, figuring out the code, or cheering each other on when things got tough.

Building and coding LEGO robots at home has been an incredibly rewarding experience. It's amazing how a box of plastic bricks can open up a world of imagination and education. I highly recommend this activity to any parents looking for a fun and engaging way to spend time with their children.

Have you tried building robots or coding with your kids? I'd love to hear about your experiences !

Get Started with Spike Prime Python Programming

ยท 3 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

I must say, getting young students started with text-based programming, like Python, is no easy task. For many of them, it's a whole new world compared to the block-based coding and drag-and-drop interfaces they're used to, like Scratch or even LEGO Spike Prime's visual programming. The transition can feel daunting, and I've seen firsthand how challenging it can be for kids to wrap their heads around syntax, logic, and debugging in a text-based environment.

One of the biggest hurdles I've noticed, from my own experience, is that when students get stuck, they don't always know where to turn for help. Unlike block-based programming, where mistakes are often more obvious and easier to fix visually, text-based programming can be more abstract. A missing semicolon, an indentation error, or a misplaced variable can bring everything to a halt, and for a young learner, that can be really frustrating, especially if a teacher or coach isn't immediately available to guide them.

This got me thinking: could AI be the key to helping young students bridge the gap between visual and text-based coding? With advancements in AI, there's so much potential for creating learning tools that can support students in real time. Imagine an AI-powered tutor that not only provides instant feedback when a student makes a mistake but also explains why it happened in simple terms and how to fix it.

For robotics, the complexity can be even greater because students are not just writing code, they're also dealing with hardware, sensors, and motors that don't always behave as expected. An AI assistant could help students troubleshoot both the code and the physical components of their robots, walking them through the process step by step. Whether it's detecting an issue with their Python code or suggesting ways to improve their robot's performance, such a tool could be invaluable.

Additionally, AI could offer personalized lessons that adapt to each student's pace, guiding them through the fundamentals of Python in a way that makes sense for their individual learning style. It could provide practice challenges tailored to their skill level and gradually increase in difficulty as they improve, making the learning curve less steep.

Could AI help foster independence in students? When they're stuck and no coach or teacher is around, AI could be their go-to resource for immediate, interactive support. It could help them search for solutions, offer suggestions, and even explain complex concepts in a way that's easy to understand.

Incorporating AI into programming education might transform how students approach text-based coding like Python, making it less intimidating and more accessible. It's something I'd love to see more of in the classroom, especially as more young students take on the exciting challenge of robotics and coding!