Search found 1342 matches

by sparky
Mon Jan 14, 2019 1:26 pm
Forum: SparkFun Product Questions
Topic: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly
Replies: 16
Views: 182

Re: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly

Do you have a repo where I can see the bulk of your code? I'm confused by: That seems to keep the interrupts from firing off repeatedly, but It doesn't give you correct updated counts (misses many counts). .getCount() is cumulative. You shouldn't be missing anything regardless of when you read it. Y...
by sparky
Thu Jan 10, 2019 3:05 pm
Forum: SparkFun Product Questions
Topic: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly
Replies: 16
Views: 182

Re: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly

I see the documentation is not clear: https://cdn.sparkfun.com/assets/learn_tutorials/8/4/6/RegisterMap.jpg I'll update the reg map, hook up guide, and examples so that it's more obvious that the user must clear the interrupts. The Twist firmware could use improvement so if you've got suggestions I'...
by sparky
Thu Jan 10, 2019 2:58 pm
Forum: SparkFun Product Questions
Topic: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly
Replies: 16
Views: 182

Re: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly

tldr; Twist is working as expected, though my design is a bit lacking. Use clearInterrupts() to get rid of your INT toggling. More detail: When master queries the Twist, inside the I2C ISR the INT pin *is* released to high impedance (https://github.com/sparkfun/Qwiic_Twist/blob/master/Firmware/Qwiic...
by sparky
Thu Jan 10, 2019 10:26 am
Forum: SparkFun Product Questions
Topic: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly
Replies: 16
Views: 182

Re: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly

Hmm, I'm getting suspicious of the sleep_mode(); call in the main loop (https://github.com/sparkfun/Qwiic_Twist/blob/master/Firmware/Qwiic_Twist/Qwiic_Twist.ino#L256). We originally tried to put the ATtiny84 to sleep to save ~1mA but I'm guessing when the ATtiny goes to sleep it may be releasing the...
by sparky
Thu Jan 10, 2019 10:11 am
Forum: SparkFun Product Questions
Topic: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly
Replies: 16
Views: 182

Re: Qwiic Twist - RGB Rotary Encoder Breakout code function not working correctly

Sorry for the delay - I wasn't aware of your posts until this morning. Because of all the ways customers can contact us (chat, email, twitter, forum, github, product comments, product reviews) this one slipped through the cracks. This is best addressed via an issue creation on github, but I don't me...
by sparky
Thu Aug 06, 2015 9:33 am
Forum: SparkFun Site Questions/Comments
Topic: Restrictions on SparkFun Open Source Hardware Components?
Replies: 5
Views: 2810

Re: Restrictions on SparkFun Open Source Hardware Components

Hi Don - Great question that requires some thought into the definition of open source hardware. From my perspective as long as your intentions are to keep the OpenLog part of the mainboard open, and to share that part of the project with others than you should have no problems building a mainboard a...
by sparky
Wed Apr 30, 2014 8:25 am
Forum: data.sparkfun.com
Topic: Posting data to SparkFun server
Replies: 13
Views: 7783

Re: Posting data to SparkFun server

For a larger data set example, checkout the Wimp Weather Station tutorial and the feed it reports to . Here's the (relatively) simple code that pushes the data to the channel: //Now we form the large string to pass to sparkfun local strSparkFun = "http://data.sparkfun.com/input/"; local publicKey = ...
by sparky
Wed Apr 30, 2014 8:18 am
Forum: data.sparkfun.com
Topic: Posting data to SparkFun server
Replies: 13
Views: 7783

Posting data to SparkFun server

Hi all, I wanted to give the forum readers a heads up about a data channel service that we've been working on. Check it out here: http://data.sparkfun.com . I was thrilled by how easy Wunderground was to work with and then let down by the complexities of using other services. So we created Phant (as...
by sparky
Fri Dec 09, 2011 2:15 pm
Forum: PCB Design Questions
Topic: Eagle layer color selection
Replies: 4
Views: 4646

Re: Eagle layer color selection

Version 5.11 on windows 7 seems to lock the palette now. A command will fix spot 16 to white:

set palette 16 0x00000000;
by sparky
Wed Aug 04, 2010 7:37 am
Forum: SparkFun Product Questions
Topic: OpenLog firmware update
Replies: 5
Views: 665

Re: OpenLog firmware update

I must see this picture of an OpenLog on a tank. Or, maybe not.... New v2 firmware is released for the OpenLog. It's still under a bit to test hammering, but it handles 8GB FAT32 SDHC cards swimmingly (I've always wanted to use that word in a sentence). Please give it a whirl: http://github.com/nsei...
by sparky
Wed Aug 04, 2010 7:31 am
Forum: New Product Ideas
Topic: OpenLog large data handling
Replies: 2
Views: 650

Re: OpenLog large data handling

Hi Jack - thanks for the kind words! I'm always happy to work on OpenLog. I'm trying to wrap my head around what your code does. It reads from a file, and prints it to the terminal, yes? How is this different from the current read command? We have start/stop arguments on the read command so you coul...
by sparky
Wed Aug 04, 2010 7:25 am
Forum: SparkFun Product Questions
Topic: arduino + microSD sniffer
Replies: 1
Views: 377

Re: arduino + microSD sniffer

Hmm - I don't know of a good way to get at the data stored within OpenLog other than through the serial interface. You may want to use a Arduino Pro with and FTDI Basic (has a miniUSB connector on it). Another option may be to use the Logomatic. It has USB and datalogging built onto it. Cheers, -Nat...
by sparky
Fri Jun 18, 2010 7:27 am
Forum: SparkFun Product Questions
Topic: OpenLog VReg error?
Replies: 2
Views: 457

Re: OpenLog VReg error?

Good eyes, but we use the MIC5205 : http://www.micrel.com/_PDF/mic5205.pdf. Cbyp is used only for low-noise operation. The MIC5205 is already very low noise. The extra bypass decoupling would be needed if we were doing sensitive ADC readings, etc.

-Nathan
by sparky
Thu May 13, 2010 3:54 pm
Forum: SparkFun Product Questions
Topic: Communication Errors between Arduino and OpenLog
Replies: 9
Views: 2937

Re: Communication Errors between Arduino and OpenLog

Hrmm - sounds like a buffer/timing problem. You can't really read in serial via software and then output it via hardware. You're bound to lose some characters. I'll try to do some testing next week to make sure it's not an OpenLog problem, but my guess is that you are missing software serial charact...
by sparky
Fri Apr 30, 2010 7:16 am
Forum: SparkFun Site Questions/Comments
Topic: Ipod and other sockets legality
Replies: 9
Views: 1878

Re: Ipod and other sockets legality

If I remember correctly, the 'iPod connector' was not really iPod at all, it was JST or something. Apple needed a connector for this new music player thing, checked the market and found a high density connector on the market, got good pricing, and went crazy. They can't get mad at you for using a 3r...