Arduino Questions

For general Flowcode discussion that does not belong in the other sections.
Post Reply
steve001
Valued Contributor
Posts: 185
http://meble-kuchenne.info.pl
Joined: Wed Jan 13, 2021 7:15 pm
Has thanked: 81 times
Been thanked: 30 times

Arduino Questions

Post by steve001 »

Afternoon All,

Been given a few bits, and wondering if they compatible with flow code, not having experience with Arduino stuff
Looking at the website, looks like a copy and has 30 pins the flow code drop down menu's show 32 pins ?
Also there is somthing mentioned about the USB chip swapped for a cheaper CH340 USB IC - would this affect programming or would i be better of using ICSP header ?

any other gotcha's ?

&
Have seen a post following a search - not sure if he / she got the display working
Anybody used one of these ?

Starting to wonder why i got them given :roll:

Steve

BenR
Matrix Staff
Posts: 1707
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Arduino Questions

Post by BenR »

Hi Steve,

Provided it has a genuine AVR on it I think it should work fine. The bootloader is usually the same as it's open source and so programming should work as is with a genuine Arduino. You may need to install USB drivers for the USB to Serial chip but these should be easily available from Google. Personally I've had a lot of success with the very low cost Chinese type Arduino clones.

The only thing different you need to do when using Arduinos from say PICs is to set the COM port to the device within the project options.

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 468 times

Re: Arduino Questions

Post by medelec35 »

Hi Steve,
steve001 wrote:
Wed Nov 17, 2021 1:48 pm
Anybody used one of these ?
I use one of them a lot of the time and I know of other forum members that use one as well.
They work really well.
Just remember that it could use one of two addresses.
Either 0x3F (63) - Like mine
or 0X27 (39)
You can test with a sniffer
You won't need pull-ups as they are included on the PCB.
Martin

steve001
Valued Contributor
Posts: 185
Joined: Wed Jan 13, 2021 7:15 pm
Has thanked: 81 times
Been thanked: 30 times

Re: Arduino Questions

Post by steve001 »

thank guy's

Got the driver shows up as in device manager
Com Port.JPG
Com Port.JPG (12.21 KiB) Viewed 2647 times
not sure what target to pic ?
target.JPG
target.JPG (32.78 KiB) Viewed 2647 times
is it the Duemilanove 328P ?

and
The only thing different you need to do when using Arduinos from say PICs is to set the COM port to the device within the project options.
can you explain a bit not sure what you mean

@ Martin,

Thank you will have a go with normal 4 bit display first then have a go with this one later

Steve

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 468 times

Re: Arduino Questions

Post by medelec35 »

steve001 wrote:
Wed Nov 17, 2021 3:43 pm
can you explain a bit not sure what you mean
That just means with Arduino, you need to select the correct COM port from within Project Options.
It should not be n/a:
Select Com Port.png
Select Com Port.png (67.76 KiB) Viewed 2636 times
steve001 wrote:
Wed Nov 17, 2021 3:43 pm
is it the Duemilanove 328P ?
I would just try the nanao 328. So long as the chip and clock speed match the project options
Martin

steve001
Valued Contributor
Posts: 185
Joined: Wed Jan 13, 2021 7:15 pm
Has thanked: 81 times
Been thanked: 30 times

Re: Arduino Questions

Post by steve001 »

Bit Confused if somebody can point me in the right direction please

looking on the tinterweb gives this information

selecting Nano 322 as my target device

When mapping port pins flowcode shows the actual device not the nano

Screenshot 2021-11-19 152049.png
Screenshot 2021-11-19 152049.png (148.93 KiB) Viewed 2595 times


how do i know which pin is which ? - or am i missing something ?

unticking "use chip references " shows a number is this the Nano pin number ? - but this raises another question what is pin 0 ?

nano.JPG
nano.JPG (70.21 KiB) Viewed 2595 times
Steve

BenR
Matrix Staff
Posts: 1707
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Arduino Questions

Post by BenR »

Hi Steve,

When chip references is unticked pin0 = pin D0 or Pin 2 of the Nano. This matches the way the digital pins are numbered in the Arduino IDE.

steve001
Valued Contributor
Posts: 185
Joined: Wed Jan 13, 2021 7:15 pm
Has thanked: 81 times
Been thanked: 30 times

Re: Arduino Questions

Post by steve001 »

Cheers Ben

Post Reply