Arduino Vs AtomBasic Pro 40M

Hello every one

I am new to programming, but since I am working on a project based on measuring, calculating interacting with external datas, I began to search on the web how could I make it work.

I went across the BasicAtom pro 40M because of its capability of working with so few external components.

Then I saw the Arduino. I would like a kind soul to guide and help me through the accomplishment of the first prototype.

Here are the needs

from 12 to more inputs with at least 6 digitals from 16 to more outputs with at least 12 digitals

use of SPI tat screen

a 360° rotary button + a press button

several relays

1 light sensor

3 temp sensors

3 leds

and a angular sensor so the screen could rotate as shown in the attachement video if the prototype is turned.

Thanks for your patience, I am new to this world but a fast learner.

Any help is welcome.

You could use the Arduino Mega. It meets your requirements and has tons of I/O. But I would like to know what you intend to do with this project.

Hello to everyone

I am new to Arduino and to programming in general.

I am working on a prototype where I need about 16 inputs and 20 outputs

Working around a SPI lcd screen, a rotary knob with a press button.
A light sensor, 3 temp sensors, an angular sensor, maybe 3 electronic potentiometers, 3 leds and several relays…

When the system is powered on, a blinking word is printed on the screen,
then after a long press on the rotary knob press button the backlight come on with the automatic level set by the light sensor
then a graphic animation is displayed with the name and the version of the prototype
then a list of checking begins

printing on the screen what is checked

i.e.

Starting Up

Water Level Check ok
Battery Level Check ok
Etc…
then if All ok
pinrt on screen " All ok "

then “Warming Up”

leading a relay driver to 1
then a temp sensor will mesure the rising of the temperature of a special part shown on the screen by the text WARMING UP and
a fading of 3 leds from one to the other first led from 0 to 100% then the other etc until the part gets the right temperature then the starting up continues…

If everything is ok then all relays should be on

On screen should be a default menu ex. Oxygen

so the rotation of the knob would increase or decrease the oxygen level from one side to an other.

the short press of the knob inter the menu where can be displayed By exemple Air Pressure then one other press Air/Oxygen Ration

when one value is set the screen will automatically return to main menu “Oxygen”

p.s.: Sorry for my english

Then other specifications will be added.

I am new to programming but a hard and fast learner I would like to remind anyone reading this that i will build several boards for this prototype since it will be a commercialized project so this is why I apologize in advance for not giving to many details on the project it self but enough to make my self understood.

thanks to you guys for any comment help guide or advice between the Arduino or basic atom pro 40-m

Greetings

Screen exemples in attached files

Animation.jpg

Checking.jpg

Checking up.jpg

Off Line.jpg

On Line.jpg

Warming Up.jpg

90_LCD_PRINTING_TURN_converted.mpg (584 KB)

Look at the specs on the Mega2560 and the Due to see if either of them have enough pins for your project.

If not, you would either need to multiplex the inputs or outputs for example using shift registers or analog multiplexers

rogerClark:
Look at the specs on the Mega2560 and the Due to see if either of them have enough pins for your project.

If not, you would either need to multiplex the inputs or outputs for example using shift registers or analog multiplexers

Hi and thanks for your response

It would be fine but for commercial use I can’t use this board as it is because of copyrights laws. and besides using an Arduino board in a commercial equipment is not professional. I am not to good at reading english so I’m learning Two things at a time english and programming, hard time lol. but tell me what you think about the basic micro though I assume it is not as simple as the Arduino using SPI connection for the old screen.

K4hn:
Hi and thanks for your response

It would be fine but for commercial use I can’t use this board as it is because of copyrights laws. and besides using an Arduino board in a commercial equipment is not professional. I am not to good at reading english so I’m learning Two things at a time english and programming, hard time lol. but tell me what you think about the basic micro though I assume it is not as simple as the Arduino using SPI connection for the old screen.

Here is a simple diagram of the project

You can use the board in a prototype and then just make a commercial board with the Atmega2560 chip.

ChilliTronix: You can use the board in a prototype and then just make a commercial board with the Atmega2560 chip.

Thank you ChilliTronix and rogerClark I'm gonna search this way. By the way any Idea for the screen rotation shown on the video attachement?

Thanks guys

Hi guys

I’ve receive almost everything, i’ve got to know arduino a little bit more. Only missing a cd4050 for my 2.2 TFT ILI9341, the screen, a couple of resistors and prototyping will be launched.

here is a new question for you. I have seen many topics on fading and blinking leds but none about fading from one to an other with the second one starting let’s say at the 3/4 lap time of the first one, any help thanks in adv…

K4hn:
I have seen many topics on fading and blinking less but none about fading from one to an other with the ceond one starting let’s say at the 3/4 lap time of the first one, any help thanks in adv…

Assuming you have a variable that indicates when a fade sequence starts, just set that to the appropriate value at the point in the first fade sequence. Something like

if (fade1value >= 190) {
    fade2on = true;
}

…R

goodinventor: You could use the Arduino Mega. It meets your requirements and has tons of I/O. But I would like to know what you intend to do with this project.

Hi

and sorry for taking so much time for response. It's because this has been posted twice, my bad.

I can't say exactly what it's about because it's intended to be commercialised but the project is supposed to do several checks on different type of inputs analogs and digitals, and depending on what happens it takes decisions an prints it on the screen. the user can set a couple of fonctions in the sub menu.... hope to read from you soon

How big is this screen? The arduino can only handle tiny screens like less that 3"

If you ned a bigger screen then a Raspberry Pi is much better if you don't need hard real time.

Or a PI to do the fancy GUI stuff coupled to an Arduino to do the real-time hardware interface.

...R

PS - why is "AtomBasic Pro 40M" in the title ?

Robin2: Assuming you have a variable that indicates when a fade sequence starts, just set that to the appropriate value at the point in the first fade sequence. Something like

if (fade1value >= 190) {
    fade2on = true;
}

...R

Hi Robin2 and thanks for your response.

I'm gonna try this, I had to buy an arduino due because the mega is to slow in rendering on the tft screen. I need some real time ( or almost ) rendering on the screen i.e spectrum analizer.

I'm now working on the menu pages. Very hard cause I'm newbie and my menu has some sub menus so tough work, but according to me it's so exciting....

Cheeers..

Grumpy_Mike: How big is this screen? The arduino can only handle tiny screens like less that 3"

If you ned a bigger screen then a Raspberry Pi is much better if you don't need hard real time.

No Just a 2.2 TFT, will be fine.

Robin2: Or a PI to do the fancy GUI stuff coupled to an Arduino to do the real-time hardware interface.

...R

PS - why is "AtomBasic Pro 40M" in the title ?

AtomBasic Pro 40m is in the title because when I decided to jump into programing the Basic language seemed to me easier therefore I search the web then found the AtomPro 40m with has a major advantage the micro controller is totally independent all the parts needed for it to work are embedded on the same substrat. Just solder it on your own pcb and voila.

But this is no longer a problem for me, I've dowloaded a pcbs software that can auto rout, all you have to do is draw your schematics, set the pcb size, the number of layers, then you choose the components foot print the again, VOILA. isn't it marvelous. The tricky part was to find a company building samples for short series in exemples prototype, with the parts soldered on please :). . . that's all folks i'll keep you guys posted..