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.


Messages - Ben Rose

Pages: 1 ... 20 21 22 23 24 ... 27
316
Sorry it's causing you problems. I clicked 'Run on Arduino' on each of the four examples and they worked without any errors. That error shouldn't be caused by the platform, but I'm on Windows 7/Chrome. Can you try it again or try it on another computer?

317
General Discussion / Re: Accelerometer always sendback -1
« on: November 24, 2015, 02:48:14 PM »
Taken care of through your email request :)

318
General Discussion / Re: Raspberry Pi desktop on tiny screen
« on: November 24, 2015, 02:46:02 PM »
We do ship to the UK with a range of shipping methods- very low cost to very not low cost :) However TinyScreen is not at all suited to displaying a modern computer desktop. You can take a screenshot and resize to 96x64 pixels for an idea of what it would look like.

319
General Discussion / Re: What happend to the Ethernet shield
« on: November 24, 2015, 02:40:55 PM »
Missed this- my understanding is that fewer than 50 Ethernet shields made it into the wild during the original Kickstarter, so it's not well documented. I do have the schematic(Eagle/PDF) and board file, hopefully this can get you started.

Thanks,
Ben

320
Hi- you can leave the library as it is. It's a bit tricky to figure out, but in your main loop you can have:

Code: [Select]


#include "I2Cdev.h"
#include "RTIMUSettings.h"
#include "RTIMU.h"
#include "RTFusionRTQF.h"
#include "CalLib.h"
#include <EEPROM.h>

RTIMU *imu;                                           // the IMU object
RTFusionRTQF fusion;                                  // the fusion object
RTIMUSettings settings;                               // the settings object

void setup()
{
  Wire.begin();
  imu = RTIMU::createIMU(&settings);
  imu->IMUInit();
  fusion.setGyroEnable(true);
  fusion.setAccelEnable(true);
  //fusion.setCompassEnable(true);
 
}

int currentXdata=0;
int currentYdata=0;

void loop()
{
  if (imu->IMURead()) {                                // get the latest data if ready yet
    fusion.newIMUData(imu->getGyro(), imu->getAccel(), imu->getCompass(), imu->getTimestamp());
    currentXdata=fusion.getFusionPose().x()* RTMATH_RAD_TO_DEGREE;
    currentYdata=fusion.getFusionPose().y()* RTMATH_RAD_TO_DEGREE;
  }
  //do stuff with currentXdata and currentYdata
}



You might want the data as floats etc, but this should get you closer to accessing the data in a way that you can easily save to the SD card using the standard libraries.

321
TinyDuino Processors & TinyShields / Re: Tinyduino Rechargeable battery
« on: November 06, 2015, 06:08:47 PM »
I don't remember hearing about a case like this- You've tried it from multiple USB power sources? Might be time to send an email to info@tiny-circuits.com with your address, and reference this thread.

322
TinyDuino Processors & TinyShields / Re: Problem using Johnny-five
« on: November 04, 2015, 04:18:37 PM »
I haven't seen Johnn-Five stuff for a while. Hopefully somebody else has used it recently, otherwise we'll try to look into it soon.

323
TinyDuino Processors & TinyShields / Re: Tinyduino Rechargeable battery
« on: November 04, 2015, 04:17:31 PM »
There definitely shouldn't be a trick. When one of our lithium batteries is plugged into a processor board and USB shield, and a USB cable is plugged in, it should charge- unless it's already charged. The amber 'CHRG' LED should turn on while charging, and off when it's done or not charging. What are you seeing with yours?

324
TinyDuino Processors & TinyShields / Re: Unable to Upload to Tiny Duino
« on: November 01, 2015, 03:44:34 PM »
That's an odd error. If you haven't already tried these:

Make sure the board option is ATmega328 at 8MHz- should be if your newer boards work
Try uploading from a much older/newer version of the IDE, or codebender https://codebender.cc/sketch:37850#TinyDuino.ino

Otherwise shoot an email to info@tiny-circuits.com with your address and reference this thread :)

325
Correct- no soldering necessary, unless you want to use the optional interrupt lines, if you now have a board with that- those will need to be wired up to a proto board(typically to IO pin 2 or 3). Our example code should work when you start it up with the accelerometer plugged in.

326
Hi Alex- can you let me know if your GPS module says JF2 or SE868 V2 and post the text file from your SD card? Hopefully those two things should clear up what's happening.

328
TinyDuino Processors & TinyShields / Re: Ambient Light Sensor Sketch
« on: October 25, 2015, 04:51:15 PM »
It is, at the previous default gain setting- I modified the codebender example at https://codebender.cc/sketch:34129?board=TinyDuino to add another setting and be able to default to the lowest gain(probably the best way for people to start out). Now you should get a much larger range, although I can still max it out if it's right next to a really bright light- hopefully not your use case. Let me know if this solves it.

Ben

329
TinyDuino Processors & TinyShields / Re: Ambient Light Sensor Sketch
« on: October 20, 2015, 05:29:07 PM »
Hi JB,

Can you give me a link to exactly where the code you used is, along with the Arduino IDE version etc if you compiled it yourself? I'll give it a try and see if I have the same results.

Thanks,
Ben

330
ASD2511 is actually our newer sensor carrier board- the single board design allows us to carry more types of sensors, at the cost of how many pins are broken out per sensor. This is something I want to improve in the next revision. For now, we have some older accelerometer boards with the interrupt pins, and can swap yours if you'd like- we'll respond to your email about that.

Thanks,
Ben

Pages: 1 ... 20 21 22 23 24 ... 27
SMF spam blocked by CleanTalk