Day 3: The NanoESP in access point mode

Behind the third door is the jumper wire, which is important for many tests. To prepare for later tests, you can place the supply lines GND and VCC on the outermost lanes. You’ll thereby have better access to these important lines later. The jumpers to GND and VCC In the project for today, you now get around to changing something in a programme even on your own. The following sample programme serves as a basis: ...

03.12.2016 · 2 min · Fabian Kainka

Day 5: Switching an LED

Today’s program is finally about controlling hardware via the UDP protocol. In this case, an LED is switched on and off with simple commands. The LED in Pin D9 You will find an LED board behind the fifth door. The right dropping resistor already was in yesterday’s door. Build the circuit as the picture shows. The program: Day5_UDPLED ! Attention: Some MAC-Users reportet a bug in the PacketSender-Software. This bug doesn’t allow you to change the ports. If you have problems with this bug you can change the ports in the Arduino program. All you have to do for todays project is to change the line 83 from succes &= sendCom(“AT+CIPSTART="UDP","192.168.4.255",90,91”, “OK”); to succes &= sendCom(“AT+CIPSTART="UDP","192.168.4.255",5505,5506”, “OK”); ...

05.12.2015 · 2 min · Fabian Kainka

Day 4: UDP bidirectional

In yesterday’s project, the UDP communication was tested in one direction, i.e. from the board to the PC. In this program, the module is set so that communication in the other direction is possible as well, almost like in a chat. Behind the fourth door of the Advent calendar, there is a resistor with 1 kΩ (brown, black, red). The component is not used in today’s test yet, but should be kept for later. ...

04.12.2015 · 2 min · Fabian Kainka

Day 3: UDP-Send

In today’s project, data are exchanged between the board and the PC through the WLAN for the first time. The prerequisite for this is that your computer has a WLAN adapter. The UDP (User Datagram Protocol) is used. Another program on the PC-side ensures successful receipt of the messages. Behind the third door of the calendar, you can find an insulated cable that you will need to build circuits. To prepare for later experiments, you can place the supply lines ground and VCC on the outer tracks. ...

03.12.2015 · 3 min · Fabian Kainka