Go Down

Topic: Arduino BT AT Mega 328 Force Sensitive Resistor - where is the issue? (Read 692 times) previous topic - next topic

Hi Arduinoers

I am trying to solve a what I'm sure is a very basic Arduino2Max problem. I have a force sensitive resistor connected, via a breadboard, to an Arduino BT w/AT Mega 328. I had spent a lot of time just getting the program loaded onto the Arduino, but seem to have finally managed that now. I have uploaded the arduino2max.pde file to the arduino . All I would like to do is read data from Analog port 0, and have this displayed on the standard max patch.

Can anybody see where I am going wrong? I believe that the set up of the breadboard is correct, but if you would be so kind to double check then that would be fantastic - this really isn't my area of expertise. I am not sure at what stage of the project the problem is occuring - it could be that the breadboard is fine, but interfacing with max via bluetooth is the issue.

I am using a 10k ohm resistor. I also changed the last line of the programming code to  Serial.write(32); as it Arduino could not understand 'BYTE', although I am not sure what the best value to put in here would be. The max patch has the serial reader linked to ARDUINOBT-Bluetoothseri  and the correct port has been selected. I am at my wits end as I'm sure it's a small issue that I am overlooking!

Also worth a look - this is the circuit that I am trying to follow: http://www.ladyada.net/learn/sensors/fsr.html (the part titled analog voltage reading method).

I have tried attaching an image of the breadboard but it wont upload for some reason - perhaps if someone could tell me how to do this (i've looked on the forum but not figured it out), then it can shed light on the breadboard set up I have going on.

Again, any help would be massively appreciated.

Thanks for your time


Here is a link to the image shack photo:


I have the 9v terminal connected to the left leg of the FSR. the right leg is connected to a 10 kOhm resistor, which is connected to ground. the right leg is also connected to analog ).


This might take some time.

Your picture is good but not good enough. Usually this these kind of plans are drawn. It is called a schematic diagram. That drawing would show what have you tried to do. That would help.

About your picture, where does the leftmost red or brown wire go? It looks like it is not connected.

Go Up