• CES
  • AMARTS
  • Electronic Kid
  • Useful-news
  • Forum
  • Fellowship
  • E-Library
  • All

Archives

gravatar

Norton University joined Malaysia International Robot Competition (MIRoC) 2014



ការប្រកួតរូប៉ូតអន្តរជាតិនៅប្រទេសម៉ាឡេស៊ី ​២០១៤




កាលពីថ្ងៃទី០៩ ដល់ថ្ងៃទី១៤ ខែមេសា ២០១៤​ កន្លងទៅនេះ សកលវិទ្យាល័យ ន័រតុនបានបញ្ជូន Robot ចំនួន២ ដែលបង្កើតឡើងដោយ​និស្សិត នឹង សាស្រ្តាចារ្យ ​ផ្នែកអគ្គិសនី នឹងអេឡិចត្រូនិច អោយចេញទៅប្រកួត Robot ជាលក្ខណះអន្តរជាតិ នៅក្នុងប្រទេសម៉ាឡេស៊ី។​ ហើយនេះជាលើកដំបូង​របស់សកលវិទ្យាល័យន័រតុន ក៏ដូចជាប្រទេសកម្ពុជាផងដែរ ដែលជាលទ្ធផលក្នុងការប្រកួត យើងទទួលបានជ័យលាភី លេខ៣​ ក្នុងប្រភេទ​ រូប៉ូតពន្លត់អគ្គីភ័យ​​ (Fire Fighting Robot ) ក្នុងចំណោម ១៩​ មហាវិទ្យាល័យ នៃបណ្តាប្រទេសផ្សេងៗជាច្រើន ក្នុងនោះរួមមានទាំងកម្ពុជាផងដែរ។​​ ដែលការប្រកួតនេះគេបានធ្វើឡើងរយះពេល១ឆ្នាំម្តង ហើយ បានបង្កើតឡើង ៣ ឆ្នាំកន្លងមកហើយ។ ដែលការប្រកួតមានលក្ខណះជំរុះតាមGroup ដូចកីឡាបាល់ទាត់ដែរ។ ក្នុងនោះមានចំនួន៤ Group កម្ពុជាយើងស្ថិតក្នុងGroup B និង Group D.
ជាលទ្ធផលជំរុះតាម Group សកលវិទ្យាល័យន័រតុន ក្រុម A បានទទួល ចំណាត់ថ្នាក់លេខ ១​ ប្រចាំ Group B ដោយស្មើរនិងក្រុមម្ចាស់ផ្ទះម៉ាឡេស៊ី B និង ៣​ ប្រកួតទៀតឈ្នះទាំងអស់។ ចំណែក សកលវិទ្យាល័យន័រតុន ក្រុម B បានទទួលចំណាត់ថ្នាក់លេខ ១ ក្នុង Group D ដួចគ្នាដោយយកឈ្នះ៣ប្រកួតជាប់ៗគ្នា។ ក្រុមទាំង២បានឡើងដល់វគ្គ ៨ក្រុមចុងក្រោយ. ជាលទ្ធផល សកលវិទ្យាល័យន័រតុន ក្រុម A​បានយកឈ្នះបន្តទៀត ឡើងដល់វគ្គ៤ ក្រុមចុងក្រោយ។​ ប៉ុន្តែ សកលវិទ្យាល័យន័រតុន ក្រុម B បានចាញ់ក្រោមដៃម្ចាស់ផ្ទះក៏ដូចម្ចាស់ជើងឯកឆ្នាំចាស់២០១៣​ ដោយលទ្ធផលត្រដមត្រសងគ្នា។ ចុងក្រោយ សកលវិទ្យាល័យប្រទេសចិនលេខ១ ម៉ាឡេស៊ីម្ចាស់ផ្ទះលេខ២ និងសកលវិទ្យាល័យន័រតុន ក្រុម A​ បានទទួលចំណាត់ថ្នាក់លេខ៣​។









gravatar

8 Awesome Videos Tips And Guides on PCB Design!

1. Home made PCB by the method of screen printing



Here's a well made video on how to create a PCB at home with the method of screen printing. The development time and drying of the cards change will depend on the quality of the ink you use, type of bulb in use and distance of the light which is exposed on the cards.

2. DIY Print circuit video

Here's how to create your own PCB using heat toner transfer method. This method although will only work with the laser printer.

3. How to make Clear Glass PCBs



This video explains how to make clear glass PCBs.

4. How to make PCB using MARKER PEN (Printed Circuit Board)


How about creating your PCBs with one of the most inexpensive method, i.e. with a marker pen! No kidding!

5. Home made printed circuits by the method of ironing


Another easy, quick and inexpensive method of creating your Printed circuit board.

6. PCB MAKING MADE EASY


Toner transfer method of producing printed circuit boards for electronics project.

7. PCB Design Tips | General Electronics Tutorial


As the introduction says the tutorial explains how to get rid of the ugly DIY circuits on prototyping board and design a PCB (printed circuit board) well. The video carries a whole bunch of PCB design tips so that your PCB comes out right!

8. Making of PCBs at home, DIY using inexpensive materials




Again a well explained and understandable video demo of how to create your own PCBs at home with easily available inexpensive materials. The author has used toner transfer method.

Source by web

gravatar

Arduino – Control 2 DC Motors Via Bluetooth

only works with AppInventor version 1.0 or also called classic that you can see here http://appinventor.mit.edu/explore/classic.html Click the button: “Invent your own Apps now” . This project still works just fine with my  app and with my Arduino code. But you can only edit the source code on Appinventor classic version. I’ll try to update the source code in the next 4 weeks or something. I’m currently working on another projects that I need to finish right away.
In this tutorial I’ll show you how you can control 2 DC motors via bluetooth with my brand new Android app.thumbdcmotors
It’s called “BlueArd” and It’s the 1.0 version. I want to upgrade my app later and add more features.
This app was created with MIT App Inventor. It’s a great place to start with android development.
If you remember my previous tutorial (Click here to see that project) where I was controlling 1 DC motor, I was using an app called “BlueTerm“. That app did the job but I didn’t like the design that much. So I’ve decided to make my own.
It’s my very first app and It’s working for me but I’m not sure if this will work for everyone.
If you want to make some improvements to my app, feel free to do that. But please contact me here! I’ll be glad to hear what you changed in my app.
Let’s take a look to “BlueArd“:

bluetoothappscreenshot
This app is perfect to control anything via bluetooth. You can edit this app for your needs. (you have the source code below… just click share to unlock the source code). But my idea is to create a robot later that will be controlled via bluetooth through this app.
Parts Required:parts
  • 1x Arduino Uno
  • 1x Bluetooth Module (for example: HC-05)
  • 1x Smartphone (any Android will work, I’ve only tested with Samsung Galaxy Ace)
  • BlueArd Application (you can download it below)
  • 1x L293D IC
  • x DC motor
  • 1x Breadboard
  • Jumper Cables
Schematics: 
DC motor Schematics
dc
Watch this video tutorial with a demo below:


Source Code go here....

gravatar

Beginner’s Android/Arduino example shows the power of App Inventor



app-inventor-android-bluetooth-example
This is a simple project. It uses an Android device to switch an LED driven by the Arduino. Connectivity is provided by the Bluetooth module inserted in the breadboard. But one look at the UI on the Android device and you might think this is anything but simple. The truth is that [Kerimil] didn’t spend forever learning Java and programming the app. Instead he’s showing off the power of  App Inventor to get your Android controls up and running fast.
Check out the third button down; when was the last time you added voice commands to your project? It’s worth clicking through to see just how simple that portion was. App Inventor — a Google cast-out that is now maintained by MIT — is a graphical tool that unlocks the power of an Android handset to those with the most basic of programming understanding. For instance, the voice controls shown off after the break are provided by a single bracket which uses conditional statements to ‘listen’ for the words on, off, and blink. You’ll find the voice recognition diagram after the break as well.
.


app-inventor-voice-controls

gravatar

Android code to control arduino via Bluetooth Shield (turn on / off LED)

1. Android Mobile
2. Bluetooth Module
3. Arduino ces-eshop
4. LED

Softwares used:
1. Eclipse IDE configured for android development
2. Arduino compiler

Bluetooth Module Details:
JY-MCU Arduino Bluetooth Wireless Serial Port Module
Default password: 1234
Baud rate: 38400
Dimensions: 1.73 in x 0.63 in x 0.28 in (4.4 cm x 1.6 cm x 0.7 cm)
PINOUT
PIN DESCRIPTION
1 KEY
2 VCC
3 GND
4 TXD
5 RXD
Adruino Code:

/***********************
Bluetooth switch arduino
***********************/
int state = 0;
int incomingByte;
void setup() {
//set pin 12 to output mode
pinMode(12, OUTPUT);
Serial.begin(9600);
}
void loop() {
// see if there's incoming serial data:
if (Serial.available() > 0) {
// read the oldest byte in the serial buffer:
incomingByte = Serial.read();
// depending on the incoming byte do the needful action
if (incomingByte == '1') {
digitalWrite(12, HIGH);
delay(500);
Serial.println("ON");
state=1;
}
else if (incomingByte =='2') {
digitalWrite(12, LOW);
delay(500);
Serial.println("OFF");
state = 0;
}
}
if(state)
Serial.println("ON");
else
Serial.println("OFF");
delay(250);
}
Arduino Bluetooth
Here is the android user interface, it just works anyway..
Phone Interface
For Android part I changed the code from here a little bit:
This is how the code works basically: 
1. On click of the Open button it calls findBT() and openBT() methods
2. findBT() method searches for all Paired bluetooth devices (in this case it tries to find a bluetooth device named ‘linvor’ and saves it, in your case this name can be different and hence need to replace in the code)
3. openBT() using UUID (universally unique identifier) creates a bluetooth socket connection on a bluetooth device by calling connect(). Then it opens input and output streams on this socket connection. And finally calls beginListenForData().
4. beginListenForData() opens a thread where it listens for data and if there is data it accumulates and shows them in a label.
5. At the same time there are ON and OFF button in the interface which sends data via output stream, thread is still running and listening for data.
6. Arduino received the data by his bluetooth companion and acts on that data using his logic also replies back to the android device.
7. In the Arduino site similar to Android there is Serial.read() which read the serial data and returns as int which is then matched for setting output pin to LOW or HIGH state. And there is Serial.println() for sending data back to Android for confirming the Status.
When pairing with the Bluetooth device (linvor) from Android it might ask a password which is generally ’1234′.
Android Code:

package Android.Arduino.Bluetooth;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import android.widget.EditText;
import android.widget.Button;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Set;
import java.util.UUID;
public class BluetoothTest extends Activity
{
TextView myLabel;
EditText myTextbox;
BluetoothAdapter mBluetoothAdapter;
BluetoothSocket mmSocket;
BluetoothDevice mmDevice;
OutputStream mmOutputStream;
InputStream mmInputStream;
Thread workerThread;
byte[] readBuffer;
int readBufferPosition;
int counter;
volatile boolean stopWorker;
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Button openButton = (Button)findViewById(R.id.open);
// Button sendButton = (Button)findViewById(R.id.send);
Button closeButton = (Button)findViewById(R.id.close);
Button onButton = (Button)findViewById(R.id.onButton);
Button offButton = (Button)findViewById(R.id.offButton);
myLabel = (TextView)findViewById(R.id.label);
// myTextbox = (EditText)findViewById(R.id.entry);
//Open Button
openButton.setOnClickListener(new View.OnClickListener()
{
public void onClick(View v)
{
try
{
findBT();
openBT();
}
catch (IOException ex) { }
}
});
//Send Button
/*sendButton.setOnClickListener(new View.OnClickListener()
{
public void onClick(View v)
{
try
{
sendData();
}
catch (IOException ex) { }
}
});*/
//ON SWITCH
onButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
try {
onButton();
} catch (Exception e) {
// TODO: handle exception
}
}
});
//OFF SWITCH
offButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
try {
offButton();
} catch (Exception e) {
// TODO: handle exception
}
}
});
//Close button
closeButton.setOnClickListener(new View.OnClickListener()
{
public void onClick(View v)
{
try
{
closeBT();
}
catch (IOException ex) { }
}
});
}
void findBT()
{
mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
if(mBluetoothAdapter == null)
{
myLabel.setText("No bluetooth adapter available");
}
if(!mBluetoothAdapter.isEnabled())
{
Intent enableBluetooth = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
startActivityForResult(enableBluetooth, 0);
}
Set pairedDevices = mBluetoothAdapter.getBondedDevices();
if(pairedDevices.size() > 0)
{
for(BluetoothDevice device : pairedDevices)
{
if(device.getName().equals("linvor")) //this name have to be replaced with your bluetooth device name
{
mmDevice = device;
Log.v("ArduinoBT", "findBT found device named " + mmDevice.getName());
Log.v("ArduinoBT", "device address is " + mmDevice.getAddress());
break;
}
}
}
myLabel.setText("Bluetooth Device Found");
}
void openBT() throws IOException
{
UUID uuid = UUID.fromString("00001101-0000-1000-8000-00805f9b34fb"); //Standard SerialPortService ID
mmSocket = mmDevice.createRfcommSocketToServiceRecord(uuid);
mmSocket.connect();
mmOutputStream = mmSocket.getOutputStream();
mmInputStream = mmSocket.getInputStream();
beginListenForData();
myLabel.setText("Bluetooth Opened");
}
void beginListenForData()
{
final Handler handler = new Handler();
final byte delimiter = 10; //This is the ASCII code for a newline character
stopWorker = false;
readBufferPosition = 0;
readBuffer = new byte[1024];
workerThread = new Thread(new Runnable()
{
public void run()
{
while(!Thread.currentThread().isInterrupted() && !stopWorker)
{
try
{
int bytesAvailable = mmInputStream.available();
if(bytesAvailable > 0)
{
byte[] packetBytes = new byte[bytesAvailable];
mmInputStream.read(packetBytes);
for(int i=0;i{
byte b = packetBytes[i];
if(b == delimiter)
{
byte[] encodedBytes = new byte[readBufferPosition];
System.arraycopy(readBuffer, 0, encodedBytes, 0, encodedBytes.length);
final String data = new String(encodedBytes, "US-ASCII");
readBufferPosition = 0;
handler.post(new Runnable()
{
public void run()
{
myLabel.setText(data);
}
});
}
else
{
readBuffer[readBufferPosition++] = b;
}
}
}
}
catch (IOException ex)
{
stopWorker = true;
}
}
}
});
workerThread.start();
}
void sendData() throws IOException
{
String msg = myTextbox.getText().toString();
msg += "";
//mmOutputStream.write(msg.getBytes());
//mmOutputStream.write(msg.getBytes());
//mmOutputStream.flush();
//mmOutputStream.close();
//mmSocket.close();
myLabel.setText("Data Sent"+msg);
}
void onButton() throws IOException
{
mmOutputStream.write("1".getBytes());
}
void offButton() throws IOException
{
mmOutputStream.write("2".getBytes());
}
void closeBT() throws IOException
{
stopWorker = true;
mmOutputStream.close();
mmInputStream.close();
mmSocket.close();
myLabel.setText("Bluetooth Closed");
}
}
As you can see this is just scratch, by adding more relays you can control more than one devices upto as much as your arduino board supports. Also fine tuning the code there are lot more possibilities. Let me know about your project in comments and/or any suggestions most welcome.
Source web

gravatar

SMS with PIC Controller

Send messages with PIC microcontroller:

Call, send SMS, read SMS & remote control with PIC 16F877 and mobile Phone
1- connect your mobile phone to the microcontrller board with serial cable firstly.
2- in ISIS PROTEUS simulation you can connect your phone with serial cable or USB cable or with Bluetooth.
download:
 
Source web

gravatar

USB TEMPREG


USB PIC 18F4550 TEMPRETURE REGULATOR
using a virtual COM port on PC over USB
1. install USB Drivers from: proteus 7 profissional -> virtual USB.
2. install drivers from this file (NT,2000,XP,VISTA,7).
download: (tempreg.dsn .c .hex .cof and unit1.cpp for C++ builder).
 
Source web

gravatar

Electric Imp WRL-11395

 
We know what you're thinking, "What's the big deal? Looks like an SD card..." Well this is no SD card! The Electric Imp is a WiFi enabled development platform powered by a Cortex-M3 processor core. "Really?" Yup.
In essence, the Imp provides an easy, integrated way to connect almost any hardware device both to other devices and to internet services. It's more than just a WiFi card, or even a WiFi module with processing built in - it's an integrated platform that deals with the drudgery of connectivity, allowing you to concentrate on the application instead of the mechanics.
It does this by integrating an 802.11b/g/n WiFi transceiver, a great antenna, a Cortex-M3 core and lots of flexible I/O in a tiny package. But the hardware is only part of what makes the Electric Imp an innovative platform. The development environment and workflow is totally cloud-based and in-browser! Simply program the Imp with your WiFi Network information using your iOS or Android smartphone (Optically! No special hardware required!) then log on to the Electric Imp developer website and program your module over-the-air!
Development is done in-browser and in a language called "Squirrel," which is a C-like language with extensions to communicate with the hardware interfaces and the service. Thanks to cloud-power, you get many big system benefits like buffered I/O and crash recovery - plus you can push updates to devices in the field with a few clicks. There's even a Planner tool that makes it easy to design interactivity between your Imps.
Note: Although, the Electric Imp comes in an SD form factor, it isn't compatible with standard SD devices. Development boards are available, though, in the related items below!
Dimensions: 32 x 24 x 2.1mm
Features:
  • Super Small Form Factor
  • WEP, WPA and WPA2 encryption
  • Cortex-M3 core gives great performance combined with low power consumption
  • 6 I/O - UARTs, I2C, SPI, analog in and out, PWMs, GPIOs... all selectable under software control
  • No SDK to install, no JTAG pods, no long download times... you develop your code in a browser-based IDE
  • Software that runs on the Imp is written in Squirrel, a C-like language
  • Data passes to and from the service over a TLS encrypted interface

 project :

Electric Imp Garage Door Opener

Impowered electrical outlets

Remotely Turn on a Desktop Computer

gravatar

Dot matrix printer



What is being done from a CD-ROM when the CD ROM is actually in a normal show details of electroniccomponents as well upon the order of the robot mechanical parts for construction has a very handy. The author has set up the printer parts and robot have done a very good system L293 is used for motor control circuits based on PIC16F628 pic prepared for computer control and java java applet source code shared.

 

This a printer that prints using a regular pen. It was made mostly from dead electronic devices, principally a DVD reader.

Update: I remade this printer in order to correct some issues, the new version can be seen here




Source :
habrahabr.ru/blogs/DIY/134178/ alternatif link: cd-rom-modifiyesi-bilgisayar-kontrollu-yazici-robot-projesi.RAR

gravatar

Proteus installation on Ubuntu 12.04



Ubuntu and Debian Linux-based operating system is based on tradition. Ubuntu's target for the average computer user and installation is very easy to use, up to date, and to provide a secure operating system.Ubuntu, with over 20 million users is the world's most popular Linux distributions.
Electronic company which is a product of Labcenter Proteus visual electronic circuit capable of enabling the simulation of a circuit diagram, simulation, animation and PCB drawing program. The most important difference from the classic workbench is loaded into the microprocessor. HEX files can be run. Proteus model library has an expanding day by day. Proteus software is a virtual laboratory. All kinds of electric / electronic circuit diagram on computer media using Proteus can try. Change the values ​​of the re-run of the circuit elements and the result can be observed. This program contains thousands of electronic elements can be used even in the production of circuit design. Electrical fault report can be prepared, the ingredients list on a regular basis can give a lot.
Proteus is a program for Windows based on the Linux operating system setup before "wine" [1] is the windows emulator 'is necessary to establish a reputation.
After installing Wine "Proteus-setup.exe" file and right click on " Wine Windows Program Loader to"command is issued.
After this step, following the standard installation process is completed.








Source by 320volt.com

gravatar

IOIO Control RGB LEDs

 

IOIO Control RGB LEDs

IOIO Bluetooth Control RGB LEDs Application is allow you to control RGB LEDs.
This App need connect to IOIO Board then control RGB LEDs.
IOIO Board Connection has 2 method.
1.Bluetooth Connection with USB Bluetooth Dongle.
2.USB Cable Connection.
more detail about IOIO Board 
The Application Features
  • Control Color for RGB LED.
  • Blink Function and can adjust timing to blink.
  • Fading Function and can adjust timing to fading.
  • When not connect IOIO Board yet – User Interface Disable.
  • When IOIO Board connected already - LED on IOIO Board is turn ON.
  • Free Version with Ad.
Hardware
1.IOIO Board or compatible Board.
2.USB Bluetooth Dongle. ( If you want Bluetooth coonection )
3.USB Cable ( if you want direct cable connection )
4.RGB LEDs  ( We use SPNovaLED model NMRTB-USD-AAB+ADE+Y2Z1-1 or other)
For the IOIO Board , you don’t need program hex code or flash code in to the IOIO Board.
It has firmware for ready to use. You are only wiring the cable to the RGB LEDs only.
Wiring Diagram


  • DC 5 Volt Power Supply to the IOIO Board.
  • PIN 10,11,12 on IOIO Board connect to RGB LEDs.
  • RGB LEDs common Ground. ( cathode )











Download App on Google Play


App Manual
  • Open App. If not connect IOIO board yet. Button and Seekbar on UI are all disable.


  • Connected to IOIO Board already. All UI are enable.
  • Ready to control RGB LEDs. and Blink , Fading Function.
  • Option Menu. on the top right corner. Wiring Diagram and About Developer
  • Exit App. use Status Bar then click to exit app.





Source by Web