DETROIT (AP) - Spencer Dinwiddie hit the big shot against a familiar foe.
Dinwiddie's jumper with 0.9 seconds left lifted the Brooklyn Nets over Detroit 101-100 Sunday, the Pistons' fifth straight loss.
After a basket by Andre Drummond put the Pistons ahead with 4.7 seconds left, Dinwiddie took the inbounds pass, drove to 14 feet and drained a jumper against his former teammates.
The Pistons picked Dinwiddie in the second round of the 2014 draft, despite a knee injury, and he played 46 games for them over two seasons.
"That was a heck of a shot," Nets coach Kenny Atkinson said. "I'm happy for Spencer, because he was here, obviously, but I'm happier for the team. I wasn't sure we had the poise and understanding to get a win like this."
Pistons coach Stan Van Gundy blamed himself for the final basket, where Ish Smith, generously listed as six feet tall, was covering the 6-foot-6 Dinwiddie.
"Ish did a great job of guarding him, but I probably should have had more size out there against him," Van Gundy said. "Ish gave him a tough look, but Spencer was able to get above him and make a great shot."
Dinwiddie finished with 22 points. Tobias Harris led the Pistons with 20.
Caris LeVert split a pair of free throws with 13.7 seconds left, giving the Nets a 99-98 edge. It was the second time he missed a free throw in the final 42 seconds.
Langston Galloway misplayed the ensuing inbounds pass, but was able to knock the ball to Drummond. Detroit's center nearly traveled in a rare drive from outside the 3-point arc, and flipped in a go-ahead shot.
"I felt like we were focused and locked in tonight," said Rondae Hollis-Jefferson, who finished with 21 points, eight rebounds and seven assists for the Nets. "We were playing a really good team on their floor, but we trusted Spencer to make that last play."
On Jan. 10, the Pistons routed Brooklyn 114-80 behind 22 points and 20 rebounds from Drummond. That was Detroit's last victory, with three of the five defeats coming at Little Caesars Arena.
"We don't play again until Wednesday, so I have some time to think about how to fix this," Van Gundy said. "We just don't play hard on a consistent basis. We've fallen behind early, but even when we had a great start on Friday (against Washington), we didn't keep it going."
The Nets led 53-48 at halftime. The Pistons had one offensive rebound in the half, slowed by Drummond's three fouls.
"I think the key was the way we started," Hollis-Jefferson said. "That was big, and it is what you need to do to win games like this."
Drummond picked up his fourth foul early in the third quarter, sending him back to the bench. Brooklyn quickly moved the lead to 11 as Detroit struggled to get open shots.
Detroit trailed by nine going into the fourth quarter. Smith's 3-pointer with 2:58 left tied it at 92.
"This was huge," said Joe Harris, who had 12 points for Brooklyn. "We're getting into these games and we're finally starting to finish them."
Nets: D'Angelo Russell played 14 minutes in his second game back from a knee injury, finishing with three points and one assist. ... The win ended Brooklyn's four-game losing streak in Detroit.
Pistons: Johnson played his second game after missing three with a recurring hip problem, finishing with a season-high 18 points in 26 minutes. "I though Stanley was really good defensively, and he played well on the offensive end, too," Van Gundy said.
NEW ARENA, BETTER RESULTS
The Nets are now 1-0 at Little Caesars Arena after going 8-44 in Detroit during the 29 seasons that the Pistons played at the Palace of Auburn Hills.
Nets: At Oklahoma City on Tuesday in the third game of a five-game road trip.
Pistons: Host Utah on Wednesday.