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 - lennevia

Pages: 1 ... 6 7 8 9 10 ... 30
106
Hiya,

I think I got the example working. It looks like the library changed the way it initiates the IRsend object since that blog was posted, so you would want to use:
Code: [Select]
IRsend irsend(PIN_IR);rather than:
Code: [Select]
IRsend irsend;
Here's the full modified example I got working with some comments. I uploaded this on a WirelingZero with ports 1 and 2. The status LED flashes when I move the Emitter away, so I believe it is working as expected, but I'm not exactly an expert on beam breaking, so let me know how it works for you!

Code: [Select]
#include <IRremote.h>

#define PIN_IR A1     // This is the IR Emitter on port 1 of the Wireling adapter
#define PIN_DETECT A2 // This is the IR Receiver on port 2 of the Wireling adapter
#define PIN_STATUS 13 // The status LED - normally pin 13 for the majority of Arduino boards

IRsend irsend(PIN_IR);
IRrecv irrecv(PIN_DETECT);

void setup()
{
  pinMode(PIN_DETECT, INPUT);
  pinMode(PIN_STATUS, OUTPUT);
  irsend.enableIROut(38);
  irsend.mark(0);
}

void loop() {
  digitalWrite(PIN_STATUS, !digitalRead(PIN_DETECT));
}

I think this example could be improved with some output in the Serial Monitor so we know exactly what's happening since the status LED doesn't give me 100% confidence that I understand what signal's being picked up.

I hope that helps.

Cheers,
Réna

107
General Discussion / Re: tinyscreen+ stuck in boot loader mode
« on: May 09, 2022, 11:53:03 AM »
I don't have any other helpful ideas for debugging since it sounds like there's a hardware issue. Please get in touch with us and we should be able to get you a replacement. Reach us through our contact from: https://tinycircuits.com/pages/contact-us

Thanks,
Réna

108
TinyTV & Tiny Video Player / Re: TinyTV help!
« on: May 06, 2022, 12:28:06 PM »
I've got some hands ready to help!  :D

This is our step by step tutorial on converting videos to the .tsv format for the TV using our app, there's no programming needed. Just an SD Card adapter and some clicking: https://learn.tinycircuits.com/Kits/TSV-Converter-Tutorial/
There's a section for Mac and Windows

There's also a settings menu loaded on the TV that has a few built-in settings that you can use to customize the behavior of the TV, like looping and autoplaying: https://learn.tinycircuits.com/Kits/TinyTV-Tutorial/

Let me know if I can help you with anything else!

Cheers,
Réna

109
TinyTV & Tiny Video Player / Re: Shuffle / Randomize Videos
« on: May 02, 2022, 04:38:13 PM »
Hi there,

There are a few built in settings that you can change with the settings menu: https://learn.tinycircuits.com/Kits/TinyTV-Tutorial/

Unfortunately, none of the built in settings include a randomizing feature. You can, however, modify the program to randomize which video plays next. You would be responsible for adding this feature, but the code is open source and will be a great place to start: https://learn.tinycircuits.com/Kits/Tiny-Video-Program/

I hope that helps!

Cheers,
Réna

110
Thumby / Re: New Game WallRacer
« on: May 02, 2022, 04:33:58 PM »
Gacel,

This is fun! I really like the division of actions for left turn on the d-pad and right turn on the action buttons, makes the game very playable on the Thumby!

Thanks for sharing!
-Réna

111
I just saw your email and thought I had recently read about a similar problem (and forgot to respond to it immediately of course, sorry about that). Glad you were able to find the issue!

Cheers,
Réna

112
Hi there,

The attachment on the message should be visible when you are logged in to the forum. Otherwise, you can download it from the tutorial: https://tinycircuits.com/blogs/learn/tinyzero-wirelingzero-robotzero-how-to-use-the-built-in-real-time-clock

Cheers,
Réna

113
General Discussion / Re: TinyZero start-up
« on: April 21, 2022, 11:48:20 AM »
No, it shouldn't have any other effects for reading the sensors. It's common to use this line for projects that include motors or moving parts since the length of time to upload the code can vary and it's not ideal to have a suddenly moving robot walking off your desk. For those cases, it's nice to have the requirement of opening the Serial Monitor before the rest of the code executes. It is used in a lot of our examples because of cases like that, but it's not always necessary.

114
General Discussion / Re: TinyZero start-up
« on: April 20, 2022, 06:23:22 PM »
Hi there,

Some of our example programs have a line like this in the setup() loop:

Code: [Select]
while(!SerialMonitor);
This line, or similar lines that do the same thing, will block the program until the Serial Monitor is opened. This will make everything seem broken when disconnected or when the code is uploaded and the serial monitor isn't open since nothing will work.

I hope that points you in the right direction for a solution. Let me know! If not, can you attach your code file(s) to a message so I can take a look at what's going on?

Thanks!
Réna

115
General Discussion / Re: tinyscreen+ stuck in boot loader mode
« on: April 20, 2022, 06:18:55 PM »
Hello,

When you reload the code, is the TinyScreen+ by itself or are all the components in the fitness tracker project attached? I would recommend trying to reprogram the board by itself. You can try the basic program mentioned in the getting started tutorial with this since I think the fitness program will fail to upload without all the right hardware: https://learn.tinycircuits.com/Processors/TinyScreen%2B_Setup_Tutorial/

Let me know if that works for you!

Cheers,
Réna

116
Hello Brian,

I'm glad you were able to get the forum working for you, I did see the emails and will respond here.

The 9-Axis code we use implements the I2C addresses:

Code: [Select]
//  I2C Slave Addresses

#define LSM9DS1_ADDRESS0  0x6a
#define LSM9DS1_ADDRESS1  0x6b
#define LSM9DS1_ID        0x68

#define LSM9DS1_MAG_ADDRESS0        0x1c
#define LSM9DS1_MAG_ADDRESS1        0x1e
#define LSM9DS1_MAG_ID              0x3d

These addresses are defined in the RTIMULSM9DS1.h file packaged in with the 9-Axis TinyShield example you can download here: https://github.com/TinyCircuits/TinyCircuits-TinyShield-Sensor-ASD2511/raw/master/examples/9-Axis_TinyShield_example.zip

Additionally, here is the tutorial you can review for any differences in hardware or software that you may need to inspect: https://github.com/TinyCircuits/TinyCircuits-TinyShield-Sensor-ASD2511/raw/master/examples/9-Axis_TinyShield_example.zip

If you'd like to return the modules, please email us with your original order number and return request and we will go from there.

Let me know if you have any other questions.

117
Thumby / Re: Unable to connect my Thumby to the computer
« on: April 12, 2022, 03:38:09 PM »
Windows is definitely frustrating and silly sometimes, but I'm glad everything's working now! :)

118
Thumby / Re: Unable to connect my Thumby to the computer
« on: April 11, 2022, 12:32:44 PM »
I've been looking through the Raspberry Pi pico forums and this issue seems to have come up a few times. It could be an issue with your Windows USB driver detecting an "issue" with the Thumby and refusing to connect to it. I would recommend turning the PC off and back on and trying the BOOTSEL mode again a few times to see if that solves the problem. You can also try updating your USB drivers, or you can reinstall, this link covers both options: https://support.microsoft.com/en-us/windows/update-drivers-in-windows-ec62f46c-ff14-c91d-eead-d7126dc1f7b6

If the above options do not solve the problem I recommend trying a different Windows 10 computer. It's unlikely that there would be an issue with the Micro USB cable or Thumby since it still shows up on your computer as an unknown device and is playable.

119
Thumby / Re: Unable to connect my Thumby to the computer
« on: April 08, 2022, 05:05:22 PM »
What version of Windows do you have? Are you using Windows 10? Windows 7? 

120
Hi there,

Can you share more information on what your goals are and the hardware and software you are using? Some pictures of your hardware setup as well as links to the libraries and example code you are using might help. Can you share the other products you have used from different vendors that use the same 9-Axis sensor?

Are you using our 9-Axis TinyShield, or are you using our 9-Axis Wireling? Are you using a TinyCircuits processor? What results are you trying to produce from the 9-Axis, and what results are you getting instead?

Let me know.

Réna


Pages: 1 ... 6 7 8 9 10 ... 30
SMF spam blocked by CleanTalk