I'm working with firmata and processing on the arduino uno, I would like to know if I can load a program that includes standarfirmata and other functions in one sketch in the arduino without having operating problems
From the information that you have provided it is impossible to answer the question specifically because you do not say what the "other functions" will do. However, in general you can use other functions in a program that uses the Firmdata library, and it would be a very strange program that did not include other functions.
What prompted you to ask the question ? Have you tried something that did not work ?
I would like to know if I can load a program that includes standarfirmata and other functions in one sketch in the arduino without having operating problems
Simple answer: no.
Ditch firmata, and write your own protocol for the Arduino to communicate with the external application. Then, YOU have complete control.
As I understand it you can run a standard Firmata sketch that just supports the standard commands, or you can write a sketch based on Firmata that registers your additional application-specific commands so they can be invoked via Firmata and leaves Firmata in control, or you can implement your own sketch that uses Firmata for command line processing but also does other stuff not controlled by Firmata. It's pretty flexible. Whether you could expect operational problems would depend on what your additional code did, but there's nothing fundamental stopping it from working.
I'm new working with arduino, I want to do is from a keyboard designed on the processing send a phone number to my arduino uno which is connected GSM module SIM900 and make the call. design attached explaining the idea that I wish to develop
thanks for your comments
EJTR:
I'm new working with arduino, I want to do is from a keyboard designed on the processing send a phone number to my arduino uno which is connected GSM module SIM900 and make the call. design attached explaining the idea that I wish to developthanks for your comments
Well setting up the call seems feasible, but what do you want to happen after that? Are you expecting to have a voice call, and if so which speakers and microphone are you using and how will the audio get between them and the modem?
actually there is a sensor connected to the Arduino uno which when activated to send a SMS. the user enters the telephone number on the processing and this should be stored in a variable, the sensor is activated and takes the variable to send the sms by AT commands.
the idea is that the user choose which phone numbers wish send a sms. maybe five phone numbers.
thanks for your comments
Sending an SMS makes much more sense - your reference to ringing made me imagine you were proposing to set up some sort of voice call, which would have been challenging.
your reference to ringing made me imagine you were proposing to set up some sort of voice call
you can do that with AT commands attached a new diagram. As I said I need the user to enter the phone number.
someone can tell me an idea of ??how I can take the data and store in memory the arduino and then attach to the AT commands to send sms.
thanks.
EJTR:
your reference to ringing made me imagine you were proposing to set up some sort of voice call
you can do that with AT commands attached a new diagram.
Yes, it's easy enough to instruct the modem to establish a call. Connecting the audio streams to another device is another matter entirely.
EJTR:
someone can tell me an idea of ??how I can take the data and store in memory the arduino and then attach to the AT commands to send sms.
You need something on the PC to send the number to the Arduino via the serial port. You will need to have a scheme for encoding the number and this will need to provide some way for you to know when the number is complete. For example you could send it as an ascii text string and use a newline character to indicate the end of the message. This approach is very convenient because you can also type the commands directly into the Arduino serial monitor for testing.
If you need the Arduino to receive anything other than the number itself then you would need to use a scheme that included that information. For example, if you want to send a phone number plus SMS message text, you could send the number followed by a comma followed by the text, terminated with a newline.
You need a sketch on the Arduino to receive characters from the serial port and buffer them until a complete message has been received. If you send the messages using ascii text then the code to receive this and buffer it into a char array has been posted many times. Once you have received the complete message you will need to extract the parts of it that you need. The strtok() function might be useful for this. Then you will need to compose your AT command strings. The snprintf() function might be useful for this. Then you will need to send the AT command strings to the modem and check the response, just like any other AT command.