Friday, February 18, 2011

Another change in the 3d mockup

Increased length width of robot deck to 10". Overall the robot is 5" Height x 14" wide. Also added some dimensions that were not specified the last picture.



John and I bought some thick plastic sheets (Acrylic Sheets x2 for $13.50) at Home Depot today.





The motor controller's H-bridge power N-MOSFETS came in yesterday.




























We also got in the mail today the crazy motors from DC Planetary Gear Brush Motor- PK32kd3b2100-027. The spec sheet is below the picture of the motors.






2nd mock of the Robot Chassis with Google Sketchup

After talking with my Senior design group, I found out a few ideas to increase space on-board the robot's deck. All I need to do is add another deck. I plan on sticking the camera material there. The second deck will be for the sensors and batter. The bottom deck is for the router. Here is the picture so far. John also added the pan/tilt head for the camera.


Designing the Robot Chassis with Google Sketchup

Today, I spent the majority of the day learning Google Sketchup and making the parts and models that belong on the robot. However, I am running into a few mechanical considerations.

1) the camera is LARGER than I expected. I need to consider taking the camera out of the bubble and/or extending it from the base.

2) the Router is also LARGE. Where should I stick this thing? We also need room for sensors and a battery. Crap... I only have so many links for the car, so it will be more difficult to increase the length of the robot.

Too bad I am not a mechanical engineer...



I hope my team members can give me some suggestions on how to fix this issue of space.

Thursday, February 10, 2011

LCD for debugging- Graphic LCD 128x64 STN LED with Backlight

For future debugging, I would like to talk to John about purchasing this graphic LCD found on SparkFun (http://www.sparkfun.com/products/710). This could come in handy when we are trying to debug features during runtime/testing functionality.




Description: This is a framed graphical LCD 64x128 with LED backlight. This unit is a very clear STN type LCD with a simple command interface. This new module includes the negative voltage circuitry on board!

Utilizes the extremely common KS0108B parallel interface chipset (datasheet). Interface code is freely available. Includes LED Backlight.

Dimensions:
  • Overall: 75x52.7mm
  • Viewable area: 55.01x27.49mm
Documents: 

Finalized GPS Receiver and Antenna

Today, I finally picked the GPA module and antenna to use for our BSF (Bomb Sniffing Robot). Here are our previous considerations, the highlighted (Venus GPS with SMA connector - http://www.sparkfun.com/products/9133) one is the final GPS module picked.



As for the antenna, we are going to use the Antenna GPS Embedded SMA - http://www.sparkfun.com/products/177.


The VTourch antenna has the following specifications/features: 
  • Gain 26dB
  • VSWR <2.0
  • Voltage 3.3V +/- 0.5V
  • Current 12mA
  • Weight 18g


Thursday, February 3, 2011

GPS research in progress (1/3/11)


Today, I found out that to do fast debugging for the GPS module I will need a cheap LCD display. More than likely, I will use old code from 319k and use the same cheap module. NEED TO TELL JOHN THIS. NOT SURE IF IT IS ON THE BOM. 

Valvano has his EE345J, graduate class, students design and evaluate a battery-powered GPS and IMU system (lab document link here: http://users.ece.utexas.edu/~valvano/EE385J/Lab5_GPS_IMU_PaineCao.pdf). This design integrates data form multiple sensors in order to enhance accuracy of measured data. I need to email him to get more info on this class project. 

SOFTWARE
How the students designed it is as follows, the program is divided in to 5 major functions. An infinite loop in the main which uses a foreground task that controls the GPS, which continuously reads from the SCI and preprocessing TSIP report packets as they arrive. The report packet as a structer as follows: 

<DLE><ID><data bytes><DLE><ETX>

The <DLE> byte is 0x10. Data bytes 0x10 are padded with an extra <DLE> byte. The foreground loop continuously reads in data from the GPS module. When a new report packet is detected, it saves the data 
bytes, stripping any padding bytes, in a global byte array buffer. Once it detects the end of a report packet, procCmd() is called and is passed the <ID> of the report packet. 

The procCmd() function processes the data bytes in the buffer according to what packet ID it received. The two main packets have IDs 0x46, health of receiver, and 0x84, LLA position in doubleprecision.  The health of receiver packet reports if the GPS module is functioning correctly and how many satellites it has locked on to. This is stored in a global byte variable, gpsState, which can be output on the LCD for debug purposes. The 0x84 packets give latitude and longitude in radians in 8-byte double-precision floating point format. They get stored in a global latitude and longitude variable that tracks position, and converted into positions on the map and stored in global unsigned char variables.

Here is the software flow chart found below.


Of course, the GPS will be on the robot, so this flow chart will not be entirely accurate. I will modify this to incorporate reading control information from the controller (hooked up to the PC/host).


HARDWARE


------------------------------------------------------
GPS Overview (a summary of sparkfun's overview: http://www.sparkfun.com/tutorials/68)
  • Performance Concerns
    • Start Time- 
      • How quickly the module can lock- when a lock is made the module can receive the GPS signal from satellites to calculate position. The amount of time required is referred to as, START TIME.
    • Positional Accuracy of the module- 
      • How well  it gets and holds the lock in the presence of obstacles (urban setting, canyon areas, etc)
    • Dependencies for performance:
      • Number of Satellite Channels- the module can simultaneously receive is an important specification. GPS modules today can receive up to 20 channels. More channels mean more places for the modules to look for a signal, corresponding to faster locking times and better locking in urban settings. 
      • Onboard processing of the GPS signal- new chipsets such as the SiRF III provide faster and more robust locking than previous SiRF II based designs. Ne featers such as wide area augmentation system (WAAS), or differential GPS (DGPS) provide better positional accuracy by correcting GPS signals using other sources (such as ground stations). 
    • Interface
      • Easy to use!
        • NMEA 0831 compatable
        • can oubout standard NMEA messages every second
        • reporting speed
        • 3D position
        • number of stallites in view
        • GPS time
        • and more...
        • NMEA output- is the default, so all the user needs to do is apply power and the module begins spitting out NMEA data.
        • protocol differs from module to module
          • check data sheet to see what commands and protocols are available
    • Batteries and Antennas
      • Needs batter
IN PROGRESS!!!

Tuesday, February 1, 2011

Meeting Notes 2/1/11


  • Have individual meetings for tasks getting done
  • Who is responsible for what:
    • Kirtan
      • Gas Sensors = kirtan
        • op amps, low pass filters, etc...
        • circuit design
        • pcb layout
      • Motors
        • motor controller
        • pcb layout
    • Charis
      • Mechanical
      • GPS
        • figure out exact power
        • unit: let them know what it interfaces with--- serial, spi, rs-232, ttl-serial
        • figure out the model
        • MAX232: TI has them
    • John
      • PCB design
      • Camera control
      • embedded wireless communications (ethernet controller)
      • Power
    • Hieu
      • LabVIEW
        • video
        • controller via usb
        • networking between robot and GUI
    • Lehar
      • LabVIEW
        • video
        • controller via usb
        • networking between robot and GUI
        • Create communication standard (excel spread sheet)
  • TO DO:
  • Charis - send lehar and hieu the communication standard paper in labVIEW
  • John- BOM link on front page
  • Everything ordered by next thursday (2/11/11)
    • finalize parts for power, units, and etc
    • design your circuit
    • prototype for the prototype
    • parts need to be here by 2/17-18/11
  • While things are coming in make sure to program chips/begin
  • Lehar- contact the physics and chemistry department + EUREKA
    • radiation
    • chemical 
  • Organization: 
    • g-groups = easy email
    • wiki = use to store research and final design
    • google docs = multiple editing
    • dropbox = final editions (personal documents other might want access to)
  • LabVIEW meeting tomorrow
    • 6-9
    • make sure to RSVP (E-mail John sent)