element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog PSoC 4 Tricopter (Smarter Life Challenge) part #8
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: yuritikhonov
  • Date Created: 15 Dec 2013 3:23 PM Date Created
  • Views 1295 views
  • Likes 1 like
  • Comments 6 comments
  • RoadTest
  • tricopter
  • psoc4
  • Multiwii
  • smarter_life_challenge
  • smarter_life
  • smart_tricopter
  • smart_control_and_diagnostics
  • arduino
  • quadcopter
Related
Recommended

PSoC 4 Tricopter (Smarter Life Challenge) part #8

yuritikhonov
yuritikhonov
15 Dec 2013

If you like my project vote for "A Smarter Tricopter - Yuri Tikhonov" image

 

Good day comrades!

This week, the last before the beginning of voting, I still haven't received the parcel from HobbyKing. Nevertheless, Russia is still in game!

 

This week we begin a new stage: "hardware", but I must save a bit of material on the case, if the parcel with spare parts will not come.

Already done:

  • Schematics were developed;
  • PCB layout was made;
  • PCB was made in the old-school style image
  • Pioner Kit was turned into a convenient programmer for external PSoC chips.

 

1. Initially I wanted to use PSoC at 3.3v, thus the following diagram was born, I used CAD-System DipTrace to draw it (schematics developed according to Russian standards, however, they differ a little from the western ones):

image

 

But after reading the datasheet, I found that in contrast to all "Cortex M" family MCU's, with which I worked earlier, the PSoC is able to operate at 5v! Circuitry was seriously simplified:

image

 

2. The next step was making the PCB, then I looked posts of other participants and saw that the level of performance was good enough! I decided to go the other way: to run the old-school tracing and to use a parallelepiped-shaped PCB. After all, we are having a creativity contest image

 

For tracing I used CAD-System TopoR (if you knew a little Russian, this name will make you smile). However the TopoR, Russian version of the DipTrace, and the OS Windows 7 Professional x64 have been refusing to be friends for a long time. But I wanted so much to make an unusual PCB that I managed to overcome this problem!

image

 

3. Captain Obvious reminds: December is the last month of the year! I am a PhD-student and I have a huge amount of work on the thesis. My printer worked in emergency mode and the day when I decided to make a printed-circuit-board, the printer suddenly broke down image

 

However, I found an activity: I understood that I need to flash the PSoC, and it will require the programmer. However, at the time of ordering components I forgot the programmer... I want to use the Pioneer Kit to program an external controllers. For this, I downloaded the firmware source code and decided to give it a little change, overriding SWDCLK and SWDIO lines thus to have access from outside:

 

image

However, this week gave me another surprise: the PSoC refused flatly being flashed! After long hours of torment, I found a solution!

 

In the original: SWDCLK = P2.1 and SWDIO = P2.0. I decided to override them on P0.0 and P0.1 respectively. Guess why? Exactly! At the end, after making SWDCLK = P0.1, SWDIO = P0.0 I was surprised to find that the programmer worked, Bingo!!!

image

image

 

4. Meanwhile, I fixed my printer. PCB was made (the photo was made before drilling and final grinding):

image

 

Next I bought  all the necessary components at a local store and soldered everything together:

image

 

Finaly, tricopter control system looks as follows:

image

 

I yet did not drill the mounting holes, because I still don't have the frame...

Did you notice the location of the LEDs? Yes-Yes, this is also an echo of unusual design image

 

5. So, let's summary the work today:

  • Was written firmware for PSoC. Although the  MultiWii 2.0 was taken as basis, I did a great job on revision of the code was studied every line of the program, significant structural changes were made, in general I am very pleased with the work done!
  • Were manufactured and tested the control system PCB.
  • Were ordered and paid all necessary parts, but the fault of HobbyKing, the majority of them is still on the way. Small details I bought in local shops, no problem with them.

 

Next week, if the components do not come, I'll make all the remaining details "blindly", without a clear understanding of the dimensions of the basic units of the machine + I have a stock of cool stuff image This copter is not first for me, so I must  successfully cope!

 

See you next week!

                                                                                                                                              

#linkdescription
1PSoC 4 Tricopter Part #1Introduction
2PSoC 4 Tricopter Part #2Purchase of components from Farnell and HobbyKing
3PSoC 4 Tricopter Part #3PSoC firmware: upTime & Rx
4PSoC 4 Tricopter Part #4PSoC firmware: UART & MultiWii GUI
5PSoC 4 Tricopter Part #5PSoC firmware: EEPROM emulation
6PSoC 4 Tricopter Part #6PSoC firmware: Servo & ESC control
7PSoC 4 Tricopter Part #7PSoC firmware: IMU, LED's & PID
8PSoC 4 Tricopter Part #8Hardware: PCB
9PSoC 4 Tricopter Part #9Hardware: tricopter's frame
10PSoC 4 Tricopter Part #10Hardware: YAW mechanics & motors
11PSoC 4 Tricopter Part #11Hardware: ESC's, wires & misc
12PSoC 4 Tricopter Part #12Final: The first fly

 

If you like my project vote for "A Smarter Tricopter - Yuri Tikhonov" image

  • Sign in to reply
Parents
  • vsluiter
    vsluiter over 11 years ago

    Yuri,

     

    This is getting more exciting every week. I think we should thank HobbyKing for getting us all in suspense!! I still hope you'll get all your stuff in time...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • vsluiter
    vsluiter over 11 years ago

    Yuri,

     

    This is getting more exciting every week. I think we should thank HobbyKing for getting us all in suspense!! I still hope you'll get all your stuff in time...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • yuritikhonov
    yuritikhonov over 11 years ago in reply to vsluiter

    Thanks Victor! Probably this delay has something to do with the new tax policy in Hong Kong, but I was not warned about this...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube