Back

Comments 15

  • Ultrasonic Map-Maker using an Arduino Yun over 4 years ago

    Hello Sarthak, technically, this project can be made using any microcontroller which supports serial communication and PWM outputs. However, this particular writeup can be replicated on any device with the Arduino footprint.

  • Ultrasonic Map-Maker using an Arduino Yun over 4 years ago

    Hello Rahul, apologies for the delay. I hope your doubts were clarified! If not, please feel free to ask!

  • Ultrasonic Map-Maker using an Arduino Yun almost 5 years ago

    Thanks a lot, Anthony!
    The breadboard is not really a necessity for the project, I just used the Arduino Breadboard Shield because it has 5 Vcc and 5 Ground Pins. 
    I needed two of each, because I'm powering the servo as well as the sensor from the Arduino, and the board itself provides only one pin for Vcc. Essentially, the Vcc was just shorted to two more pins according to the schematic. You can do the same by a number of different ways, I just chose to go by the breadboard method. I hope this clears your query!

  • Ultrasonic Map-Maker using an Arduino Yun almost 5 years ago

    Thank you so much, Dan!
    You'll find the Arduino code right below the Matlab code in the right hand column below the schematics.

  • Ultrasonic Map-Maker using an Arduino Yun over 5 years ago

    Hey Yuvi, The connections will be exactly the same for an Arduino Uno, and so will the code.

  • Ultrasonic Map-Maker using an Arduino Yun over 5 years ago

    Thank you so much Stephen!

  • Ultrasonic Map-Maker using an Arduino Yun over 5 years ago

    Thanks! I'll have a look at both!

  • Ultrasonic Map-Maker using an Arduino Yun over 5 years ago

    Thank you for your insight! I'll surely have a look at the MaxSonar. I used the HC-04 as a prototype to explore this concept, which really does look promising. I've used IR for proximity sensing as well, but there's the problem of range and sensitivity to ambient light in some cases. Also, the HC-04 looks really cool! xD

  • Ultrasonic Map-Maker using an Arduino Yun over 5 years ago

    Thanks so much for the compliment, Bob! Really appreciate it!

  • Ultrasonic Map-Maker using an Arduino Yun over 5 years ago

    Oh, I apologize, I misread your earlier comment! I thought you had your own blog on which you posted details about your projects!

  • Ultrasonic Map-Maker using an Arduino Yun over 5 years ago

    And if it's alright with you, can you please share the link to your blog? I would really like to go through it

  • Ultrasonic Map-Maker using an Arduino Yun over 5 years ago

    Thank you so much for the insight! I thought it might be because of a lack of focus of the sound waves, but I didn't consider the shortest path. Do you think the accuracy would improve if I, say, attached long tubes to the Emitter and Receiver ends to block out any waves that aren't emitted or received perpendicularly?

  • Ultrasonic Map-Maker using an Arduino Yun over 5 years ago

    Hello, I'm sorry, but I didn't know such a project existed. I haven't copied your idea at all, it's just coincidence that we came up with similar ideas a month between each other. However, I will credit you with design and code inspiration, because I can't really prove that it was an independent idea. Sorry once again! :)

  • IoT Dune Buggy - Control it from Anywhere! over 5 years ago

    Hello Rafael, I believe what you are trying to do is the exact inverse of what's being done in the project. If I'm not mistaken, you are reading an analog value from the Yun, uploading it to Dweet, and seeing it on Chrome.

    For the Yun, the code would go something like this (please forgive any formatting mistakes)

    int val = analogRead(1);
    HttpClient client;
    client.get("dweet.io/dweet/for/YUNRAFA?"+val);

    This piece of code will upload the analog value to Dweet.

    As for the Android part, it's a bit difficult to explain if you haven't used MIT App Inventor before, so I suggest looking into it. Once you're a bit familiar with the interface, do the following (It won't make sense before you've seen App Inventor :P)

    Initialize a Button object and a Webviewer object in the Design view

    In the Logic view,
    Initialize and OnClick loop for the button
    Insert an Openurl bloack for the Webviewer within this loop
    Specify the URL as a string "https://dweet.io/get/latest/dweet/for/YUNRAFA"

    Build and download the APK

    Running this app will get you a JSON object as a return, so I think that with some string manipulation in the App, you'll get a cleaner output. it'll be easier to do so when you tinker about with it.

    Hope this helps!

  • IoT Dune Buggy - Control it from Anywhere! over 5 years ago

    Glad that my project was of help to you, Scott! And you've already returned the favor! I've been looking for a way to get into the ESP 8266 over REST! looking forward to your upcoming projects!

Add projectSign up / Login