containsmachine

Open source dual receiver image transmission RX5808

 
Overview

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)

PCB

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:

High version arduino IDE compilation error

Compiled successfully using version 1.6.9

Compiled successfully

 

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.

hex file path

hex file

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.

Fuse settings

 

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)

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-05 07:20:07

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号