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 SmarterLife Challenge - Still trying to figure it all out.
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: marsmen
  • Date Created: 14 Dec 2013 9:18 PM Date Created
  • Views 630 views
  • Likes 1 like
  • Comments 7 comments
  • psoc4
  • smarter_life_challenge
  • temp_light_sensor
  • smarter_life
Related
Recommended

SmarterLife Challenge - Still trying to figure it all out.

marsmen
marsmen
14 Dec 2013

Apparently "Start a Discussion" and "Write a Blog Post" have the same templates and look the same, but are not. Some things I'm good at, knowing the difference between those two, not so much.

 

Last Wednesday, switched from the PSoC 4 Pioneer Kit to the Development Kit that has the PSoC 1, 3, and 5. I purchased the 4 for it. Then started with the 5 for Temp Kit, which the literature and docs state the 3 and 5 are same-same for usability. But trying to program the 5 yielded an error in Creator that it isn't the 3. So, placing the 3 on the Dev Kit, it programs. Trying to use the Temp Kit and the CapSense Touch Expansion Kit, both failed as they had the same issues.

 

The issue:

The Dev Kit states only the Port A can be used for both the Temp Kit and CapSense Kit.

 

Net name on Dev Kit at Port A is P5_5 which connects to Temp Kit P0_5.

 

So, the code pin net name should tie to its' physical Dev Kit net name, P5_5, but the Temp Kit Net Name was used instead. So the PSoC 3 tried to its' P0_5 which is the Dev Kit's Port B. Exact same thing on the CapSense Kit.

 

Both codes route to Port B. Plugging either kit into Port B doesn't work. There is partial results, but bottom line: DON'T TRUST THE CODE. The pin mapping is all wrong.

 

The amount of work going through and remapping I/Os is the same as having to start from scratch. So that is where I'm at. Dropping the 4 onto the Dev Kit and creating from scratch.

 

Using the code example for the Voltage Display was awesome. That worked great. But trying to run the CapSense, is sluggish and doesn't seem to know what to do with the MiniProg3. Creator is just hanging and hanging. I do wonder if using my 4 month old HP Envy laptop is part of the comm's issue. Or if my Agilent or National Instruments SW is secretly on in the background trying to control the USB. This was an issue once and was corrected. But I feel strongly that your general off-the-shelf PC these days (desktop or laptop) and Windows 8.1 OS are not hardware/test equipment friendly.

 

I do have a 7 year old desktop with an Intel P4 3.4 GHz machine collecting dust under the desk. Maybe I can find Win 7 somewhere. Last thing I want to do, spend a day and a half setting up and configuring an antiquey Windows machine.

 

Last week, also purchased LEDs with I2C controllers. Purchased different LEDs that use NRZ Comm, too. As I will be creating my own CapSense Buttons, also purchased copper tape with adhesive on the back.

 

ALL THIS STUFF is like physically running in a foot race. The training is fine, the race will be fine. But you cannot train and run as you've a hole in one sock and the other is lost. Then your trainers are missing 'cause the dog made off with one and chew-toyed the other. And your shorts have been chafing you and so now your skin is red and irritated. Plus, the cat barfed on your shirt.

 

Gotta keep the Finish Line Ribbon in the mind's eye. image

 

Gold Metal B!tches!

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

    So, feeling completely dorky responding to my own post, but that is okay. Big success in just a couple hours of time.

     

    My project uses two sets of CS Slides. One for temp and the other for flow. This means double the IOs, LEDs, CS tuning, etc. I decided that using a single CS BTN as a "toggle" switching the slider between flow and temp would kill 50% of IOs needed. Plus, I'm using RGB LEDs on I2C and now I've also reduced the LEDs by 50% as well.

     

    Per the usage of Thermistors, 3 in this design, by using the example in the other projects and data sheet, I'd need 9 pins. Using a Mux, I've reduced it to 6.

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

    Good news Jim, great to hear that it's finally working out for you. Could you share some pictures?

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

    Good news Jim, great to hear that it's finally working out for you. Could you share some pictures?

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

    Victor, I don't want to post any photos and anything in too much detail for IP purposes. I'm not sure how much will need to be shared as we approach the end, but at this point I'm going to keep it on the DL as much as possible.

    • 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