Record the production process of the open source dual-receiver image transmission RX5808. The project introduction is more comprehensive on GitHub, so I won’t go into details here. Mainly records the problems encountered during the production process.
The hardware is drawn using AD20 and has been uploaded to the attachment for reference. (Problem: ISP download interface is not brought out; power supply within 2s)
Debugging process:
1. Download the project code from GitHub. (Attachment has been uploaded)
2. Use arduino IDE to compile the project. If you are prompted that relevant library files are missing, you can add them in the library manager. The pin configuration is in settings.h and can be modified according to your own hardware.
If the following compilation fails, please change the IDE to version 1.6.9 or earlier and recompile to pass.
collect2.exe: error: ld returned 1 exit status or similar issues:
Compiled successfully using version 1.6.9
3. Compile and generate hex file.
No need to connect the chip, select the project directly in the arduino IDE - use the programmer to upload. Wait for the compilation to complete, and you can find the generated hex file path at the end of the output information window.
4. Upload the firmware (software and drivers have been uploaded as attachments)
Use the AVR USBasp downloader to connect to the mega328p chip, set the following parameters and upload the firmware.
5. Question:
(1) Why not use arduinoIDE to upload firmware directly?
The test found that the image transmission function was completely abnormal after being uploaded directly to the Arduino software. The reason has not yet been found. (It may be that the eeprom is not completely erased and the fuse setting is incorrect. The default fuse setting of the Arduino boot program is 0XFFD962, but this project needs to be changed to 0XFFDAFF)
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet