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 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
Internet of Things
  • Technologies
  • More
Internet of Things
Blog Vehicle Simulator Project - update
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 14 Oct 2014 4:03 AM Date Created
  • Views 1508 views
  • Likes 3 likes
  • Comments 5 comments
  • android
  • trip
  • bluetooth
  • obdii
  • cape
  • virtual
  • Black
  • simulation
  • obd2
  • recorder
  • real
  • rtr
  • vtr
  • runner
  • BeagleBone
  • vehicle
  • gps
  • simulator
Related
Recommended

Vehicle Simulator Project - update

dougw
dougw
14 Oct 2014

blog entry #3

 

see also blog #1 Vehicle Simulator - VTR / RTR   and blog #2 Vehicle Simulator Project

 

This update shows the Car Cape running on a Beaglebone Black.

Both vehicle simulator and vehicle recorder systems have been built and they communicate with each other fine over the CAN bus.

We are still having a devil of a time sorting out OBDII communications with a real vehicle. This is the main reason for such a long delay since our last posting, however I figured we need to post at least an update.

So far there are 6 screens to display sensor data from the sensors on the Car Cape.

We have not spent much time on these as the OBDII interface has been taking so much time.

Here are some screen shots to give some idea of what they look like:

image

image

image

This screen shows location coordinates when the GPS finds enough satellites. Right now it is still showing UTC time.

image

This is a little warm because I have some bright lights shining directly on the module.

image

image

We are still sorting out some of the analog channels...

image

The LCD updates "instantly" in response to the keypad scroll buttons because it is interfaced via SPI.

The following video demonstrates how quickly the LCD repaints after each scroll button push:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Here is a picture showing the OBDII breakout module connected to the Vehicle Simulator/Recorder module:

image

Here is a picture showing the card stack making up the vehicle simulator/recorder module:

image

Right now we are analyzing commercial OBDII readers like the one shown above to determine how to handle vehicle communications properly.

 

Quick update:

We have started using one of these CAN bus interfaces to help analyze what is going on with the CAN / OBD2 bus:

image

This module is helping significantly at this stage to get us over an impasse.

The 2 BBB modules communicate with each other.

The 2 BBBs can communicate fine with the USB-CAN module above.

The commercial reader can also communicate fine with the USB-CAN module.

The commercial reader does not communicate with either BBB.

It seems they somehow think the frames are invalid.

Unfortunately my software partner is away for a month starting today, and the rig is at his place, so further updates will be delayed for a month.

  • Sign in to reply
  • dougw
    dougw over 10 years ago in reply to shabaz

    Hi Shabaz,

    The 2 pin connector on the left allows a jumper to disable write protection of the cape ID EEPROM. It is only really needed when first programming the standard cape EEPROM which identifies the functionality of the cape.

    The other "white" connector on the left is the BBB ethernet connector - I will post a angle view to show the module stack up.

    The 8 pin connector on the right is the CAN bus interface - it goes to an OBDII breakout module (both male and female OBDII connectors) that includes a 5 V power supply for the BBB when it is mobile. I will post a picture of it in its unpackaged form.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 10 years ago

    Hi Doug,

     

    You are making good progress and I like your incremental design approach.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jw0752
    jw0752 over 10 years ago

    Hi Doug, This is a very nice and well done project. I will watch for your updates.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago

    Very nice presentation Doug, I like how neat everything is too, it goes together very well, I look forward to the next installment

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

    Hi Doug,

     

    Wow, this is looking great. Congratulations to you and your colleague, this is an incredible project. Definitely a very feature packed board. What are the white connectors for, on the right side of the board, and the ones on the left side?

    • 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