I read a book kind of like that in elementary school
https://www.amazon.com/Electric-Fire-Benjamin-Franklins-Adventure/dp/1732404518