The design of some 1D waveguiding photonic bandgap (PBG) devices and Fiber Bragg Gratings (FBG) for microstrain based sensing applications has been carried out by a model based on the Bloch-Floquet theorem. A lwo loss, very narrow passband GaAs PBG filter for the operating wavelength λ = 1.55 μm, having an air bridge configuration, was designed and simulated. Moreover, a resonant Si on glass PBG device has been designed to obtain the resonance condition at λ= 1.55 μm. Finally, a FBG-based microstrain sensor design has been carried out, having an array of 32 FBG. A complete analysis of the propagation characteristics, electromagnetic field harmonics and total field distribution, transmission and reflection coefficients, guided and raidated power, and total losses, enabled the optimization of the design in a very short CPU time.