Announcement
Collapse
No announcement yet.
Programming ATMEGA328P Pro Mini
Collapse
X
-
There will be problems trying to use the 3V3 Nano version for the ANPI detector.Originally posted by David_1 View PostSo I randomly bought the 3v3 version, may not help here but its what I had !
just for a test I used this doc to get it to program.
[ATTACH]56715[/ATTACH]
using the Blink test ino I have confirmed the light flashes at different rates.
Firstly, the Nano is used to provide +5V for the other ICs, and (obviously) the 3V3 version cannot do this.
Secondly, the clock is 8MHz instead of 16MHz, although you can change the clock period in the Arduino sketch so that it can calculate the correct timings.
I purchased my Arduino Nanos from here -> https://www.amazon.co.uk/gp/product/...?ie=UTF8&psc=1
-
I use Pics and ESP32 .. but keep seeing the 328p being used, So at some point I ordered some from china not expecting real chips or anything fast
buying a 328p as an IC seems very expensive Vs other micros but with the chip shortage I am just looking for viable options
I will order from your link
if only to mess with on the bench. Thankyou
Ordered
Comment
-
It is possible to make an all-3.3V metal detector. Bounty Hunter made a cheap all-analog pinpointer that was having production problems so I designed a PI circuit that consists of an H-bridge, opamp, micro, and 3V regulator. Everything, including the TX, runs on 3V. It performs better (a little over an inch on a coin) than the all-analog version and ended up with the same parts price. It uses an off-the-shelf 1/4" inductor for the coil but with a custom 1/2" coil it'll do 2-3" on coins.
Comment
-
Arduino Mini Pro is not equivalent to Arduino Nano. It is more convenient, without changing the PCB, at the same price, to order the Nano 5V version. Then, when programming, the USB/RS232TTL module is superfluous, the USB socket sits on the Nano board. Good luck.
Comment
-
I used Arduino Mini for this pin that needed a small size ... I put the link to the video here:
https://youtu.be/RPINFkNanww
But honestly it is not very convenient if the sketch requires continuous changes in development, because it needs an external hardware programmer or you can use an Arduino Uno having the precaution of removing the 328 chip otherwise it will be destroyed.
For a metal detector I would choose an Esp32 that already has the BT / WiFI included, in this way you can receive the transmitted data (only valid ones) to a smartphone, and in this way you also avoid the elongation of the probe between the inductor and data viewer.
If you are interested I made a program (win10) to perform the various calculations of the inductor and RLC circuits ... I put the link here:
https://mega.nz/file/21BDgA6R#JuiCry...w1-Imi8IMmhVZQ
I also wanted to ask for some general information, but I don't see a section dedicated to the presentation.
and greetings to all
Comment
Comment