Show Posts
Pages: 1 [2] 3 4 ... 6
16  Topics / Device Hacking / thermal printer + Arduino on: July 30, 2013, 03:30:00 am
I recently salvaged a thermal printer saying "EM205_101122" on it's circuit board. I also got success in accessing to all it's datasheets.
It seems that it has a RS232 as well as TTL ports, but both of the ports are given two  extra pins saying "RTS/DTS and DTR/DSR".
While I read about them, they are the flow control pins and are to be kept +12V or -12V.
For communication with the Arduino (as given  in this tutorial: http://bildr.org/2011/08/thermal-printer-arduino/) does these pins are required to be used or we can just use the RX TX pins only?

Help me as I'm stuck in middle of it and I just want to be sure as I don't want to burn anything trying to make it.

Ps find the datasheets as attached below
17  Using Arduino / Project Guidance / Re: Doppler Speed Radar on: March 08, 2013, 04:23:15 am
No 5 volts is maximum. & currently, since I'm using it for vehicle speed measurement, you can expect the worse conditions. Any type of vehicle's surface from Indian Roads shall be the reflecting surface.
18  Using Arduino / Project Guidance / Re: Doppler Speed Radar on: March 07, 2013, 05:23:54 pm
Is there a way of increasing the range of the Doppler radar? As in the data sheet of the Doppler radar(that I bought from an Indian market) shows a maximum sensing range of 20ms . But when I tested it on road, it gave me hardy1.5-1.8ms sensitivity. The parallex X-band sensor have a range 2.4-9m approx. I need to increase the range of my Doppler since I cannot get a parallex model whose sensitivity range can be controlled with a trim pot.

19  Using Arduino / Installation & Troubleshooting / Platform specificity on: February 22, 2013, 05:17:09 pm
Can Arduino IDE be installed on platforms like these:

http://www.ebay.in/itm/7-NETBOOK-LAPTOP-WITH-WINCE-6-0-300MHZ-2GB-WIFI-OFFICE-APP-/390533849340?pt=IN_PC_Laptops&hash=item5aeda1a0fc

http://www.ebay.in/itm/Datawind-Ubisurfer-9-Netbook-Mfg-By-Aakash-Tablet-/281067377894?pt=IN_PC_Laptops&hash=item4170ebd4e6

http://www.ebay.in/itm/UNIQUE-VESPRO-7INCH-NETBOOK-LAPTOP-WIFI-USB-MRP-14000-MUST-FOR-PROGRESS-/261166485952?pt=IN_PC_Laptops&hash=item3ccebc51c0

with mostly windows CE mobile OS.

Can I even install Windows XP in 'em, to make it all work?
20  Using Arduino / Project Guidance / Re: Servo control on: February 14, 2013, 03:43:11 pm
Though the delay's not much, it is noticeable.  Sorry if I was not able to convey the msg very clearly before . I tried, before you replied, with deleting all the delays in the Arduino code & that creates trouble definitely. So after 3 experimentation, I fixed the above given delays. Also I sorted out the sending of serial data to the com port from the applet by the your concept of - "Sending only the new values at some small 20ms delays", kind of solved the problem.
21  Using Arduino / Project Guidance / Re: Servo control on: February 14, 2013, 06:56:33 am
It felt like the buffer was not completely cleared & the motor was turning against it's will . Some times it tries to rotate completely, but couldn't & the slow response is due to the delay's I used on both the boards.

Also can I communicate between ATtiny85/45 & Arduino UNo using I2C. Separate I2C  lines are not present in ATtinys. So we might need an USI-I2C converter sort of thing .
I'm asking this because I want to replace my Arduino-2 with n ATtiny. Is that possible?
22  Using Arduino / Project Guidance / Re: Servo control on: February 14, 2013, 05:57:47 am
It works. But the response is pretty slow unlike the serial communication.  smiley-confuse
23  Using Arduino / Microcontrollers / Re: Clock signal on a digital pin on: February 14, 2013, 05:05:14 am
It worked. I did used a tutorial on how to bootload a Arduino using other arduino. Used it to bootload my Arduino Pro mini 3.3v with modified clock ouput pin 8 & used the successful Pvision lib for the exp. Yanks a lot
24  Using Arduino / Microcontrollers / Re: Clock signal on a digital pin on: February 14, 2013, 03:22:25 am
I came up with this here
http://arduino.cc/en/Tutorial/ArduinoISP

My questions:
1. Do I need to put a logic level converters between the wires as I'm going to bootload the Arduino Pro Mini 3.3v with my Arduino Uno(5V)?
2. Do I need to put a 10uf cap between Reset & GND & should the RESET line of the programmer ARDUINO UNO go to PIN 10 of my Pro mini & ground parallel?
25  Using Arduino / Microcontrollers / Re: Clock signal on a digital pin on: February 14, 2013, 02:49:46 am
It would also better if anybody can show me how to bootload an Arduino Pro mini 3.3 volt. Any tutorial link for promini 3.3V will do.
26  Using Arduino / Microcontrollers / Re: Clock signal on a digital pin on: February 13, 2013, 01:21:01 pm
Thanks will try it out soon tomorrow
27  Using Arduino / Project Guidance / Re: Servo control on: February 13, 2013, 12:50:56 pm
Thanks PETER for your constant support. Power cut is going on here. Also tired of all the discussions through-out the day. will let you know tomorrow.
Should I also keep the out-put value from the arduino-one as "byte" or "int"? And the servo.Write() & serial.Println() should be in void loop() or event-handler loop?
28  Using Arduino / Project Guidance / Re: Servo control on: February 13, 2013, 11:24:20 am
Yes; Arduino 2 is receiving the correct values. Can you please state how to do that. I'm new new to this.
 Do you mean something like this:

Code:
#include <Wire.h>
#include <Servo.h>

Servo myservo;
volatile int x = 0;

void setup()
{
  Serial.begin(9600);
  myservo.attach(9);
  Wire.begin(4);               
  Wire.onReceive(receiveEvent);
}

void loop()
{
   myservo.write(x);
   Serial.println(x);
   Serial.flush(); 
   delay(5);
}

void receiveEvent(int howMany)
{
   x = Wire.read();
   
  }
29  Using Arduino / Microcontrollers / Clock signal on a digital pin on: February 13, 2013, 11:05:59 am
Hello everyone.
I recently came up with a post where we can connect a hacked nintendo wii's pixart camera to Arduino via I2C. In the post they suggested that the camera's CLK, need to be 18, 20-25 MHz for 5 volt uControllers.
http://www.stephenhobley.com/blog/2009/03/01/pixartwiimote-sensor-library-for-arduino/comment-page-1/#comments
A guy named Adam McDonald commented in the same post that he's been able to use the clock signal of 8MHz from his Pro mini of 3.3v I/O lines  to the pixart camera.
Now I need a method be explained to me in an easy manner of "getting an 8Mhz signal by setting the fuse bytes on the Arduino to output the clock signal on a digital pin" (I don't understand how to get that 8MHz signal).
For that you obviously don't need to know that what I'm going to do with that signal. Just assume I need it?
Can anybody help me here with some real solutions.
Thanks in advance
30  Using Arduino / Project Guidance / Re: Servo control on: February 13, 2013, 10:03:20 am
My servo's working fine(ran the "sweep" example with success). Also I tried to read the data coming to the 2nd arduino in the serial monitor (for my case COM-4) as I applied on the slider in applet running by processing, sending serial data to the first arduino(COM-14). I was communicating successfully.
 Here are the codes :
------------Processing applet code--------------
Code:
import processing.serial.*;
import controlP5.*;

Serial port;
ControlP5 cp5;

int tilt = 0;

void setup()
{
size(200, 200);

port = new Serial(this, "COM4", 9600);
//port.bufferUntil('\n');

cp5 = new ControlP5(this);

cp5.addSlider("tilt")
     .setPosition(88,7)
     .setSize(20,180)
     .setRange(0,180)
     .setValue(90)
     ;
}

void draw()
  {
    background(0);
    println(tilt);
    port.write(tilt);
  }

Arduino code which will receive serial data from the Processing & communicate with other arduino through I2C.

------------Arduino One Code-------------------
Code:
#include <Wire.h>

void setup()
{
  Wire.begin();
  Serial.begin(9600);
}

int x = 0;

void loop()
{
  while(Serial.available())
  {
    x = Serial.read();
   
    Wire.beginTransmission(4);
    Wire.write(x);
    Wire.endTransmission();
   
    Serial.flush();
   
    delay(20);
  }
}

the code for Arduino which will receive data fro the 1st arduino & print the results in the serial monitor.

----------------Arduino Two Code--------------------

Code:
#include <Wire.h>
#include <Servo.h>

Servo myservo;

void setup()
{
  Serial.begin(9600);
  myservo.attach(9);
  Wire.begin(4);               
  Wire.onReceive(receiveEvent);
}

void loop()
{
   delay(5);
}

void receiveEvent(int howMany)
{
   int x = Wire.read();
   myservo.write(x);
   Serial.println(x);
   Serial.flush(); 
  }

I guess the servo is getting same value multiple times & thus is freaking out(As it is coming serially all the time). I need to use something that will let the servo pick up a changed values once (as they change) only to make it move & not the same value continuously coming over serially to first arduino & to it through I2C finaly.
 Something to flush the excess data.

Can any body test anything on this & help with a modified code please?
Pages: 1 [2] 3 4 ... 6