Search found 875 matches

by mnfisher
Sun Feb 21, 2021 3:40 pm
Forum: General
Topic: UNO SCADA SPI Prescaler question
Replies: 11
Views: 5946

Re: UNO SCADA SPI Prescaler question

Thanks for giving us a pointer on this - it was interesting, I've not really used SCADA, to see how useful it can be!

Will have to have a more in depth play when time allows...

Martin
by mnfisher
Sat Feb 20, 2021 7:38 pm
Forum: General
Topic: UNO SCADA SPI Prescaler question
Replies: 11
Views: 5946

Re: UNO SCADA SPI Prescaler question

I just re-flashed a clone Nano - using a USB Tiny.. Much nicer working at 115200 :) But - no the baud rate shouldn't affect the SPI (and see new edit above about the 0,1,2) I've added a bug report about that... Something not quite right with the SPI on the AVR chips. I've put bug reports about the U...
by mnfisher
Sat Feb 20, 2021 7:04 pm
Forum: General
Topic: UNO SCADA SPI Prescaler question
Replies: 11
Views: 5946

Re: UNO SCADA SPI Prescaler question

Hi Peter, Have you tried loading the newer bootloader onto the clone Uno? See https://www.instructables.com/How-to-Upload-Bootloader-to-Any-Arduino-/#:~:text=Here%20are%20the%20couple%20of%20different%20possibilities%20in,Pic%20represent%20Uploading%20bootloader%20from%20Uno%20to%20Nano For example?...
by mnfisher
Sat Feb 20, 2021 6:37 pm
Forum: Bug Reports
Topic: Upload problem on Arduino Nano 57600
Replies: 2
Views: 1916

Upload problem on Arduino Nano 57600

After the latest definition file update for the Arduino Nano (57600) - the command line for AVRDUDE is incorrect. H:\>"H:\AVR\avrv5\batchfiles\..\bin\avrdude.exe" -p m328p -P 57600 -b "H:\Flowcode1.hex" -c arduino -D -U flash:w:"" avrdude.exe: invalid baud rate specified 'H:\Flowcode1.hex' Should be...
by mnfisher
Sat Feb 20, 2021 6:31 pm
Forum: General
Topic: UNO SCADA SPI Prescaler question
Replies: 11
Views: 5946

Re: UNO SCADA SPI Prescaler question

The documents aren't very clear? I'd guess the values correspond to prescaler of 4, 16, and 64 (ie clock of 16Mhz (FOsc?) / prescale) - the firmware calls SetPrescaler in the CAL SPI. (Docs don't specify here either) Edit - however experimenting in v8 (see below) - calling SetPrescaler with (2,4,8 e...
by mnfisher
Fri Feb 19, 2021 9:32 pm
Forum: General
Topic: Flowcode Exchange
Replies: 19
Views: 21185

Flowcode Exchange

drum roll....... We are pleased to announce the launch of www.flowcodexchange.com This is a (independent) site to allow the sale of Flowcode components and programming expertise. Currently there are a few components - but we will be adding more over the next few weeks. These are components that don'...
by mnfisher
Fri Feb 19, 2021 7:27 pm
Forum: Projects - Embedded
Topic: Const to Flowcode - Copying from C to FC made simple
Replies: 0
Views: 2004

Const to Flowcode - Copying from C to FC made simple

Another project. Again based on an experiment I did on making a Flowchart viewer. This copies const or #defines from C to Flowcode - for me one of the problems with flowcharts is the hard-coded values. Easy to write but hard to maintain at a later date. This copies const declarations of the form: co...
by mnfisher
Fri Feb 19, 2021 7:15 pm
Forum: Projects - Embedded
Topic: MacroSwap - Easy macro copying between flowcharts
Replies: 7
Views: 4456

MacroSwap - Easy macro copying between flowcharts

A project of sorts. I'm not sure this is the right place for it - as it's really a PC app. This app lets you transfer macros from one Flowcode program to another. It's quick and easy to do multiple macros in one easy operation. Simple load the 'source' flowchart by clicking on 'source' and a target ...
by mnfisher
Sat Feb 06, 2021 9:14 pm
Forum: General
Topic: Sensor presur hx710
Replies: 5
Views: 3155

Re: Sensor presur hx710

Take a look at the Arduino library for the HX711 (I chose first in the list by Rob Tillaart)- it looks fairly straightforward. It should work AOK with the HX710B.

I don't have a sample to work with - but it should be possible to get it to work with Flowcode.

Martin
by mnfisher
Mon Feb 01, 2021 12:19 pm
Forum: Bug Reports
Topic: AT TINY 85 i2c non compatibile display SSD 1306
Replies: 7
Views: 4422

Re: AT TINY 85 i2c non compatibile display SSD 1306

Thanks Ben, The single buffer gave a bit of a speed boost - but whether it's worth an upgrade to the component? I think it's worth having a version that will work with smaller MCUs (so without the full font support) - I just used an 8x8 font (scaling would be easy enough to add too). Does this need ...