I am new to Processing but am planning to use it with Arduino.
Basically I am making a PC fan controller regulated by the temperature of the PC. I have used LM335 temp sensors as inputs for the data, averaging the readings in arduino and telling the board to increase the voltage to the fan if a certain temperature is reached.
I am also looking for a way to hook up a Graphic LCD and showing a simple pie chart with 10 segments, and having 1 segment filled black for each percentage gain.
For a rough example, if the temp sensors are recording an average of 20 degrees to the serial monitor, then the pie chart will have 2 segments filled. if it reaches 30 degrees, then I would like the picture to change to a separate picture with 3 segments filled, to give the appearance of the pie chart filling itself according to the temperature.
I have written the whole of the arduino side to record temps to the serial monitor, however as a newb to Processing, I have no idea how to
a) allow Processing to read data from Arduino and create custom text to display this (eg, Ardunio records as
tempsensor1=134, tempsensor2=136, average=135, and I would like the LCD to show
Temperature = 135)
b) show the image and create coding to tell processing to change the picture depending on the serial monitor's results in Arduino
Any help whatsoever will eb greatly appreciated, I have been scouring the internet for what seems like some basic beginner info for a long time and have not found any concrete stuff.