PBP projects for R/C models


Closed Thread
Results 1 to 40 of 772

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Question for you all.
    What would be a HELLO WORLD for a 1/10 toy level PIC'd car?
    Maybe one of the things you did for a Hello World?
    Go to the end of a hall, turn around and come back.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Inexpensive sensors?

    I am considering doing a teach-the-teachers gig. The attendees would get Professional Development points. They should be allowed to take home their kitted cars.

    The least expensive RC toy cars are about $25 retail. The most expensive thing in my present kits are the sonar sensors. What can I sense for less money?

    Ken

  3. #3
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Infra Red Detector

    Could a 'Nicera' IR Detector designed, "especially to detect body heat" enable my toy level cars to swarm together playing follow the human?

    Imagine a teach-the-teacher class in a gymnasium where the HELLO WORLD application makes the students' cars follow the teacher as he or she tries to out wit it. (The teacher must be wearing a bikini while the students would all be dressed in their warmest winter finery.)

    My 'All Electronics' catalog has IR DETECTOR for $3.90 each. Would this work? How sensitive are these things?

    Ken

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    A light sensor would probably be the cheapest and easiest.
    But the bikini thhhing is interesting...
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    How about something like this to get kids interested in microcontrollers?


  6. #6
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Sounds good. A portable spotlight

    That seems the best so far. I have some light sensors.

    The teacher has an open 150watt incandescent bulb and an extension cord. Hmmmm....

    Try again,

    The teacher has a portable roadside emergency light. He or she runs around the gym, the toy cars follow. Maybe the gym lights need to be dimmed.

    The fact that TOY cars have bang-bang controls ought not to inhibit the PIC control code.

    I like it. Why won't it work?

    Ken

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,171


    Did you find this post helpful? Yes | No

    Default

    What is this thing americans have about this fish?

    Maybe the culture is different, but I really cannot understand it.

    Anyway as a project has fun!

    Ioannis
    Last edited by Ioannis; - 9th October 2010 at 11:31. Reason: typos as always...

  8. #8
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Are you sure your pickit is plugged in right because it should be verifying the I'd. Mine was verifying air, so that's why mine has that waring
    http://www.scalerobotics.com

  9. #9
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    For what it's worth, on my Explorer 16, with a PIC32MX360F512L mpu:
    It accepts the hex file (different one of course) from my Pickit2.
    I can get a command line interface with my serial port (this chip does not have usb on it).
    When I try to connect command line interface with my PicKit2, I get almost no response. I do get a square box at some baud rates, but that is about it.

    Not a very good test, since there are a lot of differences, but it might be better to stick with USB for now.
    http://www.scalerobotics.com

  10. #10
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Here's my embedded hex

    scalerobotics - Mine looks just like yours!!

    Name:  BITWhacker_embedded_hex.jpg
Views: 1832
Size:  123.4 KB

  11. #11
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default The checksums are different..

    mine is C0D3
    yours is C15A

    Weird!

    Ken

  12. #12
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Oh, yea, the error message

    That came after I hit the WRITE button. I was asking it to load that .hex file. It seems to load mostly correctly, but comes up with that funny error.

    Ken

  13. #13
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default The schematic shows.....

    The BIT Whacker schematic shows the connections from the 4 pin USB port [UBUS and USBID] to be different than the connections from 5 pins into J6 [PGB,PGC and RB2]. When "Writing Device PROGRAM FLASH and BOOT FLASH" it just sits there with the little red BUSY light flashing on the PICkit2 connector. Forever.....

    I tried to use the USB port. Both to load the .hex file and to communicate. No success of any kind. Notta.

    At least PICkit2 through J6 illuminates the blue POWER LED.
    And apparently embeds the EEPROM.

    I tried loading HELLO WORLD.hex. No luck at all. Same error message but no success loading EEPROM.

    I do not know what to do. I can write fine in C. But I have no idea where or how to start. The only communication I get with the BITWhacker is with my PICkit2 USB connector.

    I am getting discouraged. The only reason for leaving the original 16F887 was the cost of multiple PBP licenses. I really don't need the 32bit power just to move my robocar.

    Ken

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 13:55
  2. PBP Extensions, What are they?
    By PJALM in forum PBP Extensions
    Replies: 9
    Last Post: - 28th September 2021, 12:26
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 20:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th December 2005, 00:30
  5. Making PBP code more modular
    By forgie in forum General
    Replies: 30
    Last Post: - 25th October 2005, 17:24

Members who have read this thread : 2

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