Contents
1. The RP6v2 M256 WIFI Expansion Module .......................................... 5
1.1. Safety Instructions .................................................................. 8
1.2. Technical Support ................................................................... 9
1.3. Scope of Delivery .................................................................... 9
1.4. Features and Specifications .................................................... 10
2. Installation of the Expansion Module .............................................. 13
3. RobotLoader 2 ............................................................................. 17
3.1. Summary ............................................................................. 17
3.2. New Terminals ...................................................................... 18
3.3. WLAN Settings ...................................................................... 19
3.3.1. Configure Access Point ....................................................... 20
3.3.2. PC configuration ................................................................. 21
3.3.3. Test of RP6-M256 USB Connection and Display ....................... 21
3.3.4. Configuration and Test of the WLAN Module ........................... 21
3.3.5. MicroSD Card ..................................................................... 23
3.4. WLAN Command-Line Interface ............................................... 24
3.5. Find out the WLAN IP Address ................................................. 26
3.6. Solving WLAN Connection Problems ......................................... 27
4. RP6 CONTROL M256 WIFI Library .................................................. 28
4.1.1. Initialization of the Microcontroller ......................................28
4.1.2. Status LEDs.....................................................................29
4.1.3. Buttons...........................................................................29
4.1.4. LC-Display.......................................................................30
4.1.5. SPI Bus...........................................................................32
4.1.6. ADCs...............................................................................32
4.1.7. I/O Ports.........................................................................33
4.1.8. Internal EEPROM...............................................................35
4.1.9. MicroSD card....................................................................36
4.1.10. WIFI Library...................................................................37
4.1.10.1. Data Communication.....................................................37
4.1.10.2. Command Mode...........................................................38
5. Example Programs ....................................................................... 42
APPENDIX ..................................................................................... 51
A – Pin Assignments.......................................................................51
B - Tips for the WLAN Module..........................................................54
C – Solving Configuration Problems .................................................59
D – Recycling and Safety Instructions...............................................64