Total Pageviews

Monday, September 21, 2015

GPRS module with M590 for SMS projects (part 1)

original article


   I buy a "DIY KIT GSM GPRS 900 1800 MHz Short Message Service SMS module for project for Arduino remote sensing alarm" based on M590 chip from Neoway.
   After, we solder the components, the montage must be:
   In my case, the montage and FTDI-USB interface are:
I made a "reverse engineering" of my montage:
and is clear, is a simplified base schematic, put directly wire instead logical interface between Arduino board (or FTDI-USB interface) to M590:

   For protect M590 chip, I powered M590 GPRS module with external 4.2V and put a logical interface 5V/3V between Arduino and M590 module kit.
   For easy link with interface or other modules, I connect pins 6 & 8 with 4, and now I have 3 pins for GND:
   I choose Arduino Mega board because have 4 hardware serial ports. For comunication with PC, I use classical Rx-Tx port and for M590 GPRS kit, I use Rx2-Tx2 (Serial2) port.
   Another reason is speed too much for software serial port and I noticed some errors.
   First stept, is put Mega_serialmonitor.ino sketch and discover and learn AT commands (I use M590 - AT Command Sets v3.0" documment).

   Thru serial monitor using Arduino, I can't send SMS ar begin of experiments and I try a PC sofware named Putty and I made a new schematic:
   I verify what com are the interface:
and made changes in Putty software configuration window:

   I write few AT commands on Putty window:
I on phone I received the SMS.
   I analyzed differents from Arduino style and Putty software and I realised in what sequence must be given commands to M590 GPRS module (I upload M590_Mega_sms_sender_v1m0.ino sketch)

and on my phone I see:
   Next step was to send a SMS from Arduino to phone when I push a button. I use M590_Mega_sms_sender_1button_ver1m0.ino sketch and this schematic:
   I made, also, 2 movie (in roumanian language):

 NOTE: External power supply is +4,6V not 4,2V (power supply with voltmeter show less with 0,3-0,4V) !

Monday, July 6, 2015

KTM-S1201: 12 Digit 7-segment LCD display

original article !!

   Like SDA5708: 8 character 7x5 dot matrix LED display, this display is received as gift for test.
   KTM-S1201 display is drived by NEC D7225 (UPD7225G) chip and I found a very usefull article named Arduino and KTM-S1201 LCD modules
   I use also info from www.pongrance.com
   For control this display with Arduino sketch must download KTMS1201.h file and put in same directory with sketch:
and in Arduino IDE software you see:
   First step was to made a pcb for schematic with a 10..20k variable resistor for contrast:
   Schematic is made after nest info:
   Test schematic is:
   After upload the example sketches and few changes in sketches, on display I can see:
   After that, I made a new schematic with DHT22 (AM2302) sensor:
   I write a sketch named KTMS1201_DHT22.ino and on display I can see:
   I finished the schematic with RTC clock module (made with DS3231, but work fine with DS1307) and KY-040 rotary encoder:
After upload KTMS1201_DHT22_RTC_ver1m0.ino sketch, I cand see:
- hour:
- humidity and temperature:
- data, after a short push:
- change mode, first year, after a long push (3-4 seconds):
- change month:
- change day:
- change hours:
- change minutes:
   I made few movie:
    Final sketch is KTMS1201_DHT22_RTC_ver1m1.ino and I use a changed KTMS1201.h file for C and Y letters:
   Finally, I change the sketch (see KTMS1201_DHT22_RTC_ver1m1b.ino) for another style for humidity: