computer controlled car


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,


    From the PicBasic Manual "SERIN"

    While single-chip RS-232 level converters are common and
    inexpensive, the excellent I/O specifications of the PICmicro
    MCU allow most applications to run without level converters.
    Rather, inverted input (N300..N9600) can be used is conjunction
    with a current limiting resistor.

    * * * *

    Q1: Are you using a RS-232 level converter like the chip
    MAX232 (RS232>TTL & TTL>RS232) or just a current limiting resistor?


    Q2: What is the used baud rate? (1200, 2400, 9600)

    * * * *

    Best regards,

    Luciano

    Example of circuit using a MAX232:

  2. #2
    Join Date
    Dec 2005
    Posts
    12


    Did you find this post helpful? Yes | No

    Lightbulb compter controlled car!

    yea i m using the max232 chip and i m using the 9600 baud rate!
    the serin can be modified for my purpose but i need how?

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    ========================================
    5.68. SERIN

    SERIN
    Pin,Mode,{Timeout,Label,}{[Qual...],}{Item...}

    Receive one or more Items on Pin in standard asynchronous format
    using 8 data bits, no parity and one stop bit (8N1). SERIN is similar to
    the BS1 Serin command with the addition of a Timeout. Pin is
    automatically made an input. Pin may be a constant, 0 - 15, or a
    variable that contains a number 0 - 15 (e.g. B0) or a pin name (e.g.
    PORTA.0).
    ========================================

    With the SERIN command you can receive one or more Items.
    Declare four variables for your four bytes. These four
    variables will be the "Items" of the SERIN command.

    Read the PicBasic Pro manual, search this forum.
    If you need help, post your code and the members of this
    forum will help you to fix your code.


    Best regards,

    Luciano

Similar Threads

  1. Car radio (Car radio and electronics support forum)
    By freewillover in forum Forum Requests
    Replies: 1
    Last Post: - 1st July 2009, 19:41
  2. Getting rid of noise of car battery/alternator
    By passion1 in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 9th March 2008, 05:11
  3. Slot Car timer with pic 16f84a
    By Snap in forum Serial
    Replies: 4
    Last Post: - 5th July 2007, 04:58
  4. Need help with RC car code
    By rey1867 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th June 2006, 00:18
  5. Remote Car Starter Safety
    By CocaColaKid in forum General
    Replies: 8
    Last Post: - 22nd November 2005, 09:10

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts