Posts with «atmega328p» label

ATMega328 3D!

Small OLED displays are inexpensive these days–cheap enough that pairing them with an 8-bit micro is economically feasible. But what can you do with a tiny display and not-entirely-powerful processor? If you are [ttsiodras] you can do a real time 3D rendering. You can see the results in the video below. Not bad for an 8-bit, 8 MHz processor.

The code is a “points-only” renderer. The design drives the OLED over the SPI pins and also outputs frame per second information via the serial port.

As you might expect, 3D output takes a good bit of math, and the chip in question isn’t very good at handling real numbers. [Ttsiodras] handles this using an old technique: fixed point arithmetic. The idea is simple. Normally, we think of a 16-bit word as holding unsigned values of 0 – 65535. However, if you choose, you can also use it to represent numbers from 0-50.999, for example. Mentally, you scale everything by 1,000 and then reverse the operation when you want to output. Addition and subtraction are straightforward, but multiplication and division require some extra work.

If you want to read more about fixed point math, you are in the right place. We’ve also covered a great external tutorial, too. But if you think this is the first time we’ve covered a 3D graphics engine for the ATmega parts, you’re wrong.


Filed under: Arduino Hacks

GPS Tracker Gets SMS Upgrade

In May of 2000, then-President Bill Clinton signed a directive that would improve the accuracy of GPS for anyone. Before this switch was flipped, this ability was only available to the military. What followed was an onslaught of GPS devices most noticeable in everyday navigation systems. The large amount of new devices on the market also drove the price down to the point where almost anyone can build their own GPS tracking device from scratch.

The GPS tracker that [Vadim] created makes use not just of GPS, but of the GSM network as well. He uses a Neoway M590 GSM module for access to the cellular network and a NEO-6 GPS module. The cell network is used to send SMS messages that detail the location of the unit itself. Everything is controlled with an ATmega328P, and a lithium-ion battery and some capacitors round out the fully integrated build.

[Vadim] goes into great detail about how all of the modules operate, and has step-by-step instructions on their use that go beyond what one would typically find in a mundane datasheet. The pairing of the GSM and GPS modules seems to go match up well together, much like we have seen GPS and APRS pair for a similar purpose: tracking weather balloons.


Filed under: gps hacks
Hack a Day 07 Jul 06:00
arduino  atmega328  atmega328p  cell  gps  gps hacks  gsm  sms  tracker  

GOBLIN 2 IoT development board joins AtHeart!

We are happy to announce another new member in the Arduino AtHeart Program! GOBLIN 2 from Mexican startup VERSE Technology is an Arduino-friendly development board with powerful wireless capabilities and broad compatibility with industrial protocols like RS-485.

Designed for both IoT professionals and Makers alike, GOBLIN 2 features an ATmega328P MCU and SIM5320A module at its core, providing dual-band HSDPA and quad-band GSM/GPRS/EDGE connectivity, along with high accuracy 16-channel GPS. The SIM5320A enables GOBLIN 2 to connect with web servers through any cellular network, and includes a header for keyboards, microphones, and speakers. 

GOBLIN 2 is equipped with six analog and 10 digital ports (half of them work as PWM), and offers 24V, 5V and 3.3V voltage outputs. The board is powered by a LiPo battery, which can be charged through micro-USB or solar cell thanks to its built-in battery management system. 

According to VERSE Technology CEO Aaron Benitex:

“We are developing technology to monitor and control the billions of present and future Internet of Things-ready devices. GOBLIN 2 is a board that allows our users to measure parameters like temperature, humidity, position, and others in remote locations. We have designed it in a way that it can easily work with industrial sensors and other applications such as telemetry, weather, GPS systems, and more.”

GOBLIN 2 can be programmed using the Arduino IDE as well as Atmel Studio. Simply upload your code to the board via micro USB, and begin exploring the IoT. Want to learn more? Check out VERSE Technology website

Punch Through's new Arduino board can stay wireless forever (video)

You'll have to plug in a typical Arduino-compatible board at some point in its life, whether it's to add code or just to supply power. Not Punch Through Design's upcoming Cortado, however. The tiny device centers on a custom Bluetooth 4.0 LE module that both enables wireless programming (including through mobile apps) and helps the board last for more than a year on a replaceable watch battery. In fact, the Cortado will already be powered up when you get it -- you can start coding before you've opened the shipping box. It should also be relatively flexible for its size with a built-in accelerometer and the ability to serve as an Apple iBeacon transmitter. Punch Through is crowdfunding the board with hopes of shipping its first units in May. If you're interested, you can pledge $18 to pre-order a Cortado; there's also a helpful promo video after the break.

Filed under: Peripherals

Comments

Via: Make

Source: Punch Through Design

Homebrew 8-bit computer packs in 16 cores, multitasks like a champ

It looks like Jack Eisenmann has done it again. A couple of years after the hobbyist hacker built his first 8-bit computer, he's cobbled together yet another one, but this time with a whopping 16 cores. Appropriately dubbed the DUO Mega, the multicore wonder is made with 16 ATMega328p microcontrollers, each connected to an 8-bit data bus and designed to interpret a custom bytecode that runs the software. Compiled inside a nondescript plastic bin, the machine is also comprised of 16MHz crystal oscillators attached to each of the aforementioned cores, three Arduino UNO boards, 32kb of SRAM, 512kb of flash memory, eight breadboards, an Ethernet shield, a VGA out port and a multitude of components that combine to look like that mess of wires seen above. Because of all that processing power, this relatively primitive machine multitasks beautifully and can perform complicated calculations at an impressive clip. To get a demo of what this marvelous feat of DIY computing can do, have a peek at Eisenmann's video, complete with an 8-bit soundtrack, after the break.

Filed under: Desktops

Comments

Via: Hackaday

Source: DUO Mega

GOduino III Robot Controller

This is my first PCB project so I would appreciate the feedback.

The GOduino III is an Arduino compatible Open Source Hardware robot controller. It's a simple and inexpensive robot controller (appx. $25). I built this controller for my robotics workshops as well as for my personal projects.  The GOduino III can be inserted into a breadboard for easy prototyping. 

read more

n/a

n/a