Forum Replies Created
Hey, you can easily do that by automatically activating the voice recognition shield through this command:
And then you can make a 5 sec delay through this line:
OneSheeld.delay(5000);then you can check the latest received voice command.
Please let me know if you need any help with the code 😉
Hmmmm, there are several ways to test a new Bluetooth module cause if you would like to test it with 1Sheeld then you need to reconfigure this Bluetooth module like renaming it with any name starting with “#1Sheeld” and updating the baud rate into 115200 but simply you can connect it to the Tx and Rx pins of the Arduino and download any Bluetooth terminal app from the play store and with simple code you can easily test it 🙂
Hey Bhavya, you just need to rename the Bluetooth module you are using with any name starting with “#1Sheeld” and make the baud rate of the communication “115200”.
Hi Bhavya, we have two different boards:
1Sheeld classic which has HC-05 module inside
1Sheeld+ which has HM-10 module
And no the shield is in one to one communication with the smartphone which is connected to.May 14, 2018 at 11:16 AM in reply to: GLCD Shield not Included in the IOS Shields list in the App #72504
Hey Saam, unfortunately, the GLCD is only available in the Android app, so if you can have an access to an Android phone so surely you can use it.May 7, 2018 at 12:53 PM in reply to: When the Emergency Feature added, the sensor detection is too slow. #72029
Actually, the problem here is that you are using the serial monitor aside to using 1Sheeld which will cause a communication conflict, so please delete all the serial related lines of code and if you like you can use the Terminal shield instead.
And if you like you can increase the data rate flow of 1Sheeld in case you feel that the sensor was reading the data faster when you were using it alone so please follow these procedures:
1- Open the folder containing the 1Sheeld’s library files
2- Open the file named”OneSheeld.h” with any text editor.
3- Search for this line: #define TIME_GAP 200UL
4- Change it into: #define TIME_GAP 20UL
5- Save and close the file.
So try this out and let me know how it goes 🙂May 6, 2018 at 7:39 PM in reply to: Auto Connect Without Pressing SCAN for the Preconfigured 1Sheeld #71974
Yeah sure, you can auto connect to the 1Sheeld using Tasker plugin by making a certain task that handles opening the application+scanning +connecting to the 1Sheeld board using the feature “Connect automatically to this device” on the connecting screen which will automatically connect to your 1Sheeld. moreover, there is a function called “isAppConnected( )” embed in the library that checks if the app is connected or not so that you can handle variables initialization and starting the system from the beginning “of course if you want to, please check the documentation for the basic functions of 1Sheeld Here.
Also, check this topic that has the Tasker plugin feature connecting the 1Sheeld automatically http://1sheeld.com/topic/1sheeld-tasker-pebble-watch/ + the link of the project in that topic that contains explanation using Tasker and code https://www.hackster.io/ptewee/pebble-1sheeld-arduino.
Hey, you can find them all at Arduino Voice Recognition Shield documentation and at the same page, you can find a tutorial on how to use it.
So check it out and if you need any help with it, just let us know 🙂
If you mean the pins on both sides, then these are the same pins you mentioned on the top, just for the interface with the Arduino board 🙂
But if you meant the ICSP pins below, it’s for our developers and testers so they can access the microcontroller on the 1Sheeld board.
Hey, thanks for your kind words.
Actually, all these lines are just mapping for the 20 GPIOs(0 to 13 and from A0 to A5) connected to the 1Sheeld from the Arduino board connected to it.
So you can be able to use the 1Sheeld as a wireless peripheral on all these GPIOs without the need of using 1Sheeld’s library.
So for example, you can use the Push button shield as a virtual button connected to a certain digital pin for example pin no. 12 so you will make a simple Arduino code to check the status on pin 12 and in the 1Sheeld app chose the push button shield >> and in the shield interface press the settings icon >> then you will have an interface which is simulating the 20 GPIOs and once you chose pin no. 12 then you are ready to use the push button shield as a virtual push button connected on pin 12.April 15, 2018 at 10:52 AM in reply to: Gamepad Shield – But Mainly a Huge Problem with Pins! #70580
Hey Andrew, Alright the explanation might be long so bear with me and please let me know if anything wasn’t clear enough for you 🙂
First of all, 1Sheeld is using the UART port of the Arduino to communicate with it, so all we need in the communication is sending serial commands to the UART port and the work will be done than to 1Sheeld’s library which is making a ready-made function for all the features of the app.
But there is an extra feature in 1Sheeld and if you can take a close look at 1Sheeld board you can notice that all the hardware pins are connected to the microcontroller inside 1Sheeld which gives you the ability to use 1Sheeld app as a wireless push button without using 1Sheeld library just by assigning the push buttons in the gamepad, push button or toggle button shield to a hardware pin then you can use this pin as a digital input like any other hardware button connected to the Arduino board.
Other than that, you don’t need to connect the buttons in the Gamepad shield to any hardware pin and just use the 1Sheeld library to send the commands so for example:
GamePad.isDownPressed();is checking if you have pressed the down button and
GamePad.isOrangePressed();is checking if you pressed the Orange button and so on.April 8, 2018 at 6:41 PM in reply to: Can i use voice recognition, music player and Accelerometer at the same time #70154
Hey Raghad, yeah sure you can 🙂
In the Hardware, you need to connect the light to the Arduino board and to build the robot you wanna make.
Please check out these projects so you can get inspired by how can you build them yourself:
And for the software, you will merge 3 shields in your code, which are Voice Recognition, music Player and Accelerometer shields. And in the code, you will make an if condition to check if the voice recognition has received this voice command: “turn music” then the light will be turned on and the music player will be played.
And in other conditions, you will check the status of the Accelerometer sensor shield so you can control the motors depending on the status of the Accelerometer sensor.
So check all these out and if you have any question, don’t hesitate to send me here or on the live chat 🙂
Hi Jennifer, may I ask, are you trying to connect your phone to the 1SHeeld using 1Sheeld app or using the Bluetooth settings on your phone?
Oh I forgot, and for making your code appear as in a code frame, just highlight all your code lines after writing them and then press the code button, you can find it on the upper left 🙂
Hey Shery, I’m very sorry for my late reply.
Actually, the problem is only that you didn’t invoke the function responsible for checking the received functions so it can enter to “myFubction”.
So please add this line to your void loop function: SMS.setOnSmsReceive(&myFunction);