tag:blogger.com,1999:blog-41678042220892864002024-02-08T13:11:55.908+05:30GSS Mahadevan's BlogMahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.comBlogger42125tag:blogger.com,1999:blog-4167804222089286400.post-16188391408164224992020-07-21T10:18:00.001+05:302020-07-23T15:15:11.164+05:30How I saved my Raspberry IoT Edge host going into Denial-Of-Service (DoS) mode<div dir="ltr" style="text-align: left;" trbidi="on">
<h4 style="text-align: left;">
Setup of IoT system</h4>
<div style="text-align: left;">
I was using a Raspberry-Pi #B (35$ ARM processor, RPi) for home autoamation running as edge router/server . I have a customized golang server that connects to my IoT sensors and updates to postgres DB (previously I used TICK stack , but I had Influxdb corruption issues, so I switched to postgres DB). All of these apps are hosted in docker-instances inside the RPi. I still use Graphana as front-end GUI (after I added the postgres as datasource to Grapahana). </div>
<div style="text-align: left;">
<br /></div>
<h4 style="text-align: left;">
Disk configuration to separate OS with applications</h4>
<div style="text-align: left;">
To safegaurd RPi going to Denial-Of-Service mode due to root disk-starvation, I have used extra USB-stick for customized-Apps, Postgress DB, Graphana and other docker instances. In this way, if any applications (including graphana, postgres, influx, customized apps) fills-up disk , one can still access RPi as RPi's SD-Card is still in good-shape (wrt to disk space).</div>
<div style="text-align: left;">
<br /></div>
<h4 style="text-align: left;">
Telegram-Bot integration</h4>
<div style="text-align: left;">
Recently I have added support for <b>Telegram-Bot </b>integration with my RPi , so that I can communicate to my RPi outside my home WiFI network. The integration went well and I can issue commands from Telegram app and handle in RPi (evetually I can reach my sensors). </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<h4 style="text-align: left;">
Telegram-Bot transient error cauing DoS situation</h4>
<div style="text-align: left;">
Everything went fine till I switched off my home WiFi network in home. The moment I switched off WiFi network, the third party Telegram-Bot framework started to fills up the USB-Disk (which is shared by docker instances, customized apps,etc) as my customized-app's stdout/stderr are routed to USB-disk (for debugging/post-mortem-analysis). Within 12 hours of night time, 8GB of data is filled up. If this fillup is continued, within another 12 hours all of my docker instances (postgres, graphana and my customized app will have <b>DoS siatuation.</b></div>
<div style="text-align: left;">
<b><br /></b></div>
<h4 style="text-align: left;">
<b>Solution</b></h4>
<div>
To mitigate the above DoS situation, I could route the stdout/stderr to /dev/null, but I will lose information in case of critical errors(apart from this error) from third-party-code-bases and any unhandled golang's stack-traces and panic outputs.</div>
<div>
<br /></div>
<div>
For handling all the above tricky situations, I have written small golang application named <b>safeout </b>that consumes stdout/stderr of any number of processes and redirects the output of each stdout/stderr into disk-files with checks on maximum size (with one backup file). </div>
<div>
<br /></div>
<div>
I configured my customized application with above <b>safeout</b> . Now myApp (or any other app in docker instance ) starts redirecting stdout/stderr to disk, they will not fill-up disk (as <b>safeout </b>will ensure maximum disk space limits are honored with one backup copy)<br />
<br />
<h3 style="text-align: left;">
<b>safeout </b>Code is at <a href="https://github.com/GssMahadevan/safeout" target="_blank">Safeout</a></h3>
</div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-1126561473782183182020-04-19T21:55:00.001+05:302020-04-20T07:00:45.382+05:30Simple Yagnam Procedure as per Chaganti Venkat<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-size: x-large;">సామాన్య అగ్నిహోత్ర మంత్రాలు </span></b><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 8pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;">From Sri Venkat Chaganti : Mantram listing </span><a href="https://www.youtube.com/watch?v=rjNaf5osu4k" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: "arial"; font-size: 8pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: underline; vertical-align: baseline; white-space: pre;">https://www.youtube.com/watch?v=rjNaf5osu4k</span></a><span style="background-color: transparent; color: black; font-family: "arial"; font-size: 18pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre;"> </span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 8pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre;">From Sri Venkat Chaganti : Yagnam procedure </span><a href="https://www.youtube.com/watch?v=ctmYhUCLHSI&t=1089s" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: "arial"; font-size: 8pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: underline; vertical-align: baseline; white-space: pre;">https://www.youtube.com/watch?v=ctmYhUCLHSI</span></a></div>
<span id="docs-internal-guid-bcd2753c-7fff-85aa-b8c4-1f206880bb40"><span style="font-family: "arial"; font-size: 8pt; vertical-align: baseline; white-space: pre-wrap;">From Sri Venkat Chaganti : Materials needed </span><span style="color: #1155cc; font-family: "arial"; font-size: 8pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://www.youtube.com/watch?v=wt7aJ6DRzmI" style="text-decoration-line: none;">https://www.youtube.com/watch?v=wt7aJ6DRzmI</a></span></span><br />
<br />
<b><span style="font-size: large;">ప్రార్ధన</span> </b><br />
<span style="font-size: xx-small;">ఓం తేజోz సి తేజో మయి ధేహి !!</span><br />
<span style="font-size: xx-small;">ఓం వీర్య మసి వీర్యం మయి ధేహి !!</span><br />
<span style="font-size: xx-small;">ఓం బల మసి బలం మయి ధేహి !!</span><br />
<span style="font-size: xx-small;">ఓం ఓజోz సి ఓజో మయి ధేహి !!</span><br />
<span style="font-size: xx-small;">ఓం మన్యు రసి మన్యుమ్ మయి ధేహి !!</span><br />
<span style="font-size: xx-small;">ఓం సహోz సి సహో మయి ధేహి !!</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;">సర్వే భవంతు సుఖినః సర్వే సంతు నిరామయా: !</span><br />
<span style="font-size: large;">శాంతి మంత్రం </span><br />
<span style="font-size: xx-small;">ఓం శాంతిః </span><span style="font-size: xx-small;">శాంతిః </span><span style="font-size: xx-small;">శాంతిః </span><span style="font-family: "arial"; font-size: 10pt; vertical-align: baseline; white-space: pre-wrap;"><== <span style="color: blue;">క్రింది మంత్రం పెద్దది అనుకుంటే ఈ చిన్న మంత్రం చదువుకోండి </span></span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;">ఓం ద్యౌ: </span><span style="font-size: xx-small;">శాంతిః అంతరిక్షగ్</span><span style="font-size: xx-small;">మ్ </span><span style="font-size: xx-small;">శాంతిః</span><span style="font-size: xx-small;">!!</span><br />
<span style="font-size: xx-small;"> పృథివీ </span><span style="font-size: xx-small;">శాంతిః రాపః </span><span style="font-size: xx-small;">శాంతిః ఓషధయ: </span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">శాంతిః వనస్పతియ: </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">శాంతిః విశ్వదేవా:</span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">శాంతిః </span><span style="font-size: xx-small;"> బ్రహ్మ </span><span style="font-size: xx-small;">శాంతిః సర్వగ్</span><span style="font-size: xx-small;">మ్ </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">శాంతిః</span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">శాంతిః ఏవ </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">శాంతిః సామా </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">శాంతిః ఏధి !! ( య 31-88)</span><br />
<span style="font-size: xx-small;">ఓం శాంతిః </span><span style="font-size: xx-small;">శాంతిః </span><span style="font-size: xx-small;">శాంతిః</span><br />
<div>
<span style="font-size: large;">దీపం వెలిగించే మంత్రము</span><br />
<span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">క్రింది మంత్రం పెద్దది అనుకుంటే ఓం అని దీపం వెలిగించండి </span><br />
<span style="font-size: xx-small;">ఓం అగ్ని మీళే పురోహితం యజ్ఞస్య దేవమృత్విజం </span><br />
<span style="font-size: xx-small;"> హోతారం రత్నధాతమమ్ </span><br />
<span style="font-size: large;">ఆచమన, అంగస్పర్శ మంత్రములు </span><br />
<span style="font-size: xx-small;"><span style="color: blue;">ఆచమన మంత్రాలు </span> </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">(</span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">క్రింది మంత్రం పెద్దది అనుకుంటే , కేశవయ స్వాహా , నారాయణయ స్వాహా, </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"> మాధవాయ స్వాహా అని ఆచమనం చేసుకోండి)</span><br />
<span style="font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"><span style="color: blue;">ఉద్ధరిణి నీటితో చెయ్యి కడుకోండి. </span></span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">ఇప్పుడు చేతులని తుడుచుకోండి </span><br />
<span style="font-size: xx-small;">ఓం అమృతోపస్తరణమసి స్వాహా (ఆ.గృ 1-24-12)</span><span style="font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"><== <span style="color: blue;">ఉద్ధరిణితో నీటిని ఆచమనం చేయండి </span></span><br />
<span style="font-size: xx-small;">ఓం </span><span style="font-size: xx-small;"> అమృతాపిధానమసి స్వాహా</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">(ఆ.గృ 1-24-22) </span><span style="font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"><== <span style="color: blue;">ఉద్ధరిణితో నీటిని ఆచమనం చేయండి</span> </span><br />
<span style="font-size: xx-small;">ఓం సత్యం యశ: శ్రీర్మయి శ్రీ: శ్రయతాం </span><span style="font-size: xx-small;">స్వాహా</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">(ఆ.గృ 1-24-22)</span><span style="font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"><== <span style="color: blue;">ఉద్ధరిణితో నీటిని ఆచమనం చేయండి</span> </span><br />
<span style="font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"><span style="color: blue;">ఉద్ధరిణి నీటితో చెయ్యి కడుకోండి . </span></span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">ఇప్పుడు చేతులని తుడుచుకోండి </span><br />
<span style="font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"><span style="color: blue;"><br /></span></span>
<span style="font-size: xx-small;"><span style="color: blue;">అంగ స్పర్శ మంత్రాలు </span></span><br />
<span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">ఉద్ధరిణితో నీటిని ఎడమచేతిలో తీసుకొని, కుడి చేయి మధ్య,ఉంగరం వేళ్ళతో ఎడమ చేతి నీటిని స్పృశించి ఆయా అంగాల్ని స్పర్శించండి </span><br />
<span style="font-size: xx-small;">ఓం వాఙ్మ అస్యేzస్తు !! <== <span style="color: blue;">నోటిని తాకండి </span></span><br />
<span style="font-size: xx-small;">ఓం నసోర్మే ప్రాణో zస్తు !! <==<span style="color: blue;"> ముక్కు </span></span><span style="color: blue; font-size: xx-small;">కుడి & </span><span style="font-size: xx-small;"><span style="color: blue;">ఎడమ వైపులకు </span></span><span style="font-size: xx-small;"><span style="color: blue;"> తాకండి</span> </span><br />
<span style="font-size: xx-small;">ఓం అక్ష్ణో</span><span style="font-size: xx-small;">ర్మే</span><span style="font-size: xx-small;"> చక్షు ర</span><span style="font-size: xx-small;">స్తు !! <==<span style="color: blue;"> </span></span><span style="color: blue; font-size: xx-small;">కుడి & </span><span style="font-size: xx-small;"><span style="color: blue;">ఎడమ</span></span><span style="color: blue; font-size: xx-small;"> </span><span style="font-size: xx-small;"><span style="color: blue;">కళ్ల</span></span><span style="font-size: xx-small;"><span style="color: blue;">ని తాకండి </span></span><br />
<span style="font-size: xx-small;">ఓం కర్ణయోర్మే శ్రోత్ర మ</span><span style="font-size: xx-small;">స్తు !! <== </span><span style="color: blue; font-size: xx-small;">కుడి & </span><span style="font-size: xx-small;"><span style="color: blue;">ఎడమ </span></span><span style="font-size: xx-small;"><span style="color: blue;">చెవుల</span></span><span style="font-size: xx-small;"><span style="color: blue;">ని తాకండి </span></span><br />
<span style="font-size: xx-small;">ఓం బాహ్వోర్మే బలమ</span><span style="font-size: xx-small;">స్తు !! <span style="color: blue;"><== </span></span><span style="color: blue; font-size: xx-small;">కుడి & </span><span style="font-size: xx-small;"><span style="color: blue;">ఎడమ </span></span><span style="font-size: xx-small;"><span style="color: blue;">చేతుల</span></span><span style="font-size: xx-small;"><span style="color: blue;">ని తాకండి </span></span><br />
<span style="font-size: xx-small;">ఓం ఊర్వోర్మే ఓజోz </span><span style="font-size: xx-small;">స్తు !! <span style="color: blue;"><== </span></span><span style="color: blue; font-size: xx-small;">కుడి & </span><span style="font-size: xx-small;"><span style="color: blue;">ఎడమ ముణుకులని </span></span><span style="font-size: xx-small;"><span style="color: blue;"> తాకండి </span></span><br />
<span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">ఇప్పుడు మిగిలిన </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">ఎడమచేతిలో </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">నీటిని కుడి చేయిలోకి తీసుకొని, కుడి చేయిని శిరస్సు మీద , ఫాలభాగం మీద, కళ్ళకి , ముఖం మీద , ఛాతి మీద, ఉదరం మీద చల్లుకోండి </span><br />
<span style="font-size: xx-small;">ఓం అరిష్టాని మే z ఙ్గాని తనూ స్తన్వా మే సహ సంతు !!</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">(పా .గృ 1-8-25)</span><br />
<span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">ఉద్ధరిణి నీటితో చెయ్యి కడుకోండి. </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">ఇప్పుడు చేతులని తుడుచుకోండి . </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">ఉద్ధరిణి పాత్రని పక్కకి పెట్టేయండి. </span><br />
<span style="font-size: large;">అగ్న్యాధాన మంత్రం </span></div>
<div>
<span style="color: blue; font-size: xx-small;">అగ్నిని వెలిగించాలి (అగ్గి పెట్టె లేదా కర్పూరం గుళిక)</span><br />
<span style="font-size: xx-small;">ఓం భూర్భువః స్వ: !!</span><br />
<span style="color: blue; font-size: xx-small;">ఇప్పుడు</span><span style="color: blue; font-size: xx-small;"> </span><span style="color: blue; font-size: xx-small;">అగ్నిని కుండములో ఉంచవలెను (పైన వెలిగించిన అగ్నిని)</span><br />
<span style="font-size: xx-small;">ఓం భూర్భువః స్వర్ద్యౌరివ భూమ్నా </span><span style="font-size: xx-small;">పృథివీవ వరిమ్ణా </span><br />
<span style="font-size: xx-small;"> తస్యాస్తే </span><span style="font-size: xx-small;">పృథివి దేవయజని</span><br />
<span style="font-size: xx-small;"> పృష్టేzగ్ని మన్నాద మన్నాద్య యాదధే </span><span style="font-size: xx-small;">!! (య. 3-5)</span><br />
<br />
<span style="color: blue; font-size: xx-small;">ఇప్పుడు చిన్న చిన్న పుల్లలు అగ్నిలో వేస్తే బాగా అగ్ని ప్రజ్వలిస్తుంది </span><br />
<span style="font-size: xx-small;">ఓం ఉద్భుద్ధ్యస్వాగ్నే ప్రతిజాగృహి త్వామిష్టాపూర్తే </span><br />
<span style="font-size: xx-small;"> సగ్ మ్ సృజేథా మయం చ అస్మిన్ సధస్థే </span><br />
<span style="font-size: xx-small;"> అధ్యుత్త రస్మిన్ విశ్వే దేవా యజమానశ్చ సీదత !! </span><span style="font-size: xx-small;">(య. 15-54)</span><br />
<span style="font-size: xx-small;"><br /></span>
<br />
<span style="font-size: large;">సమిధాధాన మంత్రం </span><span style="font-size: large;"> </span><br />
<span style="color: blue; font-size: xx-small;">ఇప్పుడు మూడు సమిధలు అగ్నిలో అర్పించాలి . </span><br />
<span style="color: blue; font-size: xx-small;">మొదటి </span><span style="color: blue; font-size: xx-small;">సమిధ</span><span style="color: blue; font-size: xx-small;">:</span><br />
<span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">(</span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">క్రింది మంత్రం పెద్దది అనుకుంటే: ఓం అగ్నయే స్వాహా , ఇదం అగ్నయే ఇదం న మమ . </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"> అని ఆహుతి అర్పించండి )</span></div>
<div>
<span style="font-size: xx-small;">ఓం ఆయంత ఇధ్మ ఆత్మా జాతవేదస్తే </span><br />
<span style="font-size: xx-small;"> నేద్ధ్యస్వ వర్ధస్వ చేద్ధ వర్ధయ చాస్మాన్ </span><br />
<span style="font-size: xx-small;"> ప్రజయా పశుభిర్ బ్రహ్మవర్చసే </span><br />
<span style="font-size: xx-small;"> నాన్నాద్యేన సమేధయ - స్వాహా !! <-- font="" nbsp=""><span style="color: blue; font-size: xx-small;">మొదటి </span><span style="color: blue; font-size: xx-small;">సమిధని అగ్నిలో అర్పించాలి </span></--></span><br />
<span style="font-size: xx-small;"> </span><br />
<span style="font-size: xx-small;"> ఇద మగ్నయే </span><span style="font-size: xx-small;">జాతవేదసే - ఇదం న మమ !! </span><span style="font-size: xx-small;">(ఆ. గృ 1-1-12)</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="color: blue; font-size: xx-small;">రెండవ </span><span style="color: blue; font-size: xx-small;">సమిధ (</span><span style="font-size: xx-small;"><span style="color: purple;">మనస్సులో చదువు కోవాలి</span></span><span style="color: blue; font-size: xx-small;">)</span><span style="color: blue; font-size: xx-small;">:</span><br />
<span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">(</span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">క్రింది మంత్రం పెద్దది అనుకుంటే: ఓం అగ్నయే స్వాహా , ఇదం అగ్నయే ఇదం న మమ. </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"> అని ఆహుతి అర్పించండి. </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">)</span><br />
<span style="font-size: xx-small;">ఓం సమిధాగ్నిమ్ దువస్యత ఘృతైర్భోధ యతాతిథిం</span><br />
<span style="font-size: xx-small;"> ఆస్మిన్ హవ్యా జుహోతన </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">(య. 3-1)</span><br />
<span style="font-size: xx-small;">ఓం సుసమిద్ధాయ శోచిషే </span><br />
<span style="font-size: xx-small;"> ఘృతం తీవ్రం </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">జుహోతన </span><br />
<span style="font-size: xx-small;"> అగ్నయే </span><span style="font-size: xx-small;">జాతవేదసే </span><span style="font-size: xx-small;">- స్వాహా !! </span><span style="font-size: xx-small;"><-- font="" nbsp=""><span style="color: blue; font-size: xx-small;">రెండవ</span><span style="color: blue; font-size: xx-small;"> </span><span style="color: blue; font-size: xx-small;">సమిధని అగ్నిలో అర్పించాలి </span></--></span><br />
<span style="font-size: xx-small;"> ఇద మగ్నయే </span><span style="font-size: xx-small;">జాతవేదసే - ఇదం న మమ !! </span><span style="font-size: xx-small;">(య 3-2)</span><br />
<br /></div>
<div>
<span style="color: blue; font-size: xx-small;">మూడవ సమిధ </span><span style="color: blue; font-size: xx-small;">:</span><br />
<span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">(</span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">క్రింది మంత్రం పెద్దది అనుకుంటే: ఓం జాతవేధసే స్వాహా , ఇదం </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">జాతవేధసే</span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"> ఇదం న మమ. ఓం అంగిరసే స్వాహా , ఇదం </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"> </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">అంగిరసే </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">ఇదం న మమ. </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">అని ఆహుతి అర్పించండి )</span><br />
<span style="font-size: xx-small;">ఓం తం త్వా సమిద్భి రఙ్గిరో</span><br />
<span style="font-size: xx-small;"> ఘృతేన </span><span style="font-size: xx-small;">వర్ధయామసి </span><br />
<span style="font-size: xx-small;"> బ్రుహచ్ఛోచా యావిష్ఠ్య </span><span style="font-size: xx-small;">- స్వాహా !! </span><span style="font-size: xx-small;"><-- font="" nbsp=""><span style="color: blue; font-size: xx-small;">మూడవ</span><span style="color: blue; font-size: xx-small;"> </span><span style="color: blue; font-size: xx-small;">సమిధని అగ్నిలో అర్పించాలి </span></--></span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> ఇద మగ్నయే z ఙ్గిరసే </span><span style="font-size: xx-small;">- ఇదం న మమ !! </span><span style="font-size: xx-small;">(య 3-2)</span><br />
<br />
<br /></div>
<div>
<span style="font-size: large;">ఘృతాహుతి మంత్రం </span><br />
<span style="color: blue; font-size: xx-small;">అయిదు సార్లు చదివి </span><span style="color: blue; font-size: xx-small;">అయిదు సార్లు </span><span style="color: blue; font-size: xx-small;">నేతిని అగ్నికి ఆహుతి ఇవ్వాలి </span><br />
<span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">(</span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;">క్రింది మంత్రం పెద్దది అనుకుంటే: అగ్నయే స్వాహా , అగ్నయే ఇదం న మమ </span><span style="color: blue; font-family: "arial"; font-size: 13.3333px; white-space: pre-wrap;"> అని 5 ఆహుతులు అర్పించండి )</span><br />
<span style="font-size: xx-small;">ఓం అయంత ఇధ్మ ఆత్మజాతవేదస్తే </span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">నేద్ధ్యస్వ వర్ధస్వ చేద్ధ వర్ధయ చాస్మాన్ </span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> ప్రజయా పశుభిర్ బ్రహ్మవర్చసే </span><br />
<span style="font-size: xx-small;"> నాన్నాద్యేన సమేధయ - స్వాహా !! </span><br />
<span style="font-size: xx-small;"> ఇద మగ్నయే </span><span style="font-size: xx-small;">జాతవేదసే - ఇదం న మమ !! </span><span style="font-size: xx-small;">(ఆ. గృ 1-1-12)</span><br />
<span style="font-size: large;">జలప్రసేచన మంత్రములు </span><br />
<span style="color: blue;"><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">4 సార్లు హోమకుండం చుట్టూ ప్రదక్షిణ క్రమంలో </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">కింద చెప్పిన విధంగా </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">ఉద్ధరిణితో/చేతితో (ఆచమనం పాత్ర వద్దు) </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">నీరు </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">పోయండి</span></span></div>
<div>
<div class="separator" style="background-color: white; clear: both; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC6wx53x9dJize4S-SldJEA9B5jViIU9coUqFjVHeaKEl0cKR1kRUHArhuMe8PEgIJE8gqdggvG1wJzRL4-vr2o5NIUbPBpNDJj-Uy8Wtl0NrQh-tpRJGA4yqLyd53c9LQ1yeEKFzBEKYo/s1600/homakundam_adite.png" imageanchor="1" style="color: #888888; margin-left: 1em; margin-right: 1em; text-decoration-line: none;"><img border="0" data-original-height="246" data-original-width="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC6wx53x9dJize4S-SldJEA9B5jViIU9coUqFjVHeaKEl0cKR1kRUHArhuMe8PEgIJE8gqdggvG1wJzRL4-vr2o5NIUbPBpNDJj-Uy8Wtl0NrQh-tpRJGA4yqLyd53c9LQ1yeEKFzBEKYo/s1600/homakundam_adite.png" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1px solid rgb(238, 238, 238); box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 5px; padding: 5px; position: relative;" /></a></div>
<span style="background-color: white; color: #e06666; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"><br /></span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"></span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">ఓం ఆదితే z నుమన్యస్వ! </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"><span style="color: blue;">(యజ్ఞకుండం దక్షిణవైపు , పడమర నుండి తూర్పుకి. 1 )</span></span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">ఓం </span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">అనుమతే z నుమన్యస్వ! </span><span style="color: blue;"><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">(</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">యజ్ఞకుండం </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">పడమర</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">వైపు ,</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">దక్షిణ </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">నుండి ఉత్తరము</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">కి. 2)</span></span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">ఓం </span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">సరస్వతే z నుమన్యస్వ!</span><span style="color: blue;"><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"> </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">(</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">యజ్ఞకుండం ఉత్తరము</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">వైపు, </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">పడమర నుండి తూర్పుకి. 3)</span></span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">ఓం </span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"> దేవా సవితః ప్రసువ యజ్ఞం </span><span style="color: blue;"><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">(</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">యజ్ఞకుండం </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">తూర్పు</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">వైపు, </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">దక్షిణ </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">నుండి ఉత్తరము</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">కి. 4</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">)</span></span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"> ప్రసు</span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">వ యజ్ఞపతిం భగాయ !</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"> దివ్యో గంధర్వ: కేతపూ: కేతన్న:</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"> పునాతు వాచస్పతి ర్వాచం నః స్వదతు!! ( య. 3-1) </span></div>
<div>
<span style="font-size: xx-small;"><br /></span></div>
<div>
<span style="font-size: large;">అఘారావాజ్యాహుతి మంత్రములు </span><br />
<span style="color: blue; font-size: xx-small;">ఉత్తర దిక్కున నేతిని అగ్నికి ఆహుతి ఇవ్వాలి </span><br />
<span style="font-size: xx-small;">ఓం అగ్నయే స్వాహా !!</span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇద మగ్నయే -</span><span style="font-size: xx-small;"> ఇదం న మమ !! </span><span style="font-size: xx-small;">(య 22-27)</span><br />
<span style="color: blue; font-size: xx-small;">దక్షిణ దిక్కున </span><span style="color: blue; font-size: xx-small;">నేతిని చంద్రుడికి ఆహుతి ఇవ్వాలి</span><br />
<span style="font-size: xx-small;">ఓం సోమాయ స్వాహా !!</span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇదం </span><span style="font-size: xx-small;">సోమాయ</span><span style="font-size: xx-small;"> - </span><span style="font-size: xx-small;"> ఇదం న మమ !! </span><span style="font-size: xx-small;">(య 22-27)</span></div>
<div>
<span style="font-size: xx-small;"><br /></span></div>
<div>
<span style="font-size: large;">అజ్యభాగాహు</span><span style="font-size: large;">తి </span><span style="font-size: large;">మంత్రములు</span><span style="font-size: large;"> </span><br />
<span style="color: blue; font-size: xx-small;">స్వాహా అన్న తర్వాత </span><span style="color: blue; font-size: xx-small;">నేతిని అగ్నికి ఆహుతి ఇవ్వాలి </span><br />
<span style="font-size: xx-small;">ఓం ప్రజాపతయే స్వాహా !!</span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇదం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ప్రజాపతయే</span><span style="font-size: xx-small;"> -</span><span style="font-size: xx-small;"> ఇదం న మమ !! </span><span style="font-size: xx-small;">(య 18-27)</span><br />
<span style="font-size: xx-small;">ఓం ఇంద్రాయ </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">స్వాహా !!</span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇదం </span><span style="font-size: xx-small;">ఇంద్రాయ</span><span style="font-size: xx-small;"> - </span><span style="font-size: xx-small;"> ఇదం న మమ !! </span><span style="font-size: xx-small;">(య 22-28)</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: large;">వ్యాహృత్యాహుతి మంత్రములు</span><span style="font-size: large;"> </span><br />
<span style="color: blue; font-size: xx-small;">ఇవి ముఖ్య మంత్రాలు. స్వాహా అన్న తర్వాత నేతిని అగ్నికి ఆహుతి ఇవ్వాలి </span><br />
<span style="font-size: xx-small;">ఓం భూరగ్నయే స్వాహా !!</span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇద మగ్నయే -</span><span style="font-size: xx-small;"> ఇదం న మమ !!</span><br />
<span style="font-size: xx-small;">ఓం భువ ర్వాయవే స్వాహా !!</span><br />
<div>
<span style="font-size: xx-small;"> ఇదం</span><span style="font-size: xx-small;"> వాయవే </span><span style="font-size: xx-small;">-</span><span style="font-size: xx-small;"> ఇదం న మమ !! </span></div>
<span style="font-size: xx-small;">ఓం స్వరాదిత్యాయ స్వాహా !!</span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇదం ఆదిత్యాయ </span><span style="font-size: xx-small;"> - </span><span style="font-size: xx-small;"> ఇదం న మమ !! </span><br />
<span style="font-size: xx-small;">ఓం భూర్భువః స్వ రగ్ని వాయ్వాదిత్యేభ్య: స్వాహా !!</span><br />
<span style="font-size: xx-small;"> ఇద మగ్ని </span><span style="font-size: xx-small;"> వాయ్వాదిత్యేభ్య</span><span style="font-size: xx-small;">: - ఇదం న మమ !!</span><br />
<span style="font-size: xx-small;"></span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: large;">స్విష్టకృదాహుతి మంత్రములు</span><span style="font-size: large;"> </span><br />
<span style="color: blue; font-size: xx-small;">ఏవైనా తప్పులు చేస్తే, వాటిని క్షమించమని పరమాత్మని ప్రార్థిస్తాము. ఇక్కడ బెల్లం, తీపితో చేసిన పదార్థం ఈస్తే మంచిది. నవధాన్యాలు/</span><span style="color: blue; font-size: xx-small;">నవధాన్యాల-పిండి ని నేటితో కలిపి కూడా </span><span style="color: blue; font-size: xx-small;">అర్పించ వచ్చు. </span><span style="color: blue; font-size: xx-small;">ఏమీ లేకపోతే నేతిని కూడా అర్పించ వచ్చు </span><br />
<br />
<span style="font-size: xx-small;">ఓం యదస్య కర్మణోz త్యరీచం , యద్వా </span><br />
<span style="font-size: xx-small;"> న్యూనమిహకరం , అగ్నిష్టత్స్విష్ట కృద్విద్యా </span><br />
<span style="font-size: xx-small;"> త్సర్వం స్విష్టం సుహుతం కరోతు మే </span><br />
<span style="font-size: xx-small;"> అగ్నయే స్విష్టకృతే సుహుత హుతే </span><br />
<span style="font-size: xx-small;"> సర్వప్రాయశ్చిత్తహుతీనాం కామానం </span><br />
<span style="font-size: xx-small;"> సమర్థయిత్రే సర్వాన్న: కామన్త్సమర్థయ స్వాహా !!</span><br />
<span style="font-size: xx-small;"> </span><br />
<span style="font-size: xx-small;"> ఇద మగ్నయే స్విష్టకృతే - ఇదం న మమ !! (శత. 14-8-7-5)</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: large;">ప్రజాపత్యాహుతి మంత్రము</span><br />
<span style="color: purple; font-size: xx-small;">మనస్సులో చదువు కోవాలి</span><br />
<span style="font-size: xx-small;">ఓం ప్రజాపతయే స్వాహా !!</span><br />
<span style="font-size: xx-small;"> ఇదం </span><span style="font-size: xx-small;">ప్రజాపతయే</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">- ఇదం న మమ !! (పా.గృ 1-1-3)</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: large;">ప్రధానహోమమంత్రములు </span><br />
<span style="font-size: xx-small;">ఓం </span><span style="font-size: xx-small;">భూర్భువః స్వ: అగ్న ఆయూన్షి పవస </span><br />
<span style="font-size: xx-small;"> ఆ సువోర్జమిషం చ నః !</span><br />
<br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: large;">ప్రాతఃకాలహవనమంత్రములు </span><br />
<span style="color: blue; font-size: xx-small;">తెల్లారి హోమం చేస్తే ఈ మంత్రాలు చదువుకోండి </span><br />
<span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="font-size: xx-small;">ఓం సూర్యో జ్యోతి ర్జ్యోతి: సూర్య: స్వాహా !!</span></span><br />
<span style="font-size: xx-small;"><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">ఓం</span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"> </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">సూర్యో వర్చో </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"> జ్యోతి ర్వర్చ: </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">స్వాహా !!</span></span><br />
<span style="font-size: xx-small;">ఓం జ్యోతిః సూర్య: సూర్యో జ్యోతిః <span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"> </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">స్వాహా !! </span></span><br />
<span style="font-size: xx-small;">ఓం సజూ ర్దేవేన సవిత్రా సజూ రుషసేంద్ర వత్యా </span><br />
<span style="font-size: xx-small;"> జుషాణ: సూర్యో వేతు స్వాహా !! (య. 3-9-10)</span><br />
<br />
<span style="font-size: large;">సాయంకాలహవనమంత్రములు </span><br />
<span style="color: blue; font-size: xx-small;">సాయంకాలం హోమం చేస్తే ఈ మంత్రాలు చదువుకోండి </span><br />
<span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="font-size: xx-small;">ఓం అగ్నిర్ జ్యోతి ర్జ్యోతి:అగ్ని: స్వాహా !!</span></span><br />
<span style="font-size: xx-small;"><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">ఓం అగ్నిర్ </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"> వర్చో </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"> జ్యోతి ర్వర్చ: </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">స్వాహా !!</span></span><br />
<span style="font-size: xx-small;">ఓం </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">అగ్నిర్ </span><span style="font-size: xx-small;">జ్యోతిర్ </span><span style="font-size: xx-small;">జ్యోతిర్ </span><span style="font-size: xx-small;"> అగ్ని: <span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"> </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">స్వాహా !! </span></span><span style="color: purple; font-size: xx-small;">మనస్సులో చదువు కోవాలి</span><br />
<span style="font-size: xx-small;">ఓం సజూ ర్దేవేన సవిత్రా సజూ రాత్రేంద్ర వత్యా </span><br />
<span style="font-size: xx-small;"> జుషాణ: </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">అగ్నిర్</span><span style="font-size: xx-small;"> వేతు స్వాహా !! <strike>(య. 3-9-10??)</strike></span><br />
<span style="font-size: large;">ప్రాత సాయం సమయముల హవన మంత్రములు </span><br />
<br />
<span style="color: blue; font-size: xx-small;">ఇవి చాలా ముఖ్య మంత్రాలు. ఇక్కడ మూలికలు నేతితో </span><span style="color: blue; font-size: xx-small;">అర్పించ వచ్చు. </span><span style="color: blue; font-size: xx-small;"> </span><span style="color: blue; font-size: xx-small;">ఈ ఆహుతులు రిపీట్ చేసుకోవచ్చు. </span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;">ఓం భూరగ్నయే ప్రాణాయ స్వాహా !!</span><br />
<span style="font-size: xx-small;"> ఇద మగ్నయే ప్రాణాయ - ఇదం న మమ !!</span><br />
<span style="font-size: xx-small;">ఓం భువః వాయవే అపానాయ </span><span style="font-size: xx-small;">స్వాహా !!</span><br />
<span style="font-size: xx-small;"> ఇదం వాయవే అపానాయ - ఇదం న మమ !!</span><br />
<span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">ఓం</span><span style="background-color: white; color: magenta; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"> </span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">స్వరాదిత్యాయ </span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"> వ్యానాయ</span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"> </span><span style="background-color: white; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;">స్వాహా</span><span style="background-color: white; color: magenta; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: xx-small;"> </span><br />
<span style="font-size: xx-small;"> ఇదం ఆ<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">దిత్యాయ </span><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"> వ్యానాయ</span> - ఇదం న మమ !!</span><br />
<span style="font-size: xx-small;">ఓం భూర్భువః స్వ రగ్ని వాయ్వాదిత్యేభ్య:</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ప్రాణాపానవ్యానేభ్య: స్వాహా !! </span><span style="font-size: xx-small;"> </span><br />
<span style="font-size: xx-small;"> ఇద మగ్ని </span><span style="font-size: xx-small;">వాయ్వాదిత్యేభ్య:</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ప్రాణాపానవ్యానేభ్య: </span><span style="font-size: xx-small;">-</span><span style="font-size: xx-small;"> ఇదం న మమ !!</span><br />
<br />
<span style="font-size: xx-small;">ఓం ఆపో జ్యోతి రసోz మృతం బ్రహ్మ </span><span style="font-size: xx-small;">భూ</span><span style="font-size: xx-small;">ర్భువః స్వరోమ్ స్వాహా !! (తై. ఆ . 10-15)</span><br />
<span style="font-size: xx-small;">ఓం యాం మేధాం దేవగణాః పితర శ్చోపాసతే తయా </span><br />
<span style="font-size: xx-small;"> మా మద్య మేధయాగ్నే మేధావినం కురు స్వాహా !! (య. 32-14)</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;">ఓం విశ్వాని దేవా సవితర్దురితాని పర సువ !</span><br />
<span style="font-size: xx-small;"> యద్భద్రం తన్న ఆసువ స్వాహా !! </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> (య. 30-3)</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;">ఓం అగ్నే ! నయా సుపథా రాయే అస్మాన్, విశ్వానిదేవ </span><br />
<span style="font-size: xx-small;"> వయూనాని విద్వాన్, యుయో ద్యస్మ జ్జుహురాణ </span><br />
<span style="font-size: xx-small;"> మేనో, భూయిష్టామ్ తే నమ ఉక్తిమ్ విధేమ స్వాహా !! </span><span style="font-size: xx-small;">(య. 40-16)</span><br />
<span style="font-size: large;">గాయత్రీ ఆహుతులు</span><br />
<span style="font-size: xx-small;">ఓం </span><span style="font-size: xx-small;">భూర్భువః స్వ: ! తత్సవితుర్వరేణ్యం </span><br />
<span style="font-size: xx-small;"> భర్గోదేవస్య ధీమహి ! దియో యోన ప్రచోదయాత్ స్వాహా !!</span><br />
<span style="color: blue; font-size: xx-small;">ఇవిఎవరి శక్తిని అనుసరించి వారు అధికంగా గాయత్రీ ఆహుతులు ఇవ్వ వచ్చును </span><br />
<span style="color: blue; font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;">ఓం సర్వం వై పూర్ణగ్ మ్ స్వాహా !! 1 </span><br />
<span style="font-size: xx-small;">ఓం సర్వం వై పూర్ణగ్ మ్ </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> స్వాహా !! 2</span><br />
<span style="font-size: xx-small;">ఓం సర్వం వై పూర్ణగ్ మ్ </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> స్వాహా !! 3 (య. 36-3)</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;">ఓం వసో: పవిత్రమసి శతధారం </span><br />
<span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">వసో: పవిత్రమసి సహస్రధారం </span><br />
<span style="font-size: xx-small;"> దేవస్త్వా సవితా పునాతు వసో: పవిత్రేణ </span><br />
<span style="font-size: xx-small;"> శతధారేణ సుప్వా కామధుక్ష: స్వాహా </span><span style="font-size: xx-small;">(య. 1-3)</span><span style="font-size: xx-small;"> </span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;"><span style="color: blue;">రెండు చేతుల్తో అగ్నిని స్పృశించి</span><span style="color: #20124d;"> </span><span style="color: #741b47;">క్రింది చెప్పిన విధంగా చేసి</span><span style="color: blue;">, చేతులని హృదయం దగ్గర చేర్చి </span></span><span style="color: blue; font-size: xx-small;">నమస్కరించండి</span><br />
<span style="font-size: xx-small;">ఓం తేజోz సి తేజో మయి ధేహి !! </span><span style="font-size: xx-small;"><-- color="#351c75" font="">కళ్ళకు, శిరస్సుకు అద్దుకొండి</--></span><span style="color: blue;"> </span> </div>
</div>
<span style="font-size: xx-small;">ఓం వీర్య మసి వీర్యం మయి ధేహి !! </span><span style="font-size: xx-small;"><- span=""><span style="font-size: xx-small;">- <span style="color: #351c75;">తొడలకి </span></span><span style="font-size: xx-small;"><span style="color: #351c75;">అద్దుకొండి</span></span><span style="font-size: xx-small;"> </span></-></span><br />
<span style="font-size: xx-small;">ఓం బల మసి బలం మయి ధేహి !! </span><span style="font-size: xx-small;"><- span=""><span style="font-size: xx-small;">- <span style="color: #351c75;">చేతులని రివెర్స్ చేసి భుజాలు, చేతులు మణికట్లు </span></span><span style="color: #351c75;"><span style="font-size: xx-small;">అద్దుకొండి</span><span style="font-size: xx-small;"> </span></span></-></span><br />
<span style="font-size: xx-small;">ఓం ఓజోz సి ఓజో మయి ధేహి !! <-- font="" nbsp=""><span style="color: #351c75;"><span style="font-size: xx-small;">చేతులని మేడ చుట్టూ </span><span style="font-size: xx-small;">అద్దుకొండి</span></span></--></span><br />
<span style="font-size: xx-small;">ఓం మన్యు రసి మన్యుమ్ మయి ధేహి !! </span><span style="font-size: xx-small;"><-- color="#351c75" font="" nbsp="">చేతులని శిరస్సు పైకి చాపి </--></span><br />
<span style="font-size: xx-small;"><span style="color: #351c75;">నమస్కరించి</span></span><span style="font-size: xx-small;">ఓం సహోz సి సహో మయి ధేహి !! </span><span style="font-size: xx-small;"><-- color="#351c75" font="" nbsp="">ఛాతీ మీద </--></span><br />
<span style="color: #351c75;"><span style="font-size: xx-small;">అద్దుకొండి</span><span style="font-size: xx-small;"> </span></span></div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-10668655997304083412020-04-12T13:03:00.003+05:302020-04-12T13:24:28.697+05:30Simple Yagnam as per Smt Satyavani<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #e06666; font-size: xx-small;"><span style="color: #e06666;">ఇంట్లోనే 4 నిమిషాల్లో హోమం చేసుకోండి . వివరాలకు క్రింద ఇచ్చిన యూట్యూబ్ లింక్లో </span><a href="https://www.youtube.com/watch?v=i9cPndCYVbU" target="_blank"><span style="color: blue;">శ్రీమతి సత్యవాణి గారు లైవ్ డెమోస్ట్రేషన్</span></a><span style="color: #e06666;"> చూడండి . </span></span><br />
<span style="color: #e06666; font-size: xx-small;"><br /></span>
<span style="color: #e06666; font-size: xx-small;">ముందు ఘంటానాదం 3 సార్లు చెయ్యండి . </span><br />
<span style="color: #e06666; font-size: xx-small;"><br /></span>
<span style="color: #e06666; font-size: xx-small;">రాగి హోమకుండంలో కొన్ని ఆవు పిడకలు వేసి , ఆ పిడకల మధ్యలో కొన్ని కర్పూరం గుళికలు పెట్టండి. </span><br />
<span style="color: #e06666; font-size: xx-small;">ఆహుతి </span><span style="color: #e06666; font-size: xx-small;">అర్పిస్తున్న</span><span style="color: #e06666; font-size: xx-small;">ప్పుడు మీరు ఏయే దేవతలని పిలుస్తున్నారో, ఆయా దేవతలు మీ అగ్నికుండం దగ్గరకి వచ్చినట్లు </span><span style="color: #e06666; font-size: xx-small;">భక్తితో </span><span style="color: #e06666; font-size: xx-small;">భావించండి. అదే </span><span style="color: #e06666; font-size: xx-small;">భక్తితో </span><span style="color: #e06666; font-size: xx-small;">భావనతో ఆయా దేవతలకి </span><span style="color: #e06666; font-size: xx-small;"> </span><span style="color: #e06666; font-size: xx-small;">ఆహుతులు (నేయి & ఇతర ఆహుతి సామగ్రి ) </span><span style="color: #e06666; font-size: xx-small;"> అర్పి</span><span style="color: #e06666; font-size: xx-small;">చండి . </span><br />
<span style="color: #e06666; font-size: xx-small;"></span><br />
<span style="color: #e06666; font-size: xx-small;">స్వాహా అన్న తర్వాత నేయిని ఉద్ధరిణితో </span><span style="color: #e06666; font-size: xx-small;">రాగి హోమకుండంలో ఆవు పిడకలుమీద </span><span style="color: #e06666; font-size: xx-small;">పోయండి. </span><span style="color: #e06666; font-size: xx-small;">గుర్తు కోసం @ తర్వాత ఆహుతి (నేయి,etc ) అర్పించండి . </span><span style="font-size: xx-small;"><span style="color: magenta;">గులాబి</span></span><span style="color: #e06666; font-size: xx-small;"> రంగు అక్షరాలు ఉన్నచోట్ల కొద్దిగా దీర్ఘంగా ఉఛ్చారణ చేయండి. </span><br />
<span style="color: #e06666; font-size: xx-small;"><br /></span>
<br />
<span style="color: #e06666; font-size: xx-small;"><br /></span>
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">అగ్నిమ్ ప్రజ్వలితం వందే జాతవేదో హుతాసనం </span><br />
<span style="font-size: xx-small;">సువర్ణవర్ణమమలం జ్వలంతం విశ్వతోముఖం అగ్నిదే<span style="background-color: white;"><span style="color: magenta;">వా</span></span>య నమః </span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> అగ్నివ్రతప్రత మావాహయామి స్థాపయామి పూజయామి @ </span><br />
<span style="font-size: xx-small;"><span style="color: magenta;">ఓం</span> అగ్నయే <span style="color: magenta;">స్వాహా</span> అగ్నయే ఇదం నమమ @ </span><br />
<span style="font-size: xx-small;"><span style="color: magenta;">ఓం</span> అగ్నయే <span style="color: magenta;">స్వాహా</span> ప్రజా పతయే ఇదం నమమ @ </span><br />
<span style="font-size: xx-small;"><span style="color: magenta;">ఓం</span> అగ్ని జ్యోతిర్ జ్యోతిరగ్ని <span style="color: magenta;">స్వాహా</span> @ </span><br />
<span style="font-size: xx-small;"><span style="color: magenta;"><strike>ఓం</strike> </span>సూర్యో జ్యోతిర్ జ్యోతిర్ సూర్యో <span style="color: magenta;">స్వాహా</span> @ </span><br />
<span style="font-size: xx-small;"><span style="color: magenta;"><strike>ఓం</strike></span> అగ్నిర్ వర్చిస్ జ్యోతిర్ వర్చిస్ <span style="color: magenta;">స్వాహా</span> @ </span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;"><span style="color: magenta;"><strike>ఓం</strike> </span>సూర్యో వర్చిస్ జ్యోతిర్ వర్చిస్ అగ్నిర్ వర్చిస్ <span style="color: magenta;"> స్వాహా</span> అగ్నయే ఇదం నమమ @ </span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;">వైశ్వానరయ విద్మహే లాలీలాయ ధీమహీ తన్నో అగ్నిర్ ప్రచోదయాత్ @ </span><br />
<span style="font-size: xx-small;"><br /></span><span style="font-size: xx-small;"><span style="color: #e06666;">4 సార్లు హోమకుండం చుట్టూ </span></span><span style="color: #e06666; font-size: xx-small;">కింద చెప్పిన విధంగా </span><span style="color: #e06666; font-size: xx-small;">ఉద్ధరిణితో </span><span style="color: #e06666; font-size: xx-small;">నీరు </span><span style="color: #e06666; font-size: xx-small;">పోయండి </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC6wx53x9dJize4S-SldJEA9B5jViIU9coUqFjVHeaKEl0cKR1kRUHArhuMe8PEgIJE8gqdggvG1wJzRL4-vr2o5NIUbPBpNDJj-Uy8Wtl0NrQh-tpRJGA4yqLyd53c9LQ1yeEKFzBEKYo/s1600/homakundam_adite.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="246" data-original-width="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC6wx53x9dJize4S-SldJEA9B5jViIU9coUqFjVHeaKEl0cKR1kRUHArhuMe8PEgIJE8gqdggvG1wJzRL4-vr2o5NIUbPBpNDJj-Uy8Wtl0NrQh-tpRJGA4yqLyd53c9LQ1yeEKFzBEKYo/s1600/homakundam_adite.png" /></a></div>
<span style="color: #e06666; font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;">ఓం ఆదితే z నుమన్యస్వ! (యజ్ఞకుండం దక్షిణవైపు , పడమర నుండి తూర్పుకి. 1 )</span><br />
<span style="font-size: xx-small;">అనుమతే z నుమన్యస్వ! </span><span style="font-size: xx-small;">(</span><span style="font-size: xx-small;">యజ్ఞకుండం </span><span style="font-size: xx-small;">పడమర</span><span style="font-size: xx-small;">వైపు ,</span><span style="font-size: xx-small;">దక్షిణ </span><span style="font-size: xx-small;">నుండి ఉత్తరము</span><span style="font-size: xx-small;">కి. 2)</span><br />
<span style="font-size: xx-small;">సరస్వతే z నుమన్యస్వ! </span><span style="font-size: xx-small;">(</span><span style="font-size: xx-small;">యజ్ఞకుండం ఉత్తరము</span><span style="font-size: xx-small;">వైపు, </span><span style="font-size: xx-small;">పడమర నుండి తూర్పుకి. 3)</span><br />
<span style="font-size: xx-small;"> దేవా సవితః ప్రాసావీ! </span><span style="font-size: xx-small;">(</span><span style="font-size: xx-small;">యజ్ఞకుండం </span><span style="font-size: xx-small;">తూర్పు</span><span style="font-size: xx-small;">వైపు, </span><span style="font-size: xx-small;">దక్షిణ </span><span style="font-size: xx-small;">నుండి ఉత్తరము</span><span style="font-size: xx-small;">కి. 4</span><span style="font-size: xx-small;">)</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;"><span style="color: #e06666;">హోమకుండంలో స్వాహా తర్వాత ఉద్ధరిణితో నేయి ఆహుతి ఇవ్వండి .</span></span><br />
<span style="font-size: xx-small;"><span style="color: #e06666;"><br /></span></span>
<span style="font-size: xx-small;"><span style="color: #e06666;"><span style="color: #e06666;">ఈ క్రింద 4 లైన్లు మాత్రం సత్యవాణి గారి వీడియోలో లేవు . </span><a href="https://www.youtube.com/watch?v=HvGXLzdGFJE" target="_blank"><span style="color: blue;">చాగంటి వెంకట్ గారి యూట్యూబ్ సజెషన్స్</span></a><span style="color: #e06666;"> నుంచి కలుపబడ్డాయి. </span></span></span><br />
<span style="font-size: xx-small;"><span style="color: #e06666;"><br /></span></span>
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">భూరగ్నై ప్రాణాయ: </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> భువర్ వాయవే అపానాయ</span><span style="font-size: xx-small;">: </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం </span><span style="font-size: xx-small;">స్వరాదిత్యాయ </span><span style="font-size: xx-small;"> వ్యానాయ</span><span style="font-size: xx-small;">: </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><br />
<span style="font-size: xx-small;">[</span><span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">భూరగ్నై </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> , </span><span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> భువర్ వాయవే </span><span style="font-size: xx-small;"> </span><span style="color: magenta; font-size: xx-small;">స్వాహా , </span><span style="color: magenta; font-size: xx-small;">ఓం </span><span style="font-size: xx-small;">స్వరాదిత్యాయ </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;">] (16 సార్లు మంచిది)</span><br />
<span style="font-size: xx-small;"><br /></span>
<span style="font-size: xx-small;"><span style="color: magenta;">ఓం</span> శ్రీలక్ష్మీనారాయణాభ్యామ్ నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> ఉమామహేశ్వరాభ్యామ్ </span><span style="font-size: xx-small;"> నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> వాణీహిరణ్యగర్భాభ్యం </span><span style="font-size: xx-small;">నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> శచీపురంధర్భ్యామ్ న</span><span style="font-size: xx-small;">మః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> అరుంధతీవసిష్ఠా</span><span style="font-size: xx-small;">భ్యం </span><span style="font-size: xx-small;">నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> శ్రీసీతారామాభ్యమ్ </span><span style="font-size: xx-small;">నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> ఇంద్రదష్టదిక్పాలకాదేవతా</span><span style="font-size: xx-small;">భ్యం </span><span style="font-size: xx-small;">నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఆదిత్యాది నవగ్రహ దేవతాభ్యామ్ నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> సప్తఋషభ్యో </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> కులదేవతాభ్యో నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> గ్రామ</span><span style="font-size: xx-small;">దేవతాభ్యో</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇష్ట</span><span style="font-size: xx-small;">దేవతాభ్యో </span><span style="font-size: xx-small;">నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> స్థాన</span><span style="font-size: xx-small;">దేవతాభ్యో </span><span style="font-size: xx-small;">నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> సర్వేభ్యో బ్రాహ్మణేభ్యో మహా జనేభ్యో </span><span style="font-size: xx-small;">నమః </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇదం నమమ </span><span style="font-size: xx-small;">@ </span><br />
<br />
<br />
<span style="color: #e06666; font-size: xx-small;">హోమకుండంలో స్వాహా తర్వాత ఉద్ధరిణితో నేయి + (సమిధలు, సుగంధ ద్రవ్యాలు , నవధాన్యాలు) ఆహుతి ఇవ్వండి </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> భూర్భువస్వహ ! </span><span style="color: magenta; font-size: xx-small;">ఓం </span><span style="font-size: xx-small;">తత్సవితుఃరేణ్యం! భర్గో దేవస్య ధీమహి ధియో యోన ప్రచోదయాత్ </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="font-size: xx-small;">ఇదం గాయత్రి </span><span style="font-size: xx-small;">ఇదం నమమ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> భూర్భువస్వ! </span><span style="color: magenta; font-size: xx-small;">ఓం </span><span style="font-size: xx-small;">తత్సవితుఃరేణ్యం! భర్గో దేవస్య ధీమహి ధియో యోన ప్రచోదయాత్ </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="font-size: xx-small;">ఇదం గాయ</span><span style="font-size: xx-small;">త్రి </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇదం నమమ </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;"> నమః స్వాహా </span><br />
<span style="color: magenta; font-size: xx-small;">ఓం</span><span style="font-size: xx-small;"> భూర్భువస్వ! </span><span style="color: magenta; font-size: xx-small;">ఓం </span><span style="font-size: xx-small;">తత్సవితుఃరేణ్యం! భర్గో దేవస్య ధీమహి ధియో యోన ప్రచోదయాత్ </span><span style="color: magenta; font-size: xx-small;">స్వాహా </span><span style="font-size: xx-small;"> @ </span><br />
<span style="font-size: xx-small;">ఇదం గాయ</span><span style="font-size: xx-small;">త్రి </span><span style="font-size: xx-small;"> </span><span style="font-size: xx-small;">ఇదం నమమ </span><br />
<div>
<br /></div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-26334518143611041912019-02-07T16:18:00.002+05:302019-02-07T16:22:57.595+05:30Generate Report on Active Users in WhatsApp Group<div dir="ltr" style="text-align: left;" trbidi="on">
Sometimes you feel lots of messaging is happening in your WhatsApp.<br />
<br />
<b>Targeted Audience for this report:</b> Folks familiar with Unix shell programming/Usage<br />
<br />
In case you want to find the most active user in a WhatsApp group on per day basis. Here is one crude way to get such report:<br />
<ul style="text-align: left;">
<li>Export the WhatsApp chat messages to your email/storage (let us say you stored it as <b>what1.txt</b> )</li>
<li>Transfer that file to your deskstop where you have Unix-Shell utilities (like bash, tr, awk, sed, perl, grep , sort, uniq)</li>
<li>Run following shell script on the above <b>what1.txt</b> file</li>
</ul>
<br />
<blockquote class="tr_bq">
grep "/19" <b>what1.txt </b>|<br />
sed -e 's/, .* .m - / /g;s/:.*$//g'|<br />
perl -i -pe 's#(\d*)/(\d*)/(\d*) #$2/$1/$3 #g' |<br />
grep -vE "/18"|<br />
sort |<br />
uniq -c |<br />
tr '/' ' '|<br />
gawk '{ if (old != ($2*100+$3))<br />
{print "\n" $2 "-" $3 "-" $4 "\n";};<br />
old=($2*100+$3);<br />
if ( $1 > 3 )<br />
{print $1 , $5,$6,$7,$8 }}' </blockquote>
<br />
<br />
<ul style="text-align: left;"><ul>
<li> Notes:</li>
<ul>
<li>"/19" : filtering of the year of chats</li>
<li>sed -e 's/, .* .m - / /g;s/:.*$//g' : Remove unwanted message parts</li>
<li> perl -i -pe 's#(\d*)/(\d*)/(\d*) #$2/$1/$3 #g' : change order of day/month/year to month/day/year format</li>
<li>gawk script to find out</li>
<ul>
<li>active users whose posts > 3 ( $1 > 3)</li>
<li>Print headings for day basis</li>
<ul>
<li> if (old != ($2*100+$3))<br /> {print "\n" $2 "-" $3 "-" $4 "\n";};</li>
</ul>
<li>Print message count per user</li>
<ul>
<li> {print $1 , $5,$6,$7,$8 }}</li>
</ul>
</ul>
</ul>
</ul>
</ul>
<div>
<br /></div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com1tag:blogger.com,1999:blog-4167804222089286400.post-83660957990598971922017-10-19T11:46:00.002+05:302017-10-19T11:53:47.023+05:30Error Correction and Detection in old Sanskrit Chants and their Modern day equivalents<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Ancient Vedas and Vedic chants are protected from alteration/error-injection in lyrics by two ways:<br />
<br />
<br />
<ul style="text-align: left;">
<li><b>First protection</b> comes by the way the chants were written. Typically they have chandas which need to be followed. Any change to a vowel/consonant can be detected if some deliberate/accidental changes were made to the chantings.</li>
<ul>
<li><a href="https://en.wikipedia.org/wiki/Sanskrit_prosody">https://en.wikipedia.org/wiki/Sanskrit_prosody</a></li>
<li><a href="https://en.wikipedia.org/wiki/Vedic_meter">https://en.wikipedia.org/wiki/Vedic_meter</a></li>
</ul>
</ul>
<br />
<br />
<br />
<ul style="text-align: left;"><ul>
<li>Modern day mapping (wrt to encoding data only) for these chandas in REST-APIs,Google-Protocol-Buffer, Facebook-Thrift, Sun-RPC, Microsoft-COM, RMI. In these protocols also data is encoded/decoded using certain rules. </li>
</ul>
</ul>
<br />
<br />
<br />
<ul style="text-align: left;"><ul>
<li> Limitation of both chandas and modern-schemes are:</li>
<ul>
<li>Intelligent cracker can inject deliberate data. In chandas it is little easier. </li>
<li>But in modern day communications the data corruption is checked by digests/checksums</li>
</ul>
</ul>
</ul>
<br />
<br />
<br />
<br />
<ul style="text-align: left;">
<li><b>Second protection </b>for (especially on important) chantings, comes by the oral repetition and memorisation of chant's words . Mainly these things were called as <b>Ghana , Jata</b></li>
<ul>
<li><a href="https://en.wikipedia.org/wiki/Vedic_chant">https://en.wikipedia.org/wiki/Vedic_chant</a></li>
</ul>
</ul>
<ul style="text-align: left;"><ul>
<li>All modern day communications will some sort of error-correcting-codes (above vedic correction codes is one of the modern error-correction-codes). </li>
<li><a href="https://en.wikipedia.org/wiki/Error_detection_and_correction">https://en.wikipedia.org/wiki/Error_detection_and_correction</a></li>
</ul>
</ul>
<br />
One advantages of Modern day's data is stored in books, persistent mediums (before send to air, wire,etc) which are cheap and widely available.<br />
<br />
<br />
Disadvantage for Vedic chants is there is no cheap and widely available mediums to store them persistently. Vedic were orally transmitted with very less usage of persistent medium (as only persistent medium were palm-leafs, costly-copper-plates). So vedic students memorised the chantings by this error correcting Ghana/Jata/etc.</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-55034938294548778932016-09-06T00:00:00.000+05:302016-09-06T00:01:01.304+05:305$ TV Remote Control Using Smart Phone<div dir="ltr" style="text-align: left;" trbidi="on">
I have following goals for controlling my Infrared Controlled Appliances:<br />
<ul style="text-align: left;">
<li>Towards the goal of the controlling my TV, Set-Top-Boxes,AC,etc, at lower cost less than 5$ (or even go less in case one has more IR appliances or one has already a raspberry/chip in home for Home Automation/IoT works) per device. I am leaving the cost of central controller, whose cost would be around 9$.</li>
<li>Design/Develop an Open Sourced system like <a href="http://www.lirc.org/" target="_blank">LIRC project</a> that controls the IR appliances using smartphone and WiFi(there by avoiding line of contact issues in IR based remote controls)</li>
<li>Make any old TV(including CRT TV and LED TVs that are not smart TVs,etc) to be controlled from any smart phone</li>
<li>Also ensure that smartphone SHOULD not require IR based emitter (as smartphones with IR transmitter are little costlier)</li>
</ul>
<br />
To achieve these goals, I have designed and tested initial version of my Centralized Home IR Appliances control system that can adapt and control different IR appliances at very cheap cost. The system has following features:<br />
<div>
<ul style="text-align: left;">
<li>It is cheap</li>
<li>It Generic and one can add any number of IR devices</li>
<ul>
<li>All one has to for adding new IR appliance is to add the IR codes in form of property file</li>
</ul>
<li>Works with most of the smartphone (at present only android phones)</li>
<li>Gives generic REST based interfaces to control these appliances (TODO)</li>
<li>Gives generic RBAC control of these IR appliances (TODO)</li>
</ul>
<br />
For implementing initial working prototype, I chose:<br />
<ul style="text-align: left;">
<li>Common costs for all IR appliances in a Home</li>
<ul>
<li><a href="http://docs.getchip.com/chip.html" target="_blank">9$ Chip Computer</a> as central control system where all Smart Phones sends commands . This device is common for all IR appliances in home (that are in same WiFi network). Though I have chose 9$ chip-computer, once can use Raspberry-PI or any computer that run python.</li>
</ul>
</ul>
<blockquote style="border: none; margin: 0 0 0 40px; padding: 0px;">
<blockquote style="border: none; margin: 0 0 0 40px; padding: 0px;">
<br />
<br />
<li style="text-align: left;">2A Power supply for each IR transmitter 2$ (approximate)</li>
</blockquote>
</blockquote>
<ul style="text-align: left;"><ul></ul>
<li>Per IR appliance costs for IR Transmission</li>
<ul>
<li>For each IR appliance, I have put one <a href="http://www.aliexpress.com/item/New-Wireless-module-CH340-NodeMcu-V3-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266-We/32565317233.html?spm=2114.13010608.0.97.bvmLIf" target="_blank">ESP8266 device</a> to send IR commands (which costed me 2.82$). For each IR appliance , we need to this board (in case if both appliances are not in same IR visibility)</li>
<li>I bought one <a href="http://robokits.co.in/sensors/infrared/ir-transmitter?zenid=56nkkg45l7jp0t9bhcf0nd4ig5" target="_blank">IR Transmitter </a>for 1.1$ (approximate) </li>
<li>Power supply for each IR transmitter 1.1$ (approximate)</li>
</ul>
</ul>
<div>
<br /></div>
<div>
At present the system control my TV and set-top-box. In future, I am going add more devices like my LG-Air-Conditioner<br />
<br />
I have put code in 3 projects in Git-Hub:<br />
<br />
<ul style="text-align: left;">
<li>Java based SW application named <a href="https://github.com/GssMahadevan/PhoneRemote-AndroidApp" target="_blank">TVRemote</a> ( Android Application that controls my TV and my set-top-box)</li>
<li>C++ Based embedded Firmware <a href="https://github.com/GssMahadevan/PhoneRemote-ESPIRSender" target="_blank">Infrared-Command-Sender</a> for sending IR based commands from ESP8266 </li>
<li><a href="https://github.com/GssMahadevan/PhoneRemote-Server" target="_blank">Python-Based Centralized Server</a> for controlling all IR appliances running on 9$ Chip computer</li>
</ul>
</div>
</div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com30tag:blogger.com,1999:blog-4167804222089286400.post-65494096529685509102016-08-16T10:28:00.000+05:302016-08-16T10:28:19.325+05:30Programmatic Add and Removal of USB devices in Linux<div dir="ltr" style="text-align: left;" trbidi="on">
As a part of setting up my 9$ CHIP computer, I was running my chip from 500 mA/1000 mA power sources and sometimes the CHIP stops during startup due to high current consumption.<br />
<br />
To stop chip from stopping CHIP during boot I had taken following steps:<br />
<br />
<ol style="text-align: left;">
<li>Ensure the power supply is good and at least 1000 mA</li>
<li>Ensure that CHIP is connected to a LiPo battery, so that battery can supply burst current situations</li>
<li>Added /etc/systemd/system/no-limit.service </li>
<ol>
<li>This is nothing but execution of axp209 --no-limit during CHIP-booting by systemd</li>
</ol>
<li>Stopping USB hubs and USB devices during startup programatically</li>
<ol>
<li>Write systemd scripts for using above script -- TODO</li>
</ol>
</ol>
<div>
<br /></div>
<div>
To achieve the 4th step, one has to programmatically detect USB devices on USB Hub and stop them. Later once startup is finished, start the USB devices programmatically.</div>
<div>
<br /></div>
<div>
So I write one helper script that does this job automatically and this code can be read at <a href="https://github.com/GssMahadevan/chip_scripts" target="_blank">github</a></div>
<br />
<br />
This script might be used for non-USB devices(might need some modifications). Though tried and tested on CHIP, it might run on PCs and other Linux boxes with little modifications. If you have suggestions/modifications, please let me know or update in git.</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-25979307175623721782016-08-15T00:54:00.000+05:302016-08-15T01:12:27.151+05:30Data mining by Python script to get data from 9$ Chip's battery health<div dir="ltr" style="text-align: left;" trbidi="on">
I got finally my 9$ chip boards. Fortunately this boards comes with LiPo battery connector and charging IC (named <b>axp209</b>). One can query this chip's i2c subsystem by i2cget/ic2set commands to get the data about system's battery status like:<br />
<br />
<ul style="text-align: left;">
<li>Battery voltage</li>
<li>Charging current</li>
<li>Battery connected</li>
<li>Battery charging</li>
<li>etc</li>
</ul>
<div>
<a href="https://getchip.com/pages/chip" target="_blank">NTC</a> provides a shell script that fetches above data. But running this script in daemon mode and collecting data from multiple chips (which are in network) would put strain on CPU/battery resources of chip as this script executes almost 50 unix processes for getting 10 sensor values and it also might drain battery (when main power goes off AND monitoring scripts should not drain resources).</div>
<div>
<br /></div>
<div>
As I am going to monitor system using other python scripts as well, I started porting the <b>axp209 </b>script to python script using i2c-tools/py-smbus module. But this porting does not work in python as <b>smbus </b>python-module does not provide forceful read/write of i2c-device addresses (for safe reasons). </div>
<div>
Similar options were provided in command line tools of i2c-tools (like <b>i2cget, i2cset, etc</b>). So I have hacked i2c-modules/py-smbus code and changed/added 3 lines to get similar forceful opening in <b>smbus </b>module of python.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Changed i2c-tools/py-smbus code is at <a href="https://github.com/GssMahadevan/i2c-tools" target="_blank">github</a></div>
<div>
<br /></div>
<div>
Using the above modified smbus module, I wrote python script that collects 9$ chip data in daemon mode. Source code is at <a href="https://github.com/GssMahadevan/chip_axp209_tool" target="_blank">github</a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
This changed i2c-tools/py-smbus code can be used for raspberry pi as well (one has to change i2c-bus and device addresses accordingly)</div>
<div>
<br /></div>
<div>
<b>Warning: </b>Developer should be aware that forceful read/write of i2c devices can lead to dangerous consequences (if done unknowingly/inappropriately/etc). So developer is responsible for using this changed code :)</div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-63095195665320362732016-07-13T22:54:00.000+05:302016-07-13T23:02:51.128+05:30Get Current Time from Bed while sleeping (without seeing Watch/Phone) by simple Hand waving<div dir="ltr" style="text-align: left;" trbidi="on">
As a part of Home Automation jobs, one of my use case is:<br />
<br />
<br />
<ul style="text-align: left;">
<li>Know the current time in night (in pitch dark room)</li>
<ul>
<li>with following requirements</li>
<ul>
<li>I am still sleeping </li>
<li>I don't want to open my eyes for seeing time on watch/phone</li>
<li>My phone or watch are 4 meters from bed, I don't want to go to that place to pickup phone/watch</li>
</ul>
</ul>
</ul>
<div>
So thought that let me use latest hot/cheap wifi-chip ESP8266 (NodeMCU version) to do this job.</div>
<div>
<br /></div>
<div>
I used a Passive Infrared Sensor (PIR - ~1$) , ESP8226-NodeMCU-Board ( ~4$) and Android phone (~your capacity) for this purpose.</div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>PIR </li>
<ul>
<li>Will sense any movement. I had kept this sensor at back of bed. If I wave my hand near PIR sensor, it will sense and give input to ESP8266 Chip</li>
</ul>
<li>ESP8266</li>
<ul>
<li>This will work as WiFi Access Point for Android mobile</li>
<li>Runs embedded firmware to sense the PIR reading & debouncing the PIR signal</li>
<li>Sends a HTTP call to Android Phone for speaking the time </li>
</ul>
<li>Android Phone</li>
<ul>
<li>It will connect to WiFi-AP (from above ESP8266 )</li>
<li>It works as HTTP-Server for requests from ESP8266</li>
<li>It will run a Speaker service for any incoming requests from ESP8266</li>
<li>Ensure that works when phone in deep sleep mode</li>
</ul>
</ul>
<div>
<br /></div>
</div>
<div>
I have finished 3rd version of the code (FW at ESP8266 & Android-App in Smartphone). I will put code and pictures in the weekend.</div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-8204221742542638672016-07-07T17:37:00.000+05:302016-07-07T17:52:53.028+05:309$ Chip Computer is posted from hongkong<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLyeanZJ0w89GvqbfRmeUeAIG9xufy1fRUHGYABTNoOkkuFA9E5nugFx5m99txGBs8Hme3lcd5b86O5LK95IDU_U5lOcrUcOv_nIrfkAJJEb2Qip-fc1GUrm61Qquvh1TIDpOQphkGoPpZ/s1600/chip_usbconnections.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLyeanZJ0w89GvqbfRmeUeAIG9xufy1fRUHGYABTNoOkkuFA9E5nugFx5m99txGBs8Hme3lcd5b86O5LK95IDU_U5lOcrUcOv_nIrfkAJJEb2Qip-fc1GUrm61Qquvh1TIDpOQphkGoPpZ/s320/chip_usbconnections.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
Finally my 9$ computer chip-board is dispatched (after whole manufacturing and testing is finished by the <a href="https://getchip.com/pages/chip" target="_blank">chip manufacturer</a>) today from Hongkong. It might arrive after 1 or 2 weeks.<br />
<br />
<h2 style="text-align: left;">
What is this 9$ Computer from <a href="http://nextthing.co/">Nextthing.co</a></h2>
<div>
<br /></div>
<div>
It has following important specs (I am putting my comments on w.r.t. <a href="https://www.raspberrypi.org/" target="_blank">Raspberry computer</a>):</div>
<div>
<ul style="text-align: left;">
<li>9$ System-On-Chip board9Soc Board) that runs most of the modern Linux OS ditsributions -- Raspberry costs 35$</li>
<li>It is powered by 1GHz ARM processor</li>
<li>512MB RAM</li>
<li>4GB Flash Space (which can be used as booting medium for OS,applications, etc) -- <a href="https://www.raspberrypi.org/" target="_blank">Raspberry </a>does not have it, we need to use SD-card</li>
<li>WiFi -- Only Raspberry 3 has WiFi</li>
<li>Bluetooth 4.0 -- Only Raspberry 3 has Bluetooth 4.1</li>
<li>GUI</li>
<ul>
<li>HDMI port -- can be connected to any modern TV/monitor</li>
<li>RCA connector -- can be connected to any old TV</li>
</ul>
<li>Power charging processor -- Raspberry does not have this vital part for standalone IoT system</li>
<ul>
<li>Which can take power from 5V and supply processor</li>
<li>Concurrently charge a Li-Po battery while taking power from 5V power supply</li>
<li>If power supply goes off, run the CPU with Li-Po battery without a reboot</li>
</ul>
<li>USB ports </li>
<ul>
<li>Connect to USB key boards and USB mouse.</li>
<li>Also connect to USB flash disk and portable Hard Drives (please keep in mind to not to excess 500 mA when powered from a USB hub)</li>
</ul>
<li>By default comes with Linux-OS (without any OS loading from user part) -- on raspberry we need to load OS</li>
<li>Has power switch -- raspberry does not have power switch :(</li>
<li>Power from external Li-PO battery</li>
<li>Has a camera interface. USB cameras are also can be connected</li>
<li>General Purpose IO pins (GPIO) for doing IoT stuff</li>
<li>Good development echo system</li>
<li>Open sourced (mostly) drivers and Linux kernel</li>
</ul>
</div>
<h2 style="text-align: left;">
What way it is useful to you</h2>
<div>
<ul style="text-align: left;">
<li>Use it to convert your HDMI/RCA/CRT-TV as Smart-TV</li>
<li>Run as a computer and connect to your TV monitor</li>
<ul>
<li>Browse Internet without starting Laptop/PC on your TV</li>
</ul>
<li>Use it for Internet of the Things (IoT)</li>
<ul>
<li>Killer point is it has Power supply unit that allows it to be powered from a Li-PO battery</li>
</ul>
<li>Use it for educating your kid on Linux (just like <a href="http://raspberrypi.org/" target="_blank">Raspberry</a> does )</li>
<li>Use it for reading e-books from TV monitor (though it is not recommended due to eye-strain)</li>
<li>Use it for streaming Video from your Laptop/PC to TV</li>
<li>Possibilities are limitless -- only your imagination can stop :)</li>
</ul>
</div>
<h2 style="text-align: left;">
Documentation and Links</h2>
<div>
<ul style="text-align: left;">
<li><a href="https://getchip.com/pages/chip" target="_blank">Basic Info</a></li>
<li><a href="http://docs.getchip.com/chip.html#introduction" target="_blank">Introduction</a></li>
<li><a href="https://getchip.com/cart" target="_blank">Order at</a></li>
</ul>
<div>
<br /></div>
</div>
<div>
So please use this super affordable chip that can do a lot (based on your needs and imagination) for you.</div>
<div>
<br /></div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-5963214878866639302015-07-18T08:15:00.001+05:302015-07-18T08:15:31.425+05:30Finally Made Fly Snap Mobile to connect to ADB shell using USB cable<div dir="ltr" style="text-align: left;" trbidi="on">
As part of my IoT/Home-Automation/Home-Monitoring exercises, I was exploring various low cost Android phones that do following:<br />
<br />
<ul style="text-align: left;">
<li>GPS monitoring -- Tracking the Cars/kids/etc</li>
<li>Video Camera(s) -- for Video monitoring</li>
<li>BLE -- For any IoT</li>
<li>Have Android 4.4.2 and above</li>
<li>Have minimum 2 ARM cores and 512 MB Ram</li>
</ul>
<div>
I found/bought following Android phones are reasonable VFM for these purposes:</div>
<div>
<ul style="text-align: left;">
<li>BQ S38 ( 50$ ) : 2-core-Cortex-A7, 512MB Ram, 4" IPS, GPS, No BLE , Android 4.4.2</li>
<li>Fly Snap ( 50$) : 4-core-SC7731, 512MB Ram, 4", GPS, No BLE , Android 4.4.2</li>
</ul>
<div>
Though I was able to connect BQ S38 via ADB from my Fedora-15, I am not able to connect the Fly-Snap to ADB-server. It seems there are some drivers for Windows at these links:</div>
</div>
<div>
<ul style="text-align: left;">
<li><a href="http://symptomdb.com/pc-suite-fly-snap-adb-usb-driver-for-windows-xp-vista-win7-win8/pc-suite-driver/2015/03/03/" target="_blank">Link1</a></li>
<li><a href="http://mobileresources.biz/1877-fly-snap-android-usb-driver-adb-latest-version.html" target="_blank">Link2</a></li>
</ul>
</div>
<div>
I could not use them, as I am not using windows and using Fedora-15 :(</div>
<div>
<br /></div>
<div>
I added following lines to /etc/udev/rules.d/52-android.rules:</div>
<div>
<div>
<i><span style="font-size: xx-small;">SUBSYSTEM=="usb", SYSFS{idVendor}=="1782", MODE="0666"</span></i></div>
<div>
<i><span style="font-size: xx-small;">SUBSYSTEM=="usb", ATTR{idVendor}=="1782" ATTR{idVendor}=="4012" MODE="0666", OWNER="yyyy"</span></i></div>
</div>
<div>
<br /></div>
<div>
1782 and 4012 are takes from command 'dmesg'. Then as root, I issued 'udevadm control --reload-rules'.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
But I was not able to connect Fly-Snap. So as another step, I added following line to ~/.android/adb_usb.ini</div>
<div>
<span style="font-size: xx-small;">0x1782</span></div>
<div>
<span style="font-size: xx-small;"><br /></span></div>
<div>
But Then I killed adb-server using 'adb kill-server' and 'adb start-server'. Now I am able to my Fly-Snap device.</div>
<div>
<span style="font-size: xx-small;"><br /></span></div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-1370966739240811252015-03-01T02:28:00.002+05:302015-03-01T02:39:21.282+05:30Launchpad can survive on 1000mAh LiPo battery for 1.5 years with Radio Link to RPi board<div dir="ltr" style="text-align: left;" trbidi="on">
So after last few days of work on data serialization across Rpi & LaunchPad (MSP430G2553), I integrated the Serialization library that sends couple of 32-bit /16-bit integers from MCU to RPi via NRF24L01+ chip.<br />
<br />
Initially MCU was raking around 230uA current . After some tweaking, it came down 130uA .<br />
<br />
As final optimization (for this round of testing), I shutdown the NRF24L01+ chip till next time radio-packet-transmission. This step lead to MCU current consumption of 25uA . So in this period (approximate 12 seconds) MCU is in LPM3 sleep-state and radio is in shutdown-state. When MCU wakes-up, it activates NRF chip again & sends radio-packets, during this tx-period, it takes around 400uA for a breif period.<br />
<br />
<br />
So taking on average current consumption of 50uA (including radio-packet-tx current bump), using <a href="http://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-battery-life" target="_blank"><b><span style="color: blue;">battery life calculator</span></b></a> for 1000mAh LiPO battery's life is around 14000hours (583 days). Not bad for a starter project :)<br />
<br />
I have just documented the initial video for the same at <b><span style="color: blue;"><a href="https://www.youtube.com/watch?v=oc-KQMoD41U" target="_blank"><span style="color: blue;">youtube</span></a> </span></b>.<br />
<br />
<br />
I will be submitting the code in github in coming days after stabilization and cleanups.<br />
I will do same test for MSP430F5969 (FRAM board with Super capacitor on it).</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-12970542463976203262015-02-27T01:11:00.001+05:302015-02-27T01:20:30.816+05:30Finally able to make Raspberry to talk to MSP430 via NRF24L01+<div dir="ltr" style="text-align: left;" trbidi="on">
As a part of my future IoT projects, I was trying to create reusable libraries and utilities for Arduino, MSP430, PIC, Freescale and STM32 processors using Nordic NRF24L01+ wireless transceiver chip. Ultimate goal is to make cheap sensors (that cost less than 7 to10$ including sensors & batteries) that could be deployed in any IoT, HomeAutomation, etc projects. I was planning to use Raspberry (or any cheap Linux board or cheap Android sticks -- future goal) as my central observer of these cheap nodes.<br />
<br />
Here are some major tasks that were necessary (apart from HW):<br />
<br />
<ul style="text-align: left;">
<li>Circuit diagrams that make connectivity</li>
<li>FW for Linux box and MCUs</li>
<li>A Data Serialization library for MCUs and Linux box</li>
</ul>
<br />
After lots of trials and tribulations (with limited amount free time after my office/home jobs), I was able to talk Raspberry with following devices (in initial setup scenarios):<br />
<ul style="text-align: left;">
<li>MSP430 LaunchPad with MSP430G2553</li>
<li>MSP430FR5969 LaunchPad</li>
</ul>
<div>
Idea is to make Raspberry as to receive the radio packets from all sensors ( MSP430s, Arduinos, PICs,etc) and this Raspberry connected to network via LAN and WiFi.</div>
<div>
<br /></div>
<div>
As a next step for proper communication along these wide variety of MCUs with different endianness, I need to create small library in C/C++ for packing all types integers (uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t ) and chars. As I could not get this from web (with whatever search strings I gave), so I created small library for doing this job. At present this works on Linux (so that Raspberry can understand what wireless nodes are sending), MSP430G2553 and MSP430FR5969. All UT was done for most generic corner cases, I shall be using this for my home IoT framework.</div>
<div>
<br /></div>
<div>
Once I finish more tests and my system, I will publish code at github:</div>
<div>
<ul style="text-align: left;">
<li>Raspberry to MSP430G2553 </li>
<li>Raspberry to MSP430FR5969</li>
<li>Generic C based Data-Serialization library for Linux/MCUs</li>
</ul>
</div>
<div>
I will also publish circuit diagrams for:</div>
<div>
<ul>
<li>Raspberry to NRF24L01+</li>
<li>MSP430FR5969 to NRF24L01+</li>
<li>MSP430G2553 to NRF24L01+</li>
</ul>
</div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com2tag:blogger.com,1999:blog-4167804222089286400.post-18690859925019483882014-09-18T23:19:00.001+05:302014-09-18T23:38:37.125+05:30AWM002 Video capturing via webcam<div dir="ltr" style="text-align: left;" trbidi="on">
I was planning to use the AWM002 to control access to my home main door. Previously I was using Raspberry for doing same. As Raspberry cost is around 35$ and AWM002 cost is around 11$ (for 10 boards), I wanted to port my application to AWM002 board.<br />
<br />
<br />
After booting up AWM002 with own OpenWRT kernel, I wanted to use it as video-cam monitor at door entrance. Initially I planned to use mjpg-streamer for OpenWRT. But mjpg-streamer is sending 0-size image on my system.<br />
<br />
To isolate issue (whether it is in mjpg-streamer or my usb-webcam), I compiled <span style="background-color: yellow;"><a href="http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome">motion</a> </span> and deployed on AWM002 board. Now I can see the video perfectly on lan/smartphone via motion-program's-http-URL. I had to tweek following options of motion:<br />
<ul style="text-align: left;">
<li>stream_localhost off </li>
<ul>
<li>So that one can access camera from PC/Smartphone</li>
</ul>
</ul>
<ul style="text-align: left;">
<li></li>
<li>output_pictures off</li>
<li>output_all off </li>
<li>output_normal off </li>
<li>output_motion off </li>
<ul>
<li>All of above options for disabling the jpeg file generation</li>
</ul>
</ul>
<div>
<br /></div>
<div>
Now the AWM002 is running at 18% CPU loading (so enough juice is left for other tasks) with 320x240 resolution. CPU usage drops to 8% when, I make the resolution to 160x128.<br />
<br />
I need to bother about CPU load as CPU load has direct effect on battery usage :)</div>
<br />
Now steps are to port my python program (on Raspberry) to AWM002.</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-14999047582693028832014-09-15T10:48:00.001+05:302014-09-15T14:37:44.471+05:30Able to deploy POCO framework on OpneWRT on AWM002<div dir="ltr" style="text-align: left;" trbidi="on">
After successfully installing the OpenWRT linux kernel on AWM002, I configured the OpenWRT build system to have following functionality:<br />
<br />
<ul style="text-align: left;">
<li>GPIO functionality exposed via Linux Kernel <a href="https://www.kernel.org/doc/Documentation/gpio/sysfs.txt" target="_blank">GPIO export route</a>.</li>
<li>Configured OpenWRT build system to include <a href="http://pocoproject.org/" target="_blank">POCO C++ framework</a> </li>
<ul>
<li>Create an directory-entry in OpenWRT build root package/libs/poco/</li>
<li>Copied all files (actually 2 files) from <a href="https://dev.openwrt.org/browser/packages/libs/poco" target="_blank">OpenWRT package repo</a></li>
</ul>
<li>Configured to Linux menuconfg to include to build following libraries</li>
<ul>
<li>librt</li>
<li>libstdc++</li>
<li>libPoco*</li>
</ul>
<li>My kernel <a href="https://dl.dropboxusercontent.com/u/97763854/config_openwrt_awm002" target="_blank">config file</a></li>
</ul>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-79141391681831190912014-09-12T10:40:00.001+05:302014-09-15T14:38:04.523+05:30AWM002 booting OpenWRT kernel via tfftp<div dir="ltr" style="text-align: left;" trbidi="on">
After successfully made the <a href="https://www.indiegogo.com/projects/asiarf-tiny-linux-computer-with-wifi-and-ethernet/x/8060697#home" target="_blank">AWM002</a> up, I want to load OpenWRT kernel on the same module.<br />
<br />
To do that we need to do following:<br />
<br />
<ul style="text-align: left;"><ul>
<li>Ensure that you have setup LAN and connected to PC </li>
<li>On PC tftp server shouble be running at port 69</li>
<li>Ensure that you load your OpenWRT kernel image in root directory (let us say your image name is <span style="color: blue;"><b>'/linux_sep_11'</b></span></li>
<li><span style="color: blue;"><b><span style="color: black; font-weight: normal;">You may use OpenWRT kernel from following<span style="background-color: lime;"> <a href="http://downloads.openwrt.org/snapshots/trunk/ramips/openwrt-ramips-rt305x-awm002-evb-8M-squashfs-sysupgrade.bin" target="_blank">link</a></span></span></b></span></li>
<li>If you have any firewall, disable it for the time being.</li>
<ul>
<li>In Fedora, you can do that by <span style="color: magenta;">'service iptables stop'</span></li>
</ul>
</ul>
<li><span style="color: magenta;"><span style="color: black;">Ensure that you have setup serial cable and connected to PC . Ensure that you open a serial terminal and be sure that you have connected to device</span></span></li>
<li><span style="color: magenta;"><span style="color: black;">Now power cycle the board</span></span></li>
<li><span style="color: black;">At the same time, press 4 in serial terminal. This should lead to U-Boot prompt </span><span style="color: #cc0000;">'RT5350 # '</span></li>
<li><span style="color: magenta;"><span style="color: black;"> Issue following command to see environment:</span></span></li>
<ul>
<li><span style="color: magenta;"><span style="color: #cc0000;">RT5350 #<span style="background-color: yellow;"> </span></span><span style="background-color: yellow;">printenv</span></span></li>
<ul>
<li>bootcmd=tftp</li>
<li>bootdelay=5</li>
<li>baudrate=57600</li>
<li>ethaddr="00:AA:BB:CC:DD:10"</li>
<li>stdin=serial</li>
<li>stdout=serial</li>
<li>stderr=serial</li>
<li><span style="background-color: lime;">ipaddr=10.10.10.254</span> <== this might be different like 192.168.x.x (module ip)</li>
<li><span style="background-color: lime;">serverip=10.10.10.1 </span> <== this might be different like 192.168.x.x (PC ip)</li>
</ul>
<li></li>
<li>Now change '<span style="color: blue;">ipaddr</span>' and '<span style="color: blue;">serverip</span>' to reflect above values, by following UBoot commands</li>
<ul>
<li><span style="background-color: yellow;"><span style="color: magenta;">setenv ipaddr 10.10.10.254</span> </span></li>
<li><span style="background-color: yellow; color: magenta;">setenv serverip 10.10.10.1</span></li>
</ul>
<li>Also add extra (undocumented help option ) like (this will help to point to <span style="color: blue;"><b>'/linux_sep_11'</b></span>, otherwise tftp booting will point to 'test.bin' file ). OTOH, you can rename your <b style="color: blue;">'/linux_sep_11' </b>to test.bin (to avoid this extra bootfile setting)</li>
<ul>
<li><span style="background-color: yellow; color: magenta;">setenv bootfile <b>/linux_sep_11</b></span></li>
<li>printenv command should show all changed values</li>
<li>Now save values to flash by<span style="background-color: yellow;"> '<span style="color: magenta;">saveenv</span>'</span> command</li>
<li>Ensure that these values are persistent (check by using 'printenv' command</li>
</ul>
</ul>
<li>Now power-cycle and press 2 (on serial console to get U-Boot access) to get image from tftp-server.It will ask for confirmation to overwrite flash. Say yes & finally you see OpenWRT booting up.</li>
<li><br /></li>
<li><span style="background-color: red;">WARNING: </span> Please keep in mind that you may end bricking up your module in doing these activities and I am no way responsible for that :) . BTW, with these steps on my environment, I have not bricked my AWM002 module</li>
</ul>
<ul style="text-align: left;"><ul></ul>
</ul>
<ul style="text-align: left;"><ul></ul>
</ul>
<ul style="text-align: left;"><ul></ul>
</ul>
<ul style="text-align: left;"><ul></ul>
</ul>
<ul style="text-align: left;"><ul></ul>
</ul>
<ul style="text-align: left;"><ul></ul>
</ul>
<ul style="text-align: left;"><ul></ul>
</ul>
<ul style="text-align: left;"><ul></ul>
</ul>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-8576482579627854382014-09-10T22:48:00.000+05:302014-09-15T14:38:31.971+05:30AWM002 serial bootup output<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<ul style="text-align: left;">
<li>Ensure that you have <b>cutecom </b>is installed for GUI-based terminal viewer.</li>
<li>Configure for 57600 baud for Serial port parameter and chose appropriate serial port (some thing like /dev/ttyUSB0 -- see dmesg output)</li>
<li>Power up AWM002 module</li>
</ul>
</div>
<br />
<br />
<li>You can see following output from serial console</li>
<br />
<div>
<br /></div>
<div>
<pre><span class="inner-pre" style="color: blue; font-size: 10px;">
U-Boot 1.1.3 (Jul 29 2013 - 10:29:51)
Board: Ralink APS
oC DRAM: 32 MB
relocate_code Pointer at: 81fb4000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 42
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
raspi_read: from:30000 len:1000
.*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 4.1.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping
DRAM_TYPE: SDRAM
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Jul 29 2013 Time:10:29:51
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384
##### The CPU freq = 360 MHZ ####
estimate memory size =32 Mbytes
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
\0x08\0x08\0x08 4
\0x08\0x08\0x08 3
\0x08\0x08\0x08 2
\0x08\0x08\0x08 1
\0x08\0x08\0x08 0
3: System Boot system code via Flash.
## Booti
ng image at bc050000 ...
raspi_read: from:50000 len:40
. Image Name: Linux Kernel Image
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3830574 Bytes = 3.7 MB
Load Address: 80000000
Entry Point: 802cf000
raspi_read: from:50040 len:3a732e
..........................
................................. Verifying Checksum ...
OK
Uncompressing Kernel Image ...
OK
No initrd
## Transferring control to Linux (at address 802cf
000) ...
## Giving linux memsize in MB, 32
Starting kernel ...
LINUX started...
THIS IS ASIC
Linux version 2.6.21 (ray@asiarf-Aspire-S3) (gcc version 3.4.2) #334 Tue Nov 26 14:28:26 CST 2013
The CPU frequency set to 360 MHz
CPU revision is: 0001964c
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists. Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 40808008, status = 11000000
PID hash table entries: 128 (order: 7, 512 bytes)
calculating r4koff... 000000c8(200)
CPU frequency 0.05 MHz
Using 0.050 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 26652k/32768k available (2198k kernel code, 6116k reserved, 673k data, 2856k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol fa
mily 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
deice id : c2 20 17 c2 20 (2017c220)
MX25L6405D(c2 2017c220) (8192 Kbytes)
mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 5 MTD partitions on "raspi":
0x00000000-0x00800000 : "ALL"
0x00000000-0x00030000 : "Bootloader"
0x00030000-0x00040000 : "Config"
Time: MIPS clocksource has been installed.
0x00040000-0x00050000 : "Factory"
0x00050000-0x01000000 : "Kernel"
mtd: partition "Kernel" extends beyond the end of device "raspi" -- size truncated to 0x7b0000
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
detected lzma initramfs
detected lzma initramfs
initramfs: LZMA lc=3,lp=0,pb=2,dictSize=1048576,origSize=12314112
LZMA initramfs by Ming-Ching Tiew <mctiew yahoo.com="">.............
............................................................
............................................................
.......................................................RT3xxx E
HCI/OHCI init.
fuse init (API version 7.8)
io scheduler noop registered (default)
Ralink gpio driver initialized
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.9 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
rdm_major = 253
Ralink APSoC Ethernet Driver Initilization. v2.1 256 rx/tx descriptors allocated, mtu = 1500!
MAC_ADRH -- : 0x0000000c
MAC_ADRL -- : 0x43305077
PROC INIT OK!
PPP generic driver version 2.4.2
PPP BSD Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.17
PPTP driver version 0.8.1
block2mtd: version $Revision: 1.1.1.1 $
rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller
rt3xxx-ohci
rt3xxx-ohci: new USB bus registered, assigned bus number 2
rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
nf_conntrack version 0.5.0 (256 buckets, 2048 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb candelatech.com="">
All bugs added by David S. Miller <davem redhat.com="">
Freeing unused kernel memory: 2856k freed
init started: BusyB
ox v1.12.1 (2013-10-15 14:30Algorithmics/MIPS FPU Emulator v1.5
:14 CST)
starting pid 629, tty '': '/etc_ro/rcS'
devpts: called with bogus options
Welcome to
_______ _______ ___ __ ____ _ _ ___
| ___ \| __ || | |__|| \ | || | / /
| |___| || |__| || |__ __ | \| || |/ /
| _ /| _ || || || |\ || \
|__| \__\|__| |__||______||__||_| \____||_|\___\
\0x09 =System Architecture Department=
starting pid 638, tty '/dev/ttyS1': '/bin/sh'
BusyBox v1.12.1 (2013-10-15 14:30:14 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
# ralink_gpio: sending a SIGUSR1 to process 633
internet.sh
Password for 'admin' changed
rmmod: ralink_wdt: No such file or directory
rmmod: cls: No such file or directory
rmmod: hw_nat: No such file or directory
rmmod: raeth: No such file or directory
insmod: bridge.ko: module not found
insmod: mii.ko: module not found
insmod: raeth.ko: module not found
##### disable 1st wireless interface #####
rmmod: rt2860v2_a
p_net: No such file or directory
rmmod: rt2860v2_ap: No such file or directory
rmmod: rt2860v2_ap_util: No such file or directory
rt2860v2_ap: module license 'unspecified' taints kernel.
==
= pAd = c0002000, size = 805120 ===
<-- --="" -="" -f="" -t="" 00="" 01="" 0="" 0x0000000c="" 0x1300="00064380" 0x43305077="" 0x8913="" 0x8914="" 1.="" 1="" 2.="" 20mhz.l="" 2="" 3.="" 3100="" 3900="" 8021q.ko:="" 8021q:="" :="" a0493000="" address="" argument="" assign="" bbp="" be="" blinks="" br0:="" brctl:="" bridge="" bssid="00:0c:43:30:50:90" can="" cannot="" change="" changed="" config="" desc="" detected="" dev_set_promisc="" device="" directory="" do="" does="" done.="" entered="" entering="" error="" esw="" etc="" eth2.1:="" eth2.1="" eth2="" exist="" failed:="" file="" filter="" for="" forwarding="" found="" ifconfig:="" initialize="" insmod:="" insmod="" inva="" invalid="" ioctl="" iptable="" iptables="" is="" kernel="" key1str="" key2str="" key3str="" key4str="" key="" killall:="" killed="" learning="" led="13," length="" lid="" link="" mac_adrh="" mac_adrl="" main="" mangle="" master="" mcs="" mode="" module="" need="" needs="" nf_con="" nf_conntrack_proto_gre:="" nf_nat_pptp:="" nf_nat_proto_gre:="" no="" not="" ntrack_pptp:="" off="4000," offset="70," on="1," or="" partition="" perhaps="" ph="" phy="" phy_rx_ring="" phy_tx_ring="0x016f2000," port="" process="" promiscuous="" propagating="" r4="" ra0="" radvd.conf="" ralink="" reg="" rem:="" remove="" requested="" reset="1," rm:="" rmmod:="" rt28xx_init="" rt305x_esw:="" rtmpallocadapterblock="" rtmpalloctxrxringmemory="" rx="" rx_ring0="0xa16f3000" s="" set:="" set="ff" size="2048" stat="" state="" status="" such="" switch="" sync="" t="" table="" time="4000" to="" topology="" tx_ring="0xa16f2000" type="" udhcpd:="" uity="" upgraded.="" us="" v1.3.5:="" value="ffff506f" vconfig:="" vlan="" write="" x_esw:="" y="" you="" your="">/dev/null 2>&1
iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -F macipport_filter 1>/dev/null 2>&1
iptables -D FORWARD -j web_filter 1>/dev/null 2>&1
iptables -F web_filter 1>/dev/null 2>&1
iptables -D FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -F malicious_filter 1>/dev/null 2>&1
iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -F malicious_input_filter 1>/dev/null 2>&1
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t filter -N web_filter 1>/dev/null 2>&1
iptables -t filter -N macipport_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_filter 1>/dev/null 2>&1
iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -N synflood_input_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1
iptables -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/null 2>&1
iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1
iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_filter 1>/dev/null 2>&1
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1
iptables -A malicious_input_filter -i eth2.2 -p tcp --dport 80 -j DROP
/bin/super_dmz -f
sh: /bin/super_dmz: not found
iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1
iptables -t nat -F port_forward 1>/dev/null 2>&1; iptabl
es -t nat -X port_forward 1>/dev/null 2>&1
iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1
iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ 1>/dev/null 2>&1
cat /proc/sys/net/netfilter/nf_conntrack_udp_timeout > /var/.udpbackup
echo 0 > /proc/sys/net/netfilter/nf_conntrack_udp_timeout
cat /var/.udpbackup > /proc/sys/net/netfilter/nf_conntrack_udp_timeout; rm -f /var/.udpbackup
cat /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established > /var/.tcpbackup
echo 0 > /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established
cat /var/.tcpbackup > /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established; rm -f /var/.tcpbackup
iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1
iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1
ntp.sh
ddns.sh
kill -9 `cat /var/run/wscd.pid.ra0`
cat: can't open '/var/run/wscd.pid.ra0': No such file or directory
kill: you need to specify whom to kill
iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1
route delete 239.255.255.250 1>/dev/null 2>&1
killall -q klogd
killall -q syslogd
syslogd -C8 1>/dev/null
2>&1
klogd 1>/dev/null 2>&1
killall -q zebra
killall -q ripd
echo 0 > /proc/sys/net/ipv6/conf/all/forwarding
webs: Listening for HTTP requests at address 10.10.10.254
fetchSmbConfig: No such file or directory
killall -q -USR1 udhcpd
<!------><!------></--></davem></greearb></mctiew><!-----><!-----></-></span></pre>
<!--EndFragment--></div>
<br />
<br /></div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-75444225963746915452014-09-10T22:12:00.003+05:302014-09-15T14:38:54.276+05:30Setting up busybox for AWM002 board<div dir="ltr" style="text-align: left;" trbidi="on">
After successfully booting up AWM002 module, I found that busybox shell provided in default FW is very old and restricted one.<br />
<br />
<br />
<b><span style="color: blue; font-size: x-small;"># /bin/ls --help</span></b><br />
<span style="font-size: x-small;">BusyBox v1.12.1 (2013-10-15 14:30:14 CST) multi-call binary</span><br />
<span style="font-size: x-small;"><br />
</span> <span style="font-size: x-small;">Usage: ls [-1AaCdilnsTwxk] [filenames...]</span><br />
<div>
<br /></div>
<div>
So I tried to upload latest busybox from <a href="http://busybox.net/downloads/binaries/latest/busybox-mipsel" target="_blank">busybox-site</a>. After downloading the busybox mips-binary, we need to upload to AWM002 module. On stock FW, no FTP/SSH services are available. So we need to setup AWM002 to have FTP server (from default </div>
<div>
<br /></div>
<div>
<span style="color: blue;"># <b><span style="font-size: x-small;">/bin/proftpd.sh server awm002 10.10.10.254 21 5</span></b></span></div>
<div>
<b><span style="font-size: x-small;">...</span></b></div>
<div>
<span style="font-size: x-small;">Some iptable 'raw' module errors (ignore them for the time being)</span></div>
<div>
<span style="font-size: x-small;"><br />
</span></div>
<div>
<span style="color: blue;"><span style="font-size: x-small;"># </span><b><span style="font-size: x-small;">/bin/proftpd</span></b></span></div>
<div>
<span style="font-size: x-small;">Above command should start proftpd on AWM002 module</span></div>
<div>
<span style="font-size: x-small;"><br />
</span></div>
<div>
<span style="font-family: inherit; font-size: x-small;"><br />
</span></div>
<div>
<span style="font-family: inherit;">From PC, FTP the MIPS-binary </span><b>busybox-mipsel </b>(in binary mode) to /tmp (for example)</div>
<div>
<b><span style="font-size: x-small;"><br />
</span></b></div>
<div>
<span style="font-size: x-small;">Now log into AWM002 module by telnet/serial cable and issue following commands:</span></div>
<div>
<span style="font-size: x-small;"><br />
</span></div>
<div>
<span style="color: blue; font-size: x-small;"><b># cd /tmp</b></span></div>
<div>
<span style="color: blue; font-size: x-small;"><b># chmod 755 busybox-mipsel</b></span></div>
<div>
<span style="color: blue; font-size: x-small;"><b># mkdir /root</b></span></div>
<div>
<span style="color: blue; font-size: x-small;"><b># mkdir /root/bin</b></span></div>
<div>
<span style="color: blue; font-size: x-small;"><b># /tmp/busybox-mipsel --install -s /root/bin </b></span></div>
<div>
<span style="font-size: x-small;"><br />
</span></div>
<div>
Copy following contents to<span style="color: magenta;"> /.profile</span></div>
<div>
<span style="color: purple; font-size: x-small;"><b>export PATH=/root/bin:$PATH</b></span></div>
<div>
<span style="font-size: x-small;"><br />
</span></div>
<div>
Log off from AWM002 and login & you will have more latest & unrestricted busybox binary on PATH will all commands. </div>
<div>
<span style="font-size: x-small;"><br />
</span></div>
<div>
<span style="font-size: x-small;"><b><span style="color: magenta;">Note: Keep in mind that /.profile, /root/ and /root/bin and trasient & they will go off once you reboot module</span>
</b></span></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-35445231870277559932014-09-10T20:49:00.002+05:302014-09-11T07:50:48.069+05:30Starting the 11$ WiFi AWM002 OpenWRT board<div dir="ltr" style="text-align: left;" trbidi="on">
Finally I got my 11$ WiFi OpenWRT board ( <a href="https://www.indiegogo.com/projects/asiarf-tiny-linux-computer-with-wifi-and-ethernet/x/8060697#home" style="background-color: lime;" target="_blank">AWM002</a> ) with largeboard and Tiny Boards.<br />
<br />
So here is first boot up of the AWM002 module with <span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px; text-align: -webkit-auto;">Large Base Board.</span><br />
<span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px; text-align: -webkit-auto;"><br /></span>
<br />
<h3 style="text-align: left;">
<span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px; text-align: -webkit-auto;">Hardware needed</span></h3>
<div style="text-align: -webkit-auto;">
</div>
<ul style="text-align: left;">
<li><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px;">Large Base Board & AWM002 module</span></li>
<li><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px;">Decent 12V supply</span></li>
<li><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px;">USB cable to connect to PC (optional: for serial port access to AWM002 module)</span></li>
<ul>
<li><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px;">Not optional, in case you do not connect AWM002 to your LAN </span></li>
</ul>
</ul>
<br />
<h3 style="text-align: left;">
<span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px; text-align: -webkit-auto;">Setup (HW)</span></h3>
<div>
<ul style="text-align: left;">
<li><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">Connect Large Base board with 12V socket</span></span></li>
<li><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">Connect LAN cable </span></span></li>
<li><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">Connect USB cable to computer (for serial port access)</span></span></li>
<li><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">Power on (white switch)</span></span></li>
</ul>
</div>
<br />
<h3>
<span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px; text-align: -webkit-auto;">Setup (SW) in Linux box</span></h3>
<br />
<br />
<ul style="text-align: left;">
<li><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px; text-align: -webkit-auto;">First create a virtual interface in Linux to connect to AWM002 for following command as root-user</span></li>
<ul>
<li><span style="background-color: white; line-height: 26px; text-align: -webkit-auto;"><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;">ifconfig p10p1:0 10.10.10.1</span></span></li>
<ul>
<li><span style="background-color: white; line-height: 26px; text-align: -webkit-auto;"><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;">Where </span></span><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; line-height: 26px; text-align: -webkit-auto;">p10p1 is my NIC-name (in Fedora, in your case it could be 'eth0')</span></li>
<li><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; line-height: 26px; text-align: -webkit-auto;">10.10.10.1 is the IP address of </span><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; line-height: 26px; text-align: -webkit-auto;"> p10p1:0</span></li>
<li><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; line-height: 26px; text-align: -webkit-auto;">BTW, </span><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px; text-align: -webkit-auto;">10.10.10.254 is address of AWM002 by default (see in above AWM002 link's Updates-tab)</span></li>
<li><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px; text-align: -webkit-auto;">Ensure that you have created the interface</span></li>
</ul>
</ul>
<li>Run ping command to check AWM002 is up</li>
<ul>
<li>ping <span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; line-height: 26px; text-align: -webkit-auto;"> </span><span style="background-color: white; color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif; font-size: 16px; line-height: 26px; text-align: -webkit-auto;">10.10.10.254</span></li>
</ul>
<li style="text-align: left;"><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">If the AWM002 is up then try for telenet login using following credentials</span></span></li>
<ul>
<li style="text-align: left;"><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">user: <b>admin</b>, password: <b>admin</b></span></span></li>
<li style="text-align: left;"><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">BTW, admin is having uid/gid as '0' -- admin is su :)</span></span></li>
</ul>
<li><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">In case you connect PC via USB cable, ensure that Linux box has created /dev/ttyUSB0</span></span></li>
<ul>
<li><span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">check via 'dmesg' command to see exact serial device name</span></span></li>
</ul>
</ul>
<h3 style="text-align: left;">
<span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;">Final AWM002 photo</span></span></h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://7424fc44b2417d19820cc69a52c42388362cbd82.googledrive.com/host/0ByXUjU2Y060VbDFPWGNCZWJyM3M/awm002_booting_up.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://7424fc44b2417d19820cc69a52c42388362cbd82.googledrive.com/host/0ByXUjU2Y060VbDFPWGNCZWJyM3M/awm002_booting_up.jpg" width="240" /></a></div>
<div>
<span style="color: #2a2a2a; font-family: 'Benton Sans', Helvetica, sans-serif;"><span style="line-height: 26px;"><br /></span></span></div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-26866503711865799542014-08-23T13:47:00.002+05:302014-08-23T13:47:15.642+05:30My Mum's Blog<div dir="ltr" style="text-align: left;" trbidi="on">
Today started a blog page on my mum's recipes at this<span style="background-color: yellow;"> <a href="http://gvlaxmi.blogspot.in/" target="_blank">blog site</a></span></div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-6308017598532629982014-08-17T09:02:00.001+05:302014-09-18T18:28:38.670+05:30Home Access Control System<div dir="ltr" style="text-align: left;" trbidi="on">
I was planning a Home Access Control System for lots of days. Finally got some time over past few months. Finally I finished version-2 of my Home Access Control System.<br />
<br />
Current version uses Raspberry for controlling the Main Door lock. Client are: Smartphones and RFID keys.<br />
<br />
At present, I have written Android client for controlling. But the system is capable to handle iOS/WinPhones.<br />
<br />
I will add more photos and code in coming weeks. More info can be found at <b><a href="https://drive.google.com/file/d/0ByXUjU2Y060VT2NpUFJJWUMxQmM/edit?usp=sharing" style="background-color: yellow;" target="_blank">at this place</a></b><br />
<br />
<br /></div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com1tag:blogger.com,1999:blog-4167804222089286400.post-86803301154448281052013-07-29T12:42:00.000+05:302013-07-29T23:36:44.130+05:30Android Application Bluetooth Low Energy Scanner<div dir="ltr" style="text-align: left;" trbidi="on">
After installing the Android 4.3 on Nexus-4, one can write the Bluetooth Low Energy (BLE) programs on Android platform. As still no official samples are available from LG/Google on the SDK samples, I tried to dig through available the Java-docs for new SDK and write an Android-App for scanning all BLE devices available in vicinity.<br />
<br />
To use this application, we need following:<br />
<br />
<ul style="text-align: left;">
<li>Any Android with 4.3 installed and have BLE HW support ( that means the mobile phone should support Bluetooth 4.0)</li>
<li>For getting list of scanned devices, we have two options:</li>
<ul>
<li>Have real BLE devices (like BLE dongles, chips, SoC, etc)</li>
<ul>
<li>We need to have a firmware image that allows us to start the discoverability on the device.</li>
</ul>
<li>Have another Android 4.3 phone with BLE enabled and discovery enabled</li>
</ul>
</ul>
<br />
I have TI's CC2540DK-MINI development kit and NordicSemi's nRF51822 Development kit. TI's kit comes with a KeyFrob and USB-based-BLE-devices and USB-based firmware loader. For current project, I am using TI's kit's KeyFrob as my BLE device (that I am scanning from Android phone).<br />
<br />
I have loaded the project code to the <a href="https://code.google.com/p/android-ble/" target="_blank">project site</a>.<br />
You can try the same application using the Android application <a href="https://android-ble.googlecode.com/hg/BLEScanner/Android-App/BLEScanner-0.1.apk" target="_blank">download link</a><br />
<br />
Here is screen shot<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4-bZdvmOLKpo8n7zbEBtKIkj53cr8IsaSVZshyphenhyphen1PoDuv817Hl11CD0qvyq2tfVjjLKccvzAY6fbMXuFHW9a_F4bf32f-bryObI7hEaKyNiI_XqdfrMbxZp9jzwnBcmthun8OxOAysjoOb/s1600/Android-BLE-scanner.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4-bZdvmOLKpo8n7zbEBtKIkj53cr8IsaSVZshyphenhyphen1PoDuv817Hl11CD0qvyq2tfVjjLKccvzAY6fbMXuFHW9a_F4bf32f-bryObI7hEaKyNiI_XqdfrMbxZp9jzwnBcmthun8OxOAysjoOb/s320/Android-BLE-scanner.png" width="192" /></a></div>
<br />
<br />
<br /></div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com20tag:blogger.com,1999:blog-4167804222089286400.post-29054244638641247472013-07-28T03:40:00.000+05:302013-07-28T03:40:23.251+05:30New Android 4.3 Manual Update on Nexus-4 does not contain OpenCL support<div dir="ltr" style="text-align: left;" trbidi="on">
After successful update of Android 4.3 on Nexus-4 phone, I have found that my OpenCL Android applications are not running in system. After some initial lookup/debug of problem using:<br />
<br />
<ul style="text-align: left;">
<li><b>adb logcat</b> is indicating that libOpenCL is not loaded</li>
<li><b>abd shell ls -l /system/lib/libOpenCL.so</b> is not returning any entries</li>
</ul>
<div>
So it seems that google/LG will take some more time to make the OpenCL work on Android 4.3</div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com0tag:blogger.com,1999:blog-4167804222089286400.post-70796127283848330482013-07-28T02:22:00.000+05:302013-07-28T07:41:42.672+05:30Update of Nexus 4 with Android 4.3<div dir="ltr" style="text-align: left;" trbidi="on">
As official OTA update for Android 4.3 from google is not still available on Nexus-4 (4.3 is released on 24-Jul-2013), I thought that let me try manual (risky approach & could brick phone) uploading using various following links:<br />
<ul style="text-align: left;">
<li><a href="http://www.droid-life.com/2013/02/12/guide-how-to-use-adb-sideload-to-update-a-nexus-without-root-or-custom-recovery/">Nexus - 7 manual update</a></li>
<li><a href="http://www.knowyourmobile.com/google/google-nexus-7-2/20826/android-43-nexus-4-and-nexus-7-update-where-it">Nexus 4 and Nexus 7 update issue notes</a></li>
<li><a href="http://www.androidpolice.com/2013/07/26/how-to-update-your-2012-nexus-7-to-android-4-3-jwr66v-and-root-it-right-now/">Another link</a></li>
<li><a href="http://teamw.in/ADBSideload">ADB sideload notes</a></li>
<li><a href="http://www.droid-life.com/2013/02/12/guide-how-to-use-adb-sideload-to-update-a-nexus-without-root-or-custom-recovery/">Fixing issues of device not found during recovery loading for Nexus 4</a></li>
<li><a href="http://www.droid-life.com/2013/07/25/android-4-3-update/" target="_blank">Extra link</a></li>
</ul>
<div>
<b>Disclaimer:</b> Please note that normally one should wait for OTA updates from Google. This manual approach is risk prone and may brick your device. If you try this approach, please keep in mind that you may brick your device & I am not responsible if any thing happens to your device :)</div>
<div>
<br />
BTW using this procedure, all old information/application in phone will be still intact (unless otherwise something extra things were done).<br />
<br /></div>
<div>
<b>Prerequisites</b></div>
<div>
<ul style="text-align: left;">
<li>You have non rooted Nexus 4 and it is in Android version 4.2.2 and you have PC/Laptop with Windows-XP-SP3 (it may work with other latest window versions, but I have not worked with them for this operation)</li>
<li>You have latest Android SDK tools.</li>
<ul>
<li>Your adb should have following version:</li>
<ul>
<li><b>adb version </b>: Android Debug Bridge version 1.0.31</li>
<li><b>Note: </b>adb help will not show sideload command while issuing <b>adb help</b>. So please ensure that we have above adb version. The adb sideload command will work when the phone is in recovery mode</li>
</ul>
</ul>
<li>You have properly installed windows drivers on computer so that you can see devices from '<b>adb devices</b>'</li>
<li>You have downloaded the Android 4.3.3 release zip file for Nexus-4 (stock with no ROM modiifcations) from <a href="http://android.clients.google.com/packages/data/ota/google_mako/ebc8bad23772b5fd6e2907e48b4c74ba0ed58f21.signed-occam-JWR66V-from-JDQ39.ebc8bad2.zip" target="_blank">following link</a> . If you other devices other than Nexus-4, please check for the update zip at that site.</li>
<ul>
<li>After download rename the file to update.zip</li>
<li>Length of file: 177,524,837 , MD5: a62d34fef0fda5a512ffdc87b59ed9d4</li>
</ul>
<li>While doing update, you may need to add extra USB device drivers for <b>adb sideload</b></li>
<ul>
<li>Add following entries in your Drive:\opt\Android\android-sdk\extras\google\usb_driver\android_winusb.inf</li>
<ul>
<li>In section [Google.NTx86]</li>
</ul>
</ul>
</ul>
</div>
<div>
<ul style="text-align: left;"><ul><ul><ul>
<li>%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_D001</li>
</ul>
<li>In Section [Google.NTamd64]</li>
<ul>
<li>%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_D001</li>
</ul>
</ul>
<li>You need to do this in case when your <b>adb sideload </b>says no devices found. Above USB VID(Vendor ID) and PID( Product ID) are for Nexus 4. </li>
<li>If your device is not Nexus-4, the VID & PID might change and you get them via (please ensure that you are connected to PC via USB cable and the phone is in recovery mode -- go to that mode by: adb reboot bootloader & procedure below):</li>
<ul>
<li>My Computer -- Manage -- Device Manager -- Other Devices -- Nexus 4 -- Properties -- USB VID & PID from Combox over there</li>
</ul>
</ul>
</ul>
<div>
<b>Update procedure</b></div>
<div>
<ul style="text-align: left;">
<li>Goto boot recovery mode:</li>
<ul>
<li>Without SDK tools:</li>
<ul>
<li>Stop Android phone</li>
<li>Press Volume-UP and Volume-Down and Power buttons simultaneously</li>
</ul>
<li>With ADB</li>
<ul>
<li>adb reboot bootloader</li>
</ul>
</ul>
<li>Use Volume buttons to select 'Recovery Mode<span style="background-color: white; font-family: Helvetica, Arial; font-size: 14px; line-height: 21px;">'</span></li>
<ul>
<li><span style="background-color: white; font-family: Helvetica, Arial; font-size: 14px; line-height: 21px;">Use power button to select the operation</span></li>
</ul>
<li><span style="font-family: Helvetica, Arial;"><span style="font-size: 14px; line-height: 21px;">Phone should show Android Icon with Exclamation mark. Press Volume-UP and Power buttons </span></span></li>
<li>Use Volume buttons to select '<span style="background-color: white; font-family: Helvetica, Arial; font-size: 14px; line-height: 21px;">Update from ADB'</span></li>
<ul>
<li><span style="background-color: white; font-family: Helvetica, Arial; font-size: 14px; line-height: 21px;">Use power button to select the operation</span></li>
</ul>
<li>Then it will show load using <b>adb sideload</b></li>
<ul>
<li>Ensure that you have configured Nexus 4 Recovery mode USB drivers as mentioned above for your Nexus 4 device</li>
</ul>
<li>Then from PC issue following command</li>
<ul>
<li>adb sideload c:\update.zip</li>
<li>It will take few minutes for doing updates (if everything is went fine). </li>
</ul>
</ul>
</div>
<div>
Hope this helps who wants to get 4.3.3 updates and can't wait till google OTA update comes officially and want to take risk :)</div>
</div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com1tag:blogger.com,1999:blog-4167804222089286400.post-90706948204722347662013-06-18T23:59:00.001+05:302013-06-19T22:40:54.551+05:30Got working Arduino Pro Mini for Home Automation work - 1<div dir="ltr" style="text-align: left;" trbidi="on">
For my home automation projects, I have been doing lots of R&D on various factors like:<br />
<br />
<ul>
<li>Low cost MCU and MCU related board (commercially available)</li>
<li>Low power consumption in deep sleep (may not be the best , but reasonable low current consumption, so that MCU can withstand power outages)</li>
<ul>
<li>Lots of cheap boards are there. For the time being I have chosen following Arduino boards</li>
<ul>
<li><a href="http://www.aliexpress.com/item/8Pcs-Lot-Pro-Mini-Module-Atmega328-5V-16M-For-Arduino-Compatible-Nano-TK0616/932322819.html">Arduino Pro Mini clone</a> for 4.25$ per board with free shipping</li>
</ul>
</ul>
<li>Cheap availability of wireless connectivity solutions</li>
<ul>
<li>Bluetooth 4.0</li>
<ul>
<li>In coming future, I would be using BLE-Soc chips likeNordic nrf51822 and TI's cc2540 & cc2541 -- as we have cheap assembled boards at various internet shops (like alibaba, dealsextreme, ebay, etc) .These boards typically come for 6 to 12$ </li>
</ul>
<li>Zigbee</li>
<ul>
<li>I tried initially, but their board's cost is high very high even at above shops and difficult solder because of QFN-soldering, wireless antenna's design, etc.</li>
</ul>
<li>Proprietary wireless protocol</li>
<ul>
<li>I found Nordic radio transceiver <span style="-webkit-text-size-adjust: none; background-color: white; font-family: arial; line-height: 25px;">NRF24L01+ at 2.4GHz spectrum <a href="http://www.aliexpress.com/item/10PCS-NRF24L01-Wireless-Transceiver-Module-2-4GHz-For-AVR-ARM-Arduino-MCU/658370933.html">at following site</a> for around 1$ per board</span></li>
</ul>
</ul>
<li>Free compiler, open source libraries & knowledge base in net. If not free some trial based compiler for doing R&D (like cc254x chips).</li>
</ul>
<div>
Arduino fits the bill, but their overall solution costs more than 15 to 20$ before an year back (with my research at that point of time). So I dropped Arduino idea and looking for other solutions. Recently I casually browsed Alibaba site and found that I can get a reasonably powered Ardunio for less than 5$ and wireless connectivity for another 1$. So brought these items and finally started doing first helloworld on this boards. </div>
<div>
<br /></div>
<div>
Here are pictures for this board</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0LG4-dyl0zpfvvVLVNotLSeKozYlOWrv63Ivf5n-k-FhXJpZbtf5Fm5UPEyrMStvt_Rqy6z-agNzS5wQHyHqIOpazX5E8A2SPVK9zE5P-4J4ScrDlga03MEYLXIWQty6Ku8olHuR79PNV/s1600/IMG_20130618_225122.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0LG4-dyl0zpfvvVLVNotLSeKozYlOWrv63Ivf5n-k-FhXJpZbtf5Fm5UPEyrMStvt_Rqy6z-agNzS5wQHyHqIOpazX5E8A2SPVK9zE5P-4J4ScrDlga03MEYLXIWQty6Ku8olHuR79PNV/s1600/IMG_20130618_225122.jpg" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
This is for connecting this board with typically USB-to-Serial-Dongle(Prolific based) and correpsonding RS232 TTL convertor</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwpJe_mt1nwWXBpkezG5BP2f9EGcNcMfXJPXbPOW7GAO_h12bV1gbzzGZ7hWNho6nByozEsCtddt2Wmq_azaiJmvflaxbt1n1PzkMG0nIErYGLx41aKvvX46z0XH31p4174uH7V7bBOp8Z/s1600/IMG_20130618_224854.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwpJe_mt1nwWXBpkezG5BP2f9EGcNcMfXJPXbPOW7GAO_h12bV1gbzzGZ7hWNho6nByozEsCtddt2Wmq_azaiJmvflaxbt1n1PzkMG0nIErYGLx41aKvvX46z0XH31p4174uH7V7bBOp8Z/s1600/IMG_20130618_224854.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwpJe_mt1nwWXBpkezG5BP2f9EGcNcMfXJPXbPOW7GAO_h12bV1gbzzGZ7hWNho6nByozEsCtddt2Wmq_azaiJmvflaxbt1n1PzkMG0nIErYGLx41aKvvX46z0XH31p4174uH7V7bBOp8Z/s1600/IMG_20130618_224854.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
This is showing minimal connections needed for powering and burning the program to Arduino. These yellow wires do connect to above USB-RS232-Dongle (RX & TX appropriately)</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ggiYWBUDuJ-UsXKR5uztrEYlaO4owtskXvScrTkx6iNXQtNHdSamlmZ4wVoxAk4ZDBBpjnFmWpHFiPWLnyn6-skOlWTIFgtlnYc5rYtMMwTAqBasuRJ_GGy0jEieJuLtzFpgUNse6i7K/s1600/IMG_20130618_225218.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ggiYWBUDuJ-UsXKR5uztrEYlaO4owtskXvScrTkx6iNXQtNHdSamlmZ4wVoxAk4ZDBBpjnFmWpHFiPWLnyn6-skOlWTIFgtlnYc5rYtMMwTAqBasuRJ_GGy0jEieJuLtzFpgUNse6i7K/s1600/IMG_20130618_225218.jpg" width="320" /></a></div>
<div>
<br /></div>
<div>
Board view from top view with an empty board on side</div>
<div>
<br />
<br />
<h3>
Connections from Arduino Board to RS232</h3>
<h3>
<span style="font-size: small; font-weight: normal;">Please ensure that you connect serial port cross-connection like following:</span></h3>
<h3>
<ul style="text-align: left;">
<li><span style="font-size: small; font-weight: normal;">Board-Longer-Side RXI to RS232 TX</span></li>
<li><span style="font-size: small; font-weight: normal;">Board-Longer-Side TXD to RS232 RX</span></li>
</ul>
</h3>
</div>
<h3>
Arduino IDE Options</h3>
<div>
<ul style="text-align: left;">
<li>Select proper Serial port</li>
<li>Select board as either of these boards. For my both voltages have worked out</li>
<ul>
<li>'Arduino Prop or Pro Mini (5V, 16MHz) w/ Atmega328'</li>
<li>'Arduino Prop or Pro Mini (3.3 V, 8MHz) w/ Atmega328'</li>
</ul>
<li>Select Programmer as 'Arduino as ISP'</li>
</ul>
</div>
<h3>
Actions need to be taken while pressing Upload from IDE</h3>
<div style="text-align: left;">
<ul style="text-align: left;">
<li>As current setup does not use DTR/RTS on RS232 and only uses RX/TX (from USB to Rs232 converter), we need to press reset button just before the flashing (i.e., when console logs shows lines something like following in verbose-burning-mode-preferences) </li>
</ul>
<div>
<span style="color: blue; font-size: x-small;"><i> Using Port : /dev/ttyUSB0</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Using Programmer : arduino</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Overriding Baud Rate : 57600</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: 0 [30] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: 0 [30] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: 0 [30] [20] </i></span></div>
<div>
<ul style="text-align: left;">
<li>For more details on why we need to press reset button, refer following section <a href="http://arduino.cc/en/Main/ArduinoBoardProMini">Automatic (Software) Reset</a> in given link</li>
</ul>
</div>
</div>
<h3>
Problems/Issues faced</h3>
<h4 style="text-align: left;">
Serial Port not detected in Linux</h4>
<div>
Run as root, then the Arduino IDE recognizes the Serial port . Select appropriate serial port from output of 'dmesg' command in linux.</div>
<h4 style="text-align: left;">
Flashing Issues</h4>
<div>
<ul>
<li>After selecting the board as 'Arduino Prop or Pro Mini (5V, 16MHz) w/ Atmega328' and correct serial port. After trying to flash image to board has given following error messages.</li>
</ul>
</div>
<br />
<i><span style="color: blue; font-size: x-small;">Binary sketch size: 2,654 bytes (of a 30,720 byte maximum)</span></i><i><span style="color: blue; font-size: x-small;">avrdude: stk500_recv(): programmer is not responding</span></i><br />
<div>
<br /></div>
<div>
<ul>
<li>Now enable the verbose upload option via File -- Preference --'Show verbose output during' = 'burning' .</li>
<ul>
<li>After this step , I got following messages</li>
</ul>
</ul>
</div>
<div>
<div>
<span style="color: blue; font-size: x-small;"><i>Binary sketch size: 2,654 bytes (of a 30,720 byte maximum)</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>**/arduino-1.0.5/hardware/tools/avrdude -C/opt/arduino-1.0.5/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -carduino -P/dev/ttyUSB0 -b57600 -D -Uflash:w:/tmp/build5308589158935848821.tmp/ASCIITable.cpp.hex:i </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Version 5.11, compiled on Sep 9 2011 at 16:00:41</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Copyright (c) 2007-2009 Joerg Wunsch</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> System wide configuration file is "**/arduino-1.0.5/hardware/tools/avrdude.conf"</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> User configuration file is "***/.avrduderc"</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> User configuration file does not exist or is not a regular file, skipping</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Using Port : /dev/ttyUSB0</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Using Programmer : arduino</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Overriding Baud Rate : 57600</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: 0 [30] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: 0 [30] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: 0 [30] [20] </i></span></div>
<div>
<span style="color: red; font-size: x-small;"><i>avrdude: ser_recv(): programmer is not responding</i></span></div>
<div>
<span style="color: red; font-size: x-small;"><i>avrdude: stk500_recv(): programmer is not responding</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude done. Thank you.</i></span></div>
<div>
<ul><ul>
<li>Another error which slightly different at end</li>
</ul>
</ul>
<div>
<i><span style="color: blue; font-size: x-small;"> Using Port : /dev/ttyUSB0</span></i></div>
<div>
<i><span style="color: blue; font-size: x-small;"> Using Programmer : arduino</span></i></div>
<div>
<i><span style="color: blue; font-size: x-small;"> Overriding Baud Rate : 57600</span></i></div>
<div>
<i><span style="color: blue; font-size: x-small;">avrdude: Send: 0 [30] [20] </span></i></div>
<div>
<i><span style="color: blue; font-size: x-small;">avrdude: Send: 0 [30] [20] </span></i></div>
<div>
<i><span style="color: blue; font-size: x-small;">avrdude: Send: 0 [30] [20] </span></i></div>
<div>
<i><span style="color: blue; font-size: x-small;">avrdude: Recv: . [00] </span></i></div>
<div>
<i><span style="color: red; font-size: x-small;">avrdude: stk500_getsync(): not in sync: resp=0x00</span></i></div>
<div>
<i><span style="color: blue; font-size: x-small;"><br /></span></i></div>
<div>
<i><span style="color: blue; font-size: x-small;">avrdude done. Thank you.</span></i></div>
<div>
<ul>
<li>As this not typical USB based driver (which is available in little costlier Arduino boards) and I am using hard coded RS232 wiring, I tried to flash the image by pressing the reset button on the board. This made the flashing to occur successfully. Actually if we reset the board, MCU waits for flashing-data from RX/TX pins few seconds. If no recognized flashing data comes to RX/TX pins, MCU will boot with previous programm that is there in flash. One has to find appropriate time to press reset button -- this timing can be assisted by putting verbose-burning-option.</li>
<li>So successful flash sequence is shown as:</li>
</ul>
<div>
<span style="color: blue; font-size: x-small;"><i>Binary sketch size: 2,654 bytes (of a 30,720 byte maximum)</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>***/arduino-1.0.5/hardware/tools/avrdude -C***/arduino-1.0.5/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -carduino -P/dev/ttyUSB0 -b57600 -D -Uflash:w:/tmp/build5308589158935848821.tmp/ASCIITable.cpp.hex:i </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Version 5.11, compiled on Sep 9 2011 at 16:00:41</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Copyright (c) 2007-2009 Joerg Wunsch</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> System wide configuration file is "***/arduino-1.0.5/hardware/tools/avrdude.conf"</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> User configuration file is "***/.avrduderc"</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> User configuration file does not exist or is not a regular file, skipping</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Using Port : /dev/ttyUSB0</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Using Programmer : arduino</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Overriding Baud Rate : 57600</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: 0 [30] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: 0 [30] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: 0 [30] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [14] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [10] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> AVR Part : ATMEGA328P</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Chip Erase delay : 9000 us</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> PAGEL : PD7</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> BS2 : PC2</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> RESET disposition : dedicated</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> RETRY pulse : SCK</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> serial program mode : yes</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> parallel program mode : yes</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Timeout : 200</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> StabDelay : 100</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> CmdexeDelay : 25</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> SyncLoops : 32</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> ByteDelay : 0</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> PollIndex : 3</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> PollValue : 0x53</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Memory Detail :</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Block Poll Page Polled</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Block Poll Page Polled</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Block Poll Page Polled</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Block Poll Page Polled</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Block Poll Page Polled</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Block Poll Page Polled</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Block Poll Page Polled</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Block Poll Page Polled</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Programmer Type : Arduino</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Description : Arduino</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: A [41] . [80] [20] </i></span></div>
<div>
<span style="font-size: x-small;"><i><span style="color: blue;">.....</span></i></span></div>
<div>
<span style="font-size: x-small;"><i><span style="color: blue;"> Hardware Version: 2</span></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Firmware Version: 1.16</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: A [41] . [84] [20] </i></span></div>
<div>
<span style="font-size: x-small;"><i><span style="color: blue;">..............</span></i></span></div>
<div>
<span style="font-size: x-small;"><i><span style="color: blue;">avrdude: Recv: . [10] </span></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Vtarget : 0.0 V</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Varef : 0.0 V</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> Oscillator : Off</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i> SCK period : 0.1 us</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: A [41] . [81] [20] </i></span></div>
<div>
<span style="font-size: x-small;"><i><span style="color: blue;">.......</span></i></span></div>
<div>
<span style="font-size: x-small;"><i><span style="color: blue;">avrdude: Recv: . [14] </span></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [10] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: AVR device initialized and ready to accept instructions</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>Reading | avrdude: Send: u [75] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [14] . [1e] . [95] . [0f] . [10] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>################################################## | 100% 0.00s</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Device signature = 0x1e950f</i></span></div>
<div>
<span style="font-size: x-small;"><i><span style="color: blue;">.................</span></i></span></div>
<div>
<span style="font-size: x-small;"><i><span style="color: blue;">.................</span></i></span></div>
<div>
<span style="font-size: x-small;"><i><span style="color: blue;">avrdude: Recv: . [10] </span></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>###avrdude: Send: U [55] . [00] . [05] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [14] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [10] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: t [74] . [00] ^ [5e] F [46] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [14] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [ee] . [0f] . [ff] . [1f] . [05] . [90] . [f4] . [91] . [e0] - [2d] . [09] . [94] . [f8] . [94] . [ff] . [cf] A [41] S [53] C [43] I [49] I [49] [20] T [54] a [61] b [62] l [6c] e [65] [20] ~ [7e] [20] C [43] h [68] a [61] r [72] a [61] c [63] t [74] e [65] r [72] [20] M [4d] a [61] p [70] . [00] , [2c] [20] d [64] e [65] c [63] : [3a] [20] . [00] , [2c] [20] h [68] e [65] x [78] : [3a] [20] . [00] , [2c] [20] o [6f] c [63] t [74] : [3a] [20] . [00] , [2c] [20] b [62] i [69] n [6e] : [3a] [20] . [00] ! [21] . [00] . [00] . [00] . [00] . [00] . [95] . [03] . [c8] . [00] + [2b] . [03] \ [5c] . [03] < [3c] . [03] . [85] . [03] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [10] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>## | 100% 0.59s</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: verifying ...</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: 2654 bytes of flash verified</i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Send: Q [51] [20] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [14] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude: Recv: . [10] </i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i><br /></i></span></div>
<div>
<span style="color: blue; font-size: x-small;"><i>avrdude done. Thank you.</i></span></div>
<div>
<span style="font-size: x-small;"><br /></span></div>
<div>
<span style="font-size: x-small;"><br /></span></div>
<br /></div>
</div>
</div>
<div>
<br />
So with minimal booting is done with this board, next step is to connect Nordic Wireless chips and try wireless connectivity.</div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Mahadevan Gorti Surya Srinivasahttp://www.blogger.com/profile/04178543310367612494noreply@blogger.com19