বৃহস্পতিবার, ২৯ অক্টোবর, ২০১৫

Agilent E3633A as Step Voltage Source using RS-232

Here is very small and simple program to use Agilent E3633A as step voltage source. I used LabView to get the same functionality before. But it took almost a week to complete it. With serial command it only took me only 2 hours. I didn't know it can be that easy. Here I started with 8V and 0.5mA. The voltage is then step down at 0.004V after every 50 seconds. To run this,

  1. Copy the following code in a text file and save the test file with ttl extension.
  2. Connect the Agilent E3633A with DB-9 cable or serial cable and power it on.
  3. open Tera Term in serial connection.
  4. Click Control-> Macro and load the file you saved.
You show see that the output voltage of E3633A is changed to 8V and after every 50s the voltage is falling 0.004V.


শুক্রবার, ৩০ জানুয়ারী, ২০১৫

TI CC3000 WiFi and ThingSpeak - Online Weather Station

Introduction
The CC3000 chip from Texas Instruments is an amazing module for embedded application. When it first came out, every body got very excited. However, over the year, it appears to be an difficult module to work with. After lots of firmware update, now it appears to be more workable than before. 
In this project, I am using CC3000 (firmware v1.32 - Patch 1.14 why TI??) with Arduino Uno. I used Arafruit host library and ThingSpeak service for online interfacing. The similar application was developed by M.Schwartz and  was posted in Adafruit learning center. In that tutorial, he used Xively service for online interfacing. To me it seems that he was annoyed by the bugs in CC3000 and put watch dog timer in every steps to recover from the notorious CC3000 freezing issue. I also faced the same problem before. After the latest patch update, it seems that the CC3000 performance has been improved significantly. 
The circuit connections for WiFi and DHT11 temperature sensor remain same as Schwartz's design as shown here. For ThingSpeak account, please visit their website and open a free account. Log in to your account and open a new channel. In channel setting, most important part is, Field boxes. Check mark on the "add field" box to activate more channels. In my tutorial, I used only 2 channels and changed them as Temperature and Humidity. Next, the most important part is API Keys. Copy the "Write API Key" to write a data to the web server. Replace the "your api key"; in the code with your API key. Here is the Arduino sketch,



Picture: 



Here is my sensor reading in ThingSpeak website. 

এই ব্লগটি সন্ধান করুন