LANSING, Mich. — Michigan's attempts to crack down on distractions on the road will include a ban on sending, typing or reading text messages or e-mails while driving starting July 1.

The state House passed the third and final bill needed for the texting-while-driving ban Wednesday by an 82-22 vote. The legislation already has passed the Senate and is headed to Gov. Jennifer Granholm for her signature.

Granholm is scheduled to sign the legislation Friday on a broadcast of "The Oprah Winfrey Show."

A first offense will cost $100 and repeat offenses will cost $200. No points would be added to a driver's record.

Texting will be a primary offense, meaning police could pull over motorists solely for using cell phones to send text messages.

Lawmakers who support the ban expect police will be trained to handle the new law and drivers will be well aware of it by July.

"It's going to be a solid implementation and it's going to be fair," said Rep. Lee Gonzales, a Democrat from Flint and one of the texting ban's sponsors. "It's been in the public eye for a long time. ... Texting while driving is a dangerous habit that too many drivers take part in."

The legislation does not ban using cell phones to make calls while driving.

The texting ban drew some opposition from both Republicans and Democrats. Some lawmakers felt it interferes with personal liberties. Others say the ban will give police an option to pull drivers over for little or no reason and make it easier for racial profiling to take place.

But several states have moved in the same direction as Michigan to handle distractions related to cell phone use while driving.

More than half the states already have adopted measures that ban at least some drivers from texting. Several more are in the process of passing laws addressing it. Texting while driving is classified as a primary offense in at least 15 states.

The federal government has sought to crack down on distracted driving, urging states to pass tough laws against it. Winfrey also is taking a stand against distracted driving, which will be featured during her Friday show.

Michigan lawmakers passed the key bills related to the texting ban earlier this month. The final hurdle was agreeing that fine money will go to support public libraries, as is the case with some other traffic fines.