Search found 95 matches

by Werner
Mon Apr 04, 2016 8:14 pm
Forum: Flowcode V6
Topic: Constrain and map analog input?
Replies: 6
Views: 7568

Re: Constrain and map analog input?

Hi Professor, You Guys have beautiful minds! Buddy this is a great tool, very useful! This will work for anything I need to do. And boy do I need it! Ha ha :D

Thanks so much!
Have a great day!

Werner
by Werner
Mon Apr 04, 2016 6:30 pm
Forum: Flowcode V6
Topic: Constrain and map analog input?
Replies: 6
Views: 7568

Re: Constrain and map analog input?

Hi Ben, Thanks for the great reply!! It seems so easy now that you showed me how to do it.
I really appreciate your thought and time you took to show me!

Have a great day Buddy!

Werner
by Werner
Sun Apr 03, 2016 3:59 am
Forum: Flowcode V6
Topic: Constrain and map analog input?
Replies: 6
Views: 7568

Re: Constrain and map analog input?

Hi Martin, Thanks for the reply! That certainly works. There is something very clever about some of the Arduino functions? I had to scratch my head for a while to see the math for scaling the "analog in" to say for example a 0 -255 byte. It is almost to easy with the Arduino function. :D Have a grea...
by Werner
Fri Apr 01, 2016 11:32 pm
Forum: Flowcode V6
Topic: Constrain and map analog input?
Replies: 6
Views: 7568

Constrain and map analog input?

Hi Guys, is there an easy way to constrain and map an analog input in FC, similar to the snippet of code I have below. void loop() { int val = analogRead(sesePin); val = constrain(val,750, 900); int ledLevel = map(val, 750, 900 255, 0); analogWrite(ledPin, ledLevel); } Thanks for the help! Have a gr...
by Werner
Fri Apr 01, 2016 8:36 pm
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

Here's the next thing I'm wondering if anyone can help me with? I have a real simple program as you see below that writes to the LCD. However the result in simulation is totally different than what I get on the hardware. I am not quite sure why it would do this any ideas? Thanks for the help! Werner...
by Werner
Fri Apr 01, 2016 6:12 pm
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

Hi Grant, I just wanted to thank you again for the tips and links! This is way more work than I was hoping so I just broke down and bought a Mega no problem with enough pins now. I will just run a million wires to the LCD. Haha :D Do you know if anyone has ever hooked up a one wire serial LCD to usi...
by Werner
Thu Mar 31, 2016 11:21 pm
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

Oooo yes that was the address of the first backpack I tried. Grant have you ever been able to get it to work? How do we go about changing the component macro to work with my backpack? Any ideas?
Thanks again!
by Werner
Thu Mar 31, 2016 11:07 pm
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

Correct Grant that is what I have:
by Werner
Thu Mar 31, 2016 9:11 pm
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

Hi Grant, Thanks for the quick reply! Yes this is the simple flowchart that I have been working with: Yes I am using the SDA and SCL lines PC4 and PC5 pins. This is what has worked with the Arduino IDE : LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); and it seems to me to be most typ...
by Werner
Thu Mar 31, 2016 8:10 pm
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

Hi GTF, the image of the one you showed me is exactly what I was working with. However I never did get that one to work. I picked up another one at Micro Center it's a little different but I got it to work with the Arduino UNO through the Arduino IDE. The one I picked up from Micro Center is more ty...
by Werner
Thu Mar 31, 2016 1:55 am
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

HI GTF, I wish I knew where it came from. I think I got them off Ebay. It is the type that has the two little solder pads for jumping in order to use as SPI. Still no luck! :cry:
by Werner
Wed Mar 30, 2016 9:29 pm
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

Thanks for the feedback Guys! Yeah like usual I didn't word that correctly it is pulling up just through a 4.7k resistor to +5v. I do have the LCD backlight on however I had to wire straight to the A/K pins. I also did verify that the decimal address is correct 0x20 / 32. I had to use a cool little ...
by Werner
Wed Mar 30, 2016 6:58 pm
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

One other thing I forgot to mention is that I do have two pullup resistors on the SCL/SDA lines of 4.7k installed to +5v.

Werner
by Werner
Wed Mar 30, 2016 6:55 pm
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Re: Trying to get i2C lcd working with Flowcode

Thanks Martin, I have everything working great in FC sim however can not get it to work on my boards? One thing I was wondering about is the LCD Address? FC shows 32 where did that come from? Also I am using a i2c backpack on my lcd and have it wired with Gnd, +5 , SCL, SDA. But no backlight will co...
by Werner
Tue Mar 29, 2016 4:53 am
Forum: Flowcode V6
Topic: Trying to get i2C lcd working with Flowcode
Replies: 21
Views: 19726

Trying to get i2C lcd working with Flowcode

Hi Guys, I have been trying to figure out how to get an i2C LCD working with an Arduino Uno with a lot of trouble. First I can figure out how to get the correct component macro for i2C LCD? I did do some searches with no luck.

Thanks for the help!

Have a great day!

Werner
by Werner
Sat Sep 08, 2012 11:16 pm
Forum: Flowcode V5 Free Edition
Topic: led pwm
Replies: 13
Views: 7938

Re: led pwm

Hi Guys, Just looking at the program I am having a hard time figuring out why the program goes to Timer_Int macro the sixth time through (Stepping though)? :D
I should have said when no switch is pushed?

Thanks
by Werner
Tue Aug 28, 2012 1:00 am
Forum: Flowcode V5
Topic: Burn your own SMD pics!
Replies: 2
Views: 3945

Re: Burn your own SMD pics!

More pics
This is the place I purchased these little SMD proto boards: http://protoboards.theshoppe.com/tinychip2.html
by Werner
Tue Aug 28, 2012 12:55 am
Forum: Flowcode V5
Topic: Burn your own SMD pics!
Replies: 2
Views: 3945

Burn your own SMD pics!

Hi Guys, I have been having a lot of fun with SMD pics! Here are a few pictures of the fixture I made to do it. It works great and I have yet to have a failure. Ben gave me a sketch with the pins that are actually needed but I could not see exactly how it should be hooked up so I just hooked up all ...
by Werner
Tue Aug 28, 2012 12:30 am
Forum: Flowcode V5
Topic: Analog resistor ladder?
Replies: 1
Views: 2410

Analog resistor ladder?

Hi Guys, I was thinking about using an analog input that is hooked up through a resistor ladder maybe 8 steps 0-5 as a way to increase / convert analog to digital type inputs. Has anyone played around with this idea with any luck?
Thanks for the help!
by Werner
Mon Aug 27, 2012 11:56 pm
Forum: Flowcode V5
Topic: Should this PIC_LCD.C component file work in V5?
Replies: 1
Views: 2374

Should this PIC_LCD.C component file work in V5?

Hi Guys, I am playing around with a serial LCD again and just wanted to know if the PIC_LCD.C component file Ben came up with should work the same in V5?
http://www.matrixmultimedia.com/mmforum ... +of#p26890
Thanks for the help! Have a great day! :D
by Werner
Fri Aug 10, 2012 11:10 pm
Forum: Flowcode V5
Topic: flowcode 5 tutorials
Replies: 5
Views: 5357

Re: flowcode 5 tutorials

Hi BmBrown, I feel your pain Buddy!! For years I have felt that as much as I love Flowcode and the team and find it to be an awesome programing tool it is "severely" lacking in the way of a manual. Without voice on the videos I just find them frustrating. Very often I will want to try to figure some...
by Werner
Thu Jan 19, 2012 12:16 am
Forum: Flowcode V4
Topic: Cool idea when working with small chips!!
Replies: 2
Views: 4074

Cool idea when working with small chips!!

I have been popping in and out small 8 pin chips from EB006 to my proto units and came up with a very user friendly way of doing it without the use of tools. Try it you will like it!! :D
by Werner
Sun Dec 18, 2011 11:38 pm
Forum: General Programming
Topic: Adc Accuracy
Replies: 15
Views: 11338

Re: Adc Accuracy

Hi Uli, These Guys have some great points and I would do those things first! For me a lot of times I have to resort to filtering with caps and better quality parts. I always check my pots to be sure they are doing what I expect like making sure I am getting 0 ohm and 5k ohm in the case of a 5k pot. ...
by Werner
Sun Dec 18, 2011 11:00 pm
Forum: Flowcode V4
Topic: Allegro ACS 712 Current Sensor
Replies: 18
Views: 18359

Re: Allegro ACS 712 Current Sensor

Great project John, Thanks for sharing it! I was able to order a small ACS712 BOB from Sparkfun USA 10.00. I am putting this one on my todo list. :D
Have a great day Buddy!
Werner
by Werner
Sat Dec 10, 2011 5:39 pm
Forum: Flowcode V4
Topic: Porgramming a decimal number For LCD Using flowcode V4.5
Replies: 20
Views: 13899

Re: Porgramming a decimal number For LCD Using flowcode V4.5

Thanks Martin! Great examples! It always makes things much easier when you have a great example!
I think Brandon can run with this. :D
Have a great day Guys!
Werner