Microscaled and nanoscaled platinum sensors