Show Posts
Pages: [1] 2
1  Using Arduino / Project Guidance / Re: Arduino as ADC for Raspberry Pi on: February 13, 2014, 12:05:02 pm
I was thinking about that too, only doubting about how to do this. Letting the raspberry ask for a certain pin or simply returning a bunch of values in, for example, CSV format.
2  Using Arduino / Project Guidance / Arduino as ADC for Raspberry Pi on: February 13, 2014, 11:40:08 am
Hey Guys. I'm trying to hook up an analog sensor to the raspberry and since that won't work I was thinking about using the Arduino to do it for the raspberry. I know you can get an MCP3008 or something like that but I don't have it here, and it costs like 6 euro here, in the NL, 7 euro's more to ship it...

Would it be possible to use the Arduino like an MCP3008 and let it send the analog signals to the Raspberry?
3  Using Arduino / LEDs and Multiplexing / Re: Led Cube 4x4x4 with shift register on: April 03, 2012, 07:49:57 am
No I don't have a schematic, this is just a testmodel. I was planning on making a 6*6*6 later on if I succeed, which I will make a schematic for.
4  Using Arduino / LEDs and Multiplexing / Re: Led Cube 4x4x4 with shift register on: April 03, 2012, 05:55:43 am
Why should I need 64 pins? This is a 4*4*4 led cube, which means 4*4 = 16 pins, div 8 so 2 shift registers. My questions is simple, should I use another shift register for the 4 ground layer or should I just connect them directly to the Arduino.
5  Using Arduino / LEDs and Multiplexing / Led Cube 4x4x4 with shift register on: April 02, 2012, 04:36:31 pm
Hey Guy,

I'm building a led cube of 4x4x4 and I'm trying to use shift registers, 74HCT595N. Now I have 8 port per shift register so I would need 2 for the 16 points of the leds. But should I use another one for the negative layers / plane layers of the cube?

Current status is attached
6  Forum 2005-2010 (read only) / Troubleshooting / (allmost )improved Serial To LCD on: September 15, 2009, 08:21:31 am
hey guys I made a change to the Serial To LCD code so if it gets messages it will continue on the line bellow.

BUT!, After the message is done the screen fills up with black boxes...

Code:
#include <LiquidCrystal.h>

// CONFIG //
int RS = 12;                  
int ENABLE = 11;
int d4 = 6;      
int d5 = 7;      
int d6 = 8;      
int d7 = 9;      
const int numRows = 2;
const int numCols = 16;

int i;
int thisrow;
LiquidCrystal lcd(RS, ENABLE, d4, d5, d6, d7);

void setup()
{
  lcd.begin(numRows, numCols);
  Serial.begin(9600);
}

void loop()
{
  if (Serial.available()) {
    delay(100);
    lcd.clear();
    while (Serial.available() > 0) {
      for (int thisCol = 0; thisCol < numRows; thisCol++) {
        for (int thisRow = 0; thisRow < numCols; thisRow++) {
          lcd.setCursor(thisRow,thisCol);
          lcd.print(Serial.read(), BYTE);
          delay(200);        
        }
      }
    }
  }
}

7  Forum 2005-2010 (read only) / Troubleshooting / Re: What type of lcd is this??? on: October 09, 2010, 04:00:33 am
the motherboard is MSI not Asus.

I took the casing further apart, the 3 wires go to a button nothing more. But I found out that the one set of black and red and the purple one go in to the PSU. Could see that last night...

The PSU is from the brand: Macron.
http://www.casing.com.tw/

And there is a case on there with a screen up front, not the case I have.
http://www.casing.com.tw/products/PcCase/SlimCase-2002.htm
8  Forum 2005-2010 (read only) / Troubleshooting / Re: What type of lcd is this??? on: October 08, 2010, 06:02:22 pm
turns out there's a lot more to this story!

Btw:
I've got this pc while dumpster diving so that's why some parts are dirty.

The middle wires go to a key PCB with 4 buttons on the so I'm guessing the other 3 wires are GND RX and TX.

I've uploaded all the pics to my Flicker.

http://www.flickr.com/photos/junke1990/sets/72157624998338887
9  Forum 2005-2010 (read only) / Troubleshooting / Re: What type of lcd is this??? on: October 08, 2010, 03:12:33 pm
It came out of the case of a computer. It was build in to the front of the casing.

It does have 15 connection so I'm gonna try and see how far i'll come.
10  Forum 2005-2010 (read only) / Troubleshooting / What type of lcd is this??? on: October 08, 2010, 10:47:16 am
It says KM0244F1 but I cant seem to find any info bout it and it doesnt have a brand on it.



11  Forum 2005-2010 (read only) / Troubleshooting / Re: LCD (16x2) GDM1602a on: June 07, 2010, 09:29:20 am
Thanks I'm not that big of a pro in the LCD thing, the main thing for playing with it was to build my own obduino but since that sys can't work with the GDM1602a I decided to just order another display from sparkfun.

Which is atm still on my to-do list...

Here's the vid link, soz again for the bad quality, just skip ahead to about 1 minute.

12  Forum 2005-2010 (read only) / Troubleshooting / Re: LCD (16x2) GDM1602a on: June 07, 2010, 03:43:23 am
You could see it in the vid, I edited the code from arduino.cc a while back. With this code you could set the cursor to the second row and give in your text then.

I think the best option is to order a different screen from sparkfun or so. I need it for the Obduino system. A screen which is supported by multiple libraries.


Code:
#include <LiquidCrystal.h>

// LiquidCrystal display based on GDM1602A
// ATMEGA      // LCD
// GND            // 1
// +5v            // 2
int RS = 12;      // 4            
//int RW = GND;      // 5
int ENABLE = 11;// 6
int d0 = 2;      // 7
int d1 = 3;      // 8
int d2 = 4;      // 9
int d3 = 5;      // 10
int d4 = 6;      // 11
int d5 = 7;      // 12
int d6 = 8;      // 13
int d7 = 9;      // 14

const int numRows = 2;
const int numCols = 16;

LiquidCrystal lcd(RS, ENABLE, d4, d5, d6, d7);
void setup()
{
  lcd.begin(numRows, numCols);
}

 void loop() {
   // loop from ASCII 'a' to ASCII 'z':
   for (int thisLetter = 'a'; thisLetter <= 'z'; thisLetter++) {
     // loop over the rows:
     for (int thisRow= 0; thisRow < numRows; thisRow++) {
       // loop over the columns:
       for (int thisCol = 0; thisCol < numCols; thisCol++) {
         // set the cursor position:
         lcd.setCursor(thisCol,thisRow);
         // print the letter:
         lcd.print(thisLetter, BYTE);
         delay(200);
       }
     }
   }
 }
13  Forum 2005-2010 (read only) / Troubleshooting / Re: LCD (16x2) GDM1602a on: June 06, 2010, 01:46:16 pm
I wrote a little script for linux which may be fun to try: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1253025207

btw, does anyone know if it is possible to use the OBDuino system, I reported the sys a few months ago but no luck so far.

http://code.google.com/p/opengauge/issues/detail?id=9
14  Forum 2005-2010 (read only) / Troubleshooting / Re: LCD (16x2) GDM1602a on: June 06, 2010, 01:33:34 pm
maybe this will help:

http://www.flickr.com/photos/junke1990/3922742342/

if you need anything let me know, you'll find me through my nick on a lot of social networks.
15  Forum 2005-2010 (read only) / Troubleshooting / Re: LCD (16x2) GDM1602a on: September 11, 2009, 07:31:12 pm
the backlight wont go on so i went on and tried to see if i could get something on the screen anyway.

Second thing is after googling some more I found a second datasheet.  on this one it says Built-in controller (S6A0069 or equivalent) in stead of KS0066U or Equivalent. Both sheets being from XIAMEN, on my LCD there is ver2.0 printed, now comes the greatest part this isn't mentioned in the datasheets
Pages: [1] 2