ArduinoGeneral

Air Quality Monitor Sample Code Error avrdude: stk500_recv (): programmer is not responding

userHead Account cancelled 2019-05-12 06:05:54 3377 Views1 Replies
Hi,

I am using the code:
"Sample Code2 - Arduino UNO (Software Serial)"
from the link: https://wiki.dfrobot.com/Air_Quality_Mo ... U__SEN0233

with an Geniunie Arduino Uno, connected with de AirQuality Monitor (from Plantower) with de PM2.5 Sensor Adpater with a IO Expansion Shield V7.1. Just as the wiki indicates to connect the Air Quality Sensor to the arduino.

When I´m trying to upload the code to the Arduino it generates the following error code:

avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 1 of 10: not in sync: resp = 0xb0
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 2 of 10: not in sync: resp = 0xb0
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 3 of 10: not in sync: resp = 0xb0
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 4 of 10: not in sync: resp = 0xb0
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 5 of 10: not in sync: resp = 0xb0
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 6 of 10: not in sync: resp = 0xb0
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 7 of 10: not in sync: resp = 0xb0
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 8 of 10: not in sync: resp = 0xb0
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 9 of 10: not in sync: resp = 0xb0
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 10 of 10: not in sync: resp = 0xb0

I do not know if this is a known problem or if you know how to fix it.
As a note, if I disconnect the PM2.5 Sesor adapter from the Expansion Shield it is possible to load the code, but it does not work when I connect it again. Finally, I have an MQ9 sensor that I´m using with the IO expansion shield and it works properly. So, I´m thinking the problem may be in the code for the Air Quality Sensor ( I have two sensors, just in case, and both have the same problem, and I try with mac and pc).
I will be very grateful for your help, greetings from now,
2019-05-17 17:07:56 Hi
Did you connect anything to D0 D1 (or Rx Tx) of uno board / io expansion board when trying to upload the code? That may cause upload failure and may show the error above. Do you have a picture of connection diagram? In addition, sometimes it could be the issue of usb cable. You can try switch to another usb cable.
userHeadPic yolande_shaw