The league newcomers sit in mid table and will provide a stern test for Rotherham, who haven't had the best run in the competition in recent years.
"We have some demons from this competition last year and we want to put that right. "It doesn't matter who we are drawn against. We want to win every game we play in", said Robins.
"It's about prestige, winning games and gaining confidence. I saw Chesterfield beat them 5-1 the other week and despite the score they weren't that bad. They'll give us a tough match."