Forum Replies Created

Viewing 15 posts - 1 through 15 (of 204 total)
  • Author
    Posts
  • in reply to: voice recognition #72736
    avatarAhmed ismail
    Keymaster

    Hey, you can easily do that by automatically activating the voice recognition shield through this command: VoiceRecognition.start();

    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 ๐Ÿ˜‰

    in reply to: Board Specs #72588
    avatarAhmed ismail
    Keymaster

    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 ๐Ÿ™‚

    in reply to: Bluetooth compatiblity #72584
    avatarAhmed ismail
    Keymaster

    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”.

    in reply to: Board Specs #72581
    avatarAhmed ismail
    Keymaster

    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.

    avatarAhmed ismail
    Keymaster

    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.

    avatarAhmed ismail
    Keymaster

    Hey,

    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 ๐Ÿ™‚

    avatarAhmed ismail
    Keymaster

    Hi Mark,

    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.

    in reply to: voice recognition code deficitions #71029
    avatarAhmed ismail
    Keymaster

    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 ๐Ÿ™‚

    in reply to: 1sheeld pinout #70760
    avatarAhmed ismail
    Keymaster

    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.

    in reply to: 1sheeld pinout #70717
    avatarAhmed ismail
    Keymaster

    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.

    in reply to: Gamepad Shield – But Mainly a Huge Problem with Pins! #70580
    avatarAhmed ismail
    Keymaster

    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.

    avatarAhmed ismail
    Keymaster

    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:
    https://www.hackster.io/maharaafat93/control-your-light-system-by-your-voice-bbabff
    https://www.hackster.io/13766/super-easy-to-build-1sheeld-2-wheel-drive-robot-cb9b66

    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 ๐Ÿ™‚

    in reply to: Use of Bluetooth PIN #69370
    avatarAhmed ismail
    Keymaster

    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?

    in reply to: Data Logger Shield #69368
    avatarAhmed ismail
    Keymaster

    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 ๐Ÿ™‚

    in reply to: Data Logger Shield #69366
    avatarAhmed ismail
    Keymaster

    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);

Viewing 15 posts - 1 through 15 (of 204 total)