TinyCircuits

Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
User Projects / Code Examples / Re: Tiny+ Thermostat Project
« Last post by whmckinley on February 25, 2019, 06:41:23 PM »
Littlejohn,

It's actually not a heater, It's a refrigerator. Although with a mod in the program to change the allowable set point range, it could be used for a heater. Provided that the heater only required one closure contact.

Creating a fully fledged HVAC thermostat would also be possible, After all a basic HVAC thermostat is nothing more than temp measurement and outputs controlled by code.
72
User Projects / Code Examples / Tinyscreen+ AMG thermal camera
« Last post by littlejohn on February 25, 2019, 01:52:09 AM »
I made a tiny thermal camera with a Tinyscreen+ and an AMG Grideye sensor from Adafruit. Three of the buttons are used: to control the colormap, the interpolation mode, and emphasis. It has a pretty good framerate. It needs a 3d printed case, but I haven't got that far. Here is a picture and some code.

73
User Projects / Code Examples / Re: Tiny+ Thermostat Project
« Last post by littlejohn on February 25, 2019, 01:27:42 AM »
Since i'm not happy with the thermostat on on my rv, I decided to build a new one. Basic Components are.
TinyScreen+
Custom Interface Board.
 Major components on the i/o board are
2 NO switches
Opto Isolator with transistor output Or smt SSR
Connectors for power, output of Opto-Isolator and connection for DS18B20 temp sensor.

Program allows for setting Temp set point. Has predefined sleep mode, OFF/ON hysterisis, Attached is a pic.

Cool. what kind of heater is it?
74
TinyDuino / TinyZero and MicroSD Shield
« Last post by buchankn on February 20, 2019, 08:36:34 PM »
Does the TinyZero work with the MicroSD shield? I just ordered these, and wanted to make sure they'll work together. My main concern was the 3.3 V coming from the TinyZero, which looks like it goes into another 3.3 volt regulator on the MicroSD shield. Does the regulator on the SD shield need > 3.3 volts to work?

Thanks!
75
General Discussion / Re: Have you ever built Blinking LED Circuit?
« Last post by ankit_saxena on February 18, 2019, 04:46:25 AM »
Thank you for publishing this online for all to use. Can I place two additional LEDs in parallel (one additional for each side of the circuit so that I end up with alternating pairs) without having to modify any part of the circuit or increase the input power?
76
User Projects / Code Examples / Re: GPS "Pointer" with servos
« Last post by mjculross on February 07, 2019, 10:26:00 PM »
Not sure about the tilt part, but would the pan part correspond to the "bearing" in this distance & bearing calculation:

Algorithms for calculating distance & bearing between two points, taken from the following URL:

   http://williams.best.vwh.net/avform.htm

NOTE: These formulas assume the following:

   North latitudes and West longitudes are treated as positive
   South latitudes and East longitudes negative

   The arguments given to cos, sin, and arctan are all in RADIANS

The great circle distance d between two points, where point 1 has coordinates {lat1,lon1} and point 2 has coordinates {lat2,lon2} is given by the following:

   d = acos (sin (lat1) * sin (lat2) + cos (lat1) * cos (lat2) * cos (lon1 - lon2))

The bearing, tc1, looking from point 1 to point 2, is given by the following (NOTE: This formula fails if point 1 is located at one of the two poles).

   IF sin (lon2 - lon1) < 0
      tc1 = acos ((sin (lat2) - sin (lat1) * cos (d)) / (sin (d) * cos (lat1)))
   ELSE
      tc1 = 2 * pi - acos ((sin (lat2) - sin (lat1) * cos (d)) / (sin (d) * cos (lat1)))
   ENDIF

Where the following applies:

   asin (x) = 2 * atan (x / (1 + sqrt (1 - x * x)))

   acos (x) = 2 * atan (sqrt ((1 - x) / (1 + x)))       [ for x >= 0        ]
   acos (x) = pi - 2 * atan (sqrt ((1 + x) / (1 - x)))  [ for x < 0         ]

   atan2 (y, x) = atan (y / x)                          [ for x > 0         ]
   atan2 (y, x) = atan (y / x) + pi                     [ for x < 0, y >= 0 ]
   atan2 (y, x) = pi / 2                                [ for x = 0, y > 0  ]
   atan2 (y, x) = atan (y / x) - pi                     [ for x < 0, y < 0  ]
   atan2 (y, x) = -pi / 2                               [ for x = 0, y < 0  ]
   atan2 (0, 0) is undefined and should give an error.

Mark J Culross
KD5RXT
77
User Projects / Code Examples / GPS "Pointer" with servos
« Last post by cwleveck on February 04, 2019, 06:12:13 AM »
Has anyone seen something like this?
I want to do the opposite of GPS navigation...
I would like to input a fixed GPS position and have the Tinyduino use two servos, one for elevation and the other for direction, like a pan and tilt.
I want to mount a pointer to the pan and tilt that will ALWAYS point directly, as the crow flies, to the saved coordinates.
Like a return to home.
No matter where you go, anywhere in the world, the pointer will always point back to home....
I have seen something EXACTLY like this in the past, many years ago, and for the life of me can't find it again....
78
TinyDuino / Re: TinyZero BLE Codebender
« Last post by vpete on January 30, 2019, 10:51:31 PM »
Thanks Ben! I have also tried to use it in the Arduino IDE following this comment:
//when using this project in the Arduino IDE, set the following to false and rename file UART.h to UART.ino
Code: [Select]
#define CODEBENDER falseAlso uncommented this line:
 
Code: [Select]
while (!SerialMonitorInterface);//Optional- On TinyScreen+/SAMD21 boards this will block until the serial monitor is opened
But nothing shows on the serial monitor, even after waiting several minutes. Just wondering if there is anything else that needs to be done for the code to operate on the TinyZero.
79
Tiny Arcade / Visual Studio Code
« Last post by johnbbq on January 30, 2019, 08:14:54 PM »
Hi there! Are you guys planning to add support for debugging using Visual Studio Code? I would love to be able to use that IDE instead of the Arduino IDE.
80
Tiny Arcade / Re: Cabinet Art Template
« Last post by djb_rh on January 28, 2019, 01:52:57 PM »
Thanks! I kinda already did most of it again, but I'm still learning AutoCAD and might start over anyway, so this will help.


--Donnie
Pages: 1 ... 6 7 [8] 9 10