Show Posts
Pages: [1] 2 3 4
1  Using Arduino / Interfacing w/ Software on the Computer / Re: Xbox wireless pad,processing and PWM on: October 16, 2012, 08:01:59 am
So simple.... I must check !
2  Using Arduino / Interfacing w/ Software on the Computer / Xbox wireless pad,processing and PWM on: October 16, 2012, 05:16:00 am
I have problem with processing script data output.
So there is https://dl.dropbox.com/u/35963789/processing%20code.txt processing  code - it send data from right trigger to first detected COM port.

And ardiono part [https://dl.dropbox.com/u/35963789/Arduino%20code.txt  - simple PWM sketch.

But there is some glitch - LED have only two states - on and off.  I'd probably messed input/output data types (HEX/DEC) and I can't find way out...
3  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet Shield on: January 05, 2012, 04:08:20 am
http://www.miniwebtool.com/mac-address-generator/
This one is good for generating random MAC
But I have no idea how to convert it ...

New questions appears -
I find that you can connect breakboard using corssed cable to LAN socekt in computer, same cable can be used to connect it to router

If someone needs library I found one
http://www.kiranjose.com/blog/2011/09/connect-to-internet-with-arduino-mega-2560-and-enc28j60-breakout-board_crossover_ethernet_cable/
4  Using Arduino / Networking, Protocols, and Devices / Ethernet Shield on: January 04, 2012, 04:43:37 pm
Someone had experience with this ?
It seems that this one don't have unique MAC so writing random will be good ?

http://translate.google.pl/translate?sl=zh-CN&tl=en&js=n&prev=_t&hl=pl&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Ftmp.www.lcsoft.net%3A8080%2FHardware%2FDetail.aspx%3Fid%3D4c0dc670-fce7-41aa-bb1d-128b75ce117d&act=url
5  Using Arduino / General Electronics / Re: External Voltage supply on: December 30, 2011, 05:58:20 am
Ok so I had circuit from this diagram except Resistor 240 ohms - I had only 220 ohms so I used it.
It works properly, using a pot I can change voltage. I set it to 3.3V and put positive terminal to leg on L293D corresponding for supplying motor. Negative one to GND of same IC and... nothing. 
6  Using Arduino / General Electronics / Re: External Voltage supply on: December 30, 2011, 03:15:04 am
I know, I build  1.2V-25V voltage  regulator from  typical application section. But I see my mistake right now ....
http://www.ti.com/lit/ds/symlink/lm117.pdf Input voltage should be more or equal 28V. I connected far less ...
7  Using Arduino / General Electronics / External Voltage supply on: December 29, 2011, 08:44:46 am
I have some stepper motors to power so I need to use some external voltage source, I chose LM317 circuit from  datasheet and Li-po battery(1700 mAh 25C)
How I can put it into use ?  Positive wire to L293D leg which supply power for stepper motor , negative one to gnd of arduino ?
I tried this but It fail a bit... Where is mistake  ? How to connect them.
8  Development / Suggestions for the Arduino Project / Re: Arduino 1.0 IDE Compatibility with previous versions on: December 11, 2011, 12:18:44 pm
So libraries form 022 are obsolete in 1.0 and we must wait for new versions or try to modify them ?
9  Using Arduino / Programming Questions / Re: Uploading Sketches without bootloader on: December 09, 2011, 08:31:06 am
I have ISP-programmer , how I can produce hex file ?
10  Using Arduino / Programming Questions / Uploading Sketches without bootloader on: December 09, 2011, 02:58:07 am
So I changed data in board.txt file ( line about protocol  atmega8.upload.protocol=avrispmkii)  to use stk500 for uploading data into ATmega should I change max upload size from  7168 to 8000 t ? 
11  Using Arduino / Programming Questions / Re: How to save some bytes on: December 04, 2011, 07:21:59 am
@Udo Klein
I use ISP uploading without bootloader.
I try to make lite versions of libraries used there.

@bubulindo
What if I use 4 bit-mode for LCD ?
12  Using Arduino / Programming Questions / How to save some bytes on: December 04, 2011, 04:35:01 am
I had to write a program for ATmega8 - clock with thermometer. I used DS1307 and DS18b20 and LCD for output and I had some problem - I must cut 1634 bytes from program. How to do this ?  I'd probably used too much libraries. How to cope with that ?


Code:
#include <DallasTemperature.h>
#include <WProgram.h>
#include <Wire.h>
#include <DS1307.h>
#include <LiquidCrystal.h>
DallasTemperature tempSensor;
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
char time [20];
char date [20];


void setup(void) {
   lcd.begin(16, 2);
   tempSensor.begin(2);
/*
   RTC.stop();
  RTC.set(DS1307_SEC,0);        //set the seconds
  RTC.set(DS1307_MIN,52);     //set the minutes
  RTC.set(DS1307_HR,9);       //set the hours
  RTC.set(DS1307_DOW,7);       //set the day of the week
  RTC.set(DS1307_DATE,27);       //set the date
  RTC.set(DS1307_MTH,2);        //set the month
  RTC.set(DS1307_YR,11);         //set the year
  RTC.start();
  */
}
void getTime(char *t, char *d){
  sprintf(t,"%.2i:%.2i:%.2i",
   RTC.get(DS1307_HR, true),
   RTC.get(DS1307_MIN, false),
   RTC.get(DS1307_SEC, false)
   );
  sprintf(d, "%i/%i/%i",
   RTC.get(DS1307_DATE, false),
   RTC.get(DS1307_MTH, false),
   RTC.get(DS1307_YR, false)
 ); 
}

void loop() {

        lcd.setCursor(9,0);
         lcd.print(tempSensor.getTemperature());
         lcd.write(0xDF);
        lcd.write('C');
       lcd.setCursor(0,0);
        getTime(time, date);
        lcd.setCursor(0,0);
         lcd.print(time);
        lcd.setCursor(0,1);
         lcd.print(date);

}

 
13  Using Arduino / Microcontrollers / Re: Using USB-RS232 converter on: September 26, 2011, 10:45:50 am
Sounds dangerous... First step is bring back to life Uno board after this I might try proceed with home-made board.
14  Using Arduino / Microcontrollers / Re: Using USB-RS232 converter on: September 26, 2011, 07:16:06 am
Arduino Uno , home-made board based on ATmega8 don't have USB port, it is ISP only.
If someone could provide me tutorial "burning bootolader for dummies" smiley-wink

https://github.com/WestfW/OptiLoader - this one could help with atmega8 ? Less things to set so less things to broke smiley-wink
15  Using Arduino / Microcontrollers / Re: Using USB-RS232 converter on: September 23, 2011, 08:13:05 am
So I uploaded hex file from optiboot thread,  (used hex file from attachment,verified,I don't touch fusebits or lockbits used avrdude with procedure erase-write-verify ) and another problem appears. Board have no communication with PC.
For now it not respond to being plugged to USB port.... So must be problem with code ?
What now ? Use IDE and ubasp to upload data once more ?
Pages: [1] 2 3 4