Stop drama queening. If Ahmed had told the cops, "I made this cool gadget and I brought it to school to show Mr. Johnson, I showed it to him this morning"
Then Mr. Johnson comes down and says "Oh yeah, Ahmed is a little engineer of sorts and is always playing around with electronics, he did indeed show it to me this morning."
You really think they would have arrested him for bringing it to school?
I can tell you ONE thing I absolutely know about cops and that is they hate having to do paperwork over non issues. That's why domestic violence issues have taken so long to deal with. The cop comes to the house and then the victim changes their mind and refuses to press charges. Domestic violence is a REAL ISSUE (before everyone starts spittle shouting at me) but doing all the paperwork for people to just change their mind the next day is very annoying.
Cops do not like to have to do unnecessary paperwork. So I really don't think they were "itchin' for a reason to arrest a kid."