Page 1 of 1
Raspberry pi AI assistant
Posted: Mon Jun 17, 2024 2:21 pm
by Jhonnny
I have an idea for a project that involves a raspberry pi 4 as an Ai assistant with other additional features but I am very new to the topic. I have already been researching a lot and already have the instructions to make it, but I still don’t quite understand exactly how it works I would like to know if someone could help me, maybe tell me if I am or the right track or if the project needs modifications before I buy the things.
Re: Raspberry pi AI assistant
Posted: Fri Jun 21, 2024 8:59 am
by bfinio
Hi,
I write most of the electronics and robotics content for Science Buddies. You are on the right track, here are some resources that may help.
We have a bunch of basic Raspberry Pi projects but do they do not include a voice assistant. They may be useful if you want to get familiar with building circuits and things like LEDs and buttons:
https://www.sciencebuddies.org/science- ... spberry-pi
Here is a personal project I did using a Raspberry Pi to control electrical outlets, but this project is now almost 10 years old. The voice control part was based on somebody else's software, so you would need to check if that person has updated/maintained it:
https://www.instructables.com/Wireless- ... lectrical/
We also have a Science Buddies project on building a voice-controlled lamp using an Arduino as opposed to a Raspberry Pi:
https://www.sciencebuddies.org/science- ... olled-lamp
The major difference is that the Arduino voice control modules work offline (they do not require an internet connection), but only work with a limited set of commands. With a Raspberry Pi you can connect to the internet and use a speech-to-text service from a company like Google, which is far more powerful but sometimes more complicated to set up.
So it all depends on what you want to do. If you just need a limited set of commands to turn something on and off, then the Arduino can be fine. If you want to make more of a "virtual assistant" like Sira/Alexa etc that can answer any question you throw at it, then you need a Raspberry Pi and you should be able to find more recent tutorials online.
I hope that helps - if you can provide more details about what exactly you want your AI assistant to do, I may be able to be more specific.
Re: Raspberry pi AI assistant
Posted: Fri Jun 21, 2024 4:43 pm
by Jhonnny
Thanks!
Re: Raspberry pi AI assistant
Posted: Fri Jun 21, 2024 4:56 pm
by Jhonnny
I wanted to create a Ai chat bot with sensors like Mpu 6050 to detect fall detection and make calls to emergency services I already have a code but I had to use chatGPT to complete some parts that i wasn’t able to find online
Re: Raspberry pi AI assistant
Posted: Sat Jun 22, 2024 6:25 am
by bfinio
Ok - for what it's worth, it uses a different device called a micro:bit and not a Raspberry Pi, but we actually just added a fall detector project:
https://www.sciencebuddies.org/science- ... l-detector
Be careful using ChatGPT to generate code. Sometimes it is helpful, but sometimes it can generate code that "looks" right at first glance but does not actually do what you want. I have tried using it to generate Arduino code and it referenced an Arduino library that didn't actually exist (and even linked to a non-existent website to download it).
Good luck!