element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Forum Smarter Life Challenge: More than geolocation for the car
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 2 subscribers
  • Views 486 views
  • Users 0 members are here
  • psoc4
  • geocaching
  • soynerdito
  • gecar
  • smarter_life
Related

Smarter Life Challenge: More than geolocation for the car

camuyano
camuyano over 11 years ago

This has been a good week with it's ups and down. During this week I have been working with three areas for the project.

 

SDCard interfacing:

Hardware:

     Arduino Wireless SD shield. It contains a MicroSD card slot.

     Micro SD card 2G FAT formatted

Software    

     Code from PSoC 4 Pioneer Kit Community Project#050 – SD Card Example

Progress

I was able to write data to the SDcard by using the code from PSoC 4 Pioneer Kit Community Project#050 – SD Card Example . The code works however I found that in my setting it works only on a full power cycle of the board but stop working if the board is rebooted. It gets stuck initializing the SDCard for some reason. I have been researching about SPI and SDCards, comparing code from several sources but with no luck. For now it can be used and I will use the code since it works, I may do my own SDCard board circuit so I can do an on demand power cycle for the SDCard to check if it works constantly.

 

Ultrasonic sensor:

Hardware:

     HC-SR04

     Attiny85

Software:

     AVR sample

Progress:

In this specific area I have modified my original idea. Since Ultrasonic sensors are always spitting out a value, I thought this might consume a lot of resources from the PSoC and also I would like this to be compatible with different sensors. So I will be implementing a co-processor for the ultrasonic sensor. The Ultrasonic sensor will be manage with a small AVR, the Attiny85.

image

By using an Attiny85 I can be constantly measuring distances of objects and provide intelligence to the sensor. For example i can send a serial message from the PSoC to the Attiny with a distance threshold and receive from the Attiny85 an interrupt to log the data at that moment. Also by using this, I can latter on add a different sonar sensor without changing my PSoC code, just adding a simple smart component to the sonar sensor.

 

Wireless:

Hardware:

Adafruit CC3000 Wifi

 

Sofware:

Writing my own code

 

Progress:

This turn to be a very hard one to crack. It is suppose to be very simple since TI provide the libraries for the CC3000 chip. I only needed to do is to implement the SPI functions to have a full driver from the PSoC to the chip. After spending last weekend on this, I put this at a side so I can do progress with other areas and will get back to this latter on.

 

This has been my progress on this week, today is not over. I will be getting to burn the code on the AVR and do some soldering. Tonight goal is to have the board build and tested. The main component of my project is a GPS which was on backorder but next week it should be getting to me. Since I have code for the SDCard and Bluetooth from last week. I should be able to my first coordinates and plot them into a map. This will be very exiting on getting some coordinates in.

  • Sign in to reply
  • Cancel

Top Replies

  • camuyano
    camuyano over 11 years ago +1
    This is how the prototype looks like. For now it seems a little too slow on response from the sonar. Also this is not the sonar I prefer since it is has a pretty short distance. Like 170cm tops. For now…
Parents
  • camuyano
    camuyano over 11 years ago

    This is how the prototype looks like. For now it seems a little too slow on response from the sonar. Also this is not the sonar I prefer since it is has a pretty short distance. Like 170cm tops. For now it should work. The software serial has not been put together, just decided to solder the simple board and test it with a the sonar and a LED.

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • camuyano
    camuyano over 11 years ago

    This is how the prototype looks like. For now it seems a little too slow on response from the sonar. Also this is not the sonar I prefer since it is has a pretty short distance. Like 170cm tops. For now it should work. The software serial has not been put together, just decided to solder the simple board and test it with a the sonar and a LED.

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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