Show Posts
Pages: [1] 2
1  Using Arduino / Project Guidance / Re: Can i use an Actual Computer Serial Port to Upload Sketches ? on: June 21, 2013, 05:03:42 pm
But hey, they're keeping busy and not out in the street playing in traffic smiley-cool

LOL !

or 'with' traffic (in my driving years lol !)
2  Using Arduino / Project Guidance / Re: Can i use an Actual Computer Serial Port to Upload Sketches ? on: June 21, 2013, 05:02:38 pm
Quote

That's all well and good, but he doesn't actually seem to be doing that. Recycling old junk is suddenly far less admirable when all he's really doing is providing the junk and making it your problem to figure out how to make use of it. The circuit to convert RS232 to TTL is pretty simple, especially given that you only need a simplex connection, but the fact he hasn't even managed to find that suggests to me that actually he's put no effort at all into this. And given that he doesn't seem to be using this as a learning exercise, and seems to be asking you to do if for him just to save about $2 for an off-the-shelf part, what's the point of this exercise?
 

Ahh yes, now that would be my gullible side lol !

but ive learned something about the rich history of from what simple components an Arduino board evolved from and loving every stumble, hurdle and triumph - especially actually making these circuits ! Ive been making up real simple PCB's and trying out SMD soldering too but just need to spend more time studying the theory and equations side of electronics, although im severely limited to how much i can do everyday, its such a bad joke....

Anyhoo i suppose the moral of this story is that i dont mind helping out and in the end i learn something from it that will hopefully stay with me for a long time and something i can now refer back to when i get my hands on some old tech ! Thoroughly bookmarked lol !

Once again thanks Peter ;-)
3  Using Arduino / Project Guidance / Re: Can i use an Actual Computer Serial Port to Upload Sketches ? on: June 21, 2013, 02:20:54 pm
!!! PERFECT !!!!

Thanks crossroads, this is officially SOLVED BEAUTIFULLY !!!!!!
Just what we were after, no IC's, no complications in finding old tech with the possibility of an RS232 IC in it, just a bunch of resistors, connectors and transistors lol ! (and a VR lol)

Thanks to everyone for all your help in so quickly solving this !

Now i want to track down an old computer  smiley-lol
4  Using Arduino / Project Guidance / Re: Can i use an Actual Computer Serial Port to Upload Sketches ? on: June 21, 2013, 01:40:18 pm
That's the interface from the original Serial Arduino. So yes, it should work.

Ahh i see, lol, yaa didnt know as im just learning the world of Arduino so will put this into practice ! looks like a great simple little circuit !

Thanks again !

By the way, by meaning an old computer serial port i meant the DB9 connector on old computers ! Sorry still very much a beginner in the world of arduino so still learning its roots !
5  Using Arduino / Project Guidance / Re: Can i use an Actual Computer Serial Port to Upload Sketches ? on: June 21, 2013, 01:30:56 pm
Good evening to you Peter & crossroads !

Thanks so much for your advice

Yaa im in the UK too lol, only just learning electronics at present but mind is torn between my daily pain levels of my disability so im finding it pretty hard to concentrate on learning electronics but trying my very best to do so this time, been learning all year so far and doing pretty okay so far, just need some help on how the old boys used to do this in the times of the Old Serial Arduino Boards (DB9 Connector on old computers to Arduino Board, @ crossroads too, sorry, this is what i meant !) on earlier Arduino Boards !

But im actually trying to help out a friend who has an old computer and has an Atmega1284 setup on a breadboard but is hell bent on only using components found in old junk, so hey ho, if thats what he wants to do, im just seeing if there's any old devices out there that would yield an RS232 to TTL serial IC, ive already recommended that he just buys the MAX232 IC (i think this was used on the very early arduino boards?!?) but this one's adamant that he wants to use the DB9 serial port on an old computer and only reclaim IC's and what-not from old tech !
6  Using Arduino / Project Guidance / Re: Can i use an Actual Computer Serial Port to Upload Sketches ? on: June 21, 2013, 12:07:56 pm
Wow thanks for the fast reply !

Im not sure, has this been tried and tested by any chance ?!?

i think ive got the components to test this but annoyingly i dont have an old computer with a serial port lol !!

And the problem is my friend doesnt have many components to try this with as he strictly only cannibalises old tech for his projects and only buys the atmega chips, breadboards and stuff you cant get from old tech so he cant afford to be wrong with testing a new way out ;-)

Your circuit diagram looks quite nicely drawn, did you do this yourself or is there a link from somewhere on the internet with more info about it, just for a bit of reading into it lol ?!!?
7  Using Arduino / Project Guidance / Can i use an Actual Computer Serial Port to Upload Sketches ? on: June 21, 2013, 11:44:40 am
Hi there folks,

okay i dont think this is possible but a friend is wanting to do this and im out of ideas and my Google-Fu isnt bringing up much !

I want to use an actual Old computer's Serial Port to upload sketches to a breadboard Arduino Uno which works nicely but am a bit stuck as we have an almost impossible challenge !!!!

The challenge is, we want to only recycle and gather parts for this project from old devices, de-solder anything we need to be able to upload via the Serial Port on an old computer.

Now, ive already gone to say that the serial port is 12v (i think, lol) so we would need a voltage regulator and also a way to get the serial to talk to the Arduino via a TTL to Serial IC and this is where is all falls down.....

What kind of old devices are there out there that would have an IC inside for enabling us to convert TTL to serial for uploading sketches ?

Ive personally done a full few weeks searching for devices using the MAX232 IC and not even come up with ONE old device!!!

Anything will do as long as its an old device and we can interface it with the Direct serial port connection on an old PC's serial cable !

Trying to think green here but need help lol !

Any help towards this would be so very greatly appreciated and a great many thanks in advance ! ! !
8  Using Arduino / Networking, Protocols, and Devices / Re: RTC Module Not Updating Time from Computer - Please Help ! on: June 19, 2013, 04:00:56 pm
Hey thanks, took the whole statement out, its updated with the set time and date in the sketch but the RTC module still doesnt count the time or 'tick' !

heres what i get:

16/8/12-14:43:30
 week: 4
16/8/12-14:43:30
 week: 4
16/8/12-14:43:30
 week: 4
16/8/12-14:43:30

Any idea's ?!?
9  Using Arduino / Networking, Protocols, and Devices / RTC Module Not Updating Time from Computer - Please Help ! on: June 19, 2013, 03:17:56 pm
Hi everyone !

Ive been having this problem on and off for MONTHS !!!

One day my sketch will work and other days it wont update the RTC Module and all i get is:

1/1/2000-0:0:80
 week: 1
1/1/2000-0:0:80
 week: 1
1/1/2000-0:0:80
 week: 1
1/1/2000-0:0:80
 week: 1

and this repeats on and on !

Ive checked the connections, battery power is always 4v or slightly above, bought the module from here:

http://www.ebay.com/itm/Arduino-I2C-RTC-DS1307-AT24C32-Real-Time-Clock-Module-For-AVR-ARM-PIC-SMD-/170910326110?ssPageName=ADME:X:RTQ:US:1123

and have 7 of these but im on a quest for better accuracy clock crystals and just soldered a very high accuracy clock crystal to one of my RTC Modules but now tearing my hair out because i cant set the correct time and date on ANY of them !!!


From RTC Module   To   Arduino Hardware
BLACK (GND)      To GND Pin
RED (VCC)   To   5v Pin
(SDA)      To   A4 Pin (Analog Pin A4)
(SCL)      To   A5 Pin (Analog Pin A5)


This is my sketch im using and has worked fine on all others, when it wants to, but now the sketch doesnt work and after ive had-enough of trying endlessly for HOURS i leave it all alone, battery taken out and try it a few days later and it works ! But now its been 4 days and im still none the wiser sifting through endless forum posts that never mention this problem !

Does anyone know why this is happening please ?

sorry, heres the sketch:

Code:
#include <Wire.h>
  uint8_t seconds = 30;//Initialization time
  uint8_t minutes = 43;
  uint8_t hours = 14;
  uint8_t week = 4;
  uint8_t days = 16;
  uint8_t months = 8;
  uint16_t Year = 12;
int bcd2bin(int temp)//BCD  to decimal
{
int a,b,c;
a=temp;
b=0;
if(a>=16)
{
while(a>=16)
{
a=a-16;
b=b+10;
c=a+b;
temp=c;
}
}
return temp;
}

int bin_to_bcd(int temp)//decimal to BCD
{
int a,b,c;
a=temp;
b=0;
if(a>=10)
{
while(a>=10)
{
a=a-10;
b=b+16;
c=a+b;
temp=c;
}
}
return temp;
}
void setup () {
    Serial.begin(9600);
    Wire.begin();
    //begin(void) {return 1;}
}
 
void loop () {
  /*Wire.beginTransmission(0x68);//DS1307 write the initial time
  Wire.write(0);
  Wire.requestFrom(0x68, 7);
  Wire.write(bin_to_bcd(seconds));
  Wire.write(bin_to_bcd(minutes));
  Wire.write(bin_to_bcd(hours));
  Wire.write(bin_to_bcd(week));
  Wire.write(bin_to_bcd(days));
  Wire.write(bin_to_bcd(months));
  Wire.write(bin_to_bcd(Year));
  Wire.endTransmission();*/
 
  while(1){
  Wire.beginTransmission(0x68);//Send the address of DS1307
  Wire.write(0);//Sending address
  Wire.endTransmission();//The end of the IIC communication
 
  Wire.requestFrom(0x68, 7);//IIC communication is started, you can continue to access another address (address auto increase) and the number of visits
    seconds = bcd2bin(Wire.read());//read time
    minutes = bcd2bin(Wire.read());
    hours = bcd2bin(Wire.read());
    week = Wire.read();
    days = bcd2bin(Wire.read());
    months = bcd2bin(Wire.read());
    Year = bcd2bin(Wire.read()) + 2000;
   
      Serial.print(days, DEC);
      Serial.print('/');
      Serial.print(months, DEC);
      Serial.print('/');
      Serial.print(Year, DEC);//Serial display time
      Serial.print('-');
      Serial.print(hours, DEC);
      Serial.print(':');
      Serial.print(minutes, DEC);
      Serial.print(':');
      Serial.print(seconds, DEC);
      Serial.println();
      Serial.print(" week: ");
      Serial.print(week, DEC);
      Serial.println();
      delay(1000);
  }
}

This sketch "normally" grabs the date and time from my computer and updates the RTC module with it MINUS 12 seconds it takes to upload the sketch so to get it uploaded accurately to the second, i wait till theres 12 seconds left in the minute on my computer's clock, then hit the upload button and usually only a second or two in or out !

Would anyone be able to shed any light on this please please please ?!?

A GREAT Many thanks in advance for any help towards a remedy !
10  Using Arduino / Displays / Re: is there a smaller than 8x2 LCD Module available for use with arduino hardware ? on: April 19, 2013, 04:19:31 pm
Wow !

Thanks Crossroads, those 8x1 LCD's are pretty cool, just cant get them on my fav electronics superstore... ebay lol

Good idea with the 7-segment displays, going to look into that asap !

Also thanks loads @ Semicolo !!

Thats a great idea to use bigger font sizes !

I was only just looking at a similar thread, cant believe i missed yours !!

Heres what i found, its a bit beyond my humble learner skills but im sure you'd know how to get the extra characters in there, not sure if you knew how to get characters as well as numerics on the LCD's:

Big Font LCD:
http://arduino.cc/forum/index.php/topic,44427.0.html

Still, im looking for a nice cute tiny little LCD, if one exists, something like a 4x2 character LCD would be pretty cool to have, probably just day-dreaming but hope something like that does exist lol !

Thanks again for all your help so far ;-)
11  Using Arduino / Displays / is there a smaller than 8x2 LCD Module available for use with arduino hardware ? on: April 19, 2013, 02:45:29 am
Hi all, firstly a great many thanks in advance for any help !

ive only just found these 8x2 LCD Displays

http://www.ebay.co.uk/itm/Mini-8x2-Characters-LCD-Module-HD44780-/230752879654?pt=LH_DefaultDomain_0&hash=item35b9f18426

but am probably only needing something half that size, only enough to display the temperature in °C (UK) so wouldnt really need anything more than " XX°C " so say, 4 characters, one line !

But ive been scouring the internet for months now and finally at the point where i need help lol !

Does anyone know of a real tiny LCD module we can use with the Arduino ?

I dont mind any SMD soldering if needed, so if any LCD needs SMD components (as long as its not the MLF package's, pins under the IC etc lol) then i'd be most pleased to hear about them !!

Many thanks again for any input !
12  Using Arduino / Microcontrollers / Re: Atmega8A-AU & Atmega328P-AU Optiboot Bootloading Help !!! on: December 20, 2012, 07:55:29 pm
Okay so i think ive sussed out the pins and now get this message so i think that ive got the pins correctly established and all i need is the right modification of the Atmega8A-AU device signature, please please help westfw !!

heres what i get now on compiling the optiboot sketch:

c:/users/mini power house 1.0/desktop/arduino-1.0/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: optiLoader.cpp.elf section .text will not fit in region text
c:/users/mini power house 1.0/desktop/arduino-1.0/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: region text overflowed by 4182 bytes


a yelp for help lol !!!
13  Using Arduino / Microcontrollers / Re: Atmega8A-AU & Atmega328P-AU Optiboot Bootloading Help !!! on: December 20, 2012, 12:59:50 pm
Okay so you were completely correct about the Adapter's pins not being as straight forwardly placed as i found pin-1 and its not where pin 1 is supposed to be on the DIP pin headers as the picture below shows...


So the supplier is un-helpful and his supplier asked the manufacturer for a pin layout and theres going to be no help from there but they said to check the pins with a digital multimeter (DMM) to see what they are... ok... so does anyone know how to do this and how on earth would i be able to find out what pin is connected to each pin on the TQPF chip inside the adapter ?

Or if anyone could kindly point me to anywhere saying what readings i am looking for from the DMM ? basically is this even possible to determine what each pin is for ?

many thanks in advance
14  Using Arduino / Microcontrollers / Re: Atmega8A-AU & Atmega328P-AU Optiboot Bootloading Help !!! on: December 18, 2012, 01:12:47 pm
well ima just checking the pinouts from the manufacturer of the adapter i have, just to rule out the possibility ive got the pins completely wrong, will let you know how that goes lol !!

watch this space lol !!!

thanks so very very much for the help westfw !!!!
15  Using Arduino / Microcontrollers / Re: ATMega 328P-PU on Breadboard with PL2303 USB>Serial on: December 17, 2012, 04:25:30 pm
Your most-welcome tack !

i bought the resin from: (i'm also in the UK, London !)

http://stores.ebay.co.uk/MB-Fibreglass/_i.html?_nkw=Water+Clear+Casting+Resin+%2B+Catalyst%2C+DSM+Synolite&submit=Search&_sid=869123677

and as i always buy stuff in bulk i bought the 5KG tub lol !

so plenty for other stuff i got plans for lol !

Also ive made a few instructables for Arduino on breadboards for beginners as im learning myself and got a terrible memory so its for future reference just in case i ever forget anything lol !

right here for Arduino UNO on breadboard
http://www.instructables.com/id/How-To-Make-The-Easiest-Breadboard-Arduino-UnoE/

that ones jam-packed with info i found all over the net !

As a side note, ive been trying to request samples from Atmel for months but they wont send to me, all i keep getting is:

Your email domain is not authorized to request samples from Atmel.com.

Please use your company email domain to request samples


but my email address is a free one on yahoo and dont have any other email address, how did you get them to send to you, if you dont mind me asking ?!?  smiley-wink

Pages: [1] 2