Sheffield United were rewarded with a trip to Premier League West Ham after reaching the second round of the Capital One Cup.
City rivals Wednesday will also visit top flight opposition after being drawn away to newly-promoted Burnley.
And Rotherham United will travel to 2013 winners Swansea City.
Doncaster Rovers will visit Championship side Watford.
The second round ties will be played the week commencing August 25.
Draw in full: Burton v QPR; Port Vale v Cardiff City; Middlesbrough v Preston; Stoke v Portsmouth; Huddersfield v Nottingham Forest; Swansea v Rotherham; Watford v Doncaster; Millwall v Southampton; Bournemouth v Northampton; Brentford v Fulham; West Brom v Oxford; Scunthorpe v Reading; Derby v Charlton; West Ham v Sheffield United; Swindon v Brighton; Leicester v Shrewsbury; Crewe v Bolton; Birmingham v Sunderland; Gillingham v Newcastle; Norwich v Crawley; Bradford v Leeds; Aston Villa v Leyton Orient; Burnley v Sheffield Wednesday; Walsall v Crystal Palace; MK Dons v Manchester United.