Trashcan

Autopilots
__TOC__
=Eachine Trashcan=
==About==
A racing drone with quite a long name by the supplier for such a tiny flying machine; Eachine TRASHCAN 75mm Crazybee F4 PRO OSD 2S Whoop FPV Racing Drone Caddx Eos2 Adjustable Camera 25~200mW VTX Swtichable
 
=Supplier:=
* https://www.banggood.com/Eachine-TRASHCAN-75mm-Crazybee-F4-PRO-OSD-2S-Whoop-FPV-Racing-Drone-Caddx-Eos2-Adjustable-Camera-p-1386071.html
=Specification:=
==Base==
* Brand Name: Eachine
* Model Name: TRASHCAN
* Item Name: 2S 75mm Brushless Whoop racer drone BNF/PNP
* Wheelbase: 75mm
* Size: 98mm*98mm*36mm
* Weight: 33g(without battery)
* Weight:48g(with Original 1s 300mah lipo battery x2)
==Spare parts Specification==
* Motor Mode: TC0803 KV15000
* Configuration: 9N12P
* Stator Diamter: 8mm
* Stator Length: 3mm
* Shaft Diameter: Φ1mm
* Motor Dimension(Dia.*Len): Φ10.5mm*14.5mm
* Weight(g): 2.2g
* No.of Cells(Lipo): 1S-2S
==Flight controller==
* CRAZYBEE F4 PRO FR Firmware target, [read all about it following this link]
==VTX==
* Output power: 25~200mw switchable
* Frequency: 40CH
* Input voltage: 3.3V 5.5V
* Current consumption: 300mA(type)
* Antenna: RG178 antenna
* Frequency: 5.8GHz 5bands 40 channels
* With Raceband
* Smart Audio ready
* Weight: 3g
==Camera==
* CADDX EOS2 camera 	
* 1/3" CMOS Sensor
* 1200 TVL
* 2.1mm lens
* 16:9 Image size
* NTSC
* Global WDR
* Internal Synchronization
==Battery==
* Capacity: 300mAh
* Type: LiPo HV
* Voltage: 3.8v
* Continuous Discharge Rate: 40C
* Instantaneous discharge rate: 80C
* Size: 55mmx11.5mmx6.5mm
* Weight: 7.8g
* Connector: PH2.0
Notes: Need 2pcs batteries for Series circuit
===Alternative Battery===
 
https://www.banggood.com/5Pcs-Gaoneng-3_8V-550mAh-50C100C-Lipo-Battery-PH2_0-Plug-For-Tiny-RC-Helicopter-Drone-p-1348860.html
* Type: Gaoneng 3.8v 550mAh 50C/100C 1S Lipo Battery
* Capacity: 550mAh
* Type: LiPo HV
* Voltage: 3.8v
* Continuous Discharge Rate: 50C
* Instantaneous discharge rate: 100C
* Size: 7*17*65m
* Weight: 14g
* Connector: Molex Picoblade PH2.0
=Features:=
* Crazybee F4 PRO Flight controller 1-2s Lipo Compatible
* 2S whoop more powerful and more flight time
* BPaparazzi support , multi flight modes
* New 0803 Powerful and High efficiency Brushless motor and Smooth ESC. The motor power with 7V and 40mm propeller can get 55g pull.
* Caddx EOS2 camera ready
* Camera Angle adjustable (0-35°)
* VTX power switchable 25mw~200mw
* Smart Audio ready , change VTX bands, powers, channels via OSD
* Bzzer
* LED Strip Ready
* Compatible both for 1s-2s
 
=Package=
For example the BNF FrSky Version
* 1 x 75mm Brushless whoop Frame
* 1 x Crazybee F4 PRO FC built-in Frsky NON-EU receiver
* 4 x TC0803 KV15000 Motor
* 1 x 40mm propeller(4cw+4ccw)
* 1 x Caddx EOS2 camera
* 1 x 5.8G 40ch 25mw~200mw VTX
* 4 x 3.8v 300mah 40C/80C battery
* 1 x USB Lipo/LIHV Charger
* 1 x Propeller disassemble tool
* 1 x LED board
* 1 x Screwdriver
* 1 x XT30 wire
* 1 x Bag
=PCB pinout=
=External RC Receiver=
For example an open R-XSR receiver set to PPM out and connected on the LED port of the flightcontroller board, no (mis) used for PPm input signals instead of LED board output.
{Here photo where to solder it}
=GNSS=
A Position sensor can be added, could be a uBlox CAM M8Q
=Magnetometer=
Can be added, could be a LIS3MDLTR or a nice BM1422AGMV-ZE2
=Telemetry=
A small ESP8266 based WiFi module is added.
=Airframe file=
Multiple targets in one airframe file: AP, FPV race, ACRO
 openuas_eachine_trashcan.xml (Coming soon to PPRZ master)
=Setup=
=Modification=
The LED strip is removed and this pin makes room for a RC receiver. Reason to have a separate MCU for RC and not bog down the mail AP loop with build in SPI receiver messages.
==Wifi==
Solder T2 and R2 to the 
The GNDF and the VCC come from here
==Power conversion==
* Ultra-Small Size DC-DC Step Down Power Supply Module 3A Buck Converter Adjustable 1.8V 2.5V 3.3V 5V 9V 12V
* https://www.aliexpress.com/item/32880983608.html
== XT30 Connector ==
Careful when replacing the connector. Add a capacitor else you can damage your flight-controller board.
==Jevois camera==
=Manual=
=Flashing=
==USB cable==
Uploading Paparazzi airborne autopilot software, also known a flashing is simple. New onboard software for the board can uploaded by connecting your PC via a micro-USB port to the autopilot board. For this the board needs to contain a bootloader. AFAWK all Trashcans come with a Betaflight already flashed on the board.
An alternative to get your firmware in the board is by using a Black Magic Probe JTAG/SWD debugger and programmer connected via the DWD pin. Not all to easy..
==Serial Firmware Upload==
Firmware upload using the factory integrated bootloader can be useful e.g. if you have overwritten the bootloader accidentally and don´t have access to JTAG.
Either set the flash mode in the target section of the airframe configuration:
 <configure name="FLASH_MODE" value="SERIAL"/>
or add it to the commandline invocation:
make AIRCRAFT=<aircraftname> ap.upload FLASH_MODE=SERIAL
Category:Hardware Category:Airframes