Blackpool will travel to Northampton Town in the first round of the Capital One Cup.
The clash, which is likely to be new boss Neil McDonald’s second game in charge, will take place on the week of August 10.
It will be the first time the sides have met since Blackpool’s 4-1 win at Bloomfield Road in 2007.
Elsewhere, Burnley have been drawn to play at Port Vale in the first round of the Capital One Cup.
The Clarets, relegated from the Barclays Premier League last month, faced the Sky Bet League One club at the same stage and venue three years ago and won 3-1. All first-round ties will be played during the week commencing August 10.
Hull and QPR, also back in the Football League, will travel to Accrington and Yeovil respectively.
Conference champions Barnet have been rewarded with a trip to London rivals Millwall and fellow Football League newcomers Bristol Rovers will take on Birmingham at home.
Leeds and Doncaster will contest an all-Yorkshire affair at the Keepmoat Stadium and 2013 finalists Bradford will travel to local rivals York.
Sheffield United, last season’s semi-finalists, will travel to Morecambe, League One side Peterborough and Crawley, relegated to League Two, will clash at London Road and Dagenham and Redbridge will bid to cause an upset at London rivals Charlton.
Derby, who reached the quarter-finals last season, will head south to take on Portsmouth and two-time winners Wolves have been handed a home draw against Newport.
Both Sheffield Wednesday and Nottingham Forest have been drawn to play at home against Mansfield and Walsall respectively, while Cardiff, who lost on penalties to Liverpool in the 2012 final, will entertain AFC Wimbledon.
First round draw in full:
Carlisle United v Chesterfield
Nottingham Forest v Walsall
Fleetwood Town v Hartlepool United
Scunthorpe United v Barnsley
Bolton Wanderers v Burton Albion
Accrington Stanley v Hull City
Rochdale v Coventry City
Oldham Athletic v Middlesbrough
Huddersfield Town v Notts County
Blackburn Rovers v Shrewsbury Town
Morecambe v Sheffield United
Doncaster Rovers v Leeds United
Wigan Athletic v Bury
Northampton Town v Blackpool
Sheffield Wednesday v Mansfield Town
Rotherham United v Cambridge United
Crewe Alexandra v Preston North End
York City v Bradford City
Port Vale v Burnley
Peterborough United v Crawley Town
Yeovil Town v Queens Park Rangers
Plymouth Argyle v Gillingham
Swindon Town v Exeter City
Bristol Rovers v Birmingham City
Ipswich Town v Stevenage
Luton Town v Bristol City
Charlton Athletic v Dagenham & Redbridge
Wolverhampton Wanderers v Newport County
Brentford v Oxford United
Portsmouth v Derby County
Southend United v Brighton & Hove Albion
Milton Keynes Dons v Leyton Orient
Cardiff City v AFC Wimbledon
Millwall v Barnet
Wycombe Wanderers v Fulham
Colchester United v Reading