Go to advanced search

by shidalgo11
Wed Mar 15, 2017 4:50 pm
Forum: General discussion
Topic: Real-time graphing
Replies: 10
Views: 14423

Re: Real-time graphing

while (1): if GPIO.input(21): file = open("channel0.txt","a") channel1 = adc.read_adc(0, gain = GAIN) time.sleep (0.3) file.write(str(channel1)), file.write(","), file.write(str(tme)) # this is just the code to record my values from the ADC i am using when an external ...
by shidalgo11
Wed Mar 15, 2017 3:37 pm
Forum: General discussion
Topic: Real-time graphing
Replies: 10
Views: 14423

Re: Real-time graphing

I'm currently experimenting with Matplotlib and Python. If you know some python that would be fairly easy to set up. I like this series of tutorials, this is chapter 16, the live graph tutorial: https://pythonprogramming.net/live-graphs-matplotlib-tutorial/ Sorry for the late reply! Thank you for t...
by shidalgo11
Mon Mar 13, 2017 11:00 am
Forum: General discussion
Topic: Real-time graphing
Replies: 10
Views: 14423

Real-time graphing

Firstly I will start by saying I am very new to this little micro-processor, so I am only starting to figure out how to go about doing little things with it. I currently have an ADS1115 analogue-to-digital converter plugged into my raspberry pi 2 to read in input signal from a strain-gauge sensor. I...

Go to advanced search