With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
You will get the data in the form of byte array in the above code mPhysicaloid.read(buf, size);line gets the serial data from arduino and populates it into 'buf' byte array variable, I guess you need to convert that byte array into string or integer to plot graph. you can use 'public void onRead(int size)' function to get the event of receiving new data to update your graph.Regards
If X axis is your A0 output then Y axis should be time I guess.Difference between points should be time interval that you are reading the A0 output.
Thanks, to plot graph dynamically as you receive data from arduino pin you can use androidplot library which is open source and easy to use.you can find more info at http://androidplot.com/Regards,
I would love to see your work, thanks :)
Thanks, their is a good instructable for making library compatible with attiny https://www.instructables.com/id/Attiny-IR-library/ other than code changes everything should be same Hope this helps.
Thank you, Repeating function can be added easily to this project. If your need is to add repeating function you can simply send same command you received by modifying existing if condition :)
How to Make a Fan POV Display
wow looks grate, I planned to make 100 watt pwm led torch and morse code function for that, but never completed it, now I will finish it in your way :) thanks.
Raspberry Pi DropCam Alternative
Raspberry Pi as low-cost HD surveillance camera
Micro-usb 30F Supercapacitor Flashlight
How to Fold an Origami F-16 Plane
DIY 2G/3G/4G wireless cell phone signal booster
Blink with ESP8266 and Visuino
Arduino Laser Engraver Wood Design!
I2C between Arduinos
Solar powered air conditioning unit.
Cooking with Power Tools
Emergency Lighting System
Beginner's guide to ESP8266 and tweeting using ESP8266
Arduino IR Remote Control
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.