Monday, June 1, 2015

Boards, Firmware and Stuff - Part 9 of the Springtime Project

Just to wind things up here are the parts and designs I used in the Springtime Project GPS/APRS for the car. If you have any questions feel free to post a comment.

The 5V 2A supplies are used to power the MCUs and the LCD screens.


The voltage regulators are 5V@2A LDO voltage regulators, with .8V dropout at full current rating
The smaller Caps are 47uf, and the larger caps are 100uf. 
I didnt use the connectors for the inputs and the outputs but soldered 12 gauge pre-tinned wire to the pads directly.

The 3.3V GPS power supply:


This provides 3.3Vdc to the GPS
The Voltage regulator is a 3.3LDO surface mounted regulator
You could redesign it for a traditional regulator, I needed this to fit into the enclosure
The caps are 47uf, the resistor is 1K, and the LED is optional
I did solder in a surface mounted LED in place of the regulator LED, for space savings
The headers can be redesigned, they are labelled VCC,GND, TX and RX for the serial communications from the GPS
Note: On the header on the bottom, VCC is replaced with 5v0, this is the 5V input to the power supply! The GPS I used, runs only on 3.3V. If you find a 5V version this power supply is unnecessary!

Both of these boards are available at OshPark.com in my personal projects listings, if you want the actual boards, contact me, Ill give you access to order them. 

Firmware:

 Since I ran into the issue of the LCDs using the same address, and I was under a time constraint, I used my original arduino sketch and busted it into 2 parts, one for the time and temp, the other for the GPS. Here is the sketch in its entirety. You can do what I did, or use a serial LCD and a I2C LCD, or in my next version Im using a larger OLED screen, which Ill be able to fit all the information on one screen. This sketch can help you get started.







The sketch is an adaptation of the demo sketch from the TinyGPS++ library for arduino. That about wraps up everything I did. Hope it helped someone a little. Again if you would like any or all of the materials I used, help with the firmware, or want to adapt it for your car, feel free to comment below and as always

Happy Coding!


No comments:

Post a Comment