SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 22 matches

 Go to advanced search

Pro Micro's D2 causing system level problem

 by rgsparber ¦  Sat May 25, 2019 2:50 pm ¦  Forum: Arduino ¦  Topic: Pro Micro's D2 causing system level problem ¦  Replies: 1 ¦  Views: 418

There are times when I need to power a 5V/16MHz Pro Micro via the USB but I also have a low resistance between RAW and ground. When the system is operational, power is only applied to RAW so it feeds the Pro Micro's U2 and this low resistance with around 8V. The problem is that when powered just fro...

Re: Odd input PULL_UP behavior

 by rgsparber ¦  Mon Nov 05, 2018 5:24 am ¦  Forum: Arduino ¦  Topic: Odd input PULL_UP behavior ¦  Replies: 4 ¦  Views: 283

Paul,

Thanks for your insights and sample code.

Peace,

Rick

Re: Odd input PULL_UP behavior

 by rgsparber ¦  Fri Oct 26, 2018 7:08 am ¦  Forum: Arduino ¦  Topic: Odd input PULL_UP behavior ¦  Replies: 4 ¦  Views: 283

Brilliant! That was my problem. Is there a way to make, for example, "A8" a variable that could be used in a GPIO statement? Would I define it as a string? I found in the Arduino Reference section one place where they say int analogPin = 3; and then use it to define a GPIO as an input. However, sinc...

Odd input PULL_UP behavior

 by rgsparber ¦  Wed Oct 24, 2018 4:44 pm ¦  Forum: Arduino ¦  Topic: Odd input PULL_UP behavior ¦  Replies: 4 ¦  Views: 283

I am using a Pro Micro to record analog voltages on 8 channels. It works fine except for one cosmetic issue. Unterminated inputs float and random values are recorded. I decided to turn on the pull-up resistors to get a value near 5V. Two of my ports sit at or very near 5V but the rest still float. U...

Re: Trouble with my AVR MK II

 by rgsparber ¦  Mon Sep 10, 2018 7:06 am ¦  Forum: Arduino ¦  Topic: Trouble with my AVR MK II ¦  Replies: 6 ¦  Views: 777

Mike,

Thanks for the tip. I posted on avrfreaks.net.

Rick

Re: Trouble with my AVR MK II

 by rgsparber ¦  Sun Sep 09, 2018 8:03 pm ¦  Forum: Arduino ¦  Topic: Trouble with my AVR MK II ¦  Replies: 6 ¦  Views: 777

Good suggestion but no joy. I went to https://www.microchip.com/forums/Forums and they don't have anything related to AVR MK II. I know they don't support it anymore.

Rick

Re: Trouble with my AVR MK II

 by rgsparber ¦  Sun Sep 09, 2018 7:31 pm ¦  Forum: Arduino ¦  Topic: Trouble with my AVR MK II ¦  Replies: 6 ¦  Views: 777

I agree that it is likely a driver problem. I deleted the driver and reinstalled it from https://gallery.microchip.com/packages/Atmel-USB-Installer-7.0/1.0.0 I get the same error messages. I do not see it as two devices but that may be related to the error message I saw saying "was not migrated due ...

Trouble with my AVR MK II

 by rgsparber ¦  Sun Sep 09, 2018 3:51 pm ¦  Forum: Arduino ¦  Topic: Trouble with my AVR MK II ¦  Replies: 6 ¦  Views: 777

I have used my AVR MK II with Arduino 1.8.5 for a long time without any problems. My targets have been the Pro Micro and the ATTiny85. Recently I moved to Win10 and used Arduino 1.8.5 to directly program a Pro Micro. Worked fine. But when I used the AVR to program an ATTiny85, I got the upload error...

Re: An Electronic Edge Finder based on an ATTiny85

 by rgsparber ¦  Wed Mar 28, 2018 6:42 am ¦  Forum: Projects ¦  Topic: An Electronic Edge Finder based on an ATTiny85 ¦  Replies: 2 ¦  Views: 285

I have posted on a few metal working sites but didn't think to put it on the Home Shop Machinist (HSM) BBS. I'll do that. I have found that people interested in machining rarely are into electronics let alone software. By posting on Sparkfun, I know there are plenty of people interested in electroni...

An Electronic Edge Finder based on an ATTiny85

 by rgsparber ¦  Tue Mar 27, 2018 11:55 am ¦  Forum: Projects ¦  Topic: An Electronic Edge Finder based on an ATTiny85 ¦  Replies: 2 ¦  Views: 285

An Electronic Edge Finder is a device used in machining metal that lets the user know the precise position of a reference surface relative to the center of rotation of a cutter. Typically this is done either via a very precise switch or by having a probe that is insulated from the rest of the machin...

Debugging Code on an Arduino ATTiny85

 by rgsparber ¦  Wed Feb 14, 2018 7:38 pm ¦  Forum: Projects ¦  Topic: Debugging Code on an Arduino ATTiny85 ¦  Replies: 1 ¦  Views: 232

I really enjoy playing with devices that are tiny, intricate, and low in cost. The ATTiny85 certainly fits that description. It is an entire computer system that easily rests on a fingernail and can be bought for under $1.50. So what's not to like? Well, with the tiny package comes a tiny number of ...

Arduino based Irrigation Flow Monitor and Control System

 by rgsparber ¦  Fri Dec 29, 2017 6:56 am ¦  Forum: Projects ¦  Topic: Arduino based Irrigation Flow Monitor and Control System ¦  Replies: 0 ¦  Views: 397

I'm using a Pro Micro to run an irrigation flow system. It monitors the flow on each zone of my home irrigation system and alarms when the flow is off by more than 30%. It took me over 9 months to develop and document the project which I now freely give away. My hope is that someone else will bring ...

Re: Programming Style

 by rgsparber ¦  Sun Jul 30, 2017 4:29 pm ¦  Forum: Arduino ¦  Topic: Programming Style ¦  Replies: 2 ¦  Views: 806

Perfect quote!

Rick

Programming Style

 by rgsparber ¦  Thu Jul 27, 2017 4:27 pm ¦  Forum: Arduino ¦  Topic: Programming Style ¦  Replies: 2 ¦  Views: 806

I have sifted through a lot of code this summer as I tried to debug my project. In most cases the code was cryptically commented. In some cases there were no comments at all or silly ones like A = B; //A equals B. In many cases programmers had done clever things including playing at the bit level to...

Phantom File

 by rgsparber ¦  Sun Jul 23, 2017 6:40 am ¦  Forum: Arduino ¦  Topic: Phantom File ¦  Replies: 0 ¦  Views: 548

I compiled my program and saw: Multiple libraries were found for "Adafruit_MCP23017.h" Used: C:\Users\Owner\Arduino\arduinosketchfolder\libraries\Adafruit_MCP23017 Not used: C:\Program Files (x86)\Arduino\libraries\Adafruit-MCP23017 But when I go to C:\Program Files (x86)\Arduino\libraries there is ...