Show Posts
Pages: [1] 2
1  International / India / Cheap accelerometer in India on: February 08, 2013, 11:54:49 pm
Hey, I have an idea for a project which uses and accelerometer. In order to buy one I looked around on different online dealers like rhydolabz, robokits etc. The usual prices are upwards of 500Rs. It seems a bit steep for my one off project. The usual chip used by these sensors is a MMA8451Q which when I checked on kits n' spares is just Rs 95 or 105 with taxes. But there are two problems, one, its a QFN package which would be really hard to solder and two, Kits n' spares charges 150Rs in shipping which is ridiculous. I am okey with smd soldering, but haven't tried to solder a QFN package (it looks hard too).

If any of you guys have any idea how I can solve this problem please help.
2  General Category / General Discussion / Re: Using Arduino vs. AVR vs . AVRstudio/CrossPack on: February 08, 2013, 08:45:34 am
I too have gone the other way around. I was working with the ATmega series for a long time, then I got an arduino uno as a gift and have used it for quite a few things. The one thing I have found the Arduino most useful in is testing new chips. When you are working with an unfamiliar chip (unfamiliar to you or new chip in general) you can generally write some code for the arduino and be sure that the arduino is not the problem. This is one of the most annoying things in hardware hacking, when testing you are not sure where the point of failure is. Having an arduino, or similar boards for that matter, eliminates the lurking suspicions that maybe the test gears is the problem instead of the chip being tested.
3  International / India / Re: Who are you? Where are you located? on: February 08, 2013, 08:36:09 am
Hey, I am paresh mathur and I am from Ahmedabad, Gujarat. I have been working with AVR chips for a long time. Got and arduino from a friend and have found some use of it. Still not my main tool for development, though I love to use it for testing.
4  Community / Gigs and Collaborations / Re: Will pay for PCB building on: February 08, 2013, 07:13:04 am
I will be willing to do this. I have just started doing it professionally and have a few months hobbyist experience. I am in India so it would be cheaper than the US (if you really want to take that into account).
5  Using Arduino / Project Guidance / Re: Transfer arduino project to custom PCB on: January 23, 2013, 08:33:14 am
wow that was rude.
6  Using Arduino / Project Guidance / Transfer arduino project to custom PCB on: January 23, 2013, 07:01:09 am
Hello,

I have used my arduino board to complete a project which I want to then transfer onto a custom PCB. So basically I transfer the program to another atmega8 chip and then put in on my pcb and it should work. Where can I find the bare bones arduino schematic? Something which only has the essential parts required.
7  Using Arduino / Displays / Character LCD contrast not changing on: January 21, 2013, 07:01:04 am
Hello,

I am working with a JHD539M1 16x4 character LCD and have wired it as such.



I have not connected the backlight since that messes up my camera shot, but as you can see the contrast is on full. But it remains that way at every position of the pot. I have checked and the pin 3 is changing voltage from 0 to 5v easily as i change the position of the pot. But for every position the 2nd and 4th lines remain black.

BTW, I am using this tutorial http://learn.adafruit.com/character-lcds/wiring-a-character-lcd. It says not to go forward without getting the pot to work, hence the question.
(sorry for the lack of colors, will upload new pic in an hour)
8  Using Arduino / Displays / Re: Not able to get graphic LCD to work with Uno on: January 19, 2013, 12:38:33 am
I am telling you guys, all the lines are perfectly soldered and in the correct place. I have ripped them out and rewired it like 15 times and double checked with a dvm continuity test every time.
9  Using Arduino / Displays / Re: Not able to get graphic LCD to work with Uno on: January 18, 2013, 02:20:28 pm
Another thing I tried was to just read the D7 pin of lcd connected to the pin 7 of the arduino and send over serial like this.

Code:
void setup()
{
  Serial.begin(9600);
}

void loop()
{
  Serial.println(digitalRead(7));
}

Even then it always reads 1 in my terminal.
10  Using Arduino / Displays / Re: Not able to get graphic LCD to work with Uno on: January 18, 2013, 01:25:28 pm
Okey, okey. Maybe I am confusing everyone. Lets keep it simple, right now I am using the hello world sketch which is something like this.
Code:
// include the library header
#include <glcd.h>

// include the Fonts
#include <fonts/allFonts.h>

void setup() {
  // Initialize the GLCD
  GLCD.Init();

 // Select the font for the default text area
  GLCD.SelectFont(System5x7);

  GLCD.print("hello, world!");
}

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  GLCD.CursorTo(0, 1);

  // print the number of seconds since reset:
  GLCD.print(millis()/1000);
}

Here is a video of me tweaking the pot to change contrast, and sadly nothing happens. http://youtu.be/UyCOGoCAoGA

Here are some pictures of the board

11  Using Arduino / Displays / Re: Not able to get graphic LCD to work with Uno on: January 18, 2013, 06:21:00 am
When I see the signals through a scope all the lines are high. Maybe I need a resistor to pull up. Is there a way I can send a command so that I can turn off the lcd so instead of 0x00 status I will recieve a 0x20 status.
12  Using Arduino / Displays / Re: Not able to get graphic LCD to work with Uno on: January 18, 2013, 04:48:05 am
No its just the LCD. I am following the connections as given in the playground page here http://playground.arduino.cc/Code/GLCDks0108, if you look down the page there is a table, I am following the panel B column.

The code is as included in the library examples folder. The example is called GLCDdiag, you can look at the code here. http://code.google.com/p/glcd-arduino/source/browse/trunk/glcd/examples/GLCDdiags/GLCDdiags.pde

But I have also tried the hello world program, that doesn't work too. http://code.google.com/p/glcd-arduino/source/browse/trunk/glcd/examples/HelloWorld/HelloWorld.pde
13  Using Arduino / Displays / Re: Not able to get graphic LCD to work with Uno on: January 18, 2013, 02:05:51 am
Have you soldered a pot, contrast adjustment? I couldn't see on my LCD till I start to rotate this pot.

Yes I did, that didn't help.

I tried the GLCDdiag sketch on my board and got this output repeatedly (tried upto loop 10)
Code:
Serial initialized
--------------------------------------------------------------------
Reported Arduino Revision: 1.3
--------------------------------------------------------------------
GLCD Lib Configuration: glcd ver: 3 glcd_Device ver: 1 gText ver: 1
GLCD Lib build date: Mon Dec  5 01:50:07 CST 2011
GLCD Lib build number: 442
Panel Configuration:ks0108
Pin Configuration:ks0108-Arduino
--------------------------------------------------------------------
GLCD:ks0108 DisplayWidth:128 DisplayHeight:64
Chips:2 ChipWidth:64 ChipHeight:64
 CSEL1:14(PIN_C0) CSEL2:15(PIN_C1)
 RW:16(PIN_C2) DI:17(PIN_C3) EN:18(PIN_C4)
 D0:8(PIN_B0) D1:9(PIN_B1) D2:10(PIN_B2) D3:11(PIN_B3)
 D4:4(PIN_D4) D5:5(PIN_D5) D6:6(PIN_D6) D7:7(PIN_D7)
Delays: tDDR:320 tAS:140 tDSW:200 tWH:450 tWL:450
ChipSelects: CHIP0:(14,0x1, 15,0x0) CHIP1:(14,0x0, 15,0x1)
Data mode:
 d0-d3:nibble mode-Non-Atomic
 d4-d7:nibble mode-Non-Atomic
--------------------------------------------------------------------
Diag Loop: 1
Initializing GLCD
GLCD initialization Failed: BUSY wait Timeout (status code: 1)
--------------------------------------------------------------------
Reported Arduino Revision: 1.3
--------------------------------------------------------------------
GLCD Lib Configuration: glcd ver: 3 glcd_Device ver: 1 gText ver: 1
GLCD Lib build date: Mon Dec  5 01:50:07 CST 2011
GLCD Lib build number: 442
Panel Configuration:ks0108
Pin Configuration:ks0108-Arduino
--------------------------------------------------------------------
GLCD:ks0108 DisplayWidth:128 DisplayHeight:64
Chips:2 ChipWidth:64 ChipHeight:64
 CSEL1:14(PIN_C0) CSEL2:15(PIN_C1)
 RW:16(PIN_C2) DI:17(PIN_C3) EN:18(PIN_C4)
 D0:8(PIN_B0) D1:9(PIN_B1) D2:10(PIN_B2) D3:11(PIN_B3)
 D4:4(PIN_D4) D5:5(PIN_D5) D6:6(PIN_D6) D7:7(PIN_D7)
Delays: tDDR:320 tAS:140 tDSW:200 tWH:450 tWL:450
ChipSelects: CHIP0:(14,0x1, 15,0x0) CHIP1:(14,0x0, 15,0x1)
Data mode:
 d0-d3:nibble mode-Non-Atomic
 d4-d7:nibble mode-Non-Atomic
--------------------------------------------------------------------
Diag Loop: 2
Initializing GLCD
GLCD initialization Failed: BUSY wait Timeout (status code: 1)
--------------------------------------------------------------------
Reported Arduino Revision: 1.3
--------------------------------------------------------------------
GLCD Lib Configuration: glcd ver: 3 glcd_Device ver: 1 gText ver: 1
GLCD Lib build date: Mon Dec  5 01:50:07 CST 2011
GLCD Lib build number: 442
Panel Configuration:ks0108
Pin Configuration:ks0108-Arduino
--------------------------------------------------------------------
GLCD:ks0108 DisplayWidth:128 DisplayHeight:64
Chips:2 ChipWidth:64 ChipHeight:64
 CSEL1:14(PIN_C0) CSEL2:15(PIN_C1)
 RW:16(PIN_C2) DI:17(PIN_C3) EN:18(PIN_C4)
 D0:8(PIN_B0) D1:9(PIN_B1) D2:10(PIN_B2) D3:11(PIN_B3)
 D4:4(PIN_D4) D5:5(PIN_D5) D6:6(PIN_D6) D7:7(PIN_D7)
Delays: tDDR:320 tAS:140 tDSW:200 tWH:450 tWL:450
ChipSelects: CHIP0:(14,0x1, 15,0x0) CHIP1:(14,0x0, 15,0x1)
Data mode:
 d0-d3:nibble mode-Non-Atomic
 d4-d7:nibble mode-Non-Atomic
--------------------------------------------------------------------
Diag Loop: 3
Initializing GLCD
GLCD initialization Failed: BUSY wait Timeout (status code: 1)
14  Using Arduino / Displays / Not able to get graphic LCD to work with Uno on: January 18, 2013, 12:02:58 am
Hello,

I have an arduino uno and wanted to use the graphic LCD JHD12864E. My further plan is to port the same code to an ATmega32 or similar, but that is not the issue right now.

I am using the library suggested in the playground page here http://playground.arduino.cc/Code/GLCDks0108. The LCD has s6b0108 controller in it, and its compatible with the KS0108, on a youtube video they suggest that we use panel B for this lcd. I uploaded the sketch to the arduino but cannot for the life of me get anything to print on it. It just remains blank. What may be the problem? Have tried the troubleshooting page to no avail.
15  Forum 2005-2010 (read only) / Troubleshooting / Re: Not able to burn bootloader on atmega8 on: April 04, 2010, 07:12:04 am
I just checked my makefile which I use to program and it uses the pony-stk200 protocol with avrdude.

Can change stk500 to pony-stk200?
Pages: [1] 2