sbright33

Member Since: September 2, 2011

Country: United States

Profile

Bio

Software

  • Product WRL-11395 | about a year ago

    function sendTwilio(){
    local response =
    http.post("https://api.twilio.com/2010-04-01/Accounts/ACae249c17f97/Calls.json",
    {"Authorization":"Basic QUNhZTI0OWM4OWYwZjA4NDg2OTBjOTRhN"},
    "From=%2B18055551212&To=%2B18055551313&ApplicationSid=AP5714e4d49").sendsync();
    if(response.statuscode==201) server.log("Calling soon");
    else {
    server.log(response.statuscode);
    server.log(response.body);
    } }
    device.on("sendit",function(s) {
    sendTwilio();
    } );
    function mywebserver(request,res){
    t
    
  • Product WRL-11395 | about a year ago

    Electric Imp speaks and listens to reply on phone!

    It will call me on the phone and wait for a verbal response. When I speak to it the number or text is transcribed then sent back to the tiny module for processing. Only 30 lines of code. 10 minutes of my time!

    How hard do you think it would be to do on an Arduino with Wifly? Is it possible? How do you configure the router to receive incoming HTTP requests?

    function sendTwilio(){ local response = http.post(“https://api.twilio.com/2010-04-01/Accounts/ACae249c17f97/Calls.json”, {“Authorization”:“Basic QUNhZTI0OWM4OWYwZjA4NDg2OTBjOTRhN”}, “From=%2B18055551212&To=%2B18055551313&ApplicationSid=AP5714e4d49”).sendsync(); if(response.statuscode==201) server.log(“Calling soon”); else { server.log(response.statuscode); server.log(response.body); } } device.on(“sendit”,function(s) { sendTwilio(); } ); function mywebserver(request,res){ t

  • Product SEN-10061 | about 2 years ago

    Please join this thread if you think you can help me? http://arduino.cc/forum/index.php/topic,92367.0.html

  • Product SEN-10061 | about 2 years ago

    Have something similar.

    Hooked up serial TX,RX, 5v, Gnd. When I power it on I see on PC terminal: .Ctrl infr exist .User-defined sensor .625 .Init end

    But it does not respond to any commands. That means I hooked up the 4 wires correctly, not backwards. That means I have the correct baud rate. I tried sending: 0x56 0x00 0x26 0x00 and 0x56 0x00 0x36 0x01 0x00 nothing in response. Not the above text, Assembled a packet in X-CTU.

    What can I test next? Please help!

  • Product DEV-09530 | about 3 years ago

    Still missing characters when trying to send 8K/sec at 115kbaud. After a year of this problem it’s still not resolved? Using trial and error I’ve found some delays that seem to work. This took hours of experimenting to resolve. Great I thought! Then I tried a different (faster) SD card. I’m back to square one. It misses 10-500 characters in a row about ever 1000. Which firmware will resolve this? Is there any way to work around it? If I knew when it was about to miss, I would wait. But there seems to be no pattern it’s different every time. Please help!

  • Product DEV-09530 | about 3 years ago

    Got it to work kinda by delaying 30ms every 600 bytes using Serial.write. Trial and error. This is about 7K/sec. Usually it’ll go 1-2GB before it misses a single byte, then it misses 100+. That’s the best I can do. Only a little bit better then 57600 baud in theory. Which I have not tried. For a short while I can write at 8K/sec. Keep in mind I’m using an old slow SD card.

  • Product DEV-09530 | about 3 years ago

    This is related to a delay allocating the next cluster from the FAT. How can we work around it?

  • Product DEV-09530 | about 3 years ago

    I could not get 57600 to work. But it wouldn’t be fast enough for my application anyway, so I stopped trying. Instead at 115 kbaud this works for awhile:
    delayMicroseconds(80)
    I’m happy with that EXCEPT…
    About every 60-100K the data is corrupted. 10 files are created. Normally the blue light appears solid, instead it flashes slowly alternating with the yellow light. This is not acceptable. Even using a delay of 800 it happens less often. This is very slow.
    Please help!

  • Product COM-09259 | about 3 years ago

    I understand nobody is perfect. No product is perfect. But 2 problems we have to fix? Or we get nothing? I added the GND jumper and still nothing. We also have to fix the library? Can’t someone do that on Github for everyone? I figured since it’s been a year… Yes, all the information is below. It’s like you want us to solve the puzzle for ourselves. To prove we are worthy of El Wire! Finally I’ve done it. Please make it easier Sparkfun!

  • Product DEV-09530 | about 3 years ago

    Using this to test:
    https://github.com/nseidle/OpenLog/tree/master/OpenLog_Test_Sketch
    It drops 40-80 consecutive characters
    every 100 lines or so at 115kbaud.
    What good is this?
    If it consistently fails?
    Am I doing something wrong?
    Can I add a delay to cure it?

No public wish lists :(