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

Pages: 1
1
General Discussion / Plant Monitor Kit Tutorial Photo
« on: November 19, 2020, 08:15:45 PM »
Looks like the Plant Monitor Kit Tutorial page may need a photo at the top.
https://learn.tinycircuits.com/Wireling-Projects/Plant-Monitor_Tutorial/

-john

2
General Discussion / How To Access Wireling A0 - A3 Ports
« on: October 28, 2020, 02:57:40 PM »
I have a Wireling Adapter TinyShield   ASD2022 (only one) connected to a TinyZero Processor Board      ASM2021-R-A

I am trying to access either A1, A2 or A3....A0 is used for the 0.42 OLED that seems to work fine. 

Here's part of my code....

Defining the pin
const int       apb   = A1;                   //use A1 as the altitude push button (apb)on the Wireling

Trying to access the analog value
  Wireling.selectPort(apb);                //Select Wireling port
  apb_value = analogRead(apb);             //get the value of the analog port

When opening or closing a push button on this port, I get the same analog value (15 out of 1023)

What do I need to do differently?

Thanks,
John

3
General Discussion / More Dual Motor Board Software Questions
« on: October 20, 2020, 06:35:41 PM »
Are there a (complete) set of motor commands as hinted in the "TinyCircuits Dual Motor Driver Basic Example"

for example...
  motor.setFailsafe(1000);
    motor.setMotor(1,i);
    motor.setMotor(2,i);

Are there any more like this??

Thanks,
John

4
General Discussion / Motor Driver Issue
« on: October 20, 2020, 01:20:33 PM »
In attempting to compile the //  TinyCircuits Dual Motor Driver Basic Example - and after installing the <MotorDriver.h>, I get the following error message....'NO_R_REMOVED' was not declared in this scope...

Any ideas as to what I'm doing incorrectly - like die I install the "right" lib?

Thanks,
John

5
General Discussion / Duel Motor TinyShield Schematic Issue
« on: October 03, 2020, 12:37:37 PM »
I believe that the schematic for the dual motor tinyshield is incorrect...looks like the sensor board schematic, instead.  Go here and click on schematic to confirm.  Thanks....john

https://tinycircuits.com/collections/motors-1/products/dual-motor-tinyshield

6
General Discussion / FLASH for EEPROM
« on: May 13, 2020, 12:06:23 PM »
Is there a "simple" way to use FLASH, like on the TinyScreen+, as EEPROM for non-volatile storage for a few variables?  That is, without plowing thru gobs of code to find out how - just a simple function would be nice.

Thanks,
John

7
General Discussion / TinyZero Problems
« on: May 03, 2020, 02:47:00 PM »
I purchased two (2) TinyZero Processors and neither of them work correctly. I've tried them both per below.

Most times the Bootloader won't allow me to upload the code even after following the directions on the NOTES for the TinyZero.

But once in a while the code gets uploaded.

However, even when the code loads, the COM port won't be active after the loading sequence (see attached).

I did have another TinyZero (3rd one) that did work at one point, but the fragile bootloader button broke (tore off)

To confirm things....I've reloaded the Arduino IDE, changed USB ports, changed USB cables but still no luck.

Am I missing an #include <TinyZero.h> if there is such thing??

Any help will be appreciated.

Thanks,

John

8
General Discussion / Wireling Connectors
« on: February 19, 2020, 12:16:47 PM »
Is there a "PC mate" connector (female) to the 5-pin (male) Wireling connector - one that will allow a Wireling module with the 5-pin male connector to plug directly into a PCB without a cable?

Thanks,

John

9
General Discussion / Wireling Adapter
« on: January 16, 2020, 02:11:52 PM »
Is there a Learn page for just the Wireling Adapter shield?

-john

10
General Discussion / Communicating wtih Wirelings
« on: January 13, 2020, 08:46:58 PM »
How do you communicate with a Wireling module?

 I know it's I2C protocol and the library is probably <Wire.h> but what are the commands to do so?

For example, using a Wireling Adapter Shield connected to a TinyScreen+, how do you get information from a Moisture Sensor into Arduino code?  Are there addresses involved?  etc, etc.

Can you point me to a page(s) on the website that has this info?

Thanks,
John


11
General Discussion / Tinyscreen+ Driver
« on: November 23, 2019, 05:26:35 PM »
Windows 7 doesn't or can't find a driver for the TinyScreen+.

As such, no comm port can be assigned. 

Any ideas??

Thanks,
John

12
General Discussion / How to determine the width of a float number
« on: October 09, 2019, 12:34:57 PM »
I'm using the TinyScreen+ and would like to determine the width of a float number (with 2 places to the right of the decimal). 

Looks like you can do this with strings as in
  int width=display.getPrintWidth("Example Text!");

So is there a similar way to do it with float numbers??

Thanks,

John

13
I can't seem to compile the following in my TinyScreenPlus sketch Setup

serialUSB.begin(9600);

It says 'serialUSB' was not declared in this scope.

Everything else I have works.

Here are the libs (below) taken from the example code for the TinyScreenPlus

Any suggestions???

-john


//
//--------------Libaries---------------------
//

#include <Wire.h>
#include <SPI.h>
#include <TinyScreen.h>

//Library must be passed the board type
//TinyScreenPlus for TinyScreen+
TinyScreen display = TinyScreen(TinyScreenPlus);

Pages: 1
SMF spam blocked by CleanTalk