Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Possible to use cellular shield to send MMS pic from Linksprite camera on: January 29, 2012, 08:13:28 pm
I have done some reading, and I believe it should be possible to use Arduino (UNO in my case) to read picture packets from the Linksprite camera and build the MMS/Text picture message to send to my smartphone.

I'd like feedback, input and pointers to samples (if done by others).  I learn best by example ;-)

My task is to make myself a basic security system for my recreational property.  Basically if intrusion is detected, capture a picture and text it to one or more recipients.

If anyone can confirm that building the text message can be done at the speed which the camera can be read that would be helpful.

Thanks all

2  Using Arduino / Installation & Troubleshooting / Sketch runs on Uno but not Mini 04 on: March 14, 2011, 07:03:00 pm
I am testing a customized version of Standard Firmata that runs fine on my Uno, but does not seem to work on my Mini

First thought was size, but the compile says:

Binary sketch size: 11686 bytes (of a 14336 byte maximum)

I do remember to change the board in the environment (using 0022).  I re-wrote the bootloader also to make sure it was okay, and to make sure it was current.

Also, on the Uno, Standard Firmata blinks pin 13 until serial data has arrived.  So does my version.  But neither one seems to do that on the Mini.

I was hoping someone could give me some helpful hints.

3  Using Arduino / Programming Questions / Re: send one byte as string on: February 25, 2011, 08:50:55 pm
To PaulS:  Unfortunately it won't be the same.  The receiving end on the PC expects Firmata communication, not raw serial pumped back up.  So SYSEX type of STRING_DATA should be sent back.

I certainly could have been more specific.

The variable I have available is a byte.  The routine expects a string constant.  I would like to know if there is any way around it.  I am by no means fluent in 'C'.

The originating spot is this

argv is a byte array
argc is size of array
data is a byte
      for (byte i = 2; i < argc; i += 2) {
        data = argv[i] + (argv[i + 1] << 7);
      switch(Wire.endTransmission()) {

Ultimately I want to send back a SYSEX message of STRING_DATA with the value of data.  I could call this
void FirmataClass::sendSysex(byte command, byte bytec, byte* bytev)
and place
Firmata.sendSysex(STRING_DATA, argc, argv);
before the Wire.BeginTransmission()

It "seems" to be working.

I kind of want to see that the values that I intended actually made it to Wire.send() for debug purpose, by sending it back to my program on the PC.

I have communicated successfully with my EEPROM.  But not my I2C LCD.  A logic probe on the D7 line shows no changes on the pin.  The eighth bit doesn't seem to be making it through.  Because of all bytes to nibbles to 7bit and all back again, I want to see if I am losing the bit or perhaps it is faulty on the LCD.

4  Using Arduino / Programming Questions / send one byte as string on: February 25, 2011, 07:20:51 pm
I need to do something like the following.....

byte mybyte;
mybyte = 123;
Firmata.sendString("XMIT: " + mybyte);

In case it helps anyone, the function is:

void FirmataClass::sendString(const char* string)
  sendString(STRING_DATA, string);

Desired output:

XMIT: 123

Is there a relatively easy way to accomplish this?  I don't want to mess with the FirmataClass itself.

5  Using Arduino / Interfacing w/ Software on the Computer / Re: Has anyone added I2C to the Standard Firmata sketch (UNO) on: February 19, 2011, 05:34:36 pm
Well, it must be a tough deal.  I know it's been a bumpy road for me.  And nobody has chimed in.

I am finding that I will have to re-write some of the Firmata sketch, (well, the I2C_Firmata parts that I merged into Standard Firmata) because it is not "complete".  It only handles transmitting one register byte.  The EEPROM I am using uses two (10 significant bits).  I am sure there may be other devices that require more register bits.

I have made the intializing routine that grabs the digital statuses to ALWAYS return a value, because the PC program isn't ready for the first transmission by the time the Uno gets through, and if I exit my program and re-enter, the program needs to know but won't get accurate info.

Given the challenges I am facing, I will probably come up with some additional Firmata commands to handle different scenarios. Like a I2C_Read_Extended and I2C_Write_Extended.  But when newer versions of Firmata are released, I would have to rewrite all over again.

6  Using Arduino / Interfacing w/ Software on the Computer / Has anyone added I2C to the Standard Firmata sketch (UNO) on: February 11, 2011, 08:11:06 pm
I have been using Andrew Craigie's FirmataVB library with good results.  However, I need I2C added.

I have also seen I2CFirmata sketch, and tried to merge it into the standard Firmata sketch.  But I am pretty new at this, and C# is not my stength.

I need Firmata or similar generic protocol with I2C abilities.

Has anyone managed to marry up any of this stuff?
7  Using Arduino / Interfacing w/ Software on the Computer / I2C in next StandardFirmata release? on: February 10, 2011, 10:35:10 am
I'm was just hoping somebody knew if the next StandardFirmata sketch will include the I2C stuff.  I am trying to merge the two (just finished, it compiled, have not loaded yet) and being fairly new at this environment, am hoping I wouldn't have to wait too long.

I know there is the seperate Firmata sketch for I2C and the Standard doesn't have it.  My application requires both.

Alternatively, if anyone at all has done so already, could they share how they accomplished it?

8  Using Arduino / Interfacing w/ Software on the Computer / More in-depth Firmata docs? on: February 09, 2011, 12:11:26 pm
I am building a class DLL (non-forms based in Visual Studio) that incorporates the FirmataVB class that is out there.

I trimed out the forms stuff from the firmataVB library, and so far so good.  Works great with basic I/O on digital, and reading Analog.

I wish to move further along incorporating I2C.  But the page on the protocol on does not go into much detail.  At least where I have a good understanding.

Does anyone know of a more in-depth documentation?

Or, if anyone has used the library in I2C I would be interested in hearing from you.

Heck, if you have utilized Firmata to any real extent I'd love to hear from you.

Pages: [1]