Craigmillar is the castle to go to if Edinburgh Castle felt like one long queue. It's a medieval tower house, one of the first of its kind in Scotland, wrapped in a 15th-century courtyard wall, three miles south-east of the city centre. You can climb up through the tower to look back at Arthur's Seat and the Castle, wander through its rooms and courtyard, and stand in the house where Mary Queen of Scots stayed in 1566. It's £7.50 online, and it's far quieter than the castle on the rock.
It's open every day apart from a few days at Christmas and New Year. I'd take the bus: Lothian's 2, 12, 14 and 30 stop at Craigmillar Castle Road, about 15 minutes' walk away, and there's barely any parking. Kids who like to explore will love it, but hold small hands on the spiral stairs. If you use a wheelchair, skip it: the visitor centre is level, but the castle's five levels are reached by narrow, uneven spiral stairs. If you're weighing it against the other castles in reach, see my castles near Edinburgh guide, and for the rest of the city, things to do in Edinburgh.