Getting Started with STM32 MCU using StmcubeMX software:

STM32 is a great choice for development of MCU based project

with  the powerful ARM cortex M3 ,M4,M7 u will the much processing power and speed

the stm 32 comes with some great tools to aid your development

StmcubeMX gives to great flexibility to design ur project with its gui interface u can easy configure all the peripherals and generate the code to get ur project started

u can download the stmcubeMX from the st official website

 

ConnectiFY a IOT Development Platform |Great for learning IOT and Embedded System

ConnectiFY is a great platform for begineers makers hobbiest students and those who want to start there learning in field of IOT and embedded system

this platform supports a large ecosystem of microcontrollers which lets you to chose the MCU of your choice

ConnectiFY has onboard Ethernet,Wifi,LORA ,Bluetooth,XBEE so you can sellect a communication medium as per your application demands

Connectify also have a great online support on there website from were you can start learning very easily

they have a complet step by step guide and Sample project for every microcontroler platform

Supported Daughter Boards

  • Arduino
  • AVR
  • ARM
  • 8051
  • Esp8266

for more detailed information pls visit theiotacademy.com

Data Aggregator and Monitoring system

Data Aggregator and monitoring system is basically a IOT based Monitoring system

which uses Predictive approach rather than traditional Reactive approach

In current scenario the whole industrial automation is based on plc and scada

but with Industrial IOT and M2M we can design a system which is more reliable and also provide a great analytical approach.

 

credits : theiotacademy

Make your own GPS SMS Security Tracking System

In this project, I will show you how to combine a SIM5320 3G module with an Arduino and a piezoelectric transducer as a shock sensor in order to create a security tracking system that will send you the location of your precious vehicle via SMS when it is moved around without you knowing it.

Watch the Video!

Parts list

1x SIM5320 3G Module (USA):

1x Arduino Pro Mini:

1x MCP602 OpAmp:

2x 20kΩ, 2x 680kΩ, 1x 10kΩ, 1x 470Ω Resistor:

1x 50kΩ Trimmer:

1x IRLZ44N MOSFET:

1x LM2940CT 5.0 Voltage Regulator:

1x 220nF, 1x 22µF Capacitor:

1x Piezoelectric Transducer:

1x Key Switch:

Credits: GreatScott!

Interfacing Arduino using python and pyserial library

 

Talking to Arduino using python is quite easy as it has a serial library to communicate with the hardware.

we can easily read and write data using python.

now we are going to build a simple project based on Arduino and python to send an email if there is any movement detected by the PIR sensor

So first we need to install python from its website

https://www.python.org/downloads/

After downloading python we need to install Serial library

https://pypi.python.org/pypi/pyserial

Now we have to design circuit for PIR with Arduino

pir with arduino,

Code for Arduino :

#define pir 6
void setup()
{
pinMode(pir, INPUT);
Serial.begin(9600);}void loop()
{
int a;
a = digitalRead(pir);if (a == 1)
{
Serial.println(“pir sensor activated”);
delay(10);
}}

python code for sending mail:
import smtplib
import serial
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText

def sendemail():
fromaddr = “##########”
toaddr = “############”
msg = MIMEMultipart()
msg[‘From’] = fromaddr
msg[‘To’] = toaddr
msg[‘Subject’] = “SUBJECT OF THE MAIL”

body = “YOUR MESSAGE HERE”
msg.attach(MIMEText(body, ‘plain’))

server = smtplib.SMTP(‘smtp.gmail.com’, 587)
server.starttls()
server.login(‘***username***’, “****password****”)
text = msg.as_string()
server.sendmail(fromaddr, toaddr, text)
server.quit()

ser = serial.Serial(‘COM8’, baudrate=9600, timeout=1) //select comport and baud rate

while 1:
tdata = ser.readline()
if(tdata.__len__() > 0):
print(tdata)
sendemail()