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

Pages: 1 2 3 ... 5
1
You have a library/IDE mismatch. In the newer IDE versions, they moved where the library include files are stored and addressed. The updated library code reflects that, but since you do not have an updated IDE, it cannot compile correctly. Update the IDE, make sure you are on the latest library editions and you should be fine.


2
General Discussion / Re: Wifi/Bluetooth
« on: August 03, 2017, 08:08:46 PM »
I kind of took your long silence on this post as the reply. I am glad to hear you are working at least more economical solution. As I have mentioned in other posts, using TinyDuino has great perks. The small form factor is one and also how easy the shields snap and work together. However, the dark is getting smaller and an economical board+BLE+WiFi is very tempting when communication between devices is needed. I just want to keep being able to go TinyDuino with my budget projects. Thanks for listening.

3
TinyDuino Processors & TinyShields / Re: Push Button Issue
« on: August 03, 2017, 08:00:18 PM »
Thanks Ben for the response. I have kind of lost hope here. I have kind of identified the problem, but not sure what to do here. The pin is okay. The trigger is okay. The code is okay. The issue is, I have a Neopixel ring also connected to the Tinyduino. Both connect to ground. On the Mega, no issue. There are multiple ground pins on the Mega and when I wired it up, it was easier to wire them each to their own ground and thus I never saw the issue. With the TS+, they were wired together at the only ground pin and this is apparently making the pin input not read a shift in state. I have no clue how to fix this for the TS+. I am great with coding, but my electronics kungfu still needs improvement.

I truly want to get the TS+ working for this project. Size of electronics is a big big deal as I am very limited on space. A Mega hogs all available free space and even an Uno is very big for what I am doing. I have made an Iron Man gauntlet complete with 2 Watt laser. I wanted the TS+ to control the lighting and sound. Help is greatly appreciated on how to get this push button and Neopixel both working happily.

4
TinyDuino Processors & TinyShields / Re: Push Button Issue
« on: July 19, 2017, 08:43:47 PM »
So because I thought I was going crazy, I went out and bought an Arduino Mega 2560. I transfered my same sketch to it and works fine. So why does this not work on a TS+?

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

#define BUTTON_PIN        5  // Button
#define DELAY            20  // Delay per loop in ms

#ifdef SERIAL_PORT_MONITOR
  #define SM SERIAL_PORT_MONITOR
#else
  #define SM Serial
#endif

void setup()
{
  SM.begin(9600);
  pinMode(BUTTON_PIN,INPUT_PULLUP);
  //digitalWrite(BUTTON_PIN, HIGH); // pull-up
}

void loop()
{
  int i = digitalRead(BUTTON_PIN);
 
  SM.print("Button Result: ");
  if(i==HIGH) SM.println("high");
  else SM.println("low");
  delay(DELAY);
}

It just continually shows the pin as set to high.

5
TinyDuino Processors & TinyShields / Re: Push Button Issue
« on: July 19, 2017, 07:36:59 AM »
The sadness just seems to continue. I cannot seem to find a resolution here. The TS+ does not seem to register changes in input. I have tried it with an external resistor (digitalRead(5)==0). I have tried it with the pullup resistor (digitalRead(5)==1). I have tried it with the resistor coming off the VBat. I have tried it with the resistor coming off the ground. Regardless, no change of state when the button is pushed. Sadness. I have built all kinds of devices with TinyDuino and now this simple push button is crushing my soul.

6
TinyDuino Processors & TinyShields / Push Button Issue
« on: July 17, 2017, 09:26:45 PM »
I am feeling incredibly stupid and after all the things I have made on my own, I cannot seem to get a simple push button to work correctly on the TinyScreen+. I have it connect to a proto board in which I am running a 10K resistor from 5v output to digital pin 5 and pin 5 also to my button. The other button lead to my ground. I have tested it with my multimeter and everything looks a go.

I've set pinMode(5, INPUT); and when I do a digitalRead(5), I get 0 no matter if the button is pressed or not. I have set the pin to HIGH and to LOW. Neither changes the results. I've read so many push button arduino tutorials and debugs, but I can't figure it. I have even used a different Tinyscreen+ just in case something may be wrong with the first's pin 5. What am I not seeing?

7
General Discussion / Re: Time and message display
« on: July 12, 2017, 07:38:39 AM »
You probably only need the TinyScreen+ since it has the display, real time clock functionality, and processor. Just add a battery and you should be good to go.

8
General Discussion / Re: Memory limitation
« on: July 12, 2017, 07:34:20 AM »
Are you using TinyDuino or TinyScreen+? TinyDuino is only 32K flash, but TinyScreen+ has 256K flash. You have much more room to code and play.

9
TinyDuino Processors & TinyShields / Re: IDE Uploader Issues
« on: July 12, 2017, 07:23:22 AM »
Well to answer my own question and for anyone else that may have had this issue (I have found a few other posts asking the same thing elsewhere). This is what happens when you update the library / boards to the latest version of SAMD without updating the IDE program itself first. The new IDE points to library paths differently.

10
TinyDuino Processors & TinyShields / IDE Uploader Issues
« on: July 10, 2017, 10:45:18 PM »
I recently updated my board files including the one for the TinyScreen+in the Arduino IDE 1.6.8. Now I cannot get anything to properly upload to my TinyScreen+. I get a missing sam.h file message.

Arduino: 1.6.8 (Windows 10), Board: "TinyScreen+, Default"

In file included from sketch\Repulsor.ino.cpp:1:0:

C:\Users\Chris\AppData\Local\Arduino15\packages\TinyCircuits\hardware\samd\1.0.5\cores\arduino/Arduino.h:47:17: fatal error: sam.h: No such file or directory

 #include "sam.h"

                 ^

compilation terminated.

exit status 1
Error compiling for board TinyScreen+.

What am I missing or doing wrong?

11
General Discussion / Re: IMU LSM9DS1 with SD Card logger
« on: March 23, 2017, 10:48:42 AM »
I got them to work together, but did not use a standard TinyDuino. I used the Tinyscreen+ which gives 256Kb Flash. The reason was not more memory, but rather I wanted data on display as well as logged. It allowed me to create a clear rubberized softball that tracks all flight data from throws/strikes. If you are stuck from memory size, maybe consider the Tinyscreen+.

12
General Discussion / Wifi/Bluetooth
« on: March 22, 2017, 12:20:35 PM »
First and foremost, been a long time user and fan of Tinyduino as you guys have seen from my posts here. When a tiny form factor is desired, I look to you guys first. Recently, I dipped my toes into the darkside (Pi) due to the release of the Zero W. For $10, being able to get a processor, I/O pins, Wifi, USB, and Bluetooth, it is difficult not to least look at it. I was wondering if TinyCircuits had any plans to look at designing some more cost efficient boards in the area of Wifi and Bluetooth? Trying to add those in to a Tinyduino project quickly adds to the overall cost which makes me pause now with small size projects that may need multiple types of functionality.

13
General Discussion / Re: Raspberry Pi desktop on tiny screen
« on: March 21, 2017, 02:07:37 PM »
Technically, you should be able to connect a Pi Zero to a Tinyscreen+ through a simple serial connection. There are many tutorials online for this. You could then treat the Tinscreen+ as a video driver output device and let the Pi Zero handle project processing and content.

14
You may wish to just design your own. Since the Smart Watch kit came out, Tiny Circuits released the Tinyscreen+ which has the USB port built in. This is a huge improvement over the original smart watch since the old had to be removed from the case to add in the USB board for charging. Just food for thought.

15
TinyDuino Processors & TinyShields / Re: Wrist accelerometer
« on: November 23, 2016, 09:24:38 AM »
I would not see why you couldn't. You could very easily use a Tinyduino with the accelerometer and SD card shields to make a wrist datalogger. You could use the Bluetooth shield instead of the SD card and send the data to a tablet as well. I have made several wearables with them. Good luck with your experiment.

Pages: 1 2 3 ... 5
SMF spam blocked by CleanTalk