Skip to content

4. Embedded programming

this week was focusing on the electrical side

Microcontroller

A microcontroller is a compact integrated circuit designed to govern a specific operation in an embedded system. A typical microcontroller includes a processor, memory and input/output (I/O) peripherals on a single chip.

Group research

I’ve searched with fareed about the Adufruit Feather bluefruit sense nRF52840

and here is the comparison that we made with our colleagues with different microcontrollers

Click here to see it

programming the arduino

1- First of all

we’ve downloaded the arduino IDE in our laptop

2-Secondly

we’ve downloaded from the tools our specific type of the microcontroller by following these steps:

  NOW IT IS READY TO BE PROGRAMMED.

A begginer in this field

I faced some obstacles with this new field but it was not a big deal because the arduino IDE provides a lot of example for begginers.

if you want to reach it follow these steps:

As a begginer you can go to the examples given by the ardunio ide and see the example given as I did , that helpeed me a lot . in addition, you will not only find the code , you will find in every statement a comment explaining what’s happening

and here I’ve changed the time period for both the on and the off situation

what’s worth mentioning is that the numbers are in miliseconds so if you want the light turning on for 3 seconds then you must write 3000 instead of 3 only .

Tinkercad

Tinkercad was the second program that we have used and depends on blocks system instead of coding. I wrote a peace in in Morse Code translator and got the output, sound and light blinks.

but then I got confused so I changed to my name mohd.

the instructors provide us with the time period for :-

and there’s a nice tools to convert the blocks to code and this what I did .


Last update: June 22, 2022