So I have a sensor BMP280, that is supposed to go on a drone and collect data. The code works and the sensor works when its connected to the computer. But the sensor is going to be on a drone, and i dont have any shields, or am going to be able to get shields to communicate wirelessly, so my plan is to get the data from the board, after the drone landed and i connect the arduino board to the computer. The problem is, im completely new to arduino and have no idea how that is supposed to work. I read that i can connect a 22uF capacitor to the board to stop it from resetting, but when i did that i got this error
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
An error occurred while uploading the sketch
If u have any ideas how i can get data from the sensor it would be very useful, thank you.
How many bytes of data do you expect will need transferring ?
Which Arduino board are you using ?
I would recommend against trying to figure out how to keep the power on between flight and ground operations.
- You could put data in the Arduino EEPROM during a “flight mode”, then collect it over serial comms later with a “report mode”.
- You could send an SD card module and write the data to an SD chip during the flight, then pop the chip into your computer on the ground later.
- The SD card can be easier by using an openlog module, it can record everything you put out over the serial line during the flight. openlog modules are tiny and inexpensive. And can hoover up data at quite a rate.
The last is my current favorite. You can get everything working without worrying about how to use the SD card module directly, just get it reporting over serial as you like, and record that with openlog module, no programming needed other than setup.
Thank you for your answer, all of thos seem like great choices, that i still dont know witch one to pick
If you give details of the board being used and the amount of data to be collected it will help
its arduino uno and im not sure how many bytes will be collected, but count on the sensor detecting Height Temperature and Pressure every 30sec-1min or so
How long do you expect flights to last and what data type will the values be ?
Whatever the answers I would suggest that you save the data to an SD card which makes it very simple to transfer the data to a PC as you can save it as a .csv file and load it into Excel
Agree. Your data rate is slow, and your flight will be, well, not that long. Using an openlog device means you can write it as a .csv first time.
Shop around. I've purchased relatively cheap ones, they function well.
If you have room for the UNO and its mass and power required, OK. But this might be a place for an Arduino of a different (smaller, lighter, less power hungry) kind. Just sayin'. These too need not break a budget.
Sounds like fun. Please keep us informed on your progress.
Thank you for your answers, I will probably end up getting the SD card and the openlod device to store it on, ty so much
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.