Search found 21 matches

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

Re: Odd input PULL_UP behavior

Paul,

Thanks for your insights and sample code.

Peace,

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

Re: Odd input PULL_UP behavior

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...
by rgsparber
Wed Oct 24, 2018 4:44 pm
Forum: Arduino
Topic: Odd input PULL_UP behavior
Replies: 4
Views: 123

Odd input PULL_UP behavior

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...
by rgsparber
Mon Sep 10, 2018 7:06 am
Forum: Arduino
Topic: Trouble with my AVR MK II
Replies: 6
Views: 370

Re: Trouble with my AVR MK II

Mike,

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

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

Re: Trouble with my AVR MK II

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
by rgsparber
Sun Sep 09, 2018 7:31 pm
Forum: Arduino
Topic: Trouble with my AVR MK II
Replies: 6
Views: 370

Re: Trouble with my AVR MK II

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 ...
by rgsparber
Sun Sep 09, 2018 3:51 pm
Forum: Arduino
Topic: Trouble with my AVR MK II
Replies: 6
Views: 370

Trouble with my AVR MK II

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...
by rgsparber
Wed Mar 28, 2018 6:42 am
Forum: Projects
Topic: An Electronic Edge Finder based on an ATTiny85
Replies: 2
Views: 212

Re: An Electronic Edge Finder based on an ATTiny85

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...
by rgsparber
Tue Mar 27, 2018 11:55 am
Forum: Projects
Topic: An Electronic Edge Finder based on an ATTiny85
Replies: 2
Views: 212

An Electronic Edge Finder based on an ATTiny85

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...
by rgsparber
Wed Feb 14, 2018 7:38 pm
Forum: Projects
Topic: Debugging Code on an Arduino ATTiny85
Replies: 1
Views: 155

Debugging Code on an Arduino ATTiny85

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 ...
by rgsparber
Fri Dec 29, 2017 6:56 am
Forum: Projects
Topic: Arduino based Irrigation Flow Monitor and Control System
Replies: 0
Views: 333

Arduino based Irrigation Flow Monitor and Control System

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 ...
by rgsparber
Sun Jul 30, 2017 4:29 pm
Forum: Arduino
Topic: Programming Style
Replies: 2
Views: 675

Re: Programming Style

Perfect quote!

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

Programming Style

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...
by rgsparber
Sun Jul 23, 2017 6:40 am
Forum: Arduino
Topic: Phantom File
Replies: 0
Views: 452

Phantom File

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 ...
by rgsparber
Sun Jul 23, 2017 6:36 am
Forum: Arduino
Topic: I2C on Pro Micro
Replies: 5
Views: 1632

Re: I2C on Pro Micro

I found the root cause of my problem: The "Wire" folder existed in Program Files (x86)/Arduino/libraries and also in my sketchbook/libraries. No error messages generated during compilation. I removed the copy in my sketchbook and now button runs as expected.

Rick