Skip to content

9. Embedded programming

As a distance student, I have to prepare some things for class by myself.My task this week has to be postponed. Some components I bought in Shenzhen have been delayed due to the blockade of the epidemic in Shenzhen. I haven’t received them yet

To do list

  • Group assignment:
  • Compare the performance and development workflows for other architectures
  • Document your work to the group work page and reflect on your individual page what you learned
  • Individual assignment:
  • Read the datasheet for your microcontroller
  • Use your programmer to program your board to do something

About Raspberry Pi

Raspberry Pi  is a series of small single-board computers (SBCs) developed in the United Kingdom by the Raspberry Pi Foundation in association with Broadcom.The Raspberry Pi project originally leaned towards the promotion of teaching basic computer science in schools and in developing countries.The original model became more popular than anticipated,[18] selling outside its target market for uses such as robotics. It is widely used in many areas, such as for weather monitoring,[19] because of its low cost, modularity, and open design. It is typically used by computer and electronic hobbyists, due to its adoption of HDMI and USB devices.

1648041201052.png

In my lab, my friends and I used raspberry pie to make an arcade with many classic games built in.

1648041451039.png

Code Example

Use the three backticks to separate code.

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Video

From Vimeo

Sound Waves from George Gally (Radarboy) on Vimeo.

From Youtube

3D Models


Last update: March 23, 2022