Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - lorddamax

Pages: 1
1
Bought a tinyduino main board from a local retailer - it was the starter kit that comes with the board, USB and proto board, so it had the bracket on the back to hold batteries. Using this format because of size (making a cat toy) I desoldered the bracket.

Soldered wires to the board at the locations marked here:



While soldering, I slipped and accidentally bridged the + to the SMD component to the left of it in the picture above. I desoldered the bridge and ensured there was no connection. I mention this in case heat damage, or a possible disconnect of the SMD is causing my problem.

The board will not run under the power of 2 LR44's or even 2 AA batteries. Even tried 3 AA's in case 3.1v wasnt enough.

But it runs when plugged into my PC via USB.

Did something break when I messed up the solder (if it did I'd imagine it would NOT run under USB, but it does), or am I doing something wrong? I'm at a total loss here.

2
Needed an accelerometer for a project, and the tiny circuits accelerometer was the best price at the local retail store that carries some of this stuff. Never used an I2C item before, so after a bit of a learning curve, I got it hooked up. The arduino hung on initializing the board (the accel.begin line) then I realized I probably needed pullup resistors.

I went out and got two 4.7k resistors today and added them between the SDC and SDA lines and the VCC line (which is actually pin 12 on my arduino, so I can power it on and off as necessary. Given the extremely low current draw of the tinycircuits accel, this didn't seem to be an issue) and now the sketch starts up and runs without hanging.

Problem is - the only X/Y/Z readings that come in are -1.

What am I missing? What else do I need to do to get this to work with a standard arduino? Did I wire it incorrectly? VCC to pin 12 (which is on), GND to GND, and SCL and SDA to pins 4 and 5 (or the other way around, its not in front of me, I just know 4 and 5 are the SCL and SDA pins on the arduino), 4.7k pullup resistors on the SDA and SCL lines leading back to pin 12 (the accel's VCC for all intents and purposes)

Pages: 1
SMF spam blocked by CleanTalk