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 - greg.brougham

Pages: 1
1
TinyDuino Processors & TinyShields / TinyML/TinyZero
« on: February 24, 2022, 06:20:06 AM »
I wondered if anyone has tried running TinyML on the TinyZero. Since the TinyZero is based on the Arduino Zero is this possible?

https://www.tensorflow.org/lite/microcontrollers

2
New Product Ideas / TinyZero USB Stem
« on: January 08, 2022, 09:29:14 AM »
What I have struggled with is finding a mountable USB socket to make the TinyZero USB port external accessible. I've addressed this by buying a micro USB mountable socket with an extension lead, cutting the other end off, and wiring it to a sparkfun breakout plug.

It would be useful if there was a USB stem that supported attaching the TinyZero directly to the back of a USB mountable socket addressing both the mounting and connectivity issue. It's a play on https://zerostem.io/

3
New Product Ideas / Re: TinyZero/Addition of PH connector for INT1
« on: January 08, 2022, 09:20:42 AM »
Rena, understand the challenge but would it be possible to increase the size of the solder pad to make attaching the wire easier?

Regards

Greg

4
New Product Ideas / TinyZero/Addition of PH connector for INT1
« on: December 31, 2021, 11:44:03 AM »
Hi, I've found the size of the connection point for INT1 on the TinyZero with the accelerometer very difficult to access and have had the solder break. It would be great to see INT1 accessible via a PH connector on the board which would make it easier to prototype using the proto terminal block version.

And a related idea would be to send the prototype of the new product to the person who suggested it.

Regards

Greg

5
TinyDuino Processors & TinyShields / Re: TinyZero Charge Current
« on: December 27, 2021, 10:37:59 AM »
Thanks Mark. I suspected it was the same as the tiny battery charger

6
TinyDuino Processors & TinyShields / TinyZero Charge Current
« on: December 23, 2021, 07:20:34 AM »
Hi, is anyone able to provide the charge current that TinyZero provides to the battery?

I have not been able to find it in any of the specifications but noted that the Tiny Battery Charger is 100 mA  (500mA with a resistor change)

https://tinycircuits.com/products/tiny-battery-charger

7
Hi, I wondered if anyone has tried the following on the tinyzero - https://www.arduinolibraries.info/libraries/flash-storage

The only issue is that it doesn't preserve the reservation across downloads which I believe is possible

8
General Discussion / Re: Battery Connector
« on: December 23, 2021, 07:04:50 AM »
The connector is a micro JST SH while most LiPo batteries are provided with the larger JST PH connector

I brought some JST SH pigtail leads on amazon and used these to replace the original PH connectors

9
General Discussion / Re: FLASH for EEPROM
« on: December 23, 2021, 06:59:29 AM »
Hi, I wondered if anyone has tried the following on the tinyzero -https://www.arduinolibraries.info/libraries/flash-storage

The only issue is that it doesn't preserve the reservation across downloads which I believe is possible

10
Hi, I'm also interested in this functionality and wondered if there is any sample code available?

btw I have this working via the following code

the setup() code for the interrupt - note the use of FALLING is so the rtc.standbyMode() triggers

  pinMode(1, INPUT_PULLDOWN); //BMA raises pin high on interrupt
  attachInterrupt(digitalPinToInterrupt(1), BMAInterrupt, FALLING); // try RISING?

The interrupt routine itself - bare bones

void BMAInterrupt()
{
  motionInterrupt = true; // flag motion
}

And the code for initialising interrupt for 'any motion' which is added to the begin() routine

   // set the interrupt mode - this is temporary 500 usec
   // note we don't not latched the interrupt
   Wire.beginTransmission(I2Caddress);
   Wire.write(0x21); // interrupt mode - see page 23 of the spec
   Wire.write(0x09);
   Wire.endTransmission();
   // enable slope interrupts - used for 'any motion' detection
   Wire.beginTransmission(I2Caddress);
   Wire.write(0x16);
   Wire.write(0x07);
   Wire.endTransmission();
   // Map slope interrupt to pin 1
   Wire.beginTransmission(I2Caddress);
   Wire.write(0x19);
   Wire.write(0x04);
   Wire.endTransmission();
   // Use 4 samples for the slope interrupt - threshold duration
   Wire.beginTransmission(I2Caddress);
   Wire.write(0x27);
   Wire.write(0x02); // reduce to 3 from 4
   Wire.endTransmission();
   // And set slope threshold
   Wire.beginTransmission(I2Caddress);
   Wire.write(0x28); // slope threshold
   Wire.write(0x14); // note this is the default value - see page 47 of the spec
   Wire.endTransmission();

Pages: 1
SMF spam blocked by CleanTalk