Show Posts
Pages: [1] 2 3
1  Using Arduino / Project Guidance / Atmega 328p - PCB Breakout design... or is there one out there? on: February 07, 2011, 09:48:12 pm
I am looking for a breakout board, or a PCB I can solder in a atmega328.  Ideally it would be somewhat compact like the Arduino UNO, however, not too picky.

If this doesn't exist (which I doubt) where can I buy a few?  I've got all the parts for my arduino for under $7.00 - just need a PCB board.  I do have proto boards, but want something more permanent.  The generic solder boards are a pain in the !@#.
2  Using Arduino / General Electronics / Re: Where do these caps go? on: February 07, 2011, 09:43:43 pm
The negative of a polarized capacitor is going to be connected to ground.  So the capacitor on the right is connected to the positive (red) and negative / GND (black) rails of the breadboard.

The one of the left shares the GND pin of the regulator which looks to be the middle pin.  So the cap on the left will connect across the VIN and GND of the regulator.

Ok cool, thanks!  But how come the capacitor goes from + to - in both cases?  I don't see the reasoning, what is the purpose of doing that?
3  Using Arduino / General Electronics / Where do these caps go? on: February 07, 2011, 08:53:52 pm
I can't figure out how to place these capacitors?  (the two by the 5v regulator)

Any help would be appreciated.

Here is the big image:

Here is the "how-to":
4  Using Arduino / Project Guidance / Re: Solar Panel & Battery Recharger on: February 07, 2011, 05:26:27 pm
You can buy a solar battery charger with electronics to avoid overcharging for about the same cost as the solar cells.

The lead-acid batteries used in cars are hardy beasts, very tolerant of varying charge voltages. Their normal mode of operation is to be in a circuit that is providing power while they are being charged.

this doesn't help me unfortunately, as I own the panels already.  is there any schematics for this anywhere?
5  Using Arduino / Project Guidance / Solar Panel & Battery Recharger on: February 07, 2011, 04:13:07 pm
I want to charge a car battery (12v) with some solar panels.  I am planning on running an inverter off of the car battery... all which I am capable of...

What I am wondering is... can I overcharge the car battery?  If so, how could I prevent this from happening? 
6  Forum 2005-2010 (read only) / Development / Re: arduino gps help on: January 12, 2011, 08:19:43 pm
had garbled output like everyone else... but now...

Acquired Data
Lat/Long(10^-5 deg): 4312611, -8029204 Fix age: 298ms.
Lat/Long(float): 43.12611, -80.29204 Fix age: 415ms.
Date(ddmmyy): 130111 Time(hhmmsscc): 1090400 Fix age: 544ms.
Date: 1/13/2011  Time: 1:9:4.0  Fix age: 648ms.
Alt(cm): 22040 Course(10^-2 deg): 27382 Speed(10^-2 knots): 37
Alt(float): 220.40 Course(float): 273.82
Speed(knots): 0.37 (mph): 0.43 (mps): 0.19 (kmph): 0.69
Stats: characters: 5699 sentences: 41 failed checksum: 4

Problem was that data was INVERTED...

do this:
NewSoftSerial nss(2, 3, true);

Here is my modified code:

#include <NewSoftSerial.h>
#include <TinyGPS.h>

/* This sample code demonstrates the normal use of a TinyGPS object.
   It requires the use of NewSoftSerial, and assumes that you have a
   4800-baud serial GPS device hooked up on pins 2(rx) and 3(tx).

TinyGPS gps;
NewSoftSerial nss(2, 3, true); // my gps data is inverted!!

void gpsdump(TinyGPS &gps);
bool feedgps();
void printFloat(double f, int digits = 2);

void setup()
  Serial.print("Testing TinyGPS library v. "); Serial.println(TinyGPS::library_version());
  Serial.println("by Mikal Hart");
  Serial.print("Sizeof(gpsobject) = "); Serial.println(sizeof(TinyGPS));

void loop()
  bool newdata = false;
  unsigned long start = millis();

  // Every 5 seconds we print an update
  while (millis() - start < 5000)
    if (feedgps())
      newdata = true;
  if (newdata)
    Serial.println("Acquired Data");

void printFloat(double number, int digits)
  // Handle negative numbers
  if (number < 0.0)
     number = -number;

  // Round correctly so that print(1.999, 2) prints as "2.00"
  double rounding = 0.5;
  for (uint8_t i=0; i<digits; ++i)
    rounding /= 10.0;
  number += rounding;

  // Extract the integer part of the number and print it
  unsigned long int_part = (unsigned long)number;
  double remainder = number - (double)int_part;

  // Print the decimal point, but only if there are digits beyond
  if (digits > 0)

  // Extract digits from the remainder one at a time
  while (digits-- > 0)
    remainder *= 10.0;
    int toPrint = int(remainder);
    remainder -= toPrint;

void gpsdump(TinyGPS &gps)
  long lat, lon;
  float flat, flon;
  unsigned long age, date, time, chars;
  int year;
  byte month, day, hour, minute, second, hundredths;
  unsigned short sentences, failed;

  gps.get_position(&lat, &lon, &age);
  Serial.print("Lat/Long(10^-5 deg): "); Serial.print(lat); Serial.print(", "); Serial.print(lon);
  Serial.print(" Fix age: "); Serial.print(age); Serial.println("ms.");
  feedgps(); // If we don't feed the gps during this long routine, we may drop characters and get checksum errors

  gps.f_get_position(&flat, &flon, &age);
  Serial.print("Lat/Long(float): "); printFloat(flat, 5); Serial.print(", "); printFloat(flon, 5);
  Serial.print(" Fix age: "); Serial.print(age); Serial.println("ms.");


  gps.get_datetime(&date, &time, &age);
  Serial.print("Date(ddmmyy): "); Serial.print(date); Serial.print(" Time(hhmmsscc): "); Serial.print(time);
  Serial.print(" Fix age: "); Serial.print(age); Serial.println("ms.");


  gps.crack_datetime(&year, &month, &day, &hour, &minute, &second, &hundredths, &age);
  Serial.print("Date: "); Serial.print(static_cast<int>(month)); Serial.print("/"); Serial.print(static_cast<int>(day)); Serial.print("/"); Serial.print(year);
  Serial.print("  Time: "); Serial.print(static_cast<int>(hour)); Serial.print(":"); Serial.print(static_cast<int>(minute)); Serial.print(":"); Serial.print(static_cast<int>(second)); Serial.print("."); Serial.print(static_cast<int>(hundredths));
  Serial.print("  Fix age: ");  Serial.print(age); Serial.println("ms.");

  Serial.print("Alt(cm): "); Serial.print(gps.altitude()); Serial.print(" Course(10^-2 deg): "); Serial.print(gps.course()); Serial.print(" Speed(10^-2 knots): "); Serial.println(gps.speed());
  Serial.print("Alt(float): "); printFloat(gps.f_altitude()); Serial.print(" Course(float): "); printFloat(gps.f_course()); Serial.println();
  Serial.print("Speed(knots): "); printFloat(gps.f_speed_knots()); Serial.print(" (mph): ");  printFloat(gps.f_speed_mph());
  Serial.print(" (mps): "); printFloat(gps.f_speed_mps()); Serial.print(" (kmph): "); printFloat(gps.f_speed_kmph()); Serial.println();


  gps.stats(&chars, &sentences, &failed);
  Serial.print("Stats: characters: "); Serial.print(chars); Serial.print(" sentences: "); Serial.print(sentences); Serial.print(" failed checksum: "); Serial.println(failed);
bool feedgps()
  while (nss.available())
    if (gps.encode(
      return true;
  return false;
7  Forum 2005-2010 (read only) / Interfacing / TC35 GSM development board (from eBay) - Confused on: January 20, 2011, 08:06:17 pm
So I just bought, and received this (from eBay):

Here is the schematic:

This description states that it can do (RS-232/TTL) - before I plug in to this and blow my arduino or the card up, this board has a MAX232 on it, can I use TTL (tx/rx?)

I have hard times with schematics, as I am just learning, could someone take a look and see if I can just use TTL?

Update:  So I read up, and I know what the MAX232 chip does.  I want to use TTL, so I suppose what I want to know, is where can I bypass that chip and go straight to TTL?  (if someone could help me out and explain, as I don't want to blow this thing up)
8  Forum 2005-2010 (read only) / Interfacing / Re: Arduino fleet control on: January 20, 2011, 02:33:25 pm
easily, SMS are pretty quick!
9  Forum 2005-2010 (read only) / Interfacing / Re: Arduino fleet control on: January 20, 2011, 01:39:45 pm
So long as you only send the data somewhat compressed, and at intervals greater than 10 minutes, I think you'd be pretty good.

I am using SMS messaging, and unlimited SMS costs only $10.00 a month.
10  Forum 2005-2010 (read only) / Interfacing / Re: Arduino fleet control on: January 20, 2011, 01:30:17 pm
I'm currently exploring the same thing.

1) GPS Integration = Complete
2) GPS Data Storage = Complete
3) ODB II Data (Speed, RPM, Gas Mileage, Maintenance data) = Complete
4) GSM Modem = Working on now.

I am basically taking all data, storing it and sending it VIA GSM over a Cell network.  I also have an option to store the data to a SD cards.
11  Forum 2005-2010 (read only) / Interfacing / Re: Best way to send data from GSM to website? on: January 19, 2011, 08:26:53 pm
What type of cable is it, is it the USB one?  If so, could you send me the cable part number please?

12  Forum 2005-2010 (read only) / Interfacing / Re: Best way to send data from GSM to website? on: January 19, 2011, 08:17:18 pm
I have a Nokia 6103b handset, wonder if that would work?
13  Forum 2005-2010 (read only) / Interfacing / Re: Best way to send data from GSM to website? on: January 18, 2011, 10:51:42 am
I have a GSM card, I am looking for a service to receive SMS from my device (that has Longitude/Latitude data) and put it in a database.

NM: I see the IP stack on the GSM.
14  Forum 2005-2010 (read only) / Interfacing / Re: Best way to send data from GSM to website? on: January 18, 2011, 10:14:57 am
How are you receiving the SMS?  I'd ultimately like to send the SMS to my own server (which is on Rackspace Cloud).  But do not have access to add a GSM modem to it.

15  Forum 2005-2010 (read only) / Interfacing / Re: Best way to send data from GSM to website? on: January 18, 2011, 05:49:48 am
I suppose using Gsm to gt an ip is my only choice as SMS is not able to deliver to non-gsm systems.
Pages: [1] 2 3