Skip to content

4. Embedded programming

Group work

zainab’s website

Microcontroller Datasheet

1- An embedded Light + Gesture + Proximity:APDS9960. This detect simple gestures (left to right, right to left, up to down, down to up are currently supported), return the amount of red, blue, green, and clear light, or return how close an object is to the front of the sensor

2- Temp + Pressure: BMP280 - This sensor is a precision sensing solution for measuring barometric pressure with ±1 hPa absolute accuracy, and temperature with ±1.0°C ©Adafruit Industries Page 18 of 186 accuracy.

3- Humidity: SHT30 - This sensor has an excellent ±2% relative humidity and ±0.5°C accuracy for most uses.

4-PDM Microphone sound sensor: MP34DT01-M - PDM sound sensor.

5- Gyro + Accel: LSM6DS33. This sensor is a 6-DoF IMU accelerometer + gyroscope. The 3-axis accelerometer, can tell you which direction is down towards the Earth (by measuring gravity) or how fast the Feather Sense is accelerating in 3D space. The 3-axis gyroscope that can measure spin and twist.

6- Magnetometer: LIS3MDL this Sense the magnetic fields that surround us with this handy triple-axis magnetometer (compass) module.

programming prosses used

I used c++ .

Arduino

and I follow the instruction , I copied the link and Paste it in Arduino

Tinkercad

firstly, I opened tinkercad which I already sign up in before

I clicked the Arduino Uno R3 and then (code) to start experimenting and do simple programming

and here I was just trying and experimenting the thingy since this was the first time trying it

then it was time to try coding a word, so we used a code translate. and I started with an easy word (HI) which translated for me with .... ..

code transelator

and we learned from our instructor that

-refers to 1 s

. refers to 0.5 s

space in between one letter 0.25 s

space in between two letter 2 s

click on test and copy the whole thing

I opened Arduino and paste the code there


Last update: May 23, 2022