ABS brake Pic code with 16f917 mcu


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2009
    Location
    Denmark
    Posts
    2

    Default ABS brake Pic code with 16f917 mcu

    We have made a construction for a mechatronic course. The construction is like this:



    Our problem is simply the code for the 16f917 mcu, which we are gonna program with pic code.

    We need to convert the analog signal from the electric motor (tachometer), to digital signal. The axel will be powered by a drilling machine. The digital output should be computed and the solenoid should react to that input.

    Like if the digital signal reads zero very quickly (quick deacceleration), the solenoid should brake with a pulse to prevent the "wheel" from blocking. And if the axel doesnt spin and you brake, the solenoid shouldnt brake with a pulse, but just normal.


    We have completly newbs at this, and understand absolutely nothing, so plz we would appreciate language that everyone understands

    If someone knows of a website or something else, plz link to it :P

    Thx in advance

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Wink

    Hi, Foodie

    Something like that ???

    http://www.vgies.com/downloads/EME31_TD4_enonce.pdf

    ...

    remember : Google is your friend ...

    Alain

    PS: BTW : which programming language, max speed and deceleration of your device, solenoid characteristics ... etc, etc, etc ...

    RePS : It's YOUR Homework, no ??? ... Help on How to realize the " functions " in PIC Language is a Honorable Forum matter ...

    Doing YOUR Work means you give us money .... Ok ???
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Nov 2009
    Location
    Denmark
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    Since this is a support forum i guess its the right place? And noone demands you to help, i was just asking here, since this is a Pic Basic support forum? Or am i wrong?

    And we dont understand french...

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Talking when the blind one doesn't want to Hear ...

    Hi Foodie ...

    You do not understand at all , I think ...

    A SUPPORT forum is to help people to understand the compiler use ...

    NOT to give them " ready to burn " programs ...


    Here, you are explaining What you want to see your MACHINE doing ...

    We have completly newbs at this, and understand absolutely nothing
    so, Understand we also are totally newbies, and we do not understand anything to Physics, Mechanics Or Dynamics ... or even Solidworks, but ONLY informatics and electronics.

    "Foucault" will be the extreme limit ...


    If someone knows of a website or something else, plz link to it :P
    That was exactlywhat done ... it seems. Was the only link returned by Google, BTW ...

    And we dont understand french...
    so, may be you can understand how translators work ???


    A little ( just a little ...) effort from you is welcome ... isn't it ???

    Alain

    PS : that reminds me someone coming from Germany with surprising projects ... Pseudo was : "Selbstdual" ...

    rePS: May be we ALSO could understand German ... with a little effort. Danish is too much ( Pastries only ... )


    Other links :

    http://www.conatex.com/mediapool/bet...AD_2003649.pdf

    http://books.google.fr/books?id=CB9G...age&q=&f=false

    ...
    Last edited by Acetronics2; - 25th November 2009 at 13:30.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    ABS on a car works by comparing all the wheel speeds and pulsing the brake on the slow one. You have only a single "wheel" so a different tact is in order, you could compare the RPM vs time to a lookup table and pulse the brake if the curve is too fast, or you could give your BRAKE some room to travel against spring tension and sense if the travel is consistent with over braking, and if it is pulse the Brake then. Easy to do using interrupts.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Need PIC MODBUS RTU code. Will pay.
    By vsingh in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th February 2012, 12:04
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. One EEPROM, 3 PIC's
    By lwindridge in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2005, 20:45
  5. PIC vs PLC (programmable logic controller)
    By pondindustrial in forum Off Topic
    Replies: 4
    Last Post: - 17th December 2004, 21:11

Members who have read this thread : 1

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