I tried this and it gives the same results as before.Use the Arduino UART receiver to receive characters from the scale.
Use the Arduino UART transmitter to send characters to the PC.
I tried this and it gives the same results as before.Use the Arduino UART receiver to receive characters from the scale.
Use the Arduino UART transmitter to send characters to the PC.
void setup() {
// put your setup code here, to run once:
Serial.begin(9600,SERIAL_8N2);
pinMode(0,INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
while (Serial.available()) {
Serial.println(Serial.read(),HEX);
}
}
I currently do not have access to an oscilloscope as I am working in a Biology lab but am trying to get it soon.I don't know what is same results.
Can you post an oscilloscope screen view of the first character from the scale?
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x01
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
I am attaching 2 images (sadly taken only from my mobile phone since that is the only thing available) of the circuit - the cable, MAX232 to arduino.You have to backup. We cannot see what you are doing.
Do you have a digital camera? Show us a sharp well focused photograph of the cable from the scale to the first circuit that it is connected to.
Trying to obtain that as soon as possible.I can diagnose your problem in one minute if I saw an oscilloscope view of your waveform.