![]() |
Forum Index : Microcontroller and PC projects : explore 100 graphs
Author | Message | ||||
kev1950 Newbie ![]() Joined: 24/08/2016 Location: AustraliaPosts: 4 |
Hi a newbie I have assembled a Explore 100 kit, a would like to display a few analog values on a graph. Is there any suitable code I could look at for inspiration? would like to scroll backwards to check on old data. thanks kevin |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6269 |
Welcome to the forum and micromite fan. How you chart things really depends on what it is that you are displaying. You can easily do barcharts by printing a line from y=0 to y=value for each X You can do a line chart by printing a line from the last x,y value to the current x,y value The third method is a simple dot at each point. This is what I have done on the attached program. It was written for the maximite and I have done a quick and dirty conversion for the Explore64 with 7inch display. The program is a heartrate monitor and continually overwrites the old data. The first thing I noticed is the small size of the single pixels. I would normally draw a small circle instead of a single pixel for each point. That makes it much more readable. The other thing I noticed is I will have to go back to the cardiologist again - bugger. Remember that this code started out before we had integers and variable declarations. You will probably want to change the input pin to something other than pin 53 and a simple switch to 3.3v and a pulldown resistor will do to simulate the pulse detector. Jim VK7JH MMedit |
||||
kev1950 Newbie ![]() Joined: 24/08/2016 Location: AustraliaPosts: 4 |
Thanks for your response,I will look closely at it through the week when I have time, I'am a little out of my comfort zone at this stage. regards kev |
||||
panky![]() Guru ![]() Joined: 02/10/2012 Location: AustraliaPosts: 1114 |
Kev, I also have a graphing program for the Micromite plus and a 7" display. It displays the values of several analog inputs on the top half and then a running graph showing all the values over a 6 hour period -it keeps running at the end of the 6 hour period and starts over. Graph steps are 1 min intervals. Happy to send a copy if you want. Doug. ... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it! |
||||
kev1950 Newbie ![]() Joined: 24/08/2016 Location: AustraliaPosts: 4 |
Thanks Doug I would love to see your program, my end goal is to monitor the power usage around the house (using non contact CT's). Then switch off items like pool & watering systems to maximize Solar usage. Thanks Kevin Email Jusroamin@gmail.com |
||||
Cremo Newbie ![]() Joined: 21/07/2015 Location: ItalyPosts: 36 |
Hi panky, I am interesed in your program for Micromite Plus to display several analog inputs and a running graph. I would like to receive a copy. My mail addres is: pietro@ingcremonini.it. Thank you a lot. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |