Lariva Business

Lariva Blog

Menu
  • Privacy Policy
  • Tech Sharing
  • animate sharing
  • Science Sharing
  • Happening
Menu

A simple Arduino build allows you to focus on PI

Posted on March 16, 2022March 16, 2022 by William

You are a math lover. Do you need a new desk toy? Do we have your project. There’s nothing but an Arduino and a Seven Segment LED module, [Cristiano Monteiro] has assembled a small device that will always slowly pass through the number of pi… Or until you get tired of looking at it and decide to use these parts for other purposes.

In terms of hardware, we really can’t exaggerate how simple this project is. An ordinary four digit LED display is connected to the Arduino nano and plugged into the computer to obtain power. [Cristiano] uses a test board here, but you can also easily connect the two devices together with four female to female jumpers. We think this is a good project for anyone who wants to gain practical experience in PCB design.
The real magic lies in the software, [Cristiano] released it under the license of MIT. It is far from ideal to calculate pi as atmega328 P on such a resource limited chip, but by transplanting the C + + algorithm developed by Xavier Gourdon (Pascal Sebah) and [Pascal Sebah] to calculate the low memory of the nth decimal number of π, he can pull it apart, although the speed is very slow.
Now, if you have better hardware, such as a pair of Xeon processors and 96 GB of ram, you can calculate trillions of bits of PI, but it doesn’t look as cool as this little guy blinks.

Recent Posts

  • Economic uncertainty began to hit the technology job market. There were reports that recruitment slowed down and recruitment was cancelled
  • The expedient fixture allows you to crank out the chain link fence
  • “Everything in love” animation Episode 9 release date: the girl in the poster
  • Seagan resigned after his arrest and was cautiously optimistic about biotechnology, etc
  • Receiving antenna switcher with espressif brain
©2022 Lariva Business | Design: Newspaperly WordPress Theme