Show Posts
Pages: [1] 2
1  Using Arduino / Networking, Protocols, and Devices / Arduino Uno and 24LC16B on: April 17, 2014, 11:21:17 am
Hi

This little EEPROM drive me crazy. (http://ww1.microchip.com/downloads/en/DeviceDoc/21703L.pdf)
My code:

Code:
#include <Wire.h>
#define EE_ADDRESS 0x50

void setup()
{
  Serial.begin(9600);
  Wire.begin(); // join i2c bus (address optional for master)
  
  Serial.println("Send");
  Wire.beginTransmission(EE_ADDRESS); // 24LC16 device address
  Wire.write(0); // address within EEPROM
  Wire.write("Arduino"); // send 7 data bytes
  Wire.endTransmission();
  
}

void loop()
{
  Serial.println("Receive");
  Wire.beginTransmission(EE_ADDRESS); // 24LC16 device address
  Wire.write(0); // address within EEPROM
  Wire.endTransmission();
  Wire.requestFrom(0x50, 7); // request 7 bytes from device
  
  while(Wire.available())
  {
    byte c = Wire.read();
    Serial.print(c); // print the character
  }
  Serial.println();
  delay (5000);
}

My setup:
pin 4 VSS to ground
pin 5 SDA to Analog pin 4 Pull upp resistor
pin 6 SCL to Analog pin 5 Pull upp resistor
Pin 7 WP  to ground
Pin 8 +5V to the +5V pin on the UNO.

If i check with an I2C bus scanner code i get response:

I2C Scanner
Scanning I2C bus from 0 to 127...
00 2      01 2      02 2      03 2      04 2      05 2      06 2      07 2    
08 2      09 2      0A 2      0B 2      0C 2      0D 2      0E 2      0F 2    
10 2      11 2      12 2      13 2      14 2      15 2      16 2      17 2    
18 2      19 2      1A 2      1B 2      1C 2      1D 2      1E 2      1F 2    
20 2      21 2      22 2      23 2      24 2      25 2      26 2      27 2    
28 2      29 2      2A 2      2B 2      2C 2      2D 2      2E 2      2F 2    
30 2      31 2      32 2      33 2      34 2      35 2      36 2      37 2    
38 2      39 2      3A 2      3B 2      3C 2      3D 2      3E 2      3F 2    
40 2      41 2      42 2      43 2      44 2      45 2      46 2      47 2    
48 2      49 2      4A 2      4B 2      4C 2      4D 2      4E 2      4F 2    
50 found! 51 found! 52 found! 53 found! 54 found! 55 found! 56 found! 57 found!
58 2      59 2      5A 2      5B 2      5C 2      5D 2      5E 2      5F 2    
60 2      61 2      62 2      63 2      64 2      65 2      66 2      67 2    
68 2      69 2      6A 2      6B 2      6C 2      6D 2      6E 2      6F 2    
70 2      71 2      72 2      73 2      74 2      75 2      76 2      77 2    
78 2      79 2      7A 2      7B 2      7C 2      7D 2      7E 2      7F 2    

-------------------------------
Possible devices:
50 = AT24C32/AT24C64 - EEPROM
51 = Unknown
52 = Unknown
53 = Unknown
54 = Unknown
55 = Unknown
56 = Unknown
57 = Unknown
done

But my code doesnt do anything. Dont read the EEPROM at all. WHY???   smiley-cry
 
2  Using Arduino / Displays / Re: Identifying my LCD on: November 08, 2013, 05:15:43 am
According to my mental arithmetic, with the components you specify, that circuit will oscillate at upwards of 50 kHz.  If you are using silicon power diodes of the 1N4004 sort, they cannot switch at (anywhere near) that speed, so they capacitively load the circuit instead of rectifying.   I think you might do a lot better using 1N914/ 1N4148  diodes and 1µF capacitors and use a 0.047µF capacitor for the time constant.

In any given design, you may have an Arduino pin that is continuously being clocked at a relatively high frequency which you could use to drive the "pump".


Thanks again but i have not the knowledge for the replacing. Im good at the programming but not with the circuits itself. Can i ask you to draw a circuit with your components? Or replace them in my circuitdrawing? Sure i used 1N4001 diodes. Is it better with this diodes? http://media.digikey.com/pdf/Data%20Sheets/Rohm%20PDFs/RB050LA-40.pdf
3  Using Arduino / Displays / Re: Identifying my LCD on: November 08, 2013, 01:11:07 am
That circuit should work as far as I can see, but you could do just as well by arranging one Arduino pin to be continuously generating a square wave output and driving the "pump" with the two capacitors and two diodes.

Since the current requirement is so low and you can "pump" at a high speed, you could use 1N914 or similar diodes and 1µF capacitors.


Thx for the information but my question is still upp. Why the negativ voltage dropping in the circuit? I drive it with a transformator powered 12V 1A standard power supply. I dont want to use en arduino pin for this purpose.
4  Using Arduino / Displays / Re: Identifying my LCD on: November 07, 2013, 02:08:44 pm
Hi

I tried this NE555 circuit to get the negativ voltage for the display but the output is just -6volt and dropping.
What can it be the fail? Is this a good circuit for the job?

5  Using Arduino / Displays / Re: Identifying my LCD on: November 06, 2013, 03:55:11 pm
Yeah

I shorted out!  smiley-twist
The pin 23 is the backlight 12V+ and 24 is backlight ground. I dont understand why need an extra ground for the backlight???
Then i connected a 1.5V AA batteri for some negativ voltage and i can see my Hello World on the screen.
So the panel doesn't have negativ voltage generator!
Thx for the nice library...
6  Using Arduino / Displays / Re: Identifying my LCD on: November 06, 2013, 03:24:51 pm
Hi

 smiley-confuse

I connected the pins but no negativ voltage and no backlight. Maybe the lcd is functioning but its too dark to see it.
Pin 23 and 24 is the backlight pins to the LEDs but they are dark... I tried with 5V from the arduino. Is it enough amps in the arduino +5V output to drive the backlight? 16 SMD LEDs in the backlight. Why is it two pins for the LEDs?

This datasheet is the nearest one but its only 20 pins... i have 24  smiley-eek
7  Using Arduino / Displays / Re: Identifying my LCD on: November 05, 2013, 03:40:03 pm
Hi

Thanks for the info but im a kind newbie with arduino.
U11 is an LTES which can be an LT1611 - Inverting 1.4MHz Switching Regulator if google is right.
I tested out the pins and i will try to connect to the arduino next time.

1         2   vss (0v)
3   vdd(5v)      4   
5   wr      6   rd
7   ce      8   c/d
9         10   reset
11   d0      12   d1
13   d2      14   d3
15   d4      16   d5
17   d6      18   d7
19   fs1      20   
21         22   
23         24   ???12v to the backlight
8  Using Arduino / Displays / Identifying my LCD on: November 01, 2013, 05:32:19 am
Hello

I get an LCD from a control panel (miele wash machine) and maybe someone can identify it for me.
I tried to google it but its hard to find some usefull info.

Type:
Optorex Europe
P/N: 3231814
Mat.-Nr: 6218610
MG 817au-la
P-817-03 (rev. F)

Driver IC is a Toshiba T6963C

Have a 24 Pins connector. If someone can help me with the pinout and some "hello world" sample...
9  Using Arduino / Motors, Mechanics, and Power / Re: I just fried my nano! on: August 25, 2012, 09:19:33 am
Hi

I drive my motors with this layout. http://www.arduino.cc/playground/uploads/Learning/relays.pdf

I change the relay to a motor and it works perfekt. And i can use an external power supply/battery to drive the motors. (large transistor rekommended)

Maybe its different for servos but some usefull info.
10  Using Arduino / Motors, Mechanics, and Power / Re: L298H board with Stepper motor Heat problem on: August 25, 2012, 09:09:44 am
You are still violating the specs of the motor, but if the motor does not get hot, it should not be a great problem.

If i can find a 3.3V voltage regulator somewhere i want to try that too. But 3.3V regulator seems to be not so often used.
11  Using Arduino / Motors, Mechanics, and Power / Re: L298H board with Stepper motor Heat problem on: August 24, 2012, 07:09:06 am
Hi

Thx for the great help guys. Now i use a 7805 voltage regulator on a BIG heatsink and the motor doesnt get warm. Not so warm  smiley-mr-green

I dont plan to continous drive the motor.
12  Community / Products and Services / Re: Difference between Ardus on: August 23, 2012, 03:18:39 am
thx both of you!

so with CD4051B i wont go wrong? as i like dip

that CD 4051 is actually called HEF4051BP (cmos, phillips)) and there is MC14051BCP, that HEF is actually the cheapest i find on ebay 24cents per piece.

is it ok, or bad?

http://www.ebay.de/itm/5-x-CMOS-4051-Multiplexer-8Kanal-analog-digital-DIP16-/310373781914?pt=Bauteile&hash=item4843b8119a

Hi

I used various "cd4051" dip type and they all functioning as same. But check and compare the datasheets for extra security.
This product is also useful: https://www.sparkfun.com/products/10680
You can get the IC in dip type too.
13  Using Arduino / Motors, Mechanics, and Power / Re: L298H board with Stepper motor Heat problem on: August 22, 2012, 06:14:41 am
When i googled on it i find out the LM317 / LM338 / LM350 can use as a current regulator. Is this something for me? Im not an electric guru so i need some basic help.  smiley-red
14  Using Arduino / Motors, Mechanics, and Power / Re: L298H board with Stepper motor Heat problem on: August 22, 2012, 03:02:58 am
The L298 chip is just an H bridge without any kind of current limit control. Look better for some kind of chopper driver like this:
http://www.electrofunltd.com/2012/08/elfdrv1-stepper-motor-driver-coming-soon.html

or something based on a TB6560 or similar.

They even could be cheaper that your L298 based board and will allow you to keep the 18V voltage (obtaining the maximum torque of the motor). If you put a resistance in serie, it will need to be really really big (and expensive, therefore) and it will be a waste of energy ...  In this way your system will be more a stove than a motor system  smiley-cool


Thx for the info but i already have the L298. Can be a good thing if i power the L298 with a pwm power supply? I have some pwm supply for my modell train.

Something like this: http://www.electrokit.com/productFile/download/380
15  Using Arduino / Motors, Mechanics, and Power / Re: Questions on powering UNO from an L298M Motor Driver board-2A on: August 22, 2012, 02:58:15 am
My arduino uno get 5V from the L298H-bridge board. The motor driver board 5V out to the arduino 5V out. Yes ist OUT on the arduino. Maybe its not a proper connection but working.  smiley-razz
Pages: [1] 2