BACK
Home Page

Phone Spam - Project

The entire project is Documented and open (except for the server-side part, for security reasons).
Feel free to use this schematics.
Phase 1 - caller ID
Read caller ID from Tip and Ring with the HT9032D decoder chip.
Phase 2 - caller ID
Arduino code to get the caller ID.
Phase 3 - WiFi chip
A small and cheap WiFi Transmitter.
Phase 4 - Access Point
How to connect to an access point.
Phase 5 - Post Request
Sending phone number to a server.
Phase 6 - LCD display
A LCD display for the caller name.

Phase 3 - WiFi chip

The ESP8266

This is probably the simpliest and cheapest WiFi chip we can find. It is arrived on the market at the end of 2014 and sold worldwide at beginning of 2015.

This module has 8 PINS too:
Pin 1TXData out.
Pin 2GNDGround
Pin 3CH_PDPower down, pull up to leave enabled
Pin 4GPIO 2IO, not used
Pin 5RESETPull up if you don't want any hard reset
Pin 6GPIO 0Input, pull up. If set to GND it is in programming mode
Pin 73.3V3.3V to 3.6V (not 5V)
Pin 8RXData in, can be read as serial with 115200 bauds

It has 96kb of RAM and a lot of IOs, so probably I could write the entire code directly on this chip... But there is no or poor documentation, so the Arduino is not bad for it, also if we have only 2kb.
What we need is RX and TX for the AT-commands and 3.3V (no it doesn't work with 5V!).
There are a lot of sellers, so probably not every ESP8266 ESP-01 is the same... Some modules become really hot, other have a wrong resistor, others will destroy the firmware if you send the wrong AT commands, and so on...

Schematics


There are different ways to link it to the arduino, this one is the easiest. A better way would be with a logic level converter.
Remember to pull up CH_PD, RESET and GPIO0. There are a lot of firmware out there. Maybe flashing to a stable one is a good way if the module doesn't work anymore!
This firmware v0.9.5.2 AT Firmware.bin from www.electrodragon.com seems to be working very well and you can also read the GPIO2 with the AT+CIOREAD=2 command.

Documentation

As said, there is not really a documentation, it was hacked by reverse engineering. There are some good links for this chip:
https://nurdspace.nl/ESP8266 Datasheets
http://www.esp8266.com/ Forum
http://www.electrodragon.com/w/ESP8266 Instructions
https://room-15.github.io/ AT commands



Comments:

© Phonespam - 2015Adriano Petrucci Progetto personale per cercare di rendere la vita difficile a questi bas*ardi.