You can calculate whether it will wreck your GPA - I'd do it for you but I don't have your info. All a GPA is is a weighted average of all the points you earn for classes. You get 4 points for an A, 3 points for a B etc, and you multiply that by the number of credits in a class. So if you got an A in a 2 credit class and a B in a 3 credit class, you would have 4*2+3*3=17 points. Then you divide that by the total number of credits. So in this example it's 17/5, or a 3.4. You can see that the B "counted more" because the B class was more credits.
So if those classes where you have an A and B are more credits than your lower grade classes, or if you already have lots of credits so the average will be "diluted", you might not be in terrible shape, but I'm guessing with those three low grades, it's going to hurt you pretty bad.
I am sure they won't kick you out right away, but you need to get to an adviser IMMEDIATELY to discuss your situation. I've been able to drop classes damn near the end of the semester before because of health problems, and you might be able to get some similar leniency. If you can't do that, at least you can lay out a plan to make sure you can finish up school without dropping your GPA too low. It's great to do outside projects like you're planning to, so definitely don't ever think that you shouldn't, but you need to make sure you can balance your schoolwork and extracurricular stuff in the future. If that means taking fewer classes and potentially taking longer to graduate, it's not the end of the world. It took me 7 years to get through undergrad because I kept having to drop out for health problems or only take one class per semester and stuff like that.