Mturk Jobs

Mturk Jobs
Mturk Jobs

Tank

Showing posts with label Alexandria. Show all posts
Showing posts with label Alexandria. Show all posts

Tuesday, November 28, 2017

LED as a light sensor using Arduino

Yes, this might not have a practical application so far.

But you can use this amazing concept to spark that geek inside you or just to impress your nerd friends.

I found that concept of using the LED as a light sensor.

The LED has nearly the same hardware structure as the light sensor.

This means that it has the ability to detect light exposure. 

I found that LED can be used as a Light sensing element.

Of course, I cannot assure it can be used in practical application.

But I liked the concept when I knew it.

I've tested the concept both on Arduino and on Pinguino and it just worked well for me.




I followed that setup from instructables





//Copy the following sketch in your Arduino software and upload it to the Arduino board. (be sure to select the right board and com-port in the Arduino software)

int led = 13;                                        // the pin where you will put the LED
int sensorpin = A3;                           // the analog pin where you put your sensorLED
int resetteller = 0;                              // the rest are counters and variables to calculate with
int sens = 0;
int teller = 0;
int basis = 1024;
int test = 1024;
int test2 = 1024;
int test3 = 1024;

// this are the values to play with to get better (or worse) results
int marge = 5;                         // the space between a positive and negative reading
int vertraging = 1;                  // the speed of the readings; a lower number is a higher speed
int samples = 70;                   // the amount of samples to compare to make one reading
int resetsamples = 30;          // how many cycles to run the light on before you don't trust the value anymore

void setup() {
  pinMode(led, OUTPUT);
  Serial.begin(9600);                                   // no real part of the program, just for debugging
  for(teller =0; teller < samples; teller++) {// remember the lowest value out of many readings
   sens = analogRead(sensorpin);
   if (sens < basis){basis = sens;}
   delay(vertraging);                                     // the sensor needs a delay here to catch its breath
  }
}


void loop() {                                          
for(teller =0; teller < samples; teller++) {// remember the lowest value out of many readings
   sens = analogRead(sensorpin);
   delay(vertraging);                                   // the sensor needs a delay here to catch its breath
   if (sens < test){
   test3 = sens;                                            // remember the 3 lowest readings
   test2 = test3;
   test = test2;}
  }
  if (test < basis-marge && test2 < basis-marge && test3 < basis-marge){//all 3 low readings mus be < the basis reading
    digitalWrite(led, HIGH);
    resetteller++;                                         // count how long the LED stays on
  }
    else{
      digitalWrite(led, LOW);
      basis = test;                                         // if the lowest test reading is higher than the basis, basis will be reset
      resetteller = 0;
    }
    if (resetteller > resetsamples){basis = test;}//if LED stays on to long, we don't trust it and reset basis
    Serial.print(basis);Serial.print("  ");Serial.print(test);Serial.print("  ");Serial.println(sens);//just for debugging
    test = 1024;
}


Thursday, April 6, 2017

Arduino Create - Arduino Web Editor Step-By-Step Guide

I've heard about Arduino Web Editor from a while. All what I heard that it will be coming soon. But I totally forgot the idea.

Today, I was introduced to Arduino Web Editor through Arduino Create Platform.

I saw the idea and was admired with it. So I wanted to share it with my friends.



What is Arduino Create?
Imagine that you can actually access, edit and compile your Arduino code from any device and from anywhere with the ease and accessibility of the cloud.






With something like DropBox and Google Cloud Services, you can get your Arduino project into Arduino IDE from any device, on any platform and from anywhere.



Advantages:
Compatibility, Potability and ease of use.



I started by visiting Arduino Create page and followed the step-by-step guide to using Arduino Web Editor.





Started with downloading Arduino Web Editor Plugin from here. Then installed it.

The instructions tells you to restart your browser to get the plugin running.




I got this screenshot after I installed Arduino Web Editor Plugin and restated my Chrome Browser.

You can see the error indicating that no Arduino board is connected yet.

But as you can see that this cloud service has all functions as a typical Arduino IDE.






You can see all tutorials, examples, libraries and even serial monitor all there.





Here is how it looks like





You can draw components of your sketch





You can see all libraries and examples



Here you can share your projects





Here is my first blink sketch. From the Examples




إذا أعجبتك هذه المدونة يمكنك دعمنا بأحد هذه الطرق المجانية لاستمرار نشر مثل هذه المقالات

اترك تعليقاً لنشر وجهة نظرك بخصوص هذه المقالة

قم بشراء كتابنا على موقع أمازون أو مشاركته مع أصدقاءك من المهتمين بكتب الإلكترونيات





قم بالضغط على الروابط الخاصة بالمواقع الداعمة لنا بدون إضافة أى تكلفة عليك إذا قمت بالشراء من هذه المواقع . وفى الحقيقة معظم الخدمات والمنتجات المعروضة هنا مجانية تماماً مما يعنى أنك لن تقوم بدفع أى مبالغ وفى الوقت نفسه تقوم بدعمنا وتستفيد من هذه الخدمات



هذا الرابط خاص ببرامج كيندل المملوك لموقع أمازون
برنامج كيندل مجانى تماماً ويمكنك من قراءة الآلاف من الكتب الإلكترونية ويعمل على كل الأجهزة . على أجهزة كيندل وعلى الكومبيوتر الشخصى والتالبلت بجميع أنواعه والهواتف الذكية  آيفون وأندرويد. كما أنك يمكنك القراءة على أى من هذه الأجهزة بدون تثبيت أى برامج من خلال القراءة على متصفح الإنترنت من خلال 

Kindle Cloud Reader

كما أن هناك العديد من الكتب الإلكترونية المجانية تماماً كما أن هناك الكتب المتاحة لكى تشتريها من موقع أمازون الشهير







هذه الخدمة مقدمة من موقع أمازون للإشتراك الشهرى مع عرض الإشتراك لأول شهركامل مجاناً مع إمكانية الحصول على العديد من الكتب المدفوعة مجاناً تماماً مع إمكانية إلغاء الإشتراك فى أى وقت بدون دفع أى مبالغ







خدمة أمازون برايم هى أحد الخدمات المميزة التى يقدمها موقع أمازون الشهير و التى تتيح من خلالها العديد من العروض والتخفيضات القيمة والمنتجات المميزة وخدمة الشحن المجانى والشحن فى يوم واحد عند الشراء



أيضاً هذه الخدمة مدفوعة ويمكنك تجربتها مجاناً لمدة شهر بدون دفع أى رسوم أو مبالغ إضافية مع إمكانية الإلغاء فى أى وقت

















موقع أوديبل هو أحد مواقع أمازون وهو مختص بالكتب الصوتية المسموعة بكافة أنواعها 

Audio Books


منها الكتب العلمية والروايات والكتب التاريخية والدروس والبودكاست

يمكنك الإستمتاع بهذه الفرصة الدائمة للإشتراك المجانى لمدة شهر فى هذا الموقع مع إمكانية تحميل أى كتابين مجانيين مع إمكانية الإلغاء فى أى وقت خلال هذا الشهر وبدون أى رسوم











إذا كان لديك مولود أو تتوقع مولوداً جديداً يمكنك الإشتراك المجانى فى قائمة المولود من موقع أمازون والتى يمكنك من خلالها الإطلاع على أحدث العروض والمنتجات الخاصة بالمولود مع إمكانية عمل قائمة الأمنيات وجعل هذه القائمة ظاهرة لأصدقائك  مما يمكنهم من معرفة أفضل الهدايا للمولود أو مختفية ولاتظهر إلا لك فقط








يمكنك زيارة موقعنا الجديد





شكراً على زيارة مدونتنا كل يوم فكرة عربية





If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
This means that you can enjoy something for free and still support our blog to keep posting useful stuff.


Amazon.com - Read eBooks using the FREE Kindle Reading App on Most Devices


This is the well-know Amazon Kindle platform. If you sign up for the free reader from Amazon to read any book, we get commission. 
There are many useful book for free on Amazon Kindle. Even you can find best sellers offered for free on Kindle format.
The best part is you can have the application on any platform. You can even read any book without installing any application by using Amazon Cloud-Reader on your browser.


Join Amazon Kindle Unlimited 30-Day Free Trial

You can join Amazon Kindle for 30 days free to have access to many paid book for free. You can cancel you subscription anytime.


Try Amazon Prime 30-Day Free Trial


The Amazon Prime is a special paid service from Amazon that offers good promotions and one-day free shipment for Amazon Shoppers. You can try this service for 30 days. You can cancel you subscription anytime.

Shop Amazon - Give the Gift of Amazon Prime


Try Audible and Get Two Free Audiobooks


Audible is the audio books website from Amazon. Many Kindle books are sold on Audible. You can try this service for free and get 2 free book. You can cancel you subscription anytime.


Shop Amazon - Create an Amazon Baby Registry

If you have a new baby borne or expecting one, you can create your free baby registry to easily save products and get offers and promotions on baby requirements.

  4. Visit our new website outatime.tech.

Thank you for visiting our blog.

Thursday, February 11, 2016

TurbineOne - Basic Wind Turbine That Anyone Can Make










Have you ever wanted to have a wind turbine like this one ?

Did you really like it so much that you always wanted to make it yourself ? 

                                                             
This is my first working practical wind turbine. I really love green projects and renewable energy stuff. Last year I 've made a small modification on an old PC fan to convert it into a small wind turbine. It had enough output power to light an LED. It was a huge project for me at that time because I 've always wanted to much to get even little power form wind.
The huge number of people on instructables who successfully built different sizes and shapes of practically working wind turbines has motivated me to build my own next level wind turbine to have higher scale of power output.
That 's where TurbineOne came from.
TurbineOne is my first practical power generating wind turbine.
I named it TurbineOne because I intend to build many other turbines.
I 'll explain how I built it in the next steps.

I know, when it comes to technical appeal ,engineering calculations or technology practices TurbineOne is not very awesome.
Believe me, I'm not so handy when it comes to mechanics and using power tools.
Please make good comments and productive criticism.

Thank you for spending time reading my instructable.

Generator   eBay   or       From Banggood  

This is the most important piece of equipment for your wind turbine.
Actually, it was the first thing I started to look for when I decided to build my own wind turbine.
I thought to buy a DC motor from any hardware store who sells this kind of motor as a spare part for any appliance
( e.g dishwasher , blender ... etc ) .
Then I found an old blender motor that has a permanent magnet inside it.
The motor generates electricity when it is turned by hand.
I measured the output and found to be nearly 14 Volts on the Voltmeter.
If you don't have an old motor to use as a generator, you still can buy a new one from eBay , I got this one and it was useful.






Material :




This wind turbine is 100% recycled. I got all parts from scrap and used stuff.
It took me a long time to collect some of the materials used for building it, but you can just buy them or be lucky to find them easier than I did.
Motor  .   From Banggood  
PVC pipe --------- I found an old PVC pipe of suitable length to be used as turbine blades.
5 CD roms -------  I used old CD Roms and DVD as wind turbine hub.
Fax paper plastic roll ----- > used as a coupler between CD roms and motor shaft.
Old Plastic bottle ------ > used as a cover for the generator

Some screws.
Some wires.

Old metallic rod used as a tower
Plastic tie raps

Tools




This project is made using fairly power tools. Please be careful when using these stuff.
- Saw 
Pliers

Hub Assembly :






I started by the turbine hub.
Cut the plastic fax tube to 5 cm long .
I put the plastic tube around the motor rotating shaft .
Use the sand paper in cdrom center to make the plastic tube fit into it.
Put CDroms and DVDs around the plastic pipe and motor shaft.

Step 5: Blades Assembly :

 
















I wanted to cut the turbine blades into the usual turbine blades shape.

I really liked the idea of using PVC pipe as a fan blade. I got this idea from the internet.

But when I got the old PVC pipe I stated by drawing the fan blade on a template to draw it on the PVC pipe.

Then I couldn't get the tools to cut pipe in the fine shape of the fan blade.

So I've chosen to make the easy way and cut the PVC pipe into straight three equal pieces.

But how are these pieces going to generate rotational motion from the wind.

I decided to install each blade on the hub so it becomes nearly perpendicular to the hub and the round shape of the pipe does the rest.


Step 6: Turbine Assembly :



I installed the hub around the motor and secured them together using the fax paper plastic tube. Then I cut the extra piece of plastic from the small plastic tube. I drilled the metallic tube to install screws to fix the two tubes together. I installed the turbine with its pole on the roof of my apartment. It really rotates when the wind is fairly blowing.


TO DO : I 'll make a battery charging circuit and connect a sealed Lead-Acid battery to make a steady supply power source.




I posted this project on the DIY website instructables.com

The post got featured on the website and in the weekly news letter.

I 've participated at the Leftovers Contest on the website and got a runner prize.









You can read this article in Arabic Language From Here :


يمكنك قراءة هذه المقالة باللغة العربية من هنا 







إذا أعجبتك هذه المدونة يمكنك دعمنا بأحد هذه الطرق المجانية 

لاستمرار نشر مثل هذه المقالات

اترك تعليقاً لنشر وجهة نظرك بخصوص هذه المقالة


قم بشراء كتابنا على موقع أمازون أو مشاركته مع أصدقاءك من 

المهتمين بكتب الإلكترونيات





If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view 

about this article.

   2. Buy our book on Amazon Learn By Making.

 


Thank you for visiting our blog.





Tuesday, October 20, 2015

L293D Four Motor Unidirectional Control

الثلاثاء 7 من محرم 1437 هـ                       20  أكتوبر 2015 م

بسم الله و الحمد لله و الصلاة و السلام على رسول الله سيدنا محمد صلى الله عليه و سلم

This is part f my project of building my first quadcopter.

Today I wanted to try something I thought of. I wanted to control four DC motors using L293D IC .















The normal usage of the L293D IC is bidirectional motor control for two motors only. 

That is because the IC is an H-Bridge circuit.


Since I am using the IC to control four motors for the Quadcopter , I am using the IC to control the motors in fixed direction.

No need to reverse one motor rotation direction ( motor used to make lift )



This is the circuit on the Proteus 7 simulator software



You can get the L293D Arduino Sheild From eBay. This one is Arduino Uno compatible and ready to use.



Or you may like this FPV Quadcopter from Banggood


And this is the Link to the DSN file:













يمكنك قراءة هذه المقالة باللغة العربية من هنا

You can read this article in Arabic


http://arabic-embedded-egypt.blogspot.com.eg/2015/10/l293d.html








إذا أعجبتك هذه المدونة يمكنك دعمنا بأحد هذه الطرق المجانية لاستمرار نشر مثل هذه المقالات

اترك تعليقاً لنشر وجهة نظرك بخصوص هذه المقالة

قم بشراء كتابنا على موقع أمازون أو مشاركته مع أصدقاءك من المهتمين بكتب الإلكترونيات





قم بالضغط على الروابط الخاصة بالمواقع الداعمة لنا بدون إضافة أى تكلفة عليك إذا قمت بالشراء من هذه المواقع . وفى الحقيقة معظم الخدمات والمنتجات المعروضة هنا مجانية تماماً مما يعنى أنك لن تقوم بدفع أى مبالغ وفى الوقت نفسه تقوم بدعمنا وتستفيد من هذه الخدمات



هذا الرابط خاص ببرامج كيندل المملوك لموقع أمازون
برنامج كيندل مجانى تماماً ويمكنك من قراءة الآلاف من الكتب الإلكترونية ويعمل على كل الأجهزة . على أجهزة كيندل وعلى الكومبيوتر الشخصى والتالبلت بجميع أنواعه والهواتف الذكية  آيفون وأندرويد. كما أنك يمكنك القراءة على أى من هذه الأجهزة بدون تثبيت أى برامج من خلال القراءة على متصفح الإنترنت من خلال 

Kindle Cloud Reader

كما أن هناك العديد من الكتب الإلكترونية المجانية تماماً كما أن هناك الكتب المتاحة لكى تشتريها من موقع أمازون الشهير







هذه الخدمة مقدمة من موقع أمازون للإشتراك الشهرى مع عرض الإشتراك لأول شهركامل مجاناً مع إمكانية الحصول على العديد من الكتب المدفوعة مجاناً تماماً مع إمكانية إلغاء الإشتراك فى أى وقت بدون دفع أى مبالغ







خدمة أمازون برايم هى أحد الخدمات المميزة التى يقدمها موقع أمازون الشهير و التى تتيح من خلالها العديد من العروض والتخفيضات القيمة والمنتجات المميزة وخدمة الشحن المجانى والشحن فى يوم واحد عند الشراء



أيضاً هذه الخدمة مدفوعة ويمكنك تجربتها مجاناً لمدة شهر بدون دفع أى رسوم أو مبالغ إضافية مع إمكانية الإلغاء فى أى وقت

















موقع أوديبل هو أحد مواقع أمازون وهو مختص بالكتب الصوتية المسموعة بكافة أنواعها 

Audio Books



منها الكتب العلمية والروايات والكتب التاريخية والدروس والبودكاست



يمكنك الإستمتاع بهذه الفرصة الدائمة للإشتراك المجانى لمدة شهر فى هذا الموقع مع إمكانية تحميل أى كتابين مجانيين مع إمكانية الإلغاء فى أى وقت خلال هذا الشهر وبدون أى رسوم









إذا كان لديك مولود أو تتوقع مولوداً جديداً يمكنك الإشتراك المجانى فى قائمة المولود من موقع أمازون والتى يمكنك من خلالها الإطلاع على أحدث العروض والمنتجات الخاصة بالمولود مع إمكانية عمل قائمة الأمنيات وجعل هذه القائمة ظاهرة لأصدقائك  مما يمكنهم من معرفة أفضل الهدايا للمولود أو مختفية ولاتظهر إلا لك فقط




يمكنك زيارة موقعنا الجديد






شكراً على زيارة مدونتنا كل يوم فكرة عربية







If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
This means that you can enjoy something for free and still support our blog to keep posting useful stuff.


Amazon.com - Read eBooks using the FREE Kindle Reading App on Most Devices


This is the well-know Amazon Kindle platform. If you sign up for the free reader from Amazon to read any book, we get commission. 
There are many useful book for free on Amazon Kindle. Even you can find best sellers offered for free on Kindle format.
The best part is you can have the application on any platform. You can even read any book without installing any application by using Amazon Cloud-Reader on your browser.


Join Amazon Kindle Unlimited 30-Day Free Trial

You can join Amazon Kindle for 30 days free to have access to many paid book for free. You can cancel you subscription anytime.


Try Amazon Prime 30-Day Free Trial


The Amazon Prime is a special paid service from Amazon that offers good promotions and one-day free shipment for Amazon Shoppers. You can try this service for 30 days. You can cancel you subscription anytime.

Shop Amazon - Give the Gift of Amazon Prime


Try Audible and Get Two Free Audiobooks


Audible is the audio books website from Amazon. Many Kindle books are sold on Audible. You can try this service for free and get 2 free book. You can cancel you subscription anytime.


Shop Amazon - Create an Amazon Baby Registry

If you have a new baby borne or expecting one, you can create your free baby registry to easily save products and get offers and promotions on baby requirements.

  4. Visit our new website outatime.tech.


Thank you for visiting our blog.

Tank