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 - geocar update
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: camuyano
  • Date Created: 8 Nov 2013 1:12 AM Date Created
  • Views 836 views
  • Likes 1 like
  • Comments 8 comments
  • psoc4
  • smarter_life_challenge
  • gecar
  • smarter_life
  • psoc
Related
Recommended

SmarterLife Challenge - geocar update

camuyano
camuyano
8 Nov 2013

This has been a great week, I got to install the PSoC Creator and downloaded my first program. Started with the sample capacitance from the demo and right away moved into what will be part of my project.

First I dropped a UART box in the designer, changed the baud rate and moved into the C part. Used an UART example and the documentation for the tool to guide me. I took me about half an hour or so to get it running but that was very quick for me considering this was my first time using this device.

For testing I used a USB to serial TTL dongle from my PC, opened the virtual serial port created for this device using putty and started typing. By using the PSoC debugger pretty fast I could make it run. Then moved in with the bluetooth adapter. From the PC side, changed the USB to TTL for a USB bluetooth dongle. And same procedure with putty obtaining flawless result.

Here is a picture of the PSoC with the bluetooth device. I decided to use the lower pins just because of my Arduino background. The UART using as of now is a software serial, which works like a charm.

My next step this week is getting some code in the Android that communicates with the PSoC. The Android code should not take long. Moving with the Android since where I am now I have limited components.

Once I get home back from my trip I plan to hook up more devices to the PSoC. Cannot wait to see it collecting GPS data and recording it to a SD card.

image

The resistors on the bread board are just left overs from past projects. All connections are straight, just VCC, GND, TX and RX.

This is an amazing device and I will try to push it to the limit, to get as much as I can from it. Pretty sure it can handle all that I need from it and more.

It might be my lack of experience with other boards but this one feels like a nice product to work with. The designer works good, the board was just plug and play and there is a fair amount of documentation and growing.

Good luck to the rest of the participants and to everyone using this board. Future posts will have code and more details.

  • Sign in to reply

Top Comments

  • camuyano
    camuyano over 12 years ago in reply to vsluiter +1
    Of course. I will put it together and upload it. The bluetooth that I am using is Module HC-06 Master for Arduino ( http://www.ebay.com/itm/Wireless-Serial-4-Pin-Bluetooth-RF-Transceiver-Module-HC-06-Master…
  • camuyano
    camuyano over 12 years ago in reply to vsluiter

    I just uploaded some sample code of Android with PSoC, check out the post on Smart Life Challenge: geoCar PSoC meets Android sample The android code is on github with the link in the post and the PSoC Creator code is attached to the post. Feel free to copy, share, modify, trash what ever you want.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 12 years ago in reply to camuyano

    Hi Javier,

     

    Got it. Thanks! Great project.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • camuyano
    camuyano over 12 years ago in reply to shabaz

    The android will be used to pull out the GPS log data from the SDCard connected to the PSoC. GPS data will be log into an SDCard to be latter on pulled out from an Android phone. On a possible option is connecting the PSoC to the home wifi router and uploading data automatically by itself. The Android interaction is the main goal, and the WIFI is a stretch goal.

    The communication from the PSoC to the Bluetooth is via serial communication.

    Once data in on the Android phone It can be relay into a host server or plot into a map to see where the GPS locations were from.

    The PSoC in the car may have an LCD but the main use of the device is by itself with a periodical link with an Android phone to collect recorded data.

    When I explain my project to friends I say this to be similar to an Airplane black box. Where data is recorded for latter extraction. In this case is not just in case of an emergency, it should be extracted for periodical monitoring of car usage (lets say by a sibling).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 12 years ago

    Hi Javier,

     

    Interesting project ; ) How is the Bluetooth and Android to be used? Maybe I missed the explanation in an earlier introductory post (just wondering what the overall solution will look like). Is there a block diagram or text description of the whole thing?

     

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • camuyano
    camuyano over 12 years ago in reply to vsluiter

    Of course. I will put it together and upload it. The bluetooth that I am using is Module HC-06 Master for Arduino (http://www.ebay.com/itm/Wireless-Serial-4-Pin-Bluetooth-RF-Transceiver-Module-HC-06-Master-for-Arduino-/221282887995?pt=LH_DefaultDomain_0&hash=item33857ce93b) that you can get for $10 or less on ebay. It is a serial TTL device, so wiring it up directly to the PSoC is all you need. When packed it all up and uploaded to github will let you know here.

    • Cancel
    • Vote Up +1 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